/* ===== 基础样式 ===== */
:root {
    --primary: #22C55E;
    --primary-dark: #16A34A;
    --primary-light: #86EFAC;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --warning: #F59E0B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ===== 导航栏 ===== */
.navbar {
    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);
    padding: 0 24px;
    height: 72px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    background: linear-gradient(180deg, #F0FDF4 0%, var(--background) 100%);
}

.hero-content {
    max-width: 500px;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--background);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

.hero-image {
    display: none;
}

/* ===== 场景通用样式 ===== */
.scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 24px;
    position: relative;
}

.scene:nth-child(odd) {
    background: var(--surface);
}

.scene:nth-child(even) {
    background: var(--background);
}

.scene-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scene-left .scene-content {
    direction: rtl;
}

.scene-left .scene-content > * {
    direction: ltr;
}

.scene-text {
    padding: 20px 0;
}

.scene-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.scene-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.scene-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.scene-features {
    list-style: none;
    padding: 0;
}

.scene-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 16px;
}

.scene-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* ===== 场景视觉区域 ===== */
.scene-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-container {
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.scene-illustration {
    width: 100%;
    height: auto;
    display: block;
}

.phone-mockup {
    background: #1F2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.phone-mockup img {
    width: 280px;
    border-radius: 32px;
    display: block;
}

.phone-small {
    position: absolute;
    right: -20px;
    bottom: -20px;
    transform: scale(0.7);
    transform-origin: bottom right;
}

.phone-small img {
    width: 220px;
}

/* ===== 特殊场景样式 ===== */
.scene-special .scene-title {
    color: var(--text-primary);
}

.scene-final {
    background: linear-gradient(180deg, var(--background) 0%, #F0FDF4 100%);
    text-align: center;
}

.scene-final .scene-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

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

.title-large {
    font-size: 48px;
}

.illustration-large {
    max-width: 800px;
}

.cta-buttons {
    margin-top: 32px;
}

/* ===== 下载区域 ===== */
.download-section {
    background: var(--primary);
    padding: 80px 24px;
    text-align: center;
}

.download-container {
    max-width: 600px;
    margin: 0 auto;
}

.download-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.download-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.download-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.download-icon {
    width: 32px;
    height: 32px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 11px;
    opacity: 0.9;
}

.download-store {
    font-size: 18px;
    font-weight: 600;
}

.download-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== 页脚 ===== */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.footer-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .scene-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .scene-left .scene-content {
        direction: ltr;
    }
    
    .scene-visual {
        order: -1;
    }
    
    .phone-small {
        position: relative;
        right: auto;
        bottom: auto;
        transform: scale(0.8);
        margin-top: 20px;
    }
    
    .scene-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .title-large {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
        height: 64px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 16px 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .scene {
        padding: 60px 16px;
        min-height: auto;
    }
    
    .scene-title {
        font-size: 24px;
    }
    
    .scene-description {
        font-size: 16px;
    }
    
    .illustration-container {
        border-radius: var(--radius-md);
    }
    
    .phone-mockup img {
        width: 200px;
    }
    
    .phone-small img {
        width: 160px;
    }
    
    .download-title {
        font-size: 28px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scene-text,
.scene-visual {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.scene-visual {
    animation-delay: 0.2s;
}

/* 滚动触发动画 */
.scene.visible .scene-text,
.scene.visible .scene-visual {
    animation: fadeInUp 0.8s ease forwards;
}

.scene.visible .scene-visual {
    animation-delay: 0.2s;
}
