/* ═══════════════════════════════════════════════════════════
   Ai神彩 官网 · 样式（2026-10-19）
   设计：深色科技风 + 品牌绿；纯 CSS 无框架（SEO/性能优先）
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #0a0e13;
  --bg-soft: #0f141b;
  --card: #131a23;
  --card-hi: #1a2230;
  --line: #232d3b;
  --text: #e6edf5;
  --dim: #93a2b5;
  --dim2: #6b7c91;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, .14);
  --accent-2: #4ade80;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1160px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── 通用容器/标题 ── */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-kicker::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
h2.section-title { font-size: clamp(26px, 4vw, 38px); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.section-desc { margin-top: 14px; color: var(--dim); font-size: 16px; max-width: 720px; }
.center { text-align: center; }
.center .section-desc { margin-left: auto; margin-right: auto; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 19, .86);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.brand span { color: var(--text); }
.nav { display: flex; gap: 4px; margin-left: 20px; }
.nav a {
  padding: 7px 12px; border-radius: 9px; font-size: 14px; color: var(--dim);
  transition: color .16s, background .16s;
}
.nav a:hover { color: var(--text); background: var(--card); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent;
  font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .14s, filter .14s, background .14s, border-color .14s, color .14s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #04120a; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15px; border-radius: 13px; }
.btn-block { width: 100%; }

/* ── Hero ── */
.hero { position: relative; padding: 92px 0 72px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% 30% auto -10%; height: 520px;
  background: radial-gradient(closest-side, rgba(34, 197, 94, .18), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(34, 197, 94, .3);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
h1.hero-title {
  margin-top: 20px; font-size: clamp(32px, 5.6vw, 56px); line-height: 1.16;
  font-weight: 800; letter-spacing: -.03em;
}
h1.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 20px; font-size: clamp(15px, 2vw, 18px); color: var(--dim); max-width: 700px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--dim2); }
.hero-stats {
  margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.stat {
  padding: 20px 18px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line);
}
.stat-num { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.stat-label { margin-top: 4px; font-size: 13px; color: var(--dim); }
.stat-sub { margin-top: 2px; font-size: 11.5px; color: var(--dim2); }

/* ── 卡片网格 ── */
.grid { display: grid; gap: 16px; margin-top: 44px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 24px; border-radius: var(--radius-lg); background: var(--card);
  border: 1px solid var(--line); transition: border-color .18s, transform .18s;
}
.card:hover { border-color: rgba(34, 197, 94, .45); transform: translateY(-2px); }
.card-icon {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-size: 20px; margin-bottom: 14px;
}
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--dim); line-height: 1.72; }

/* ── 定价 ── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line);
}
.plan-hi { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(34, 197, 94, .3), 0 20px 50px rgba(0, 0, 0, .35); }
.plan-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #04120a; font-size: 11px; font-weight: 800;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--dim); }
.plan-price { font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.plan-price small { font-size: 14px; font-weight: 600; color: var(--dim); margin-left: 4px; }
.plan-desc { font-size: 13px; color: var(--dim); min-height: 40px; }
.plan ul { list-style: none; margin: 14px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.plan li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--text); }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ── 步骤 ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.step { padding: 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft);
  color: var(--accent); font-weight: 800; font-size: 14px; margin-bottom: 12px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--dim); }

/* ── FAQ ── */
.faq { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  overflow: hidden; transition: border-color .18s;
}
.faq details[open] { border-color: rgba(34, 197, 94, .45); }
.faq summary {
  cursor: pointer; padding: 17px 20px; font-size: 15px; font-weight: 600;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq .faq-body { padding: 0 20px 18px; font-size: 14px; color: var(--dim); line-height: 1.8; }

/* ── 入口区（主站/下载/二维码/客服）── */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.entry {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 18px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line); text-align: center;
  transition: border-color .18s, transform .18s;
}
.entry:hover { border-color: var(--accent); transform: translateY(-2px); }
.entry-qr { width: 132px; height: 132px; border-radius: 10px; background: #fff; padding: 6px; object-fit: contain; }
.entry-title { font-size: 14.5px; font-weight: 700; }
.entry-desc { font-size: 12.5px; color: var(--dim2); }

/* ── CTA 结尾 ── */
.cta-box {
  padding: 52px 32px; border-radius: 26px; text-align: center;
  background: linear-gradient(160deg, rgba(34, 197, 94, .16), rgba(34, 197, 94, .04) 55%, transparent);
  border: 1px solid rgba(34, 197, 94, .32);
}
.cta-box h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.cta-box p { margin-top: 12px; color: var(--dim); }
.cta-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 30px; background: var(--bg-soft); }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-brand { max-width: 340px; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--dim2); line-height: 1.8; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--dim); padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 12px; color: var(--dim2);
}
.risk-note {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius);
  background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .28);
  font-size: 12px; line-height: 1.8; color: #d9b06a;
}

/* ── 对比表（GEO 友好：语义化 table）── */
.compare-wrap { margin-top: 40px; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--card); font-size: 13px; font-weight: 700; color: var(--dim); white-space: nowrap; }
.compare-table tbody th { font-weight: 600; color: var(--text); white-space: nowrap; background: var(--bg-soft); width: 120px; }
.compare-table tbody td { color: var(--dim); }
.compare-table .col-us { color: var(--text); background: rgba(34, 197, 94, .06); font-weight: 500; }
.compare-table thead .col-us { color: var(--accent); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── 响应式 ── */
@media (max-width: 980px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .pricing, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .entries { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 560px) {
  section { padding: 60px 0; }
  .hero { padding: 64px 0 48px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .entries { grid-template-columns: 1fr 1fr; }
  .header-actions .btn-ghost { display: none; }
  .footer-links { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
