/* ============================================================
   AGE动漫 app 下载官网  style.css
   主题：深色动漫风 · 绯红→紫罗兰渐变
   ============================================================ */
:root {
  --bg: #0e0b16;
  --bg-soft: #14101f;
  --surface: #1a1526;
  --card: #1f1930;
  --border: #2c2440;
  --text: #f4f1fa;
  --muted: #9c94b0;
  --primary: #ff3b6b;
  --primary-2: #8b5cf6;
  --grad: linear-gradient(135deg, #ff3b6b 0%, #8b5cf6 100%);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px rgba(255, 59, 107, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(139, 92, 246, .45); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-xl { padding: 18px 46px; font-size: 18px; }
.ico { width: 20px; height: 20px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14, 11, 22, .75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  width: min(1180px, 92%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-download { padding: 9px 22px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -200px; right: -150px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.35), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,59,107,.12); color: #ff7d9c;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px;
}
.hero h1 { font-size: 56px; line-height: 1.15; font-weight: 900; letter-spacing: -1px; }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-subtitle { font-size: 20px; color: var(--text); margin: 16px 0 14px; font-weight: 600; }
.hero-desc { color: var(--muted); font-size: 16px; max-width: 540px; }
.hero-tags { margin: 22px 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.hero-tags a { color: #c4b5fd; border-bottom: 1px dashed rgba(196,181,253,.5); }
.hero-tags a:hover { color: #fff; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 18px; }
.hero-meta { font-size: 13px; color: var(--muted); }

/* 手机框 */
.phone-frame {
  width: 280px; margin: 0 auto;
  border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #2a2340, #14101f);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow);
}
.phone-frame img { border-radius: 28px; width: 100%; height: auto; }
.phone-frame.small { width: 240px; }
.hero-phone { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

/* ---------- 数据 ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 46px 0; text-align: center; }
.stat strong { display: block; font-size: 40px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- 通用 section ---------- */
.section { padding: 90px 0; }
.section-tag { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.section-desc { color: var(--muted); font-size: 16px; max-width: 640px; margin-bottom: 44px; }

/* ---------- 功能卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255,59,107,.5); }
.f-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c);
  margin-bottom: 18px;
}
.f-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 分栏 ---------- */
.split { background: var(--bg-soft); }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li { color: var(--muted); padding-left: 28px; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 800;
}

/* ---------- 轮播 ---------- */
.carousel { overflow: hidden; }
.carousel-track {
  display: flex; gap: 28px; transition: transform .45s ease;
  padding: 10px 4px 24px;
}
.slide { flex: 0 0 auto; text-align: center; }
.slide figcaption { margin-top: 16px; color: var(--muted); font-size: 14px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: 0; cursor: pointer; transition: all .25s; }
.dot.active { background: var(--primary); width: 26px; border-radius: 999px; }

/* ---------- 下载 CTA ---------- */
.download {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,59,107,.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139,92,246,.25), transparent 50%),
    var(--bg-soft);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.download-inner { text-align: center; padding: 70px 0; }
.download-inner h2 { font-size: 38px; font-weight: 900; margin-bottom: 14px; }
.download-inner p { color: var(--muted); font-size: 16px; }
.download-tip { margin: 6px 0 28px; }
.download-meta { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; background: var(--card); overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: 0; color: var(--text);
  padding: 20px 24px; font-size: 16px; font-weight: 600; text-align: left;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.faq-arrow { color: var(--primary); font-size: 22px; transition: transform .3s; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* ---------- 页脚 ---------- */
.footer { background: #0a0812; padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; font-weight: 600; }
.footer-logo { width: 32px; height: 32px; border-radius: 8px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 18px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: #6b6480; font-size: 13px; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  box-shadow: 0 8px 24px rgba(255,59,107,.4);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top svg { width: 22px; height: 22px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero { padding: 120px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto; }
  .hero-tags, .hero-cta { justify-content: center; }
  .hero-phone { margin-top: 30px; }
  .hero h1 { font-size: 42px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .split-inner { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 30px 10px; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--bg-soft); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav-links a { padding: 16px 6%; border-bottom: 1px solid var(--border); }
  .nav-links.open { max-height: 320px; }
  .nav-toggle { display: flex; }
  .nav-download { display: none; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .download-inner h2 { font-size: 28px; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .stat strong { font-size: 32px; }
  .btn-xl { padding: 15px 32px; font-size: 16px; }
}
