/* 基础设置 */
:root {
    --primary-color: #6366f1; /* 现代靛蓝色 */
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent-color: #10b981; /* 翡翠绿作为点缀 */
    --bg-dark: #0f172a; /* 深蓝灰色背景 */
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-on-dark: #f8fafc;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --container-width: 1200px;
    --border-color: #e2e8f0;
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 装饰性背景 */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: pulse-soft 10s infinite ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* 按钮重设 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.23);
}

.btn-white {
    background-color: white;
    color: var(--text-main);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    background-color: var(--bg-light);
    border-color: #cbd5e1;
}

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* 导航栏 */
.header {
    height: 72px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo-img {
    height: 32px;
    width: 32px;
}

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

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero 区 - 现代感冲击 */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    animation: fadeIn 0.8s ease-out;
}

.hero-text {
    text-align: left;
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.hero-image-box {
    position: relative;
    width: 100%;
}

.hero-img-actual {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image-box::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--primary-color);
    filter: blur(60px);
    opacity: 0.1;
    z-index: -1;
}

/* 通用章节 */
.section {
    padding: 120px 0;
}

.section-gray {
    background-color: #f1f5f9;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* Bento Grid 风格卡片 */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: #eef2ff;
    border-radius: var(--radius-sm);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 功能列表 - 交错排列布局 */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.feature-item:nth-child(even) {
    direction: rtl;
}

.feature-item:nth-child(even) .feature-content {
    direction: ltr;
}

.feature-content {
    text-align: left;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-content h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-image {
    position: relative;
}

.feature-img-actual {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* 场景、优势、步骤卡片统一风格 */
.scenario-card, .adv-card, .step-card, .faq-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.scenario-card h4, .adv-card h4, .step-card h4, .faq-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.scenario-card p, .adv-card p, .step-card p, .faq-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.adv-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.75rem;
    background: #eef2ff;
    border-radius: var(--radius-sm);
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-num {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Footer - 现代深色排版 */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 100px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 80px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links-col h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links-col ul li {
    margin-bottom: 0.75rem;
}

.footer-links-col ul li a {
    color: #94a3b8;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .hero-container, .feature-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-text, .feature-content {
        text-align: center;
        max-width: 100%;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .header .nav.nav-active {
        display: block;
    }
    
    .header .nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .grid-2, .grid-3, .grid-4, .advantages-grid, .steps-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
