/* =====================================================
   游咔 App 专题站 - 共享样式表
   ===================================================== */
:root {
  --primary: #5b6bff;
  --primary-2: #8b5cf6;
  --accent: #f97316;
  --accent-2: #fb923c;
  --ink: #0e1a2b;
  --muted: #5b6580;
  --line: #e5e9f2;
  --bg: #f6f8fc;
  --card: #ffffff;
  --dark: #0b1020;
  --dark-2: #1e1b4b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: "PingFang SC","Microsoft YaHei","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.25; color: var(--ink); }
p { color: #334155; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(249, 115, 22, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(249, 115, 22, .42); }
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 22px rgba(15, 30, 60, .06); }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 6px 14px rgba(91, 107, 255, .25); }
.brand span { letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #475063; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 22px; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, #4338ca 0%, transparent 55%),
    radial-gradient(circle at 80% 30%, #8b5cf6 0%, transparent 50%),
    linear-gradient(180deg, #1e1b4b 0%, #0b1020 100%);
  color: #fff;
  padding: 90px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .55; pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 60px; align-items: center; position: relative;
}
.hero h1 {
  font-size: 48px; line-height: 1.15; margin: 0 0 18px;
  font-weight: 800; letter-spacing: .5px;
}
.hero h1 span {
  background: linear-gradient(90deg, #fb923c, #f97316);
  -webkit-background-clip: text; color: transparent;
}
.hero .lead { color: #cbd5e1; font-size: 18px; margin: 0 0 28px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 22px; margin-top: 32px;
  color: #a5b4d4; font-size: 14px; flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { color: var(--accent-2); }

.phone-frame {
  position: relative; width: 300px; margin: 0 auto;
  border-radius: 40px; padding: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .12);
}
.phone-screen { border-radius: 28px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.hero-floating {
  position: absolute;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  padding: 12px 16px; border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-floating i { color: var(--accent); }
.hero-floating.tag-rating { top: 10px; left: -20px; }
.hero-floating.tag-speed { bottom: 36px; right: -20px; }
.hero-floating small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ===== Stats ===== */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding: 32px 0;
}
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, #eef2ff, #fdf2f8);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.stat-value { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-eyebrow {
  color: var(--primary); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: 13px;
}
.section h2 { font-size: 36px; margin: 8px 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(79, 70, 229, .10); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(135deg, #eef2ff, #fdf2f8);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.feature-card h3 { font-size: 18px; margin: 0 0 8px; }
.feature-card p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ===== Screenshots Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gallery-item {
  background: #fff; border-radius: 18px; padding: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 30, 60, .05);
  text-align: center;
  transition: transform .2s ease;
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item img {
  border-radius: 12px;
  height: 280px; object-fit: cover; width: 100%;
}
.gallery-item .caption {
  margin-top: 10px; font-size: 14px; color: var(--muted); font-weight: 600;
}

/* ===== Deep Cards ===== */
.deep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deep-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #1e1b4b, #312e81);
  color: #fff; border-radius: 24px; padding: 32px;
  transition: transform .2s ease;
}
.deep-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, .55), transparent 60%);
}
.deep-card:hover { transform: translateY(-4px); }
.deep-card .icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 22px;
}
.deep-card h3 { color: #fff; margin: 0 0 10px; font-size: 20px; }
.deep-card p { color: #cbd5e1; margin: 0 0 18px; font-size: 14.5px; }
.deep-card .more {
  color: #fed7aa; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ===== Testimonials ===== */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.test-card {
  background: #fff; border-radius: 20px; padding: 28px;
  border: 1px solid var(--line); position: relative;
}
.test-card::before {
  content: "\201C"; font-size: 80px; color: #e0e7ff;
  position: absolute; left: 20px; top: -10px;
  font-family: Georgia, serif; line-height: 1;
}
.test-card p { margin: 22px 0 18px; color: #334155; font-size: 15px; }
.test-meta { display: flex; align-items: center; gap: 12px; }
.test-meta .pic {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #f97316);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; flex-shrink: 0;
}
.test-meta .name { font-weight: 700; font-size: 14.5px; }
.test-meta .role { font-size: 12px; color: var(--muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: 16px; border: 1px solid var(--line);
  margin-bottom: 14px; padding: 6px 22px;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  font-weight: 700; padding: 18px 0; position: relative; padding-right: 36px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 16px;
  color: var(--primary); font-size: 22px; font-weight: 700;
  transition: transform .2s; line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.faq-group-title {
  font-size: 22px; margin: 30px 0 16px; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.faq-group-title i { color: var(--primary); }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, #5b6bff 0%, #8b5cf6 50%, #f97316 100%);
  color: #fff; padding: 70px 0; border-radius: 32px;
  margin: 0 24px 90px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .35; pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; font-size: 34px; margin: 0 0 12px; font-weight: 800; }
.cta-band p { color: #fff; opacity: .92; margin: 0 0 28px; max-width: 620px; margin-inline: auto; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: #0b1020; color: #cbd5e1; padding: 70px 0 30px; }
.disclaimer {
  background: rgba(255, 255, 255, .05);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 36px;
  font-size: 13px; color: #a3b3cf;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-col h4 { color: #fff; margin: 0 0 16px; font-size: 15px; }
.footer-col a { display: block; padding: 6px 0; color: #a3b3cf; font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-brand p { color: #a3b3cf; font-size: 14px; margin: 14px 0 0; }
.footer-bottom {
  padding-top: 22px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #7e8ba8;
}

/* ===== Article (inner page) ===== */
.article-hero {
  background: linear-gradient(135deg, #312e81, #1e1b4b);
  color: #fff; padding: 90px 0 70px;
}
.article-hero .crumb a { color: #a5b4d4; }
.article-hero .crumb i { color: var(--accent-2); margin: 0 6px; font-size: 10px; }
.article-hero h1 {
  color: #fff; font-size: 42px; line-height: 1.2;
  margin: 14px 0 14px; font-weight: 800;
}
.article-hero .meta { color: #cbd5e1; font-size: 14px; }
.article-body { padding: 70px 0 30px; }
.article-body h2 { font-size: 26px; margin: 38px 0 14px; }
.article-body h3 { font-size: 20px; margin: 24px 0 10px; color: var(--ink); }
.article-body p { font-size: 16px; color: #334155; margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; padding: 0; color: #334155; }
.article-body li { margin-bottom: 8px; }
.article-callout {
  background: #eef2ff; border-left: 4px solid var(--primary);
  border-radius: 12px; padding: 18px 22px; margin: 22px 0;
  color: #312e81;
}
.article-callout i { color: var(--primary); margin-right: 8px; }

/* ===== Steps ===== */
.steps { counter-reset: step; padding: 0; list-style: none; margin: 0; }
.steps li {
  counter-increment: step;
  padding: 22px 22px 22px 74px; position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; margin-bottom: 16px;
}
.steps li::before {
  content: counter(step); position: absolute;
  left: 18px; top: 22px; width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b6bff, #8b5cf6);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}
.steps li h3 { margin: 0 0 8px; font-size: 18px; }
.steps li p { margin: 0; color: var(--muted); font-size: 15px; }
.steps li .tip {
  margin-top: 10px; padding: 10px 14px;
  background: #fff7ed; border-radius: 10px;
  color: #9a3412; font-size: 13.5px;
}
.steps li .tip i { color: var(--accent); margin-right: 6px; }

/* ===== Related ===== */
.related-links {
  display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0;
}
.related-links a {
  padding: 10px 16px; background: #eef2ff;
  color: var(--primary); border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: background .2s, transform .2s;
}
.related-links a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ===== Fade in ===== */
.fade { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-links {
    display: none; position: absolute; right: 20px; top: 64px;
    background: #fff; flex-direction: column;
    padding: 16px 22px; border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 30, 60, .12);
    width: auto; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero h1 { font-size: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-hero h1 { font-size: 34px; }
}
@media (max-width: 620px) {
  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 50px 0; border-radius: 24px; margin: 0 16px 70px; }
  .cta-band h2 { font-size: 26px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 28px; }
  .article-hero h1 { font-size: 28px; }
  .steps li { padding: 20px 18px 20px 64px; }
  .steps li::before { left: 14px; top: 20px; }
  .nav-cta { display: none; }
}