/* Hallmark · macrostructure: Split Studio · genre: atmospheric · tone: gaming-utility · anchor hue: violet ~300°
 * pre-emit critique: P5 H4 E5 S4 R5 V4
 * FORYOU — style.css · redesign. Brand purple kept but disciplined:
 *   one accent hue, pink demoted to a rare live/logo accent, solid surfaces (no aurora washes),
 *   solid-ink headings (no gradient text), left-biased Split-Studio rhythm, one entrance, no spotlight.
 * ================================================================= */
:root {
  /* paper / surfaces — near-black, forensic high-contrast (AntiGuard-style) */
  --bg:        #060607;
  --bg-2:      #0a0a0c;
  --surface:   #0e0e11;
  --surface-2: #161619;
  --line:      rgba(255, 255, 255, .07);
  --line-2:    rgba(168, 120, 255, .22);

  /* ink */
  --text:  #f3f0fb;
  --dim:   #a79cc0;
  --faint: #6f6690;

  /* one accent hue; pink is a rare accent only */
  --accent:     #a878ff;
  --accent-ink: #0b0714;
  --accent-soft: rgba(168, 120, 255, .12);
  --pink:   #ff6ad5;
  --discord:#5865f2;
  --ok:     #3ddc97;

  /* accent-family text (light → dim) */
  --accent-hi:       #e9dcff;
  --accent-mid:      #d6c3ff;
  --accent-lo:       #cfc8e6;
  --text-soft:       #ddd7f0;

  /* danger (red) */
  --danger-text:     #ff8a9b;
  --danger-text-hi:  #ffb3c0;
  --danger-soft:     rgba(255, 77, 109, .08);
  --danger-border:   var(--danger-border);

  /* warn (amber) */
  --warn:            #ffd37a;
  --warn-soft:       rgba(255, 190, 60, .12);
  --warn-border:     rgba(255, 190, 60, .3);

  /* info (cyan) */
  --info:            #9fe7ff;
  --info-border:     rgba(58, 215, 255, .28);

  /* discord-ui accents */
  --discord-text:    #c9cdff;
  --discord-soft:    rgba(88, 101, 242, .16);
  --discord-border:  rgba(88, 101, 242, .4);

  /* status dots */
  --idle:            #f0b232;
  --dnd:             #f23f43;
  --offline:         #8b8799;
  --offline-dim:     #5c5870;

  /* overlay */
  --overlay:         rgba(0, 0, 0, .72);

  /* gradient reserved for the primary button + wordmark ONLY (never headline text, never section backgrounds) */
  --grad: linear-gradient(120deg, #7c4ff0, #a878ff 55%, #ff6ad5);

  --radius:    16px;
  --radius-sm: 12px;
  --max: 1240px;

  --font:    "Geist", "IBM Plex Sans Thai", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: "Geist", "IBM Plex Sans Thai", sans-serif; /* headline/wordmark — heavy weights */
  --mono:    "JetBrains Mono", ui-monospace, "Consolas", monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur:  .22s;

  /* 4-pt spacing scale */
  --space-xs: .5rem;  --space-sm: 1rem;   --space-md: 1.5rem;
  --space-lg: 2.5rem; --space-xl: 4rem;   --space-2xl: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  font: 300 16px/1.65 var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}
body.lock { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; font-style: normal; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--dim); }
.small { font-size: .85rem; }
.mono { font-family: var(--mono); color: var(--accent); letter-spacing: .04em; }
/* .grad kept for the wordmark lockup only (small, decorative — not a headline) */
.grad { color: var(--accent); }

/* ---------- inline icon system (one stroke voice; replaces emoji) ---------- */
.i {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Logo ---------- */
.logo-img { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.logo-hero { width: 128px; height: 128px; filter: drop-shadow(0 12px 34px rgba(168, 120, 255, .35)); }
.logo-lg { width: 84px; height: 84px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: 999px; line-height: 1;
  font-weight: 500; border: 1px solid transparent; white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform .1s var(--ease);
}
.btn:active { transform: scale(.955); }
.btn-primary { background: #fff; color: #0b0b0d; font-weight: 600; }
.btn-primary:hover { background: #e6e6ec; }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.btn-outline { border-color: var(--line-2); background: rgba(255,255,255,.02); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-sm { padding: .5rem 1.05rem; font-size: .9rem; }

/* ปุ่ม hero: ลูกศรในกล่อง span แยก เลื่อนตอน hover (group) */
.btn .arrow { display: inline-flex; align-items: center; transition: transform var(--dur) var(--ease); }
.btn .arrow svg { width: 1.1em; height: 1.1em; }
.btn.group:hover .arrow { transform: translateX(4px); }

/* glow-primary: ปุ่มขาวเรืองแสงนุ่ม (hero หลัก) */
.btn-glow-primary { background: #fff; color: #0b0b0d; font-weight: 600; border: none; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 34px -8px rgba(255,255,255,.3); }
.btn-glow-primary:hover { background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 14px 46px -8px rgba(255,255,255,.45); }

/* tactile-secondary: ปุ่มเข้มมีมิติ กดแล้วยุบ (hero รอง) */
.btn-tactile-secondary { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 2px 10px -2px rgba(0,0,0,.4); }
.btn-tactile-secondary:hover { background: rgba(255,255,255,.08); border-color: var(--accent); }
.btn-lg { padding: .72rem 1.5rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-dc { background: var(--discord); color: #fff; }
.btn-dc:hover { filter: brightness(1.1); }
.link-btn { background: none; border: 0; padding: 0; color: var(--dim); }
.link-btn:hover { color: var(--text); }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .28rem .8rem; border-radius: 999px;
  font-size: .74rem; font-weight: 500; letter-spacing: .04em;
  background: var(--accent-soft); border: 1px solid var(--line-2); color: var(--accent-mid);
}
/* eyebrow kept as a neutral mono micro-label where genuinely ordinal; default usage removed from markup */
.eyebrow {
  display: inline-block; margin-bottom: .55rem;
  color: var(--accent); font: 600 .72rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tags span {
  font-size: .75rem; padding: .22rem .65rem; border-radius: 7px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--accent-lo);
}
.check-list { display: grid; gap: .5rem; margin: 1.25rem 0 1.5rem; }
.check-list li { display: flex; gap: .65rem; align-items: start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px;
  background:
    var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a878ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 6 3 3 5-6'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--line-2);
}
.check-list.two-col { grid-template-columns: 1fr 1fr; }

/* =================================================================
   NAVBAR — slim edge-aligned masthead (sliding-pill scroll-spy kept)
   ================================================================= */
/* floating rounded pill, detached from the top edge */
/* full-width top bar flush to edges (AntiGuard-style), content centered to --max */
.nav {
  position: sticky; top: 0; z-index: 60; pointer-events: none;
  background: transparent; border-bottom: 1px solid transparent;
}
.nav-inner {
  pointer-events: auto; max-width: 1280px; margin: 0 auto; padding: 1.25rem 2rem; display: flex; align-items: center; gap: .8rem;
  border: 1px solid transparent; border-radius: 0; background: transparent;
  transition: max-width .5s var(--ease), margin .5s var(--ease), padding .5s var(--ease), border-radius .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
/* เลื่อนลงแล้วแถบเมนูหดเป็นแคปซูลลอย (AntiGuard) */
.nav.scrolled .nav-inner {
  max-width: min(1200px, calc(100% - 2rem)); margin-top: .75rem; padding: .6rem 1.2rem; border-radius: 999px;
  background: rgba(0, 0, 0, .85); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-color: rgba(255, 255, 255, .1); box-shadow: 0 16px 40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.logo { display: flex; align-items: center; gap: .5rem; font: 800 1rem var(--display); letter-spacing: .04em; }
.nav .logo-img { width: 26px; height: 26px; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* plain text links, no pill container (AntiGuard-style) */
.nav-links { position: relative; display: flex; align-items: center; gap: .3rem; margin: 0 0 0 2rem; }
.nav-links > a { position: relative; padding: .42rem .55rem; color: var(--dim); font-size: .8rem; white-space: nowrap; transition: color var(--dur) var(--ease); }
.nav-links > a:hover, .nav-links > a.active { color: #fff; }
.nav-pill { display: none; }
.nav-right { display: flex; align-items: center; gap: .5rem; margin-left: auto; flex-shrink: 0; }
.btn-panel {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: transparent; color: var(--dim); font-weight: 500; font-size: .9rem;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn-panel:hover { color: #fff; border-color: var(--line-2); background: var(--accent-soft); }
.btn-login {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; color: var(--dim); font-weight: 500; font-size: .95rem; white-space: nowrap;
  background: transparent; border: 0;
  transition: color var(--dur) var(--ease);
}
.btn-login:hover { color: #fff; }
/* persistent primary CTA in the nav (AntiGuard "เริ่มต้นใช้งาน") */
.nav-cta { padding: .375rem .85rem; border-radius: 999px; font-size: .7rem; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.35); flex-shrink: 0; white-space: nowrap; }

.nav-user { position: relative; }
.nu-btn {
  display: flex; align-items: center; gap: .5rem; padding: .25rem .7rem .25rem .3rem; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-weight: 500; font-size: .88rem;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nu-btn:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .16); }
.nu-av { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.nu-btn .nu-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nu-check { flex-shrink: 0; color: var(--faint); opacity: .8; }

/* My Account popover */
.acct-pop {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 70; width: 380px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9);
  transform-origin: top right; animation: dropIn .22s var(--ease);
}
.acct-pop::before {
  content: ""; position: absolute; top: -7px; right: var(--caret, 26px); width: 12px; height: 12px;
  background: var(--surface); border: 1px solid var(--line-2); border-width: 1px 0 0 1px; transform: rotate(45deg);
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } }
.acct-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.acct-top h2 { font-size: 1.15rem; font-weight: 700; }
.acct-top h2 .grad { color: var(--accent); }
.acct-x {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: 1.25rem; line-height: 1;
  transition: border-color var(--dur) var(--ease);
}
.acct-x:hover { border-color: var(--line-2); }
.acct-body { padding: 1.25rem; }
.acct-user { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.acct-av {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: var(--surface-2);
  border: 2px solid var(--line-2);
}
.acct-user div { min-width: 0; }
.acct-user b { display: block; font-size: 1.1rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-handle { display: block; font-size: .86rem; color: var(--accent-lo); }
.acct-id { display: flex; align-items: center; gap: .4rem; margin-top: .15rem; font: .78rem var(--mono); color: var(--faint); }
.acct-copy {
  display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border-radius: 7px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--faint);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.acct-copy:hover { color: var(--text); border-color: var(--line-2); }
.acct-copy .i-done, .acct-copy.done .i-copy { display: none; }
.acct-copy.done .i-done { display: block; }
.acct-copy.done { color: var(--ok); border-color: rgba(61, 220, 151, .4); }
.acct-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.acct-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); color: var(--text-soft); font-weight: 500; font-size: .92rem;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.acct-btn:hover { color: #fff; border-color: var(--line-2); background: var(--accent-soft); }
.acct-buy { color: var(--accent-hi); border-color: var(--line-2); background: var(--accent-soft); }
.acct-buy:hover { border-color: var(--accent); }
.acct-admin { grid-column: 1 / -1; color: var(--info); border-color: var(--info-border); }
.acct-admin:hover { border-color: rgba(58, 215, 255, .55); background: rgba(58, 215, 255, .07); }
.acct-logout { grid-column: 1 / -1; color: var(--danger-text); border-color: var(--danger-border); }
.acct-logout:hover { color: var(--danger-text-hi); border-color: rgba(255, 77, 109, .55); background: rgba(255, 77, 109, .07); }
.acct-empty { display: grid; justify-items: center; gap: .4rem; padding: 1rem .5rem 1.5rem; text-align: center; color: var(--dim); }
.acct-empty svg { color: var(--accent); margin-bottom: .3rem; }
.acct-empty b { color: var(--text); font-weight: 600; }
.acct-empty p { font-size: .88rem; max-width: 300px; }

/* purchase history (built by script.js) */
.hist-list { display: grid; gap: .7rem; max-height: 340px; overflow-y: auto; margin-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.hist-item { padding: .9rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.hist-top { display: flex; align-items: center; gap: .5rem; }
.hist-top b { flex: 1; font-weight: 600; }
.hist-top em { font: 800 .95rem var(--display); font-style: normal; }
.hist-demo { font-size: .66rem; font-weight: 700; letter-spacing: .06em; padding: .1rem .45rem; border-radius: 6px; color: var(--warn); background: var(--warn-soft); border: 1px solid var(--warn-border); }
.hist-meta { display: block; margin-top: .1rem; font: .72rem var(--mono); color: var(--faint); }
.hist-item .key-box { margin: .65rem 0 .5rem; }
.hist-item .key-box code { font-size: .82rem; }
.hist-role { font-size: .8rem; color: var(--dim); margin-bottom: .65rem; }
.hist-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.hist-btns .acct-btn { padding: .6rem .5rem; font-size: .82rem; }

.burger { display: none; background: none; border: 0; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--text); transition: .25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu a { padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--dim); }
.mobile-menu.open { display: flex; }

/* =================================================================
   HERO — left-biased, solid surface, solid-ink headline (no aurora, no gradient text)
   ================================================================= */
.hero { position: relative; min-height: 46rem; padding: 120px 0 0; overflow: hidden; }
/* kept element for the JS parallax hook — now a single quiet corner tint, not an animated purple blob */
.hero-glow {
  position: absolute; top: -140px; right: -80px; width: 520px; height: 520px; z-index: 0;
  transform: translate3d(0, var(--py, 0px), 0);
  background: radial-gradient(closest-side, var(--accent-soft), transparent 72%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 82% 72% at 50% 18%, #000 6%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 82% 72% at 50% 18%, #000 6%, transparent 76%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  gap: 2.5rem; align-items: center; text-align: left;
}
.hero-logo-wrap { display: flex; justify-content: center; }
.hero-sub { color: var(--accent); letter-spacing: .26em; text-transform: uppercase; font: 600 .78rem var(--mono); }
.hero-title {
  font: 800 clamp(2.1rem, 4.4vw, 3.7rem)/.98 var(--display);
  letter-spacing: -.02em; margin: .5rem 0 .4rem; color: var(--text);
  min-width: 0;
}
.hero-title b { color: var(--accent); }
.hero-desc { color: var(--dim); margin: 1rem 0 1.75rem; max-width: 46ch; font-size: .98rem; }
.hero-btns { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero-stats {
  grid-column: 1 / -1; margin-top: 3rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.stat { padding: 1.3rem 1.2rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font: 800 1.7rem var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.stat span { color: var(--dim); font-size: .85rem; }

/* =================================================================
   SECTIONS + Split-Studio diptych backbone
   ================================================================= */
.section { padding: var(--space-2xl) 0 0; }
.section:nth-of-type(even) { padding-top: var(--space-xl); } /* vary vertical rhythm */
.section-head { max-width: 640px; margin-bottom: var(--space-lg); }
.section-head h2 { font: 600 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--font); }
.section-head p { color: var(--dim); margin-top: .7rem; }
/* a short accent tick sits before each heading — the section marker, not an uppercase eyebrow on every block */
.section-head h2::before {
  content: ""; display: block; width: 36px; height: 3px; margin-bottom: 1rem;
  background: var(--accent); border-radius: 2px;
}

/* diptych: text half + proof half, alternating via --flip */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split--flip > :first-child { order: 2; }
.split-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: .6rem; }
.split-text > p { color: var(--dim); }

/* ---------- Products (two refined panels — icon inline with heading, hairline, no lift) ---------- */
.cat-grid { display: grid; gap: 1.25rem; }
.cat-grid--two { grid-template-columns: 1fr 1fr; }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease);
}
.cat-card:hover { border-color: var(--line-2); }
.cat-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.badge {
  position: absolute; top: 18px; right: 18px;
  font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  padding: .2rem .6rem; border-radius: 6px;
  background: var(--accent-soft); border: 1px solid var(--line-2); color: var(--accent-mid);
}
.badge-hot { background: rgba(255, 77, 109, .15); border-color: rgba(255, 77, 109, .35); color: var(--danger-text); }
.badge-top { background: var(--accent-soft); border-color: var(--line-2); color: var(--accent-mid); }
.cat-icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: grid; place-items: center; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--line-2);
}
.cat-icon .i { width: 24px; height: 24px; }
.cat-card h3 { font: 800 1.1rem var(--display); letter-spacing: .03em; }
.cat-card > p { color: var(--dim); font-size: .92rem; margin: 0 0 1rem; }
.cat-card ul { display: grid; gap: .35rem; font-size: .88rem; margin-bottom: 1.5rem; }
.cat-card li { display: flex; gap: .5rem; align-items: start; }
.cat-card li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .55em; border-radius: 50%; background: var(--accent); }
.cat-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.cat-foot b { font: 800 1.05rem var(--display); }
.cat-foot b small { font: 300 .78rem var(--font); color: var(--dim); margin-left: .15rem; }
.cat-foot span { font-size: .85rem; color: var(--accent); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.about-card { padding: 1.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.about-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.about-icon { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line-2); }
.about-card h3 { font: 800 1.15rem var(--display); letter-spacing: .03em; }
.about-card p { color: var(--dim); }

/* why — diptych (title half + 2x2 list half) */
.why {
  margin-top: 1.5rem; padding: 2.5rem;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: center;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.why-title h3 { font-size: 1.8rem; font-weight: 700; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.why-item { display: flex; gap: .85rem; align-items: start; }
.why-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line-2); }
.why-item h4 { font-weight: 600; }
.why-item p { color: var(--dim); font-size: .9rem; }

/* ---------- Checker (Split Studio: screenshot + info diptych) ---------- */
.toolbox-card {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center;
  padding: 2.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.toolbox-info h3 { font-size: 1.6rem; font-weight: 700; margin: .9rem 0; }
.toolbox-info > p { color: var(--dim); }
.toolbox-img .shot { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line-2); }
.toolbox-info .check-list { margin-bottom: 0; }
.checker-price { margin: 1.4rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.plan-price { font: 800 1.9rem var(--display); }
.plan-price small { font: 300 .9rem var(--font); color: var(--dim); }

/* walkthrough steps — numbered sequence (ordinal content: numbering is earned here) */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.75rem; counter-reset: step; }
.plan { position: relative; padding: 1.75rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.plan--best { border-color: var(--line-2); }
.plan-name { font: 700 .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.plan-step { font: 700 1.3rem var(--font); margin: .3rem 0 .5rem; }

/* ---------- Showcase ---------- */
.sc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 1.5rem; }
.sc-track::-webkit-scrollbar { display: none; }
.sc-slide {
  flex: 0 0 100%; scroll-snap-align: center;
  display: grid; grid-template-columns: 1.6fr 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.sc-media { position: relative; aspect-ratio: 16 / 9; background: var(--bg); }
.sc-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sc-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(10, 7, 18, .55); backdrop-filter: blur(6px); color: #fff; font-size: 1.3rem; padding-left: 4px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sc-play:hover { background: var(--accent); border-color: var(--accent); }
.sc-info { padding: 2rem; display: flex; flex-direction: column; gap: .8rem; justify-content: center; align-items: flex-start; }
.sc-top { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: .5rem; }
.sc-info h3 { font-size: 1.5rem; font-weight: 700; }
.sc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.sc-stats div { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sc-stats strong { display: block; font: 800 1.7rem var(--display); color: var(--accent); }
.sc-stats span { color: var(--dim); font-size: .9rem; }

/* ---------- Shop CTA strip ---------- */
.shop-cta {
  display: flex; align-items: center; gap: 2rem; padding: 2.5rem;
  border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface);
}
.shop-cta h2 { font: 800 1.9rem var(--display); }
.shop-cta p { color: var(--dim); margin-top: .3rem; }
.shop-cta .btn { margin-left: auto; }

/* ---------- FAQ (Split Studio: sticky side + accordion) ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; }
.faq-side h2 .grad { color: var(--accent); }
.faq-side p { color: var(--dim); margin: 1rem 0 1.5rem; }
.faq-list { display: grid; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color var(--dur) var(--ease); }
.faq-item.open { border-color: var(--line-2); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; background: none; border: 0; text-align: left; font-weight: 500; font-size: 1rem;
}
.faq-q i { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--accent); transition: transform .25s var(--ease); }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.open .faq-q i::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; padding: 0 1.35rem; }
.faq-item.open .faq-a > div { padding-bottom: 1.25rem; }
.faq-a p { color: var(--dim); }

/* ---------- Discord (Split Studio diptych) ---------- */
.discord-box {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
  padding: 3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.dc-tile {
  width: 56px; height: 56px; margin-bottom: 1.1rem; border-radius: 15px;
  display: grid; place-items: center; color: #fff; background: var(--discord);
}
.dc-tile svg { width: 30px; height: 30px; }
.pill-live {
  display: inline-flex; align-items: center; gap: .5rem; padding: .28rem .8rem; border-radius: 999px;
  font: 600 .7rem var(--mono); letter-spacing: .12em; color: var(--accent-hi);
  background: var(--accent-soft); border: 1px solid var(--line-2);
}
.pill-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.discord-info h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.12; margin-top: 1rem; }
.discord-info h2 .grad { color: var(--accent); }
.discord-info > p { color: var(--dim); margin-top: .85rem; }
.discord-info b { color: var(--text); }
.discord-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
}
.discord-stats div { padding: 1rem .5rem; text-align: center; }
.discord-stats div + div { border-left: 1px solid var(--line); }
.discord-stats strong { display: block; font: 800 1.4rem var(--display); font-variant-numeric: tabular-nums; }
.discord-stats span { color: var(--dim); font-size: .82rem; }
.dc-on { color: var(--ok); }
.dc-off { color: var(--offline); }
.dot-list { display: grid; gap: .6rem; margin-top: 1.5rem; }
.dot-list li { display: flex; align-items: center; gap: .7rem; color: #d9d3ea; }
.dot-list li::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--ok); }

.discord-widget { border-radius: 18px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); }
.dw-banner { position: relative; height: 84px; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.dw-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.dw-tag {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .7rem; border-radius: 999px;
  font: 600 .68rem var(--mono); letter-spacing: .12em; color: #fff;
  background: rgba(10, 7, 18, .5); border: 1px solid rgba(255, 255, 255, .18);
}
.dw-tag svg { width: 14px; height: 14px; }
.dw-head { position: relative; display: flex; align-items: flex-end; gap: .9rem; margin-top: -28px; padding: 0 1.25rem 1rem; border-bottom: 1px solid var(--line); }
.dw-icon { width: 64px; height: 64px; flex-shrink: 0; border-radius: 18px; object-fit: cover; background: var(--surface-2); border: 4px solid var(--bg-2); }
.dw-head > div { padding-top: 34px; min-width: 0; }
.dw-head b { display: block; font: 800 1.1rem var(--display); letter-spacing: .04em; }
.dw-head small { display: flex; align-items: center; gap: .45rem; color: var(--dim); font-size: .85rem; }
.dw-live { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--ok); }
.dw-presence { padding: 1rem 1.25rem; }
.dw-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.dw-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--ok); transition: width 1.2s var(--ease); }
.dw-legend { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; font-size: .85rem; color: var(--dim); }
.dw-legend span { display: flex; align-items: center; gap: .45rem; }
.dw-legend i { width: 8px; height: 8px; border-radius: 50%; }
.dw-legend i.on { background: var(--ok); }
.dw-legend i.off { background: var(--offline-dim); }
.dw-legend b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.dw-sub { padding: 0 1.25rem; margin-bottom: .4rem; font: 600 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.dw-members { display: grid; gap: .15rem; max-height: 264px; overflow-y: auto; padding: 0 .75rem .6rem; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.dw-members li { display: flex; align-items: center; gap: .75rem; padding: .45rem .5rem; border-radius: 10px; transition: background var(--dur) var(--ease); }
.dw-members li:hover { background: rgba(255, 255, 255, .04); }
.dw-members li > div { min-width: 0; }
.dw-members b { display: block; font-weight: 500; font-size: .92rem; }
.dw-members small { display: block; color: var(--dim); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-dot { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); flex-shrink: 0; }
.dw-dot img { width: 100%; height: 100%; border-radius: 50%; }
.dw-dot::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); border: 2.5px solid var(--bg-2); }
.dw-dot.idle::after { background: var(--idle); }
.dw-dot.dnd::after { background: var(--dnd); }
.dw-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); }

/* ---------- Footer (inline, single line — not a 4-column sitemap) ---------- */
.footer { margin-top: var(--space-2xl); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-top: 2.25rem; padding-bottom: 1.75rem; }
.footer-inner .muted { margin-top: .4rem; }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.socials a { padding: .5rem 1rem; border-radius: 10px; border: 1px solid var(--line); color: var(--dim); font-size: .9rem; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.socials a:hover { color: var(--text); border-color: var(--line-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; padding-bottom: 2rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; }
.footer-bottom a:hover { color: var(--text); }

/* =================================================================
   MODALS (shop + policy) — transactional UI, kept intact, re-toned
   ================================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: var(--overlay); backdrop-filter: blur(5px); }
.modal[hidden] { display: none; }
.modal-box {
  position: relative; width: min(100%, 520px); max-height: 92vh; overflow-y: auto;
  padding: 2rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2);
  animation: pop .22s var(--ease);
}
.modal-lg { width: min(100%, 760px); }
.modal-box h2 { font-size: 1.5rem; font-weight: 700; padding-right: 2rem; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: 1.3rem; line-height: 1; }
.modal-x:hover { border-color: var(--line-2); }

.modal-box.shop-box { width: min(100%, 480px); padding: 0; }
.shop-head { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.shop-title { flex: 1; min-width: 0; }
.modal-box .shop-title h2 { padding: 0; font-size: 1.25rem; }
.shop-title h2 .grad { color: var(--accent); }
.shop-title small { display: block; color: var(--dim); font-size: .82rem; }
.shop-body { padding: 1.2rem 1.3rem 1.4rem; }
.shop-demo { margin-bottom: 1rem; padding: .55rem .8rem; border-radius: 10px; font-size: .82rem; color: var(--warn); background: rgba(255, 190, 60, .08); border: 1px solid var(--warn-border); }
.shop-demo b { margin-right: .4rem; padding: .05rem .4rem; border-radius: 5px; font-size: .7rem; letter-spacing: .06em; background: rgba(255, 190, 60, .2); }
.shop-center { display: grid; justify-items: center; gap: .6rem; padding: 1.4rem .5rem; text-align: center; }
.shop-center svg { color: var(--accent); }
.shop-center p { color: var(--dim); font-size: .9rem; max-width: 320px; margin-bottom: .4rem; }
.shop-prod {
  display: flex; align-items: center; gap: .9rem; width: 100%; padding: 1rem; margin-bottom: .7rem; text-align: left;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.shop-prod:hover { border-color: var(--line-2); background: var(--accent-soft); }
.shop-prod-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; color: var(--accent); border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--line-2); }
.shop-prod-icon .i { width: 22px; height: 22px; }
.shop-prod-text { flex: 1; min-width: 0; }
.shop-prod-text b { display: block; font-weight: 600; }
.shop-prod-text small { display: block; color: var(--dim); font-size: .8rem; }
.shop-prod em { font: 800 1.1rem var(--display); font-style: normal; white-space: nowrap; }
.shop-prod em.shop-dc { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 8px; font: 600 .8rem var(--font); color: var(--discord-text); background: var(--discord-soft); border: 1px solid var(--discord-border); }

.steps { display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0; }
.steps.shop-steps { justify-content: center; margin: 0; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--faint); white-space: nowrap; }
.steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); font-weight: 600; font-size: .8rem; }
.steps li.active, .steps li.done { color: var(--text); }
.steps li.active span { background: var(--accent); color: var(--accent-ink); }
.steps li.done span { background: var(--ok); color: var(--bg); }
.steps li.line { flex: 1; height: 2px; background: var(--line); min-width: 12px; }

.pay-label { text-align: center; font: 600 .72rem var(--mono); letter-spacing: .2em; color: var(--dim); }
.pay-amount { text-align: center; font: 900 2.5rem/1.15 var(--display); color: var(--text); }
.pay-product { text-align: center; color: var(--accent-lo); font-size: .92rem; }
.pay-exact { margin: .7rem auto 0; max-width: 360px; padding: .5rem .8rem; border-radius: 10px; text-align: center; font-size: .8rem; color: var(--accent-hi); background: var(--accent-soft); border: 1px solid var(--line-2); }
.pay-exact b { font: 800 .95rem var(--display); color: #fff; }
.pay-qr { width: 220px; min-height: 220px; margin: 1.1rem auto .8rem; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.pay-qr svg { display: block; width: 100%; height: auto; }
.pay-qr:empty { background: var(--surface-2); }
.pay-status { display: flex; align-items: center; justify-content: center; gap: .45rem; font-size: .85rem; color: var(--ok); }
.pay-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pay-status.is-demo { color: var(--warn); }
.pay-order { text-align: center; font-size: .76rem; color: var(--faint); margin-top: .2rem; }
.pay-order code { font: .76rem var(--mono); color: var(--accent-lo); }
.pay-slip { margin-top: 1.1rem; padding: .9rem; border-radius: 14px; border: 1px solid var(--line); }
.pay-slip-label { display: block; margin-bottom: .6rem; font: 600 .7rem var(--mono); letter-spacing: .1em; color: var(--dim); }
.pay-slip .up-title { display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--accent-lo); font-size: .92rem; }
.pay-slip .up-title svg { color: var(--accent); }
.upload { display: block; padding: 1.2rem; text-align: center; cursor: pointer; border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); transition: background var(--dur) var(--ease); }
.upload:hover { background: var(--accent-soft); }
.upload input { display: none; }
.up-title { display: block; font-weight: 500; }
.upload img { max-height: 160px; margin: .8rem auto 0; border-radius: 8px; }
.warn { margin: 1rem 0; padding: .9rem 1rem; font-size: .85rem; line-height: 1.55; border-radius: var(--radius-sm); background: var(--danger-soft); border: 1px solid var(--danger-border); color: var(--danger-text-hi); }
.shop-box .warn { line-height: 1.55; }
.agree { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; font-size: .9rem; cursor: pointer; padding: .75rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.agree input {
  appearance: none; -webkit-appearance: none; position: relative; flex-shrink: 0; margin: 0;
  width: 22px; height: 22px; border-radius: 7px; cursor: pointer;
  border: 2px solid var(--line-2); background: rgba(0, 0, 0, .25);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.agree input:hover { border-color: var(--accent); }
.agree input::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0); transition: transform var(--dur) var(--ease);
}
.agree input:checked { background: var(--accent); border-color: var(--accent); }
.agree input:checked::after { transform: rotate(45deg) scale(1); }
.agree:has(input:checked) { border-color: var(--line-2); background: var(--accent-soft); }

/* ---- home buy confirmation modal (Stripe) ---- */
.home-buy-box { width: min(100%, 480px); }
.home-buy-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .5rem; color: var(--dim); font: 600 .6875rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.home-buy-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.home-buy-lead { color: var(--dim); font-size: .875rem; line-height: 1.6; margin-bottom: 1.25rem; }
.home-buy-prod { margin: 0 0 1rem; padding: 1rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.home-buy-prod-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .375rem; }
.home-buy-prod-top b { font-size: .875rem; font-weight: 700; }
.home-buy-cycle { color: var(--dim); font-weight: 400; }
.home-buy-quota { flex-shrink: 0; padding: .1rem .5rem; border-radius: 999px; font: 400 .625rem var(--mono); background: rgba(255,255,255,.08); border: 1px solid var(--line-2); }
.home-buy-price { margin: 0 0 .5rem; font: 700 1.5rem var(--mono); }
.home-buy-per { font-weight: 400; font-size: 1rem; color: var(--dim); }
.home-buy-acct { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .5rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .75rem; }
.home-buy-acct b { color: var(--text); font-weight: 600; font-family: var(--mono); }
.home-buy-terms { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.25rem; }
.home-buy-term { display: flex; gap: .75rem; padding: .875rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); align-items: flex-start; }
.home-buy-term-ic { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.home-buy-term-ic svg { width: 14px; height: 14px; }
.home-buy-term b { display: block; font-size: .75rem; font-weight: 600; margin-bottom: .125rem; }
.home-buy-term p { color: var(--dim); font-size: .6875rem; line-height: 1.5; margin: 0; }
.home-buy-term-danger { background: var(--danger-soft); border-color: rgba(255,77,109,.18); }
.home-buy-term-danger .home-buy-term-ic { color: var(--danger-text); background: rgba(255,77,109,.15); }
.home-buy-term-danger b { color: var(--danger-text-hi); }
.home-buy-term-danger p { color: rgba(255,180,195,.8); }
.home-buy-agree { display: flex; align-items: flex-start; gap: .75rem; margin: 0 0 1.25rem; padding: .875rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font-size: .75rem; line-height: 1.6; transition: border-color var(--dur) var(--ease); }
.home-buy-agree:hover { border-color: var(--line-2); }
.home-buy-agree input { position: absolute; opacity: 0; width: 0; height: 0; }
.home-buy-check { flex-shrink: 0; width: 20px; height: 20px; margin-top: .125rem; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(0,0,0,.3); position: relative; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.home-buy-agree:hover .home-buy-check { border-color: var(--accent); }
.home-buy-agree.on .home-buy-check { background: var(--accent); border-color: var(--accent); }
.home-buy-check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform var(--dur) var(--ease); }
.home-buy-agree.on .home-buy-check::after { transform: rotate(45deg) scale(1); }
.home-buy-agree span { color: var(--text-soft); font-weight: 500; }
.home-buy-agree a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.home-buy-cancel { display: block; width: 100%; margin-top: .625rem; padding: .5rem; border: 0; background: transparent; color: var(--dim); font-size: .75rem; border-radius: 8px; cursor: pointer; transition: color var(--dur) var(--ease); }
.home-buy-cancel:hover { color: var(--text); }

.success { position: relative; width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 220, 151, .15); color: var(--ok); font-size: 1.7rem; }
.done-title { text-align: center; font-size: 1.35rem; font-weight: 700; }
.done-sub { text-align: center; color: var(--dim); font-size: .9rem; margin: .2rem 0 1rem; }
.done-steps { list-style: decimal; padding-left: 1.2rem; margin: 1rem 0; display: grid; gap: .35rem; font-size: .9rem; color: var(--text-soft); }
.done-steps b { color: var(--accent); }
.done-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.done-btns .btn { padding: .8rem .6rem; font-size: .9rem; }
.done-hist { display: block; margin: 1rem auto 0; font-size: .88rem; }
.done-hist:hover { color: var(--accent); }
.key-box { display: flex; gap: .5rem; align-items: center; padding: .6rem .6rem .6rem 1rem; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-2); }
.key-box code { flex: 1; font: 600 1.05rem var(--mono); color: var(--accent); letter-spacing: .04em; overflow-wrap: anywhere; }
.copy { padding: .4rem .8rem; border-radius: 8px; border: 0; background: var(--accent); color: var(--accent-ink); font-size: .85rem; white-space: nowrap; transition: background var(--dur) var(--ease); }
.copy.copied { background: var(--ok); color: var(--bg); }

.policy { margin-top: 1.25rem; }
.policy h3 { font-size: 1.05rem; margin: 1.5rem 0 .6rem; color: var(--accent-mid); }
.policy ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: .35rem; color: var(--accent-lo); font-size: .93rem; }
.policy p { color: var(--accent-lo); font-size: .93rem; }
.policy-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; max-width: calc(100% - 32px); padding: .8rem 1.3rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); font-size: .92rem; animation: toastIn .3s var(--ease); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.out { opacity: 0; transform: translate(-50%, 12px); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px; pointer-events: none; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Announcement bar ---------- */
.announce-bar {
  position: relative; z-index: 18; text-align: center; padding: .55rem 22px;
  background: linear-gradient(90deg, rgba(168,120,255,.15), rgba(255,106,213,.12) 50%, rgba(168,120,255,.15));
  border-bottom: 1px solid rgba(168,120,255,.2);
  font-size: .88rem; font-weight: 500; color: var(--text);
  animation: announceIn .4s var(--ease) both;
}
.announce-text { display: inline-block; }
@keyframes announceIn { from { opacity: 0; transform: translateY(-100%); } }

/* ---------- Press feedback (ripple host, kept for buttons) ---------- */
.ripple-host { position: relative; overflow: hidden; isolation: isolate; }
.ripple { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%); transform: scale(0); animation: ripple .6s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Reveal (ONE orchestrated entrance; trimmed in script.js) ---------- */
.reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal[data-reveal="left"] { transform: translate3d(-32px, 0, 0); }
.reveal[data-reveal="right"] { transform: translate3d(32px, 0, 0); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================
   FORENSIC LANDING — hero console, player showcase, features, pricing
   (added for the Checker-first forensic page; reuses tokens above)
   ================================================================= */

/* dropdown (ภาษา + ข้อกำหนดและนโยบาย) — สไตล์ AntiGuard: trigger มุมมน 12px, เมนูโปร่งแสงเบลอ */
.dd { position: relative; display: inline-block; }
.dd-trigger {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #fff;
  font: 500 12px/1.4 var(--font); white-space: nowrap; cursor: pointer;
  transition: transform .12s var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.dd-trigger:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.dd-trigger[aria-expanded="true"] { background: rgba(255, 255, 255, .1); border-color: rgba(168, 120, 255, .5); }
.dd-trigger:active { transform: scale(.96); }
.dd-ico, .dd-chev { color: var(--faint); transition: color var(--dur) var(--ease), transform .2s var(--ease); }
.dd-trigger:hover .dd-ico, .dd-trigger:hover .dd-chev,
.dd-trigger[aria-expanded="true"] .dd-ico, .dd-trigger[aria-expanded="true"] .dd-chev { color: #fff; }
.dd-trigger[aria-expanded="true"] .dd-chev { transform: rotate(180deg); }
/* แบบ ghost (ลิงก์ในแถบเมนู ไม่มีกรอบ) */
.dd-ghost .dd-trigger { padding: .42rem .8rem; gap: 5px; border-color: transparent; background: transparent; color: var(--dim); font-size: .9rem; font-weight: 400; }
.dd-ghost .dd-trigger:hover, .dd-ghost .dd-trigger[aria-expanded="true"] { color: #fff; background: transparent; border-color: transparent; }
.dd-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; min-width: 170px; padding: 5px;
  background: rgba(18, 15, 28, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  transform-origin: top; animation: ddIn .15s var(--ease);
}
.dd-menu-start { left: 0; right: auto; min-width: 210px; }
.dd-menu[hidden] { display: none; }
@keyframes ddIn { from { opacity: 0; transform: scale(.95) translateY(-4px); } }
.dd-item {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px;
  background: transparent; color: #fff; font: 500 12.5px/1.4 var(--font); text-align: left; text-decoration: none; cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.dd-item svg:first-child { color: var(--faint); flex: none; }
.dd-item:hover { background: rgba(168, 120, 255, .16); }
.dd-item:hover svg:first-child { color: #fff; }
button.dd-item { justify-content: space-between; }
.dd-check { opacity: 0; color: #fff; }
.dd-item.on .dd-check { opacity: 1; }
/* กดปุ่มเด้ง (press feedback) */
.nu-btn, .btn-login, .cur-toggle button, .copy, .acct-btn, .shop-prod {
  transition: transform .12s var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nu-btn:active, .btn-login:active, .cur-toggle button:active,
.copy:active, .acct-btn:active, .shop-prod:active { transform: scale(.93); }

/* hero: single-column with a wide web-report console under the copy */
.hero-console { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-console .hero-copy { max-width: 820px; }
.hero-console .hero-btns { justify-content: center; }
.hero-badge { margin-bottom: 1.2rem; font-family: var(--mono); font-size: .72rem; }
.hero-badge .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61,220,151,.18); }
.hero-console .hero-title { margin: .2rem 0 .3rem; }
.hero-console .hero-desc { margin-left: auto; margin-right: auto; max-width: 60ch; }

.hero-shot { width: 100%; max-width: 64rem; margin-top: 3rem; perspective: 1000px; transform-style: preserve-3d; }
/* starts tilted back (3D), straightens on scroll — rotateX set by script.js */
.hero-frame { position: relative; transform-origin: 50% 100%; transform: perspective(1800px) rotateX(16deg); will-change: transform; }
/* dark gradient fade at bottom of hero image (AntiGuard style) */
.hero-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0%, rgba(6,6,7,.88) 30%, transparent 55%);
}
/* blur glow under the hero frame */
.hero-shot::after {
  content: ""; display: block; margin: -2.5rem 3rem 0; height: 11rem;
  background: linear-gradient(to bottom, rgba(6,6,7,.9), transparent);
  filter: blur(40px); pointer-events: none; position: relative; z-index: 0;
}
/* app/browser chrome frame around a screenshot */
.app-frame {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(168,120,255,.06);
}
.app-bar {
  display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.app-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.app-bar span:nth-child(1) { background: #f6625c; border-color: transparent; }
.app-bar span:nth-child(2) { background: #f5bd4f; border-color: transparent; }
.app-bar span:nth-child(3) { background: #61c354; border-color: transparent; }
.app-bar em { margin-left: .6rem; font: .78rem var(--mono); font-style: normal; color: var(--faint); letter-spacing: .02em; }
.app-frame > img { width: 100%; display: block; }

/* player-side screenshot carousel — centered peek: active slide large & bright,
   neighbours peek dimmed at the edges, smooth scale + fade on slide */
.scar { position: relative; --peek: 86%; }
/* soft stage glow so the dark player screenshots pop off the page */
.scar::before {
  content: ""; position: absolute; left: 50%; top: 48%; z-index: 0; pointer-events: none;
  width: 66%; height: 78%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(168,120,255,.22), transparent 70%); filter: blur(40px);
}
.scar-viewport { position: relative; z-index: 1; overflow: hidden; padding: 1.25rem 0; }
.scar-rail { display: flex; align-items: center; transition: transform .6s var(--ease); }
.scar-slide {
  flex: 0 0 var(--peek); min-width: 0; margin: 0; padding: 0 10px;
  display: flex; flex-direction: column; align-items: center;
  transform: scale(.93); opacity: .3;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.scar-slide.is-active { transform: scale(1); opacity: 1; }
.scar-slide .app-frame { width: 100%; }
.scar-slide.is-active .app-frame {
  border-color: var(--line-2);
  box-shadow: 0 44px 100px -34px rgba(0,0,0,.92), 0 0 70px -10px rgba(168,120,255,.3);
}
/* bottom controls: dots on the left, arrows on the right (AntiGuard-style) */
.scar-controls { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; margin-top: 1.7rem; }
.scar-nav { display: flex; gap: .6rem; }
.scar-arrow {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.scar-arrow:hover { background: var(--accent-soft); border-color: var(--accent); }
.scar-dots { display: flex; justify-content: flex-start; gap: .5rem; }
.scar-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0;
  background: var(--line-2); transition: width var(--dur) var(--ease), background var(--dur) var(--ease);
}
.scar-dots button.active { width: 26px; border-radius: 99px; background: var(--accent); }

/* features — 2x2 forensic cards with animated graphics (diagonal text rhythm) */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feat-card {
  position: relative; display: flex; flex-direction: column; min-height: 380px; overflow: hidden;
  padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease);
}
.feat-card:hover { border-color: var(--line-2); }
.feat-card--btm .feat-txt { order: 2; }
.feat-card--btm .feat-gfx { order: 1; }
/* AntiGuard-style heading: bold lead phrase + dim continuation, no icon/label */
.feat-head { font: 400 1.125rem/1.45 var(--font); color: var(--dim); }
.feat-head b { color: var(--text); font-weight: 700; }
.feat-top { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.feat-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line-2); }
.feat-icon.sm { width: 38px; height: 38px; border-radius: 10px; }
.feat-icon .i { width: 24px; height: 24px; }
.feat-card h3 { font: 800 1.2rem var(--display); letter-spacing: .03em; }
.feat-txt p { color: var(--dim); font-size: .95rem; }
.feat-gfx { flex: 1; display: grid; place-items: center; padding: 1.2rem .2rem; }
.feat-card--btm .feat-gfx { align-items: start; }

/* shared forensic tile */
.tile { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--dim); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.tile .i { width: 22px; height: 22px; }
.tile.lg { width: 60px; height: 60px; }
.tile.on { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); box-shadow: 0 0 0 0 var(--glow, rgba(168,120,255,.4)); animation: tilePulse 2.4s var(--ease) infinite; }
.tile em { position: absolute; bottom: -1.6rem; left: 50%; transform: translateX(-50%); font: 600 .66rem var(--mono); letter-spacing: .08em; color: var(--accent-mid); white-space: nowrap; }
@keyframes tilePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(168,120,255,.38); } 50% { box-shadow: 0 0 0 7px rgba(168,120,255,0); } }

/* Detection — tile row */
.gfx-tiles { display: flex; gap: .7rem; padding-bottom: 2.2rem; }

/* Recovery — cascading file chips */
.gfx-files { display: grid; gap: .55rem; width: 100%; max-width: 320px; }
.gfx-files .file { display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border-radius: 10px; font: .82rem var(--mono); color: var(--accent-lo); background: var(--bg); border: 1px solid var(--line); animation: fileFloat 4s var(--ease) infinite; }
.gfx-files .file .i { width: 16px; height: 16px; color: var(--faint); }
.gfx-files .file:nth-child(1) { margin-right: 2.4rem; animation-delay: 0s; }
.gfx-files .file:nth-child(2) { margin-right: 1.2rem; animation-delay: .4s; }
.gfx-files .file:nth-child(3) { margin-right: .4rem; animation-delay: .8s; }
.gfx-files .file.on { margin-right: 0; color: var(--accent-ink); background: #efeaff; border-color: #efeaff; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(168,120,255,.5); animation-delay: 1.2s; }
.gfx-files .file.on .i { color: var(--accent-2); }
.gfx-files .file i { margin-left: auto; font: 700 .6rem var(--mono); font-style: normal; letter-spacing: .1em; padding: .12rem .4rem; border-radius: 5px; background: rgba(124,79,240,.16); color: var(--accent-2); }
@keyframes fileFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Screenshare — terminal line */
.gfx-term { display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 360px; }
.gfx-term .term { flex: 1; min-width: 0; padding: .8rem .9rem; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); }
.gfx-term .t-head { display: flex; align-items: center; gap: .5rem; font: 700 .76rem var(--mono); color: var(--ok); }
.gfx-term .t-head .blink { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 1.2s steps(1) infinite; }
.gfx-term .t-body { margin-top: .4rem; font: .76rem/1.6 var(--mono); color: var(--dim); }
@keyframes blink { 50% { opacity: .2; } }

/* Cloud evidence — floating pill grid */
.gfx-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 380px; }
.gfx-cloud .pc { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 999px; font: .78rem var(--mono); color: var(--accent-lo); background: rgba(255,255,255,.03); border: 1px solid var(--line); animation: fileFloat 5s var(--ease) infinite; }
.gfx-cloud .pc .i { width: 15px; height: 15px; color: var(--faint); }
.gfx-cloud .pc:nth-child(2) { animation-delay: .5s; } .gfx-cloud .pc:nth-child(3) { animation-delay: 1s; }
.gfx-cloud .pc:nth-child(4) { animation-delay: 1.5s; } .gfx-cloud .pc:nth-child(5) { animation-delay: 2s; }
.gfx-cloud .pc.on { color: #fff; background: var(--grad); border-color: transparent; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(124,79,240,.6); }
.gfx-cloud .pc.on .i { color: #fff; }

/* Cloud evidence — node grid (pills + empty cells, AntiGuard-style flow) */
.gfx-net { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; width: 100%; max-width: 440px; }
.gfx-net .cell { border: 1px dashed var(--line); border-radius: 9px; min-height: 40px; }
.gfx-net .pc { display: inline-flex; align-items: center; gap: .4rem; width: 100%; padding: .5rem .7rem; border-radius: 10px; font: .74rem var(--mono); color: var(--accent-lo); background: rgba(255,255,255,.03); border: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.gfx-net .pc .i { width: 15px; height: 15px; flex: none; color: var(--faint); }
.gfx-net .pc.on { color: #fff; background: var(--grad); border-color: transparent; font-weight: 600; box-shadow: 0 10px 28px -10px rgba(124,79,240,.6); }
.gfx-net .pc.on .i { color: #fff; }

/* kept generic chip (unused by features now, retained for reuse) */
.chip { font: .74rem var(--mono); padding: .25rem .6rem; border-radius: 7px; color: var(--accent-lo); background: rgba(255,255,255,.04); border: 1px solid var(--line); letter-spacing: .02em; }

/* mini forensic console log */
.console { margin-top: 1.2rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-2); font: .8rem/1.75 var(--mono); }
.console p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console .l-bad { color: var(--danger-text); }
.console .l-warn { color: var(--warn); }
.console .l-ok { color: var(--ok); }

/* pricing — one plan card + steps */
.price-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }
.price-card { padding: 2.25rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 30px 70px -40px rgba(124,79,240,.4); }
.price-head { padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.price-amt { margin: .9rem 0 .35rem; font: 900 2.9rem/1 var(--display); color: var(--text); }
.price-amt small { font: 300 1rem var(--font); color: var(--dim); margin-left: .2rem; }
.price-feats { display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.price-feats li { display: flex; gap: .65rem; align-items: start; font-size: .94rem; color: var(--text-soft); }
.price-feats li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a878ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 6 3 3 5-6'/%3E%3C/svg%3E") center / 12px no-repeat; }
.price-note { margin-top: .9rem; text-align: center; }
/* centered pricing (single plan card, AntiGuard-style) */
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; margin-bottom: var(--space-xl); text-align: center; }
.section-head.center h2::before { display: none; }
.section-head.center h2 { font-size: clamp(2.2rem, 5.2vw, 3.3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
.section-head.center p { margin-top: 1rem; font-size: 1.05rem; }
.eyebrow-dim { color: var(--dim); }
.spark { display: inline-block; width: .82em; height: .82em; margin-right: .22em; vertical-align: -.04em;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C13 7 17 11 24 12 17 13 13 17 12 24 11 17 7 13 0 12 7 11 11 7 12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C13 7 17 11 24 12 17 13 13 17 12 24 11 17 7 13 0 12 7 11 11 7 12 0Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.price-solo { max-width: 460px; margin: 0 auto; }
.price-head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price-plan { font: 700 1.15rem var(--font); }
.price-side { display: grid; gap: 1rem; }
.price-step { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.price-step b { display: block; margin-bottom: .2rem; }

/* currency toggle (THB / USD) */
.cur-toggle { display: inline-flex; gap: .25rem; margin-top: 1.4rem; padding: .3rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); }
.cur-toggle button { padding: .5rem 1.1rem; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--dim); font: 500 .88rem var(--font); transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.cur-toggle button.active { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .12); color: var(--text); }

/* footer — brand + status + link columns (AntiGuard-style) */
.footer-inner { align-items: flex-start; }
.foot-brand { max-width: 340px; }
.foot-status { display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem; font: 600 .76rem var(--mono); letter-spacing: .04em; color: var(--ok); }
.foot-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61,220,151,.18); animation: blink 2s steps(1) infinite; }
.foot-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.foot-cols > div { display: grid; gap: .55rem; align-content: start; }
.foot-cols b { margin-bottom: .2rem; font: 700 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.foot-cols a, .foot-cols .link-btn { color: var(--dim); font-size: .9rem; text-align: left; transition: color var(--dur) var(--ease); }
.foot-cols a:hover, .foot-cols .link-btn:hover { color: var(--text); }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo-wrap { justify-content: flex-start; }
  .logo-hero { width: 96px; height: 96px; }
}
@media (max-width: 1080px) {
  .btn-panel span { display: none; }
  .nav-links > a { padding: .42rem .72rem; }
  #langBox { display: none; }
}
/* admin console topic grid */
.console-frame { box-shadow: 0 50px 110px -30px rgba(0,0,0,.95), 0 0 80px -10px rgba(168,120,255,.18); }
.topic-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 960px; margin: 0 auto;
}
.topic-group {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.topic-group h4 {
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); margin-bottom: .7rem; font-family: var(--mono);
}
.topic-group ul { list-style: none; padding: 0; margin: 0; }
.topic-group li {
  position: relative; padding: .35rem 0 .35rem 1rem; font-size: .88rem; color: var(--dim);
  line-height: 1.5;
}
.topic-group li::before {
  content: ""; position: absolute; left: 0; top: .72rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .5;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-right { margin-left: auto; }
  .burger { display: block; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .split, .toolbox-card, .discord-box, .faq-wrap, .sc-slide, .why { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .toolbox-card, .discord-box, .why { padding: 1.75rem; gap: 2rem; }
  .cat-grid--two, .about-grid, .feat-grid, .price-wrap { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .shop-cta { flex-direction: column; text-align: center; align-items: flex-start; }
  .shop-cta .btn { margin: 0; }
}
@media (max-width: 600px) {
  .section { padding-top: var(--space-xl); }
  .btn-login span, .nu-btn .nu-name { display: none; }
  .btn-login { padding: .6rem .8rem; }
  .nu-btn { padding: .3rem; }
  .nav-inner { gap: .8rem; }
  .acct-pop { position: fixed; top: 70px; left: 12px; right: 12px; width: auto; }
  .done-btns { grid-template-columns: 1fr; }
  .pay-amount { font-size: 2.1rem; }
  .plan-grid, .sc-stats { grid-template-columns: 1fr; }
  .why-list, .check-list.two-col { grid-template-columns: 1fr; }
  .scar { --peek: 90%; }
  .scar-slide { padding: 0 6px; }
  .scar-arrow { width: 40px; height: 40px; top: 32%; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .discord-stats strong { font-size: 1.2rem; }
  .steps li:not(.line):not(.active) { font-size: 0; gap: 0; }
  .steps li span { font-size: .8rem; }
}
