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

:root {
    --primary: #6e5fd6;
    --primary-dark: #5a4cc4;
    --primary-light: #8b7ee0;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-alt: #f5f6fa;
    --bg-dark: #1a1a2e;
    --border: #e8e8e8;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(110,95,214,0.15);
    --radius: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.section-header p {
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
}

.section-desc {
    color: var(--text-light) !important;
    font-weight: 400 !important;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(110,95,214,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-lg {
    font-size: 18px;
    padding: 14px 36px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav ul {
    display: flex;
    gap: 8px;
}

.nav a {
    display: block;
    padding: 8px 16px;
    color: var(--text-light);
    font-size: 15px;
    border-radius: 6px;
    transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background: rgba(110,95,214,0.06);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
    line-height: 1;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f6fa 0%, #e8e6f7 50%, #f0eefb 100%);
    padding-top: 70px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-subtitle {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.stat-unit {
    font-size: 20px;
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 60px;
}

.image-right {
    flex-direction: row;
}

.image-left {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    min-height: 300px;
}

.feature-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #e8e6f7, #f5f6fa);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    border: 2px dashed var(--border);
}

.placeholder-icon {
    font-size: 48px;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.feature-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.8;
}

.feature-text .btn {
    margin-top: 8px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.advantage-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.advantage-icon span {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-content .btn {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.cta-content .btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 4px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-num {
        font-size: 28px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .feature-card {
        flex-direction: column !important;
        gap: 30px;
    }

    .feature-text h3 {
        font-size: 22px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 16px 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .nav a {
        padding: 12px 16px;
    }

    .menu-toggle {
        display: block;
    }
}
