/* ===== 全局重置与变量 ===== */
:root {
    --primary: #FF6B9D;
    --primary-light: #FF8FB5;
    --primary-dark: #E55585;
    --purple: #B14EFF;
    --purple-light: #C973FF;
    --bg-cream: #FFF5F8;
    --bg-white: #FFFFFF;
    --text-title: #333333;
    --text-body: #666666;
    --text-aux: #999999;
    --gold: #D4A574;
    --gold-light: #E8C99E;
    --gradient: linear-gradient(135deg, #FF6B9D 0%, #B14EFF 100%);
    --gradient-soft: linear-gradient(135deg, #FFE8F0 0%, #F5EDFF 100%);
    --shadow-card: 0 4px 20px rgba(255, 107, 157, 0.08);
    --shadow-hover: 0 8px 40px rgba(255, 107, 157, 0.15);
    --radius-card: 16px;
    --radius-btn: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", -apple-system, "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== 顶部导航 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 107, 157, 0.08);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

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

.logo-icon {
    font-size: 24px;
}

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

.nav-links a {
    font-size: 15px;
    color: var(--text-body);
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--gradient);
    color: #fff;
    padding: 8px 24px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.3);
}

/* ===== 首屏 Hero ===== */
.hero {
    position: relative;
    padding-top: 64px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFE8F0 0%, #FFF5F8 40%, #F5EDFF 100%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-text {
    flex: 1;
}

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

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    padding: 14px 36px;
    border-radius: var(--radius-btn);
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.35);
}

.btn-ghost {
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    border: 2px solid var(--primary-light);
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: rgba(255, 107, 157, 0.05);
    border-color: var(--primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 107, 157, 0.2);
}

.hero-visual {
    flex: 1;
    max-width: 560px;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.15);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ===== 通用区块 ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

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

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

.section-subtitle {
    font-size: 16px;
    color: var(--text-aux);
}

/* ===== 核心功能 ===== */
.features {
    background: #fff;
}

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

.feature-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 28px 24px 32px;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 12px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ===== 会员权益 ===== */
.vip {
    background: var(--bg-cream);
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.vip-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.vip-card:hover {
    transform: translateY(-4px);
}

.vip-card-highlight {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(255, 107, 157, 0.12);
}

.vip-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-aux);
    background: #F0F0F0;
    margin-bottom: 16px;
}

.vip-badge-hot {
    background: var(--gradient);
    color: #fff;
}

.vip-badge-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
}

.vip-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 6px;
}

.vip-desc {
    font-size: 13px;
    color: var(--text-aux);
    margin-bottom: 24px;
}

.vip-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.vip-features li {
    font-size: 14px;
    color: var(--text-body);
    padding: 8px 0;
    border-bottom: 1px solid #F5F5F5;
    position: relative;
    padding-left: 24px;
}

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

.vip-features li:last-child {
    border-bottom: none;
}

.vip-price {
    margin-top: 8px;
}

.vip-price .price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.vip-price .price-unit {
    font-size: 14px;
    color: var(--text-aux);
}

/* ===== 下载入口 ===== */
.download {
    background: #fff;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: var(--bg-cream);
    border-radius: var(--radius-card);
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-4px);
}

.download-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.download-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 8px;
}

.download-card p {
    font-size: 13px;
    color: var(--text-aux);
    margin-bottom: 20px;
}

.btn-download {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-android {
    background: #07C160;
    box-shadow: 0 4px 16px rgba(7, 193, 96, 0.2);
}

.btn-ios {
    background: #000000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-harmony {
    background: var(--gradient);
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.2);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.download-version {
    font-size: 12px !important;
    color: var(--text-aux) !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

/* ===== 页脚 ===== */
.footer {
    background: #1A1A2E;
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 24px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 0 0 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-slogan {
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
}

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

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

.footer-col a,
.footer-col p {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.footer-company {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 4px;
}

/* ===== 滚动动画 ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
    }

    .section-container {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-grid,
    .vip-grid,
    .download-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .nav-links {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 32px;
    }

    .footer-brand {
        flex: none;
    }

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