/* ===== 设计令牌 ===== */
:root {
    /* 色彩系统 */
    --surface-1: #05070C;
    --surface-2: #0A0D12;
    --surface-3: #0F131C;
    --surface-4: #161D2B;
    --surface-5: #1E2636;

    --accent-primary: #3B6DFF;
    --accent-hover: #2D5AE6;
    --accent-light: #38BDF8;

    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --text-muted: #64748B;

    /* 字体系统 */
    --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;

    /* 间距令牌 */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* 圆角令牌 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;

    /* 阴影令牌 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);

    /* 流体字体尺寸 */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
    --text-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-2xl: clamp(2rem, 1.6rem + 2vw, 3rem);
    --text-3xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
}

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-3) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: min(1280px, 90%);
    margin: 0 auto;
}

/* ===== 导航栏 ===== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 13, 18, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
}

.logo {
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    border-radius: var(--radius-full);
}

.cta-btn {
    padding: var(--space-xs) var(--space-md);
    background: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Hero 区域 ===== */
.hero {
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 109, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(59, 109, 255, 0.1);
}

.hero-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 109, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* ===== 数据展示 ===== */
.stats {
    padding: var(--space-3xl) 0;
    background: var(--surface-4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.stat-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--surface-5);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 109, 255, 0.3);
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

/* ===== 核心服务 ===== */
.services {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    padding: var(--space-xl);
    background: var(--surface-4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(59, 109, 255, 0.3);
    background: var(--surface-5);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 109, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--accent-primary);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 行业解决方案 ===== */
.solutions {
    padding: var(--space-3xl) 0;
    background: var(--surface-3);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.solution-card {
    padding: var(--space-xl);
    background: var(--surface-4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(56, 189, 248, 0.3);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.solution-icon {
    width: 56px;
    height: 56px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    flex-shrink: 0;
}

.solution-icon svg {
    width: 28px;
    height: 28px;
}

.solution-header h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.solution-features {
    list-style: none;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.solution-features li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
    line-height: 1.8;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: 700;
}

.solution-tag {
    font-size: var(--text-xs);
    color: var(--text-muted);
    padding: var(--space-xs) var(--space-md);
    background: rgba(56, 189, 248, 0.05);
    border-radius: var(--radius-full);
    text-align: center;
    border: 1px solid rgba(56, 189, 248, 0.1);
}

/* ===== 合作流程 ===== */
.process {
    padding: var(--space-3xl) 0;
    background: var(--surface-4);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
    position: relative;
}

.process-step {
    text-align: center;
    padding: var(--space-xl);
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
    color: var(--text-primary);
    font-size: var(--text-xl);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    box-shadow: 0 8px 24px rgba(59, 109, 255, 0.3);
}

.process-step h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.process-step p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 合作企业 ===== */
.partners {
    padding: var(--space-3xl) 0;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
}

.partner-logo {
    height: 120px;
    background: var(--surface-4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ===== CTA 区域 ===== */
.cta-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
    text-align: center;
}

.cta-content h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: var(--text-base);
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.btn-primary-large {
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--text-lg);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.btn-primary-large:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== 页脚 ===== */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    background: var(--surface-2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-col h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.footer-col p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-xs);
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    padding: var(--space-xs) var(--space-md);
    background: var(--surface-4);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* ===== 咨询弹窗 ===== */
.consultation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.consultation-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--surface-4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    width: min(560px, 90%);
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-header {
    padding: var(--space-2xl) var(--space-xl) var(--space-lg);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.modal-header p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.modal-body {
    padding: var(--space-xl);
}

.consultation-form {
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--surface-3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: var(--text-base);
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 109, 255, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 109, 255, 0.3);
}

.modal-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--surface-3);
    border-radius: var(--radius-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item span {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.contact-item strong {
    font-size: var(--text-base);
    color: var(--text-primary);
    margin-top: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid,
    .service-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: var(--space-xl) var(--space-md) var(--space-md);
    }

    .modal-body {
        padding: var(--space-md);
    }

    .modal-contact {
        padding: var(--space-md);
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
}
