/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Variables ===== */
:root {
    --primary: #e84040;
    --primary-light: #ff6b6b;
    --primary-dark: #c92020;
    --bg-light: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border: #e8e8e8;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-lg: 16px;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    font-family: "Noto Serif SC", "Songti SC", STSong, serif;
}
.logo-sub {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.nav {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-btn {
    padding: 10px 24px;
    font-size: 14px;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-gold {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 64, 64, 0.3);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
}
.btn-outline:hover {
    background: rgba(232, 64, 64, 0.05);
    border-color: var(--primary);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
}
.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-text { z-index: 1; }
.hero-title {
    font-family: "Noto Serif SC", "Songti SC", STSong, serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}
.title-line { display: block; }
.title-gold {
    color: var(--primary);
}
.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-visual {
    display: flex;
    justify-content: center;
}
.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: #fff;
    border-radius: 20px;
    padding: 12px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: phoneFloat 6s ease-in-out infinite;
}
.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #0a0e14;
}
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

/* ===== Stats ===== */
.stats {
    padding: 80px 0;
    background: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    font-family: "Noto Serif SC", serif;
}
.stat-suffix {
    font-size: 20px;
    color: var(--primary);
    margin-top: -8px;
}
.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ===== Features ===== */
.features {
    padding: 120px 0;
    background: #f5f5f5;
}
.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-title {
    font-family: "Noto Serif SC", serif;
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.feature-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    color: #fff;
    margin-bottom: 24px;
}
.feature-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}
.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== AI Highlight ===== */
.ai-highlight {
    padding: 120px 0;
    background: #fff;
}
.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ai-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(232, 64, 64, 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 500;
}
.ai-title {
    font-family: "Noto Serif SC", serif;
    font-size: 44px;
    color: var(--primary);
    margin-bottom: 20px;
}
.ai-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}
.ai-features {
    list-style: none;
}
.ai-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.ai-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}
.ai-visual {
    display: flex;
    justify-content: center;
}
.ai-demo {
    position: relative;
    width: 280px;
    height: 360px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.ai-coin {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 32px rgba(232, 64, 64, 0.3);
    animation: coinPulse 3s ease-in-out infinite;
}
.coin-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.coin-text {
    font-family: "STKaiti", "KaiTi", "FangSong", "Noto Serif SC", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    writing-mode: vertical-rl;
    letter-spacing: 6px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.ai-scan-line {
    position: absolute;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanMove 2.5s ease-in-out infinite;
}
.ai-result {
    margin-top: 32px;
    display: flex;
    gap: 24px;
}
.result-item {
    text-align: center;
}
.result-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.result-value {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
}
@keyframes coinPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes scanMove {
    0%, 100% { top: 60px; opacity: 0; }
    50% { top: 200px; opacity: 1; }
}

/* ===== Download ===== */
.download {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, #f5f5f5, #fff);
}
.download-title {
    font-family: "Noto Serif SC", serif;
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}
.download-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    min-width: 200px;
    box-shadow: var(--shadow);
}
.download-btn:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(232, 64, 64, 0.2);
}
.download-btn svg { color: var(--primary); }
.btn-text { text-align: left; }
.btn-small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}
.btn-large {
    display: block;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
}
.download-note {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 40px;
    background: #fff;
    border-top: 1px solid var(--border);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.footer-logo {
    font-family: "Noto Serif SC", serif;
    font-size: 28px;
    color: var(--primary);
}
.footer-slogan {
    font-size: 14px;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    gap: 32px;
}
.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.footer-company {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.footer-icp a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-icp a:hover { color: var(--primary); }
.footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .phone-mockup { width: 240px; height: 480px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .ai-content { grid-template-columns: 1fr; gap: 48px; }
    .ai-visual { order: -1; }
}
@media (max-width: 768px) {
    .logo-img { width: 32px; height: 32px; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    .nav.active { display: flex; }
    .nav-btn { display: none; }
    .menu-toggle { display: flex; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-title { font-size: 36px; }
    .hero-desc { font-size: 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-scroll { display: none; }
    .stats { padding: 60px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-number { font-size: 36px; }
    .features { padding: 80px 0; }
    .section-title { font-size: 32px; }
    .feature-card { padding: 28px; }
    .ai-highlight { padding: 80px 0; }
    .ai-title { font-size: 32px; }
    .ai-demo { width: 240px; height: 320px; padding: 28px; }
    .ai-coin { width: 100px; height: 100px; }
    .coin-inner { width: 70px; height: 70px; }
    .coin-text { font-size: 18px; letter-spacing: 4px; }
    .download { padding: 80px 0; }
    .download-title { font-size: 32px; }
    .download-buttons { flex-direction: column; align-items: center; }
    .download-btn { width: 100%; max-width: 280px; }
    .footer-content { flex-direction: column; gap: 24px; text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 28px; }
    .phone-mockup { width: 200px; height: 400px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 28px; }
    .stat-label { font-size: 12px; }
    .ai-result { gap: 16px; }
    .result-value { font-size: 16px; }
}
