/* ========== 异次元漫画 - 蓝白清新二次元风格 ========== */
:root {
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --primary-bg: #eff6ff;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fb923c;
  --cyan: #06b6d4;
  --text: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-blue: #f0f7ff;
  --border: #e5e7eb;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(59,130,246,0.1);
  --shadow-lg: 0 10px 30px rgba(59,130,246,0.15);
  --shadow-xl: 0 20px 50px rgba(59,130,246,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== 通用按钮 ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 15px;
  transition: var(--transition); cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.45); }
.btn-outline {
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-white {
  background: #fff; color: var(--primary-dark); box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-xl { padding: 20px 44px; font-size: 19px; }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ========== 通用区块标题 ========== */
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-tag {
  display: inline-block; padding: 6px 18px; background: var(--primary-bg);
  color: var(--primary-dark); border-radius: 50px; font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; margin-bottom: 16px;
}
.section-title { font-size: 38px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { font-size: 17px; color: var(--text-light); max-width: 600px; }
.section-head.center .section-sub { margin: 0 auto; }

/* ========== 导航栏 ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95); border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--primary-dark); }
.nav-links { display: flex; gap: 32px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--text-light); transition: var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--primary); }
.nav-link::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: var(--transition); border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-download { padding: 10px 24px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ========== Hero ========== */
.hero {
  position: relative; padding: 140px 0 80px; background: linear-gradient(180deg, var(--bg-blue) 0%, #fff 100%);
  overflow: hidden;
}
.hero-bg-deco { position: absolute; inset: 0; pointer-events: none; }
.deco-circle {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.4;
}
.circle-1 { width: 400px; height: 400px; background: var(--primary-light); top: -100px; right: -100px; }
.circle-2 { width: 300px; height: 300px; background: var(--cyan); bottom: 0; left: 10%; opacity: 0.25; }
.circle-3 { width: 200px; height: 200px; background: var(--accent-light); top: 40%; right: 30%; opacity: 0.2; }
.hero-inner { display: flex; align-items: center; gap: 48px; position: relative; z-index: 1; }
.hero-left { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  background: #fff; border: 1px solid var(--border); border-radius: 50px;
  font-size: 14px; font-weight: 600; color: var(--primary-dark); margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.badge-icon { font-size: 16px; }
.hero-title { font-size: 52px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.title-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 17px; color: var(--text-light); line-height: 1.8; margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.h-stat { text-align: center; }
.h-stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--primary-dark); }
.h-stat span { font-size: 13px; color: var(--text-light); }
.h-stat-divider { width: 1px; height: 36px; background: var(--border); }

.hero-right { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }
.hero-mascot-wrap { position: relative; }
.hero-mascot { width: 320px; height: auto; animation: float 4s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.floating-tag {
  position: absolute; padding: 10px 18px; background: #fff; border-radius: 50px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); white-space: nowrap;
  animation: floatTag 3s ease-in-out infinite;
}
.tag-hot { top: 10%; left: -20px; color: #ef4444; animation-delay: 0s; }
.tag-new { top: 40%; right: -30px; color: var(--primary); animation-delay: 1s; }
.tag-free { bottom: 15%; left: 0; color: #10b981; animation-delay: 2s; }
@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-phone-preview {
  position: absolute; right: -40px; bottom: -20px; width: 180px;
  transform: rotate(8deg); opacity: 0.9;
}
.phone-frame {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-xl);
  border: 4px solid #fff;
}
.phone-frame img { width: 100%; height: auto; }

/* ========== 核心功能 ========== */
.features { padding: 100px 0; background: var(--bg); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature-card {
  padding: 36px 30px; background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--cyan)); transform: scaleX(0);
  transform-origin: left; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 28px; margin-bottom: 20px;
}
.icon-blue { background: var(--primary-bg); }
.icon-orange { background: #fff7ed; }
.icon-green { background: #ecfdf5; }
.icon-purple { background: #f5f3ff; }
.icon-cyan { background: #ecfeff; }
.icon-pink { background: #fdf2f8; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* ========== 产品展示 ========== */
.showcase { padding: 100px 0; background: var(--bg-blue); }
.showcase-wrap { display: flex; align-items: center; gap: 56px; }
.showcase-phone { flex: 1; display: flex; justify-content: center; }
.phone-glow {
  position: relative; border-radius: 32px; padding: 6px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: var(--shadow-xl);
}
.phone-glow img {
  width: 300px; height: auto; border-radius: 26px; display: block;
}
.showcase-tabs { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.showcase-tab {
  display: flex; gap: 18px; padding: 20px; background: #fff; border: 2px solid transparent;
  border-radius: var(--radius-lg); text-align: left; transition: var(--transition); align-items: flex-start;
}
.showcase-tab:hover { border-color: var(--primary-light); transform: translateX(4px); }
.showcase-tab.active { border-color: var(--primary); box-shadow: var(--shadow); background: #fff; }
.tab-thumb {
  width: 72px; height: 96px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--border);
}
.tab-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tab-info strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.showcase-tab.active .tab-info strong { color: var(--primary-dark); }
.tab-info span { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ========== 热门榜单 ========== */
.ranking { padding: 100px 0; background: var(--bg); }
.ranking-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.rank-tab {
  padding: 10px 24px; border-radius: 50px; font-size: 15px; font-weight: 600;
  background: var(--bg-soft); color: var(--text-light); transition: var(--transition);
  border: 1px solid var(--border);
}
.rank-tab:hover { color: var(--primary); border-color: var(--primary-light); }
.rank-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.ranking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rank-card {
  display: flex; gap: 18px; padding: 20px; background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); transition: var(--transition);
}
.rank-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.rank-cover {
  width: 90px; height: 120px; border-radius: 10px; flex-shrink: 0; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.cover-1 { background: linear-gradient(135deg, #ef4444, #f97316); }
.cover-2 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.cover-3 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.cover-4 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.cover-5 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.cover-6 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.rank-num {
  position: absolute; top: 8px; left: 8px; width: 28px; height: 28px;
  background: rgba(0,0,0,0.4); color: #fff; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 14px; font-weight: 800;
}
.rank-info { flex: 1; min-width: 0; }
.rank-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.rank-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rank-meta span:first-child { font-size: 12px; color: var(--text-light); }
.rank-status {
  font-size: 11px; padding: 2px 8px; background: var(--primary-bg); color: var(--primary-dark);
  border-radius: 4px; font-weight: 600;
}
.rank-info p { font-size: 13px; color: var(--text-light); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ranking-more { text-align: center; margin-top: 48px; }
.ranking-more p { font-size: 16px; color: var(--text-light); margin-bottom: 20px; }

/* ========== 使用流程 ========== */
.how-it-works { padding: 100px 0; background: var(--bg-blue); }
.steps-wrap { display: flex; align-items: stretch; justify-content: center; gap: 0; }
.step-item {
  flex: 1; max-width: 320px; text-align: center; padding: 36px 28px; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}
.step-icon { font-size: 48px; margin-bottom: 16px; margin-top: 12px; }
.step-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.step-arrow {
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  color: var(--primary-light); padding: 0 8px; flex-shrink: 0;
}

/* ========== 数据展示 ========== */
.stats-section { padding: 80px 0; background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item {
  text-align: center; padding: 32px 20px; background: var(--bg-blue);
  border-radius: var(--radius-lg); transition: var(--transition);
}
.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-icon { font-size: 36px; margin-bottom: 12px; }
.stat-num { font-size: 42px; font-weight: 900; color: var(--primary-dark); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 15px; color: var(--text-light); font-weight: 500; }

/* ========== 下载CTA ========== */
.cta-section { position: relative; padding: 100px 0; overflow: hidden; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--cyan) 100%); }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
                    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.06) 0%, transparent 40%);
}
.cta-content { display: flex; align-items: center; gap: 56px; position: relative; z-index: 1; }
.cta-left { flex: 1; }
.cta-title { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 16px; }
.cta-title span { color: #fde68a; }
.cta-desc { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 24px; max-width: 520px; }
.cta-features { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-features span { color: #fff; font-size: 15px; font-weight: 600; }
.cta-right { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cta-meta span { color: rgba(255,255,255,0.75); font-size: 13px; }
.cta-meta .dot { opacity: 0.5; }

/* ========== FAQ ========== */
.faq { padding: 100px 0; background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  margin-bottom: 16px; overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; font-size: 16px; font-weight: 600; color: var(--text);
  text-align: left; gap: 16px;
}
.faq-item.active .faq-q { color: var(--primary-dark); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--primary-bg);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0; transition: var(--transition);
}
.faq-item.active .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 28px 24px; font-size: 15px; color: var(--text-light); line-height: 1.8; }

/* ========== 页脚 ========== */
.footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-top { display: flex; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { flex: 1; max-width: 360px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-cols { flex: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 6px; }

/* ========== 回到顶部 ========== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px;
  background: var(--primary); color: #fff; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition);
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ========== 移动端悬浮下载 ========== */
.mobile-fab {
  display: none; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  padding: 14px 32px; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; border-radius: 50px; font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 24px rgba(249,115,22,0.4); z-index: 999; gap: 8px;
  align-items: center;
}

/* ========== 滚动入场动画 ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ranking-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-wrap { flex-direction: column; }
  .cta-content { flex-direction: column; text-align: center; }
  .cta-desc { margin: 0 auto 24px; }
  .cta-features { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 24px; gap: 20px; box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: var(--transition); z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-download { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-title { font-size: 36px; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { margin-top: 40px; }
  .hero-mascot { width: 240px; }
  .hero-phone-preview { display: none; }
  .section-title { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .ranking-grid { grid-template-columns: 1fr; }
  .steps-wrap { flex-direction: column; align-items: center; gap: 32px; }
  .step-arrow { transform: rotate(90deg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 32px; }
  .footer-top { flex-direction: column; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .cta-title { font-size: 32px; }
  .mobile-fab { display: flex; }
  .back-to-top { bottom: 80px; right: 20px; width: 42px; height: 42px; }
  .floating-tag { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}
