/* ═══════════════════════════════════════════
   RLYNET — Signal Design System
   Dark editorial × Bloomberg Terminal × Luxury Gaming
   Palette: Electric Lime #CDFF64 on #080A0F
   Fonts: Syne + IBM Plex Mono + Instrument Sans
   ═══════════════════════════════════════════ */

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

:root {
  --bg:      #080A0F;
  --bg1:     #0C0F18;
  --bg2:     #111520;
  --surf:    #151921;
  --surf2:   #1A1F2E;
  --bdr:     rgba(255,255,255,.06);
  --bdr2:    rgba(205,255,100,.12);

  --lime:    #CDFF64;
  --lime2:   #B8F040;
  --red:     #FF4444;
  --amber:   #FFB020;
  --green:   #3DDB7A;
  --blue:    #4488FF;

  --tx:      #F2F5F9;
  --tx2:     #8B92A8;
  --tx3:     #444C62;
  --tx4:     #252B3B;

  --ff-d:    'Syne', sans-serif;
  --ff-b:    'Instrument Sans', sans-serif;
  --ff-m:    'IBM Plex Mono', monospace;

  --r:       6px;
  --r2:      10px;
  --r3:      16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-b);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

@media (hover: none) { body { cursor: auto; } }

a { text-decoration: none; color: inherit; }
em { font-style: normal; color: var(--lime); }
button { cursor: none; font-family: var(--ff-b); }
@media (hover: none) { button { cursor: pointer; } }

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 20px; height: 20px;
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, border-color .2s;
  mix-blend-mode: difference;
}
.cursor.hover { width: 36px; height: 36px; border-color: var(--lime); }
.cursor.click { width: 14px; height: 14px; }
@media (hover: none) { .cursor { display: none; } }

/* ── TOAST ── */
.toast-wrap {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  z-index: 9000;
  display: flex; flex-direction: column; gap: .5rem;
  align-items: flex-end;
  pointer-events: none;
}
.toast {
  background: var(--surf2);
  border: 1px solid var(--bdr);
  border-left: 3px solid var(--lime);
  border-radius: var(--r2);
  padding: .85rem 1.25rem;
  font-family: var(--ff-m);
  font-size: .78rem;
  color: var(--tx);
  max-width: 320px;
  animation: toastIn .3s cubic-bezier(.34,1.56,.64,1) forwards;
  pointer-events: all;
}
.toast.out { animation: toastOut .25s ease forwards; }
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }
@keyframes toastOut { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(20px); } }

/* ── MODAL ── */
.modal-bg {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-bg[hidden] { display: none; }
.modal {
  background: var(--bg1);
  border: 1px solid var(--bdr);
  border-top: 1px solid rgba(205,255,100,.2);
  border-radius: var(--r3);
  padding: 2.5rem;
  width: 100%; max-width: 400px;
  position: relative;
}
.modal-x {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: 50%; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--tx2); transition: color .2s;
}
.modal-x:hover { color: var(--tx); }
.modal-tag {
  font-family: var(--ff-m); font-size: .65rem;
  letter-spacing: .15em; color: var(--lime);
  margin-bottom: .75rem; display: block;
}
.modal-h { font-family: var(--ff-d); font-size: 1.5rem; font-weight: 700; margin-bottom: .35rem; }
.modal-sub { color: var(--tx2); font-size: .9rem; margin-bottom: 1.75rem; }
.mform { display: flex; flex-direction: column; gap: 1rem; }
.mfield { display: flex; flex-direction: column; gap: .3rem; }
.mfield label { font-size: .78rem; color: var(--tx2); font-family: var(--ff-m); letter-spacing: .05em; }
.mfield input, .mfield select {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--r); padding: .7rem 1rem;
  color: var(--tx); font-family: var(--ff-b); font-size: .92rem;
  outline: none; transition: border-color .2s;
  appearance: none;
}
.mfield input:focus, .mfield select:focus { border-color: rgba(205,255,100,.35); }
.merr { font-size: .75rem; color: var(--red); min-height: 1rem; }
.mfooter { font-size: .75rem; color: var(--tx3); text-align: center; margin-top: .25rem; line-height: 1.5; }
.mfooter a { color: var(--lime); }
.success-state { text-align: center; padding: 1rem 0; }
.success-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(61,219,122,.1); border: 1px solid rgba(61,219,122,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin: 0 auto 1rem;
}
.success-state h3 { font-family: var(--ff-d); font-size: 1.2rem; margin-bottom: .5rem; }
.success-state p { color: var(--tx2); font-size: .9rem; }
.spin {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--lime); color: #080A0F;
  border: none; border-radius: var(--r);
  padding: .75rem 1.6rem; font-weight: 600; font-size: .9rem;
  font-family: var(--ff-b);
  transition: background .2s, transform .15s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0; transition: .2s;
}
.btn-primary:hover { background: var(--lime2); transform: translateY(-1px); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-lg { padding: .9rem 2rem; font-size: .95rem; }
.btn-primary.w-full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--bdr);
  border-radius: var(--r); padding: .75rem 1.6rem;
  color: var(--tx); font-size: .9rem; font-family: var(--ff-b);
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-outline:hover { border-color: rgba(205,255,100,.3); color: var(--lime); transform: translateY(-1px); }
.btn-outline.btn-sm { padding: .5rem 1.1rem; font-size: .82rem; }
.btn-outline.mt-3 { margin-top: 2rem; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  background: none; border: none;
  color: var(--tx2); font-size: .9rem; font-family: var(--ff-b);
  transition: color .2s;
}
.btn-ghost:hover { color: var(--tx); }

/* ── LAYOUT ── */
.con { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.sec { padding: 7rem 0; }
.centered { text-align: center; }

.slabel {
  font-family: var(--ff-m); font-size: .65rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .6rem;
}
.slabel::before { content: ''; width: 16px; height: 1px; background: var(--lime); }
.slabel.centered { justify-content: center; }
.slabel.centered::before { display: none; }

.shead { margin-bottom: 4rem; }
.shead h2 { font-family: var(--ff-d); font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .75rem; }
.shead p { color: var(--tx2); max-width: 520px; font-size: 1.05rem; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  transition: background .3s, border-bottom .3s;
}
.nav.scrolled {
  background: rgba(8,10,15,.88);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--bdr);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .5rem; flex-shrink: 0;
}
.logo-text {
  font-family: var(--ff-d); font-weight: 700; font-size: 1rem;
  letter-spacing: -.01em;
}
.nav-links {
  display: flex; align-items: center; gap: 1.75rem; flex: 1;
}
.nav-links a {
  font-size: .85rem; color: var(--tx2); font-weight: 500;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--lime);
  transform: scaleX(0); transition: transform .2s;
}
.nav-links a:hover { color: var(--tx); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

.lang-sw { display: flex; align-items: center; gap: .1rem; }
.lb {
  background: none; border: none; color: var(--tx3);
  font-family: var(--ff-m); font-size: .72rem;
  padding: .25rem .45rem; border-radius: 4px;
  transition: color .15s;
}
.lb.active { color: var(--lime); font-weight: 500; }
.lb:hover { color: var(--tx2); }

.nav-pill {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--ff-m); font-size: .7rem; color: var(--tx2);
  padding: .3rem .75rem; border-radius: 20px;
  background: rgba(61,219,122,.05);
  border: 1px solid rgba(61,219,122,.15);
}
.ndot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: ndpulse 2s infinite;
}
@keyframes ndpulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .35rem;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--tx); border-radius: 2px; transition: .2s; }

.mob-menu {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 199;
  background: rgba(8,10,15,.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bdr);
  padding: 1.5rem 2rem;
  display: none; flex-direction: column; gap: 1rem;
}
.mob-menu.open { display: flex; }
.mob-menu a { color: var(--tx2); padding: .4rem 0; border-bottom: 1px solid var(--bdr); font-size: .95rem; }
.mob-lang { display: flex; gap: .5rem; padding: .4rem 0; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero-noise {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
}
.hero-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(205,255,100,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205,255,100,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 75%);
}

.hero-body {
  position: relative; z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-m); font-size: .72rem;
  color: var(--tx2); letter-spacing: .06em;
  border: 1px solid var(--bdr); border-radius: 20px;
  padding: .35rem .9rem;
  background: rgba(255,255,255,.03);
  margin-bottom: 2rem;
}
.badge-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 8px var(--lime);
  animation: ndpulse 1.8s infinite;
}

.hero-h1 {
  font-family: var(--ff-d);
  font-size: clamp(3.5rem,9vw,7.5rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.03em;
  margin-bottom: 1.75rem;
}
.h-line { display: block; }
.h-accent {
  background: linear-gradient(135deg, var(--lime), #8BFF00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-p {
  font-size: 1.1rem; color: var(--tx2); max-width: 500px;
  margin-bottom: 2.5rem; line-height: 1.7;
}

.hero-actions {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 4rem;
}

.hero-nums {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  border: 1px solid var(--bdr); border-radius: var(--r2);
  background: rgba(255,255,255,.02);
  overflow: hidden;
}
.hnum {
  flex: 1; padding: 1rem 1.5rem;
  border-right: 1px solid var(--bdr);
  text-align: center; min-width: 120px;
}
.hnum:last-child { border-right: none; }
.hnum-v {
  display: block; font-family: var(--ff-d);
  font-size: 1.9rem; font-weight: 800; color: var(--lime);
  line-height: 1;
}
.hnum-l {
  display: block; font-family: var(--ff-m); font-size: .65rem;
  color: var(--tx3); letter-spacing: .08em; margin-top: .4rem;
}

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 2rem;
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--ff-m); font-size: .65rem;
  color: var(--tx3); letter-spacing: .12em; text-transform: uppercase;
}
.scroll-track {
  width: 18px; height: 30px; border: 1px solid var(--tx3);
  border-radius: 10px; display: flex; justify-content: center;
  padding: 4px 0;
}
.scroll-thumb {
  width: 3px; height: 6px; background: var(--tx3);
  border-radius: 2px; animation: scrollAnim 1.8s infinite;
}
@keyframes scrollAnim { 0%,100%{transform:translateY(0);opacity:1} 80%{transform:translateY(8px);opacity:0} }

/* ── TICKER ── */
.ticker {
  overflow: hidden; border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: .55rem 0;
  background: rgba(205,255,100,.025);
}
.ticker-inner { overflow: hidden; }
#tickerTrack {
  display: flex; white-space: nowrap;
  font-family: var(--ff-m); font-size: .7rem;
  color: var(--lime); letter-spacing: .1em; text-transform: uppercase;
  animation: tickerMove 40s linear infinite;
}
@keyframes tickerMove { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.tick-sep { margin: 0 1.5rem; opacity: .3; }

/* ── NETWORK ── */
.net-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 2rem;
}
.nodes-list { display: flex; flex-direction: column; gap: .65rem; }

.node {
  border: 1px solid var(--bdr); border-radius: var(--r2);
  background: var(--surf); padding: .85rem 1.1rem;
  transition: border-color .2s, transform .2s;
}
.node:not(.node-dim):hover { border-color: rgba(205,255,100,.2); transform: translateX(3px); }
.node[data-primary="true"] { border-color: rgba(205,255,100,.15); }
.node-dim { opacity: .35; }

.node-l { display: flex; align-items: center; gap: .7rem; flex: 1; }
.nflag { font-size: 1.2rem; flex-shrink: 0; }
.ninfo { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.nname { font-size: .88rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.nmeta { font-family: var(--ff-m); font-size: .65rem; color: var(--tx3); }
.node-r { display: flex; align-items: center; gap: .5rem; }
.nping { font-family: var(--ff-d); font-size: .82rem; font-weight: 700; }
.nping.ok { color: var(--green); }
.nping.dim { color: var(--tx3); }
.nled { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.nled.green { background: var(--green); box-shadow: 0 0 6px var(--green); animation: ndpulse 2.5s infinite; }
.nled.grey { background: var(--tx3); }
.ntag {
  font-family: var(--ff-m); font-size: .58rem;
  padding: .1rem .4rem; border-radius: 3px;
  font-style: normal;
}
.ntag.prim { background: rgba(205,255,100,.1); color: var(--lime); }
.ntag.soon { background: rgba(255,176,32,.08); color: var(--amber); }

.nbar { display: flex; align-items: center; gap: .75rem; margin-top: .65rem; }
.nbar-fill {
  flex: 1; height: 2px; background: var(--bdr); border-radius: 2px;
  position: relative; overflow: hidden;
}
.nbar-fill::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--w); background: var(--lime); opacity: .5;
  border-radius: 2px; transition: width 1s ease;
}
.nbar > span { font-family: var(--ff-m); font-size: .62rem; color: var(--tx3); white-space: nowrap; }

.net-side { display: flex; flex-direction: column; gap: 1rem; }

.live-card, .ping-card {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--r2); padding: 1.2rem;
}
.live-card { border-top-color: rgba(61,219,122,.2); }
.ping-card { border-top-color: rgba(205,255,100,.2); }

.lc-head {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--ff-m); font-size: .68rem;
  color: var(--tx2); margin-bottom: 1rem;
}
.ldot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 5px var(--green);
  flex-shrink: 0; animation: ndpulse 1.5s infinite;
}
.ltime { margin-left: auto; color: var(--tx3); }

.lstats { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.lrow { display: flex; justify-content: space-between; align-items: center; font-size: .83rem; }
.lrow span { color: var(--tx2); }
.lrow strong { font-family: var(--ff-m); font-size: .78rem; }
.ok-c { color: var(--green) !important; }

#liveChart, #sparkCanvas, #benchSparkle { width: 100%; display: block; }

.pc-label { font-family: var(--ff-m); font-size: .68rem; color: var(--tx2); margin-bottom: .75rem; }
.pc-val { display: flex; align-items: baseline; gap: .2rem; margin-bottom: .75rem; }
.pc-val span:first-child { font-family: var(--ff-d); font-size: 2.5rem; font-weight: 800; color: var(--lime); line-height: 1; }
.pc-unit { font-family: var(--ff-m); font-size: .85rem; color: var(--lime); opacity: .7; }
.pc-foot { display: flex; justify-content: space-between; font-family: var(--ff-m); font-size: .62rem; color: var(--tx3); margin-top: .75rem; }

/* ── FEATURES ── */
.feat-sec { background: var(--bg1); }
.feat-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.fb-main { grid-column: span 2; }
.fb-sm { grid-column: span 1; }
.fb-wide { grid-column: span 2; }
.fb-main, .fb-sm, .fb-wide {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--r3); padding: 2rem;
  transition: border-color .2s;
}
.fb-main:hover, .fb-sm:hover, .fb-wide:hover { border-color: rgba(205,255,100,.15); }
.fb-n {
  font-family: var(--ff-d); font-size: 3rem; font-weight: 800;
  color: rgba(205,255,100,.08); line-height: 1; margin-bottom: 1rem;
}
.fb-main h3, .fb-sm h3, .fb-wide h3 {
  font-family: var(--ff-d); font-size: .95rem; font-weight: 700;
  margin-bottom: .5rem;
}
.fb-main p, .fb-sm p, .fb-wide p {
  font-size: .84rem; color: var(--tx2); line-height: 1.6;
}
.fb-tag {
  display: inline-block; margin-top: 1rem;
  font-family: var(--ff-m); font-size: .68rem;
  padding: .25rem .7rem; border-radius: var(--r);
  background: rgba(205,255,100,.06);
  border: 1px solid rgba(205,255,100,.15);
  color: var(--lime);
}

/* Route viz */
.route-viz {
  display: flex; align-items: center; gap: .75rem;
  background: var(--bg); border-radius: var(--r2);
  border: 1px solid var(--bdr);
  padding: 1.25rem; margin-bottom: 1.5rem;
}
.rv-box {
  flex-shrink: 0; font-family: var(--ff-m);
  font-size: .62rem; font-weight: 600;
  padding: .4rem .7rem; border-radius: var(--r); text-align: center;
}
.rv-src { background: rgba(68,136,255,.1); border: 1px solid rgba(68,136,255,.25); color: var(--blue); }
.rv-dst { background: rgba(205,255,100,.08); border: 1px solid rgba(205,255,100,.2); color: var(--lime); }
.rv-mid { flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.rv-path { display: flex; flex-direction: column; gap: .25rem; }
.rv-lbl { font-family: var(--ff-m); font-size: .58rem; letter-spacing: .1em; color: var(--tx3); }
.rv-glbl { color: var(--lime) !important; }
.rv-hops { display: flex; gap: .3rem; }
.rv-h {
  font-family: var(--ff-m); font-size: .6rem;
  padding: .15rem .35rem; border-radius: 3px;
  background: rgba(255,68,68,.1); border: 1px solid rgba(255,68,68,.2);
  color: #FF8888;
}
.rv-hot { background: rgba(255,68,68,.2); color: #FFB0B0; animation: blink .9s infinite; }
.rv-gh { background: rgba(205,255,100,.08); border-color: rgba(205,255,100,.2); color: var(--lime); }
.rv-line { height: 2px; border-radius: 2px; margin-top: .2rem; }
.rv-bline { background: repeating-linear-gradient(90deg, rgba(255,68,68,.4) 0, rgba(255,68,68,.4) 5px, transparent 5px, transparent 9px); }
.rv-gline { background: var(--lime); box-shadow: 0 0 8px rgba(205,255,100,.4); animation: lineGlow 2s infinite; }
@keyframes lineGlow { 0%,100%{box-shadow:0 0 6px rgba(205,255,100,.4)} 50%{box-shadow:0 0 14px rgba(205,255,100,.8)} }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── GAMES ── */
.games-sec { border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr); }
.games-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.g-text h2 { font-family: var(--ff-d); font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; letter-spacing: -.02em; }
.g-text p { color: var(--tx2); margin-top: .75rem; }
.g-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.gtag {
  padding: .4rem .9rem; border-radius: 20px;
  font-size: .82rem; font-weight: 500;
  background: var(--surf); border: 1px solid var(--bdr);
  color: var(--tx2); transition: all .2s;
}
.gtag:hover { border-color: rgba(205,255,100,.2); color: var(--lime); }
.gtag.lg { background: var(--surf2); }
.gtag.acc { background: rgba(205,255,100,.06); border-color: rgba(205,255,100,.15); color: var(--lime); }

/* ── BENCHMARK ── */
.bench-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.bench-l h2 { font-family: var(--ff-d); font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .5rem; }
.bench-sub { color: var(--tx2); margin-bottom: 2rem; }
.bench-rows { display: flex; flex-direction: column; gap: .9rem; }
.bench-row { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; }
.bench-row > span { font-size: .82rem; color: var(--tx2); }
.btrack { background: var(--bg1); border-radius: 4px; height: 28px; overflow: hidden; }
.bbar {
  height: 100%; width: var(--bw);
  display: flex; align-items: center; padding: 0 .65rem;
  font-family: var(--ff-m); font-size: .7rem; font-weight: 600;
  border-radius: 4px; transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
.bbar.bad { background: rgba(255,68,68,.15); border: 1px solid rgba(255,68,68,.25); color: #FF8888; }
.bbar.good { background: rgba(205,255,100,.1); border: 1px solid rgba(205,255,100,.2); color: var(--lime); }
.bbar.warn { background: rgba(255,176,32,.08); border: 1px solid rgba(255,176,32,.2); color: var(--amber); }
.bbar.zero { min-width: 50px; background: rgba(61,219,122,.1); border: 1px solid rgba(61,219,122,.2); color: var(--green); }
.bench-note { font-size: .75rem; color: var(--tx3); font-style: italic; margin-top: .75rem; }

.bench-r { text-align: center; }
.big-num { display: flex; align-items: baseline; justify-content: center; gap: .2rem; margin-bottom: .5rem; }
.bn-val {
  font-family: var(--ff-d); font-size: clamp(4rem,9vw,7rem);
  font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--lime), #8BFF00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.bn-unit { font-family: var(--ff-d); font-size: 2rem; font-weight: 700; color: var(--lime); }
.bn-desc { color: var(--tx2); font-size: .9rem; line-height: 1.6; }
.bn-sparkle { margin-top: 1.5rem; }

/* ── PRICING ── */
.price-sec { background: var(--bg1); }
.bill-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.blbl { font-size: .88rem; color: var(--tx3); transition: color .2s; }
.blbl.active { color: var(--tx); }
.bill-tog {
  width: 44px; height: 24px; background: var(--surf2);
  border: 1px solid var(--bdr); border-radius: 12px;
  position: relative; transition: background .2s;
}
.bill-tog[aria-pressed="true"] { background: rgba(205,255,100,.15); border-color: rgba(205,255,100,.25); }
.bill-th {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--tx3); transition: .25s;
}
.bill-tog[aria-pressed="true"] .bill-th { left: 23px; background: var(--lime); }
.spill {
  font-family: var(--ff-m); font-size: .65rem;
  padding: .1rem .4rem; border-radius: 10px;
  background: rgba(61,219,122,.1); color: var(--green);
  border: 1px solid rgba(61,219,122,.2); margin-left: .3rem;
}

.plans-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-bottom: 2rem; }
.plan {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--r3); padding: 2rem;
  transition: border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.plan:hover { transform: translateY(-3px); }
.plan-hot { border-color: rgba(205,255,100,.25); background: linear-gradient(160deg, var(--surf2), var(--surf)); }
.plan-crown {
  font-family: var(--ff-m); font-size: .6rem; font-weight: 700;
  letter-spacing: .15em; color: #080A0F;
  background: var(--lime); padding: .3rem 1rem;
  text-align: center; margin: -2rem -2rem 1.5rem;
}
.plan-n { font-family: var(--ff-m); font-size: .72rem; letter-spacing: .12em; color: var(--tx2); text-transform: uppercase; margin-bottom: .5rem; }
.plan-p { display: flex; align-items: baseline; gap: .12rem; margin-bottom: .75rem; }
.plan-p sup { font-size: 1rem; color: var(--tx2); align-self: flex-start; margin-top: .5rem; }
.plan-p sub { font-size: .78rem; color: var(--tx3); }
.pv { font-family: var(--ff-d); font-size: 2.8rem; font-weight: 800; line-height: 1; }
.plan-b { font-size: .84rem; color: var(--tx2); margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--bdr); }
.plan-l { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.plan-l li { font-size: .84rem; display: flex; align-items: center; gap: .5rem; }
.plan-l li.y::before { content: '✓'; color: var(--lime); font-weight: 700; flex-shrink: 0; font-size: .85rem; }
.plan-l li.n { color: var(--tx3); }
.plan-l li.n::before { content: '–'; color: var(--tx3); flex-shrink: 0; }
.plan-btn {
  display: block; width: 100%; text-align: center;
  padding: .8rem; border-radius: var(--r);
  background: none; border: 1px solid var(--bdr);
  color: var(--tx); font-size: .85rem; font-weight: 600;
  transition: all .2s; font-family: var(--ff-b);
}
.plan-btn:hover { border-color: rgba(205,255,100,.3); color: var(--lime); }
.plan-btn-h { background: var(--lime); color: #080A0F; border-color: transparent; }
.plan-btn-h:hover { background: var(--lime2); color: #080A0F; }
.price-foot { text-align: center; font-size: .8rem; color: var(--tx3); }

/* ── FAQ ── */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 5rem; }
.faq-l h2 { font-family: var(--ff-d); font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; letter-spacing: -.02em; }
.faq-r { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  border-bottom: 1px solid var(--bdr); overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; text-align: left;
  background: none; border: none;
  color: var(--tx); font-size: .9rem; font-weight: 500;
  transition: color .2s; gap: 1rem; font-family: var(--ff-b);
}
.faq-q:hover { color: var(--lime); }
.fa { flex-shrink: 0; transition: transform .25s; }
.faq-item.open .fa { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 0 1.1rem;
  font-size: .86rem; color: var(--tx2); line-height: 1.65;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA ── */
.cta-sec { padding: 7rem 0; }
.cta-inner {
  max-width: 600px; margin: 0 auto; text-align: center;
  background: var(--surf); border: 1px solid rgba(205,255,100,.15);
  border-radius: 20px; padding: 4rem 2rem;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(205,255,100,.06), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-h {
  font-family: var(--ff-d); font-size: clamp(2.2rem,5vw,3.5rem);
  font-weight: 800; letter-spacing: -.02em;
  margin-bottom: .75rem; line-height: 1.05;
}
.cta-inner > p { color: var(--tx2); margin-bottom: 2.5rem; font-size: 1rem; line-height: 1.7; }
.cta-stars { margin-top: 1.5rem; font-size: .82rem; color: var(--tx3); }
.cta-stars { color: var(--amber); }
.cta-stars span { color: var(--tx3); }

/* ── FOOTER ── */
.footer {
  background: var(--bg1); border-top: 1px solid var(--bdr);
  padding: 4rem 0 2rem;
}
.ft-top { display: grid; grid-template-columns: 240px 1fr; gap: 4rem; margin-bottom: 3rem; }
.ft-brand .nav-logo { margin-bottom: 1rem; }
.ft-brand > p { font-size: .84rem; color: var(--tx2); line-height: 1.7; }
.ft-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.ft-col { display: flex; flex-direction: column; gap: .6rem; }
.fc-t { font-family: var(--ff-m); font-size: .63rem; letter-spacing: .15em; text-transform: uppercase; color: var(--tx3); margin-bottom: .3rem; }
.ft-col a { font-size: .85rem; color: var(--tx2); transition: color .2s; }
.ft-col a:hover { color: var(--lime); }
.ft-bot {
  border-top: 1px solid var(--bdr); padding-top: 1.5rem;
  font-size: .78rem; color: var(--tx3);
}

/* ── REVEAL ANIMATION ── */
.rev {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.rev.in { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .net-layout { grid-template-columns: 1fr; }
  .net-side { display: grid; grid-template-columns: 1fr 1fr; }
  .feat-bento { grid-template-columns: 1fr 1fr; }
  .fb-main { grid-column: span 2; }
  .fb-wide { grid-column: span 2; }
  .bench-layout { grid-template-columns: 1fr; gap: 3rem; }
  .bench-r { order: -1; }
  .games-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width:768px) {
  .nav-links, .nav-right .nav-pill { display: none; }
  .burger { display: flex; }
  .hero-h1 { font-size: clamp(2.8rem,13vw,5.5rem); }
  .hero-nums { border: none; flex-wrap: wrap; gap: 1rem; }
  .hnum { border: 1px solid var(--bdr); border-radius: var(--r2); flex: none; min-width: 0; width: calc(50% - .5rem); }
  .feat-bento { grid-template-columns: 1fr; }
  .fb-main, .fb-wide { grid-column: span 1; }
  .plans-row { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; gap: 2rem; }
  .ft-cols { grid-template-columns: repeat(2,1fr); }
  .bench-row { grid-template-columns: 100px 1fr; }
  .cta-inner { padding: 2.5rem 1.5rem; }
}

@media (max-width:480px) {
  .hero { padding: 6rem 1.5rem 4rem; }
  .con { padding: 0 1.25rem; }
  .sec { padding: 5rem 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hnum { width: calc(50% - .5rem); padding: .75rem 1rem; }
  .hnum-v { font-size: 1.5rem; }
  .hero-scroll-hint { display: none; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .net-side { grid-template-columns: 1fr; }
}