/* ============================================================
   DeepCircle — Landing styles
   Design tokens mirror the app design system (light-first).
   ============================================================ */

:root {
  /* surfaces */
  --bg: #FFFFFF;
  --muted: #F9FAFB;
  --surface-2: #F3F4F6;

  /* text */
  --heading: #374151;
  --ink: #1F2937;
  --body: #6B7280;
  --caption: #9CA3AF;

  /* brand */
  --brand: #3B82F6;
  --brand-dark: #2563EB;
  --brand-ink: #1D4ED8;
  --grad-brand: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);

  /* token accents */
  --qzt: #FBBF24;   /* gold  */
  --rpm: #10B981;   /* green */
  --aic: #F59E0B;   /* orange */

  --border: #E5E7EB;

  /* radii */
  --r-btn: 12px;
  --r-card: 18px;
  --r-surface: 24px;

  /* shadows */
  --sh-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --sh-md: 0 6px 18px -6px rgba(16, 24, 40, 0.12), 0 2px 6px -2px rgba(16, 24, 40, 0.06);
  --sh-lg: 0 24px 60px -18px rgba(29, 78, 216, 0.30), 0 8px 24px -10px rgba(16, 24, 40, 0.12);
  --sh-card: 0 1px 2px rgba(16,24,40,.04), 0 10px 30px -18px rgba(16,24,40,.18);

  /* type */
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  /* the "accent" used by primary CTA / highlights — swapped by tweaks */
  --accent-fill: var(--grad-brand);
  --accent-solid: var(--brand-dark);
}

/* Accent treatment tweak ------------------------------------ */
:root[data-accent="flat"] {
  --accent-fill: var(--brand-dark);
}
:root[data-accent="gradient"] {
  --accent-fill: var(--grad-brand);
}
/* "tokens" reuses gradient for CTA but lights up token chips harder (handled inline) */

/* Heading font tweak ---------------------------------------- */
:root[data-head="inter"] { --font-head: "Inter", system-ui, sans-serif; }
:root[data-head="manrope"] { --font-head: "Manrope", "Inter", system-ui, sans-serif; }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--muted { background: var(--muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  margin-top: 14px;
}
.section-head p { margin-top: 16px; font-size: 18px; color: var(--body); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(59,130,246,.45); outline-offset: 2px; }
.btn-primary { background: var(--accent-fill); color: #fff; box-shadow: var(--sh-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-ghost { background: #fff; color: var(--heading); border-color: var(--border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #d1d5db; box-shadow: var(--sh-sm); }
.btn-text { color: var(--brand-dark); font-weight: 600; }
.btn-text:hover { text-decoration: underline; }

/* store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #111827; color: #fff;
  border-radius: var(--r-btn);
  padding: 10px 18px;
  min-width: 168px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: var(--sh-sm);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-top { font-size: 10.5px; letter-spacing: .04em; opacity: .8; line-height: 1.2; }
.store-badge .sb-main { font-size: 18px; font-weight: 700; line-height: 1.1; font-family: var(--font-head); letter-spacing: -.01em; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--heading); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav a { font-size: 15px; color: var(--body); font-weight: 500; transition: color .15s ease; }
.nav a:hover { color: var(--heading); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; border: 1px solid var(--border); border-radius: 999px;
  padding: 3px; background: #fff;
}
.lang button {
  border: 0; background: transparent; color: var(--caption);
  font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-mono);
}
.lang button[aria-pressed="true"] { background: var(--surface-2); color: var(--heading); }

.menu-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(59,130,246,.12), transparent 70%),
    radial-gradient(46% 40% at 12% 0%, rgba(37,99,235,.08), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 0.98;
}
.hero h1 .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--body); max-width: 460px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.trust-line {
  margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-size: 14px; color: var(--caption); font-family: var(--font-mono);
}
.trust-line .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--caption); }

/* ----- phone stage ----- */
.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }

.phone {
  position: relative; z-index: 2;
  width: 286px; height: 580px;
  background: #0b0d12; border-radius: 44px;
  padding: 11px;
  box-shadow: var(--sh-lg);
}
.phone::after { /* side button */
  content: ""; position: absolute; right: -3px; top: 142px; width: 3px; height: 64px;
  background: #0b0d12; border-radius: 0 3px 3px 0;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  background: var(--bg); border-radius: 34px; overflow: hidden;
}
.notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 26px; background: #0b0d12; border-radius: 999px; z-index: 30;
}

/* app screen frames */
.screen {
  position: absolute; inset: 0; opacity: 0; transform: translateY(10px) scale(.99);
  transition: opacity .5s ease, transform .5s ease; pointer-events: none;
  display: flex; flex-direction: column;
}
.screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.screen-top { padding: 40px 18px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.screen-title { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--heading); letter-spacing: -.02em; white-space: nowrap; flex: none; }
.screen-top .pill { flex: none; }
.screen-body { flex: 1; overflow: hidden; padding: 0 16px 16px; }

/* generic mini chips */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  padding: 4px 9px; border-radius: 999px;
}
.pill-qzt { background: #FEF3C7; color: #92660b; }
.pill-rpm { background: #D1FAE5; color: #047857; }
.pill-aic { background: #FFEDD5; color: #b45309; }

/* feed screen */
.fcard { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 12px; margin-bottom: 12px; box-shadow: var(--sh-sm); }
.fhead { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.favatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#60a5fa,#2563eb); flex: none; }
.fname { font-size: 12.5px; font-weight: 700; color: var(--heading); }
.fmeta { font-size: 10.5px; color: var(--caption); font-family: var(--font-mono); }
.fmedia { height: 86px; border-radius: 12px; background:
  repeating-linear-gradient(135deg, #eef2f7 0 10px, #e6ebf2 10px 20px);
  display: flex; align-items: center; justify-content: center; }
.fmedia span { font-family: var(--font-mono); font-size: 10px; color: #9aa6b6; }
.factions { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--body); font-weight: 600; }
.factions .right { margin-left: auto; }

/* quiz screen */
.qprompt { background: var(--muted); border: 1px solid var(--border); border-radius: 14px; padding: 12px; font-size: 12.5px; color: var(--heading); font-weight: 600; margin-bottom: 12px; }
.qopt { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--body); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; background: #fff; }
.qopt .k { font-family: var(--font-mono); font-size: 10px; width: 18px; height: 18px; border-radius: 6px; background: var(--surface-2); color: var(--heading); display: grid; place-items: center; font-weight: 700; }
.qopt.correct { border-color: var(--rpm); background: #ECFDF5; color: #065f46; }
.qopt.correct .k { background: var(--rpm); color: #fff; }
.qreward { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; }

/* game screen */
.gstage { height: 200px; border-radius: 16px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #1e293b, #0f172a); display: grid; place-items: center; }
.gstage .glabel { font-family: var(--font-mono); font-size: 11px; color: #93c5fd; letter-spacing: .08em; }
.gstage::before { content:""; position:absolute; inset:0; background:
  radial-gradient(40% 30% at 30% 30%, rgba(96,165,250,.35), transparent 60%),
  radial-gradient(40% 30% at 75% 70%, rgba(251,191,36,.25), transparent 60%); }
.ghud { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.gscore { font-family: var(--font-mono); font-size: 13px; color: var(--heading); font-weight: 700; }
.gconv { font-family: var(--font-mono); font-size: 10.5px; color: var(--caption); }

/* wallet screen */
.wbal { text-align: center; padding: 6px 0 14px; }
.wbal .lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--caption); }
.wbal .amt { font-family: var(--font-mono); font-weight: 800; font-size: 30px; color: var(--heading); letter-spacing: -.02em; margin-top: 2px; }
.wbal .amt small { font-size: 14px; color: var(--qzt); }
.wrow { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.wdot { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.wrow .wname { font-size: 12px; font-weight: 700; color: var(--heading); }
.wrow .wsub { font-size: 10px; color: var(--caption); font-family: var(--font-mono); }
.wrow .wamt { margin-left: auto; font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--heading); }

/* phone tabs */
.phone-tabs {
  position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px; z-index: 30;
  box-shadow: var(--sh-sm);
}
.phone-tabs button {
  border: 0; background: transparent; padding: 6px 11px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; color: var(--caption); font-family: var(--font-mono);
  transition: background .2s ease, color .2s ease;
}
.phone-tabs button.is-active { background: var(--accent-fill); color: #fff; }

/* floating tokens */
.token-float {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 9px 13px; box-shadow: var(--sh-md);
  animation: floaty 4s ease-in-out infinite;
}
.token-float .coin { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--font-mono); font-weight: 800; font-size: 12px; }
.token-float .tf-name { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--heading); line-height: 1.1; }
.token-float .tf-sub { font-size: 10px; color: var(--caption); line-height: 1.2; }
.tf-qzt { top: 8%; right: -2%; animation-delay: 0s; }
.tf-rpm { top: 44%; left: -8%; animation-delay: -1.4s; }
.tf-aic { bottom: 9%; right: 4%; animation-delay: -2.6s; }
.coin-qzt { background: var(--qzt); }
.coin-rpm { background: var(--rpm); }
.coin-aic { background: var(--aic); }
@keyframes floaty { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

/* ============================================================
   Three pillars
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 28px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: var(--sh-card);
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: #dbe4f3; }
.pillar-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.pillar-ico svg { width: 26px; height: 26px; stroke: #fff; }
.ico-blue { background: var(--grad-brand); }
.ico-qzt { background: linear-gradient(135deg,#fcd34d,#f59e0b); }
.ico-rpm { background: linear-gradient(135deg,#34d399,#059669); }
.pillar h3 { font-size: 21px; margin-bottom: 10px; }
.pillar p { font-size: 15.5px; line-height: 1.55; }
.thumb-row { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.thumb {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px;
  font-family: var(--font-head); box-shadow: var(--sh-sm);
}
.thumb-more { background: var(--surface-2); color: var(--body); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }

/* ============================================================
   Tokens strip
   ============================================================ */
.tokens-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-surface); overflow: hidden; background: #fff; box-shadow: var(--sh-card); }
.tok { padding: 32px; position: relative; }
.tok + .tok { border-left: 1px solid var(--border); }
.tok-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tok-coin { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-mono); font-weight: 800; font-size: 15px; flex: none; box-shadow: var(--sh-sm); }
.tok-name { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--heading); letter-spacing: -.02em; }
.tok-tag { font-family: var(--font-mono); font-size: 11px; color: var(--caption); }
.tok p { font-size: 14.5px; line-height: 1.55; }
.tok-flow { margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; color: var(--brand-dark); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.tokens-note { text-align: center; margin-top: 28px; font-family: var(--font-mono); font-size: 14px; color: var(--body); }
.tokens-note b { color: var(--heading); font-weight: 700; }

/* ============================================================
   Games carousel
   ============================================================ */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.carousel-nav { display: flex; gap: 10px; }
.cnav-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; color: var(--heading); transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.cnav-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: #d1d5db; }
.cnav-btn svg { width: 18px; height: 18px; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 240px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 4px 12px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.game-card {
  scroll-snap-align: start; text-align: left;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; box-shadow: var(--sh-card);
}
.game-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.game-art { height: 150px; display: grid; place-items: center; position: relative; }
.game-art .gicon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 24px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }
.game-meta { padding: 14px 16px 18px; }
.game-meta .gname { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--heading); letter-spacing: -.01em; }
.game-meta .gconvr { margin-top: 6px; font-family: var(--font-mono); font-size: 11.5px; color: var(--body); display: inline-flex; align-items: center; gap: 6px; }
.game-meta .gconvr .gem { color: var(--qzt); }

/* ============================================================
   Social features 2x2
   ============================================================ */
.feat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat-item {
  display: flex; gap: 16px; padding: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--sh-card); transition: transform .15s ease, box-shadow .15s ease;
}
.feat-item:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.feat-ico { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--muted); border: 1px solid var(--border); }
.feat-ico svg { width: 22px; height: 22px; stroke: var(--brand-dark); }
.feat-item h3 { font-size: 18px; margin-bottom: 6px; }
.feat-item p { font-size: 14.5px; line-height: 1.5; }

/* ============================================================
   Social proof
   ============================================================ */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot {
  border-radius: var(--r-card); border: 1px solid var(--border); overflow: hidden;
  aspect-ratio: 9 / 16; background:
    repeating-linear-gradient(135deg, #f1f5f9 0 12px, #e9eef5 12px 24px);
  display: grid; place-items: center; position: relative; box-shadow: var(--sh-card);
}
.shot span { font-family: var(--font-mono); font-size: 12px; color: #94a3b8; background: #fff; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); }
.metrics { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.metric { flex: 1 1 220px; background: var(--muted); border: 1px dashed var(--border); border-radius: var(--r-card); padding: 22px 24px; }
.metric .mnum { font-family: var(--font-mono); font-weight: 800; font-size: 30px; color: var(--heading); letter-spacing: -.02em; }
.metric .mlab { font-size: 14px; color: var(--body); margin-top: 4px; }
.metric .soon { font-family: var(--font-mono); font-size: 10.5px; color: var(--caption); margin-top: 10px; display: inline-block; }
.testi-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 18px; }
.testi { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px; box-shadow: var(--sh-card); }
.testi p { font-size: 15.5px; color: var(--ink); line-height: 1.55; }
.testi .tby { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.testi .tav { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#a78bfa,#6366f1); flex: none; }
.testi .tname { font-size: 13.5px; font-weight: 700; color: var(--heading); }
.testi .ttag { font-size: 11px; color: var(--caption); font-family: var(--font-mono); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  display: flex; align-items: center; gap: 18px; padding: 22px 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--heading);
}
.faq-q .plus { margin-left: auto; flex: none; width: 22px; height: 22px; position: relative; transition: transform .25s ease; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--brand-dark); border-radius: 2px; }
.faq-q .plus::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-q .plus::after { left: 10px; top: 0; height: 22px; width: 2px; transition: transform .25s ease; }
.faq-item[aria-expanded="true"] .plus::after { transform: rotate(90deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 24px; font-size: 16px; line-height: 1.6; color: var(--body); max-width: 680px; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta { position: relative; }
.final-cta .panel {
  background: var(--grad-brand);
  border-radius: var(--r-surface); padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 80px);
  text-align: center; position: relative; overflow: hidden; box-shadow: var(--sh-lg);
}
.final-cta .panel::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 80% 0%, rgba(255,255,255,.18), transparent 60%); }
.final-cta h2 { position: relative; color: #fff; font-size: clamp(30px, 4.6vw, 50px); max-width: 720px; margin-inline: auto; }
.final-cta .sub { position: relative; color: rgba(255,255,255,.86); margin-top: 16px; font-size: 18px; }
.final-cta .stores { position: relative; justify-content: center; margin-top: 32px; }
.final-cta .store-badge { background: #fff; color: #111827; }
.final-cta .partner { position: relative; display: inline-block; margin-top: 24px; font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--muted); border-top: 1px solid var(--border); padding-block: 64px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 280px; }
.fcol h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--caption); font-weight: 600; margin-bottom: 14px; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fcol a { font-size: 14.5px; color: var(--body); transition: color .15s ease; }
.fcol a:hover { color: var(--heading); }
.footer-bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer-bot .cr { font-size: 13px; color: var(--caption); font-family: var(--font-mono); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; color: var(--body); transition: transform .15s ease, color .15s, border-color .15s; }
.socials a:hover { transform: translateY(-2px); color: var(--heading); border-color: #d1d5db; }
.socials svg { width: 18px; height: 18px; }

/* ============================================================
   Hero decor — drifting orbs + dot grid
   ============================================================ */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(64px); z-index: 0; pointer-events: none; animation: orbDrift 16s ease-in-out infinite; }
.orb-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(59,130,246,.55), transparent 70%); top: -120px; right: -80px; }
.orb-2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(251,191,36,.42), transparent 70%); bottom: -120px; left: -60px; animation-delay: -5s; }
.orb-3 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(16,185,129,.34), transparent 70%); top: 38%; left: 42%; animation-delay: -9s; }
@keyframes orbDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(24px,-28px) scale(1.06); } }
.hero { background-image: radial-gradient(rgba(59,130,246,.10) 1px, transparent 1.4px); background-size: 26px 26px; background-position: -8px -8px; }

/* ============================================================
   Earnings ticker
   ============================================================ */
.ticker { border-block: 1px solid var(--border); background: #fff; overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick-item { display: inline-flex; align-items: center; gap: 11px; padding: 16px 28px; font-family: var(--font-mono); font-size: 14px; color: var(--body); white-space: nowrap; }
.tick-item b { color: var(--heading); font-weight: 700; }
.tick-item .tick-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tick-sep { width: 1px; align-self: stretch; background: var(--border); margin-block: 14px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ============================================================
   Earning loop (economy)
   ============================================================ */
.loop { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; }
.loop-node {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 30px 26px 26px; box-shadow: var(--sh-card); position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.loop-node:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.loop-node .bar { position: absolute; inset: 0 0 auto 0; height: 5px; }
.bar-rpm { background: linear-gradient(90deg,#34d399,#059669); }
.bar-aic { background: linear-gradient(90deg,#fcd34d,#f59e0b); }
.bar-qzt { background: linear-gradient(90deg,#fbbf24,#d97706); }
.loop-node .ln-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.loop-node .tok-coin { width: 48px; height: 48px; font-size: 17px; }
.loop-node .ln-name { font-family: var(--font-head); font-weight: 800; font-size: 23px; color: var(--heading); letter-spacing: -.02em; line-height: 1; }
.loop-node .ln-tag { font-family: var(--font-mono); font-size: 11px; color: var(--caption); margin-top: 3px; display: block; }
.loop-node p { font-size: 14.5px; line-height: 1.55; }
.loop-node .ln-earn { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.ln-chip { font-family: var(--font-mono); font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--muted); color: var(--heading); border: 1px solid var(--border); }
.loop-arrow { display: grid; place-items: center; padding: 0 clamp(10px, 1.6vw, 22px); gap: 6px; position: relative; }
.loop-arrow .la-line { width: clamp(28px, 4vw, 64px); height: 2px; background: linear-gradient(90deg, var(--border), var(--brand)); position: relative; border-radius: 2px; overflow: hidden; }
.loop-arrow .la-line::after { content: ""; position: absolute; top: -1px; left: -30%; width: 30%; height: 4px; border-radius: 4px; background: var(--brand); animation: flowDot 2.4s linear infinite; }
.loop-arrow:nth-of-type(4) .la-line::after { animation-delay: 1.2s; }
.loop-arrow .la-head { color: var(--brand); display: grid; place-items: center; }
.loop-arrow .la-head svg { width: 18px; height: 18px; }
.loop-arrow .la-lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--caption); white-space: nowrap; }
@keyframes flowDot { from { left: -30%; } to { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .loop-arrow .la-line::after { animation: none; } .hero-orb { animation: none; } }
.loop-return {
  margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-mono); font-size: 14px; color: var(--body);
}
.loop-return .rcirc { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--brand); color: var(--brand-dark); }
.loop-return .rcirc svg { width: 16px; height: 16px; }
.loop-return b { color: var(--heading); font-weight: 700; }

/* ============================================================
   Game modal
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 80; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal-card {
  width: 100%; max-width: 420px; background: #fff; border-radius: var(--r-surface);
  overflow: hidden; box-shadow: var(--sh-lg); position: relative;
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: #111827; display: grid; place-items: center;
  font-size: 18px; box-shadow: var(--sh-sm);
}
.gm-art { height: 180px; display: grid; place-items: center; }
.gm-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 32px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.gm-meta { padding: 24px 26px 28px; }
.gm-meta h3 { font-size: 23px; margin-bottom: 10px; }
.gm-meta p { font-size: 15px; line-height: 1.55; color: var(--body); }
.gm-conv { margin-top: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--heading); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.gm-conv .gem { color: var(--qzt); }
.gm-play { width: 100%; margin-top: 20px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { order: -1; min-height: 520px; margin-bottom: 8px; }
  .pillars { grid-template-columns: 1fr; }
  .tokens-strip { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .loop-arrow { padding: 14px 0; transform: rotate(90deg); }
  .loop-arrow .la-lbl { display: none; }
  .tok + .tok { border-left: 0; border-top: 1px solid var(--border); }
  .feat2 { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid .shot:nth-child(3) { display: none; }
  .testi-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
  .hero-cta { width: 100%; }
  .stores { width: 100%; }
  .store-badge { flex: 1; }
}
