/* ===== 全局重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --pink: #fe2c55;
    --cyan: #00f5ff;
    --purple: #7b2fff;
    --dark: #0a0015;
    --dark2: #12002a;
    --dark3: #1a0035;
    --card-bg: rgba(255,255,255,0.04);
    --card-border: rgba(255,255,255,0.08);
    --text: #ffffff;
    --text2: rgba(255,255,255,0.7);
    --text3: rgba(255,255,255,0.45);
    --radius: 16px;
    --radius-sm: 10px;
}
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== 粒子背景 ===== */
.particles-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

/* ===== 公告栏 ===== */
.notice-bar {
    position: relative; z-index: 100;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    padding: 10px 20px;
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; text-align: center; justify-content: center;
}
.notice-icon { font-size: 16px; }

/* ===== 微信蒙层 ===== */
.wechat-mask {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.85);
    display: flex; justify-content: flex-end; padding: 20px;
}
.wechat-tip {
    background: white; color: #333; border-radius: 12px;
    padding: 20px 24px; max-width: 220px; height: fit-content;
    text-align: center; font-size: 16px; line-height: 1.8;
}
.wechat-tip-arrow {
    font-size: 48px; color: var(--pink); font-weight: bold;
    transform: rotate(-45deg); display: block; margin-bottom: 8px;
}

/* ===== 顶部导航 ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,0,21,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 0 20px; height: 60px;
}
.header-inner {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 36px; height: 36px; border-radius: 8px; }
.logo-text { font-size: 18px; font-weight: 700; background: linear-gradient(135deg, var(--pink), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header-version { font-size: 12px; color: var(--text3); background: var(--card-bg); border: 1px solid var(--card-border); padding: 3px 10px; border-radius: 20px; }

/* ===== Hero 区域 ===== */
.hero {
    position: relative; z-index: 1;
    min-height: 100vh; padding: 100px 20px 60px;
    display: flex; align-items: center; justify-content: center;
    gap: 60px; flex-wrap: wrap;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('images/hero-bg.png') center/cover no-repeat;
    opacity: 0.3; z-index: -1;
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(254,44,85,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(0,245,255,0.1) 0%, transparent 60%);
}
.hero-content { flex: 1; min-width: 280px; max-width: 600px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(254,44,85,0.15); border: 1px solid rgba(254,44,85,0.3);
    border-radius: 20px; padding: 6px 16px; font-size: 13px;
    color: var(--pink); margin-bottom: 24px;
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 8px var(--pink);
    animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

.hero-title { margin-bottom: 20px; }
.title-line1 {
    display: block; font-size: clamp(32px, 6vw, 56px); font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--pink) 50%, var(--cyan) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1.1; margin-bottom: 8px;
}
.title-line2 {
    display: block; font-size: clamp(18px, 3vw, 28px); font-weight: 600;
    color: var(--text2); letter-spacing: 2px;
}
.hero-desc {
    font-size: 15px; color: var(--text2); line-height: 1.8;
    margin-bottom: 32px; max-width: 480px;
}

/* 统计数字 */
.stats-row {
    display: flex; align-items: center; gap: 0;
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius); padding: 20px; margin-bottom: 36px;
    flex-wrap: wrap;
}
.stat-item { flex: 1; text-align: center; min-width: 80px; }
.stat-num { font-size: clamp(18px, 3vw, 26px); font-weight: 800; background: linear-gradient(135deg, var(--pink), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 12px; color: var(--text3); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--card-border); }

/* 下载按钮 */
.download-btns {
    display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.btn-download {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 24px; border-radius: var(--radius);
    text-decoration: none; font-weight: 700;
    transition: all 0.3s ease; flex: 1; min-width: 200px;
    position: relative; overflow: hidden;
}
.btn-download::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%); transition: transform 0.5s;
}
.btn-download:hover::before { transform: translateX(100%); }
.btn-android {
    background: linear-gradient(135deg, #1db954, #0a8a3a);
    color: white; box-shadow: 0 8px 32px rgba(29,185,84,0.35);
}
.btn-android:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(29,185,84,0.5); }
.btn-ios {
    background: linear-gradient(135deg, #555, #222);
    color: white; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
}
.btn-ios:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.6); background: linear-gradient(135deg, #666, #333); }
.btn-icon { width: 36px; height: 36px; flex-shrink: 0; }
.btn-icon svg { width: 100%; height: 100%; }
.btn-texts { display: flex; flex-direction: column; }
.btn-sub { font-size: 11px; opacity: 0.8; font-weight: 400; }
.btn-main { font-size: 16px; font-weight: 700; }

.hero-tips {
    display: flex; gap: 20px; flex-wrap: wrap;
    font-size: 13px; color: var(--text3);
}
.hero-tips span::before { content: ''; }

/* 手机图片 */
.hero-phone {
    position: relative; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.phone-img {
    width: clamp(200px, 30vw, 320px);
    filter: drop-shadow(0 20px 60px rgba(254,44,85,0.3));
    animation: float 4s ease-in-out infinite;
    position: relative; z-index: 1;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
.phone-glow {
    position: absolute; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(254,44,85,0.4), transparent 70%);
    border-radius: 50%; filter: blur(40px);
    animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100%{opacity:0.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.3)} }

/* ===== 通用 Section ===== */
section { position: relative; z-index: 1; padding: 80px 20px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; background: rgba(254,44,85,0.15);
    border: 1px solid rgba(254,44,85,0.3); color: var(--pink);
    font-size: 12px; font-weight: 600; letter-spacing: 2px;
    padding: 5px 16px; border-radius: 20px; margin-bottom: 16px;
    text-transform: uppercase;
}
.section-title { font-size: clamp(24px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.section-desc { font-size: 15px; color: var(--text2); max-width: 500px; margin: 0 auto; }

/* ===== 功能特性 ===== */
.features { background: linear-gradient(180deg, transparent, rgba(123,47,255,0.05), transparent); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; max-width: 1100px; margin: 0 auto;
}
.feature-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius); padding: 32px 28px;
    transition: all 0.4s ease;
    opacity: 0; transform: translateY(30px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover {
    border-color: rgba(254,44,85,0.3);
    background: rgba(254,44,85,0.05);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(254,44,85,0.1);
}
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ===== 使用步骤 ===== */
.steps { }
.steps-list {
    display: flex; align-items: stretch; gap: 0;
    max-width: 900px; margin: 0 auto;
    flex-wrap: wrap; justify-content: center;
}
.step-item {
    display: flex; align-items: center; gap: 20px;
    flex: 1; min-width: 220px;
    opacity: 0; transform: translateX(-20px);
    transition: all 0.5s ease;
}
.step-item.visible { opacity: 1; transform: translateX(0); }
.step-num {
    font-size: 48px; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    flex-shrink: 0; min-width: 60px;
}
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 13px; color: var(--text2); line-height: 1.6; }
.step-arrow {
    font-size: 28px; color: var(--text3); flex-shrink: 0;
    padding: 0 10px;
}
.step-arrow.last { visibility: hidden; }

/* ===== 用户评价 ===== */
.reviews { background: linear-gradient(180deg, transparent, rgba(0,245,255,0.03), transparent); }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; max-width: 1000px; margin: 0 auto;
}
.review-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius); padding: 28px;
    transition: all 0.4s ease;
    opacity: 0; transform: translateY(20px);
}
.review-card.visible { opacity: 1; transform: translateY(0); }
.review-card:hover { border-color: rgba(0,245,255,0.2); transform: translateY(-4px); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar { font-size: 36px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--card-bg); border-radius: 50%; border: 1px solid var(--card-border); }
.review-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.review-stars { color: #ffd700; font-size: 14px; letter-spacing: 2px; }
.review-content { font-size: 14px; color: var(--text2); line-height: 1.8; }

/* ===== CTA 区域 ===== */
.cta {
    position: relative; text-align: center;
    padding: 100px 20px;
}
.cta-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(254,44,85,0.1), rgba(123,47,255,0.1));
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}
.cta-content { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.cta p { font-size: 16px; color: var(--text2); margin-bottom: 40px; }
.cta-btns { justify-content: center; }

/* ===== 页脚 ===== */
.footer {
    position: relative; z-index: 1;
    background: rgba(0,0,0,0.4);
    border-top: 1px solid var(--card-border);
    padding: 40px 20px; text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; font-size: 16px; font-weight: 600; }
.footer-logo-img { width: 28px; height: 28px; border-radius: 6px; }
.footer-copy { font-size: 13px; color: var(--text3); margin-bottom: 8px; }
.footer-contact { font-size: 13px; color: var(--text3); display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 80px; gap: 40px; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-tips { justify-content: center; }
    .stats-row { gap: 0; }
    .stat-divider { display: none; }
    .stat-item { min-width: 50%; padding: 8px 0; }
    .download-btns { flex-direction: column; }
    .btn-download { min-width: unset; }
    .steps-list { flex-direction: column; align-items: flex-start; padding: 0 20px; }
    .step-arrow { display: none; }
    .hero-phone { order: -1; }
    .phone-img { width: 200px; }
}
@media (max-width: 480px) {
    section { padding: 60px 16px; }
    .features-grid, .reviews-grid { grid-template-columns: 1fr; }
}

/* ===== 紧凑一行下载按钮 ===== */
.download-btns-inline {
    flex-wrap: nowrap !important;
    gap: 12px;
    margin-bottom: 20px;
}
.btn-compact {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 12px 14px !important;
}
.btn-compact .btn-icon {
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0;
}
.btn-compact .btn-sub { font-size: 10px; }
.btn-compact .btn-main { font-size: 13px; font-weight: 700; }
@media (max-width: 480px) {
    .download-btns-inline { flex-wrap: nowrap !important; }
    .btn-compact { padding: 10px 10px !important; }
    .btn-compact .btn-icon { width: 22px !important; height: 22px !important; }
    .btn-compact .btn-main { font-size: 12px; }
    .btn-compact .btn-sub { font-size: 9px; }
}

/* ===== 并排一行下载按钮（dl-row） ===== */
.dl-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}
.dl-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.dl-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
    transform: translateX(-100%); transition: transform 0.5s;
}
.dl-btn:hover::before { transform: translateX(100%); }
.dl-android {
    background: linear-gradient(135deg, #1db954, #0a8a3a);
    box-shadow: 0 6px 24px rgba(29,185,84,0.35);
}
.dl-android:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(29,185,84,0.5); }
.dl-ios {
    background: linear-gradient(135deg, #555, #222);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.dl-ios:hover { transform: translateY(-2px); background: linear-gradient(135deg, #666, #333); }
.dl-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.dl-label { font-size: 15px; font-weight: 700; }
@media (max-width: 360px) {
    .dl-btn { padding: 11px 8px; gap: 6px; }
    .dl-icon { width: 18px; height: 18px; }
    .dl-label { font-size: 13px; }
}
