/* Reset & Base */
:root {
    --primary-color: #1a2a6c; /* 深邃星空蓝 */
    --primary-light: #2a48a0;
    --accent-color: #fdbb2d; /* 辉煌金 */
    --text-main: #1d1d1f;
    --text-secondary: #86868b;
    --bg-light: #f5f5f7;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    gap: 0.5rem;
}

.logo svg {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.cta-button-small {
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
}

.cta-button-small:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 42, 108, 0.9) 0%, rgba(26, 42, 108, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.highlight {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.cta-button-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: #ffc84d;
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: rgba(255,255,255,0.15);
    color: var(--white);
    font-weight: 500;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-button-secondary:hover {
    background-color: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

/* About Section */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.text-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.rounded-shadow {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    position: relative;
}

.icon-box {
    position: absolute;
    top: -24px;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.contact-item svg {
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
    margin-bottom: 2rem;
}

.footer-logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links a {
    color: #888;
    margin-left: 2rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    display: flex;
    justify-content: space-between;
}

.icp a {
    color: #666;
}

.icp a:hover {
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .contact-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-content, .copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 1rem;
    }
}

/* 咨询弹窗样式 */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 2rem;
    border: 1px solid #888;
    width: 90%; 
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: var(--text-main);
    text-decoration: none;
    cursor: pointer;
}