/* ============================================================
   FN Galaxy Swapper — "BATTLE HUD / LOADOUT TERMINAL"
   Tactical dark gaming UI · acid volt + magenta · angular panels
   Pages: index, about, download
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Share+Tech+Mono&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg:        #0a0d0c;
  --bg-2:      #0c100e;
  --panel:     #111815;
  --panel-2:   #16201c;
  --panel-3:   #1b2723;
  --line:      #25332d;
  --line-2:    #324239;

  --volt:      #c2f73e;
  --volt-d:    #9ad017;
  --volt-dim:  rgba(194,247,62,.14);
  --magenta:   #ff3b6b;
  --orange:    #ff8a1e;
  --cyan:      #36e0c8;

  --text:      #e8f1ea;
  --text-2:    #93a39a;
  --text-3:    #5d6a63;

  --r-common:    #9aa6a0;
  --r-uncommon:  #5fd35f;
  --r-rare:      #3a9bff;
  --r-epic:      #b15cff;
  --r-legendary: #ff8a1e;
  --r-mythic:    #ffd23f;

  --chamfer: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  --chamfer-r: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));

  --mono:    'Share Tech Mono', ui-monospace, monospace;
  --display: 'Chakra Petch', 'Inter', sans-serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--sans);
  font-size: 15px; line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 80% -5%, rgba(194,247,62,.05), transparent 60%),
    radial-gradient(700px 500px at 5% 10%, rgba(255,59,107,.05), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* scanline overlay */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.16) 2px 3px);
  mix-blend-mode: multiply; opacity: .5;
}
main, header, footer, .mobile-nav { position: relative; z-index: 2; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: var(--volt); transition: color .15s; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1,h2,h3,h4 { line-height: 1.08; font-weight: 700; color: var(--text); font-family: var(--display); }
ul { list-style: none; }
code { font-family: var(--mono); }
::selection { background: var(--volt); color: #0a0d0c; }

/* ── SKIP ── */
.skip {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  padding: .5rem 1rem; background: var(--volt); color: #0a0d0c;
  font-family: var(--mono); font-size: .8rem; font-weight: 700; transition: top .15s;
}
.skip:focus { top: .75rem; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--volt); color: #0a0d0c;
  font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .8rem 1.7rem; clip-path: var(--chamfer);
  transition: filter .15s, transform .15s, box-shadow .15s; white-space: nowrap;
  box-shadow: 0 0 0 rgba(194,247,62,0);
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(194,247,62,.28); color: #0a0d0c; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--volt); background: transparent;
  border: 1px solid var(--line-2);
  font-family: var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .78rem 1.6rem; clip-path: var(--chamfer);
  transition: background .15s, border-color .15s, transform .15s; white-space: nowrap;
}
.btn-ghost:hover { background: var(--volt-dim); border-color: var(--volt); transform: translateY(-2px); color: var(--volt); }
.btn-gold.btn-lg, .btn-ghost.btn-lg { padding: 1rem 2.1rem; font-size: .9rem; }

/* ── SECTION SHELL ── */
.section-inner { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .7rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--volt); margin-bottom: 1rem;
}
.section-label::before { content: '//'; color: var(--magenta); }
.section-h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-sub { font-size: 1rem; color: var(--text-2); max-width: 560px; margin-bottom: 2.6rem; }
.grad-text { color: var(--volt); }
.grad-text-blue { color: var(--magenta); }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 64px;
  background: rgba(10,13,12,.85); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-bottom-color: var(--line-2); box-shadow: 0 1px 0 rgba(194,247,62,.18), 0 10px 30px rgba(0,0,0,.5); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 100%; display: flex; align-items: center; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .55rem; color: var(--text); font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; flex-shrink: 0; }
.logo:hover { color: var(--text); }
.logo-icon {
  width: 32px; height: 32px; clip-path: var(--chamfer);
  background: var(--volt); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 16px rgba(194,247,62,.35);
}
.logo-fn { color: var(--volt); }
.nav { display: flex; align-items: center; gap: .1rem; margin-left: 1.6rem; }
.nav-link {
  font-family: var(--display); font-size: .8rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: var(--text-2);
  padding: .4rem .85rem; transition: color .14s, background .14s; position: relative;
}
.nav-link:hover { color: var(--volt); }
.nav-link.active { color: var(--volt); }
.nav-link.active::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 2px; background: var(--volt); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; background: var(--panel); border: 1px solid var(--line-2); cursor: pointer; padding: 9px; margin-left: .4rem; flex-shrink: 0; clip-path: var(--chamfer); }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--volt); transition: transform .22s, opacity .15s; transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) { .nav { display: none; } .hamburger { display: flex; } }

/* ── MOBILE NAV ── */
.mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(10,13,12,.98); border-bottom: 1px solid var(--line-2); padding: 1rem 1.25rem 1.5rem; flex-direction: column; gap: .25rem; z-index: 198; }
.mobile-nav.open { display: flex; animation: mn .18s ease; }
@keyframes mn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mnav-link { font-family: var(--display); font-size: .9rem; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--text-2); padding: .8rem 1rem; transition: color .12s, background .12s; }
.mnav-link:hover, .mnav-link.active { background: var(--panel); color: var(--volt); }
.mnav-cta { margin-top: .5rem; display: flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--display); font-size: .86rem; font-weight: 700; text-transform: uppercase; color: #0a0d0c !important; background: var(--volt); padding: .85rem 1rem; clip-path: var(--chamfer); }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 96px 2rem 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
}
.hero-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; width: 100%; position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
  border: 1px solid var(--line-2); background: rgba(17,24,21,.6); padding: .35rem .85rem; margin-bottom: 1.6rem; clip-path: var(--chamfer);
}
.hero-tag b { color: var(--volt); font-weight: 400; }
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero-h1 { font-family: var(--display); font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 700; letter-spacing: -.01em; line-height: 1; text-transform: uppercase; margin-bottom: 1.4rem; }
.hero-h1 .slash { color: var(--magenta); }
.hero-h1 em { font-style: normal; color: var(--volt); }
.hero-sub { font-size: 1.06rem; color: var(--text-2); margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-mini { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); background: rgba(17,24,21,.5); width: fit-content; clip-path: var(--chamfer); }
.hero-mini .hm { padding: .7rem 1.4rem; border-right: 1px solid var(--line); }
.hero-mini .hm:last-child { border-right: 0; }
.hm-n { font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: var(--volt); display: block; line-height: 1; }
.hm-l { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }

/* hero TERMINAL */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.terminal {
  width: 100%; max-width: 380px; background: var(--panel);
  border: 1px solid var(--line-2); clip-path: var(--chamfer-r);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 0 0 1px rgba(194,247,62,.05); position: relative; overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: .45rem; padding: .6rem .9rem; background: var(--bg-2); border-bottom: 1px solid var(--line-2); }
.term-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.term-dot:nth-child(1) { background: var(--magenta); }
.term-dot:nth-child(2) { background: var(--orange); }
.term-dot:nth-child(3) { background: var(--volt); }
.term-title { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--text-2); margin-left: .35rem; }
.term-status { font-family: var(--mono); font-size: .62rem; color: var(--volt); margin-left: auto; }
.term-screen { padding: 1rem; display: flex; flex-direction: column; gap: .8rem; }
.term-feature { position: relative; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,138,30,.08), transparent); aspect-ratio: 16/12; overflow: hidden; }
.term-feature img { width: 100%; height: 100%; object-fit: contain; padding: 6px 6px 18px; }
.term-rar { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: .56rem; letter-spacing: .12em; padding: .12rem .4rem; background: var(--r-legendary); color: #0a0d0c; }
.term-feat-name { position: absolute; left: 0; right: 0; bottom: 0; padding: .35rem .6rem; font-family: var(--display); font-weight: 700; font-size: .82rem; background: linear-gradient(0deg, rgba(10,13,12,.92), transparent); }
.term-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.term-slot { aspect-ratio: 1; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; position: relative; border-top-width: 3px; }
.term-slot img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.term-swapbtn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
  background: var(--volt); color: #0a0d0c; padding: .7rem; clip-path: var(--chamfer);
  transition: filter .15s; animation: pulseBtn 2.4s ease-in-out infinite;
}
.term-swapbtn:hover { filter: brightness(1.08); }
@keyframes pulseBtn { 0%,100% { box-shadow: 0 0 0 rgba(194,247,62,0); } 50% { box-shadow: 0 0 22px rgba(194,247,62,.5); } }
.term-scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(194,247,62,.06), transparent); height: 40%; animation: scan 3.6s linear infinite; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(350%); } }

/* rarity helper for slots */
.rar-common    { border-top-color: var(--r-common) !important; }
.rar-uncommon  { border-top-color: var(--r-uncommon) !important; }
.rar-rare      { border-top-color: var(--r-rare) !important; }
.rar-epic      { border-top-color: var(--r-epic) !important; }
.rar-legendary { border-top-color: var(--r-legendary) !important; }
.rar-mythic    { border-top-color: var(--r-mythic) !important; }

/* ── TICKER ── */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); position: relative; z-index: 2; }
.ticker-inner { max-width: 1140px; margin: 0 auto; padding: 1rem 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.tick { display: flex; align-items: baseline; gap: .55rem; flex: 1; min-width: 160px; }
.tick-n { font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--text); }
.tick.v .tick-n { color: var(--volt); }
.tick.m .tick-n { color: var(--magenta); }
.tick.o .tick-n { color: var(--orange); }
.tick-l { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.tick-sep { width: 1px; align-self: stretch; background: var(--line); }

/* ── shared section base ── */
.section { padding: 96px 0; border-top: 1px solid var(--line); position: relative; }

/* ── VAULT (marquee) ── */
.skin-showcase { padding: 26px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); position: relative; }
.skin-showcase::before, .skin-showcase::after { content: ''; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 2; pointer-events: none; }
.skin-showcase::before { left: 0; background: linear-gradient(90deg, var(--bg-2) 12%, transparent); }
.skin-showcase::after { right: 0; background: linear-gradient(-90deg, var(--bg-2) 12%, transparent); }
.vault-head { max-width: 1140px; margin: 0 auto 4px; padding: 0 2rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.vault-head b { color: var(--volt); font-weight: 400; }
.showcase-row { display: flex; gap: 12px; flex-wrap: nowrap; width: max-content; min-width: 200%; animation: mrq 75s linear infinite; will-change: transform; }
.skin-showcase:hover .showcase-row { animation-play-state: paused; }
@keyframes mrq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.showcase-skin { width: 104px; flex-shrink: 0; background: var(--panel); border: 1px solid var(--line-2); border-top-width: 3px; border-top-color: var(--line-2); overflow: hidden; transition: transform .2s, border-color .2s; }
.showcase-skin:hover { transform: translateY(-4px); border-top-color: var(--volt); }
.showcase-skin img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; background: var(--bg-2); }
.showcase-skin-name { font-family: var(--mono); font-size: .54rem; letter-spacing: .04em; padding: .3rem .35rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-3); border-top: 1px solid var(--line); }

/* ── PERKS (capabilities) ── */
.perks-section { padding: 96px 0; border-top: 1px solid var(--line); }
.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk-card { background: var(--panel); border: 1px solid var(--line); padding: 1.7rem 1.6rem; position: relative; clip-path: var(--chamfer); transition: transform .16s, border-color .16s, background .16s; }
.perk-card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--panel-2); }
.perk-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--volt); transition: width .25s; }
.perk-card:hover::before { width: 100%; }
.perk-code { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; color: var(--text-3); margin-bottom: 1rem; }
.perk-ico { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--volt); margin-bottom: 1.1rem; clip-path: var(--chamfer); }
.perk-ico.m { color: var(--magenta); } .perk-ico.o { color: var(--orange); } .perk-ico.c { color: var(--cyan); }
.perk-card h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin-bottom: .55rem; }
.perk-card p { font-size: .9rem; color: var(--text-2); }

/* ── RARITY LADDER ── */
.rarity-section { padding: 84px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.rarity-ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.rarity-tier { background: var(--panel); border: 1px solid var(--line); padding: 1.1rem 1rem 1rem; position: relative; overflow: hidden; }
.rt-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.rt-name { font-family: var(--display); font-weight: 700; font-size: .92rem; text-transform: uppercase; margin-top: .35rem; }
.rt-count { font-family: var(--mono); font-size: .68rem; color: var(--text-3); margin-top: .2rem; }
.rt-common .rt-bar{background:var(--r-common)} .rt-common .rt-name{color:var(--r-common)}
.rt-uncommon .rt-bar{background:var(--r-uncommon)} .rt-uncommon .rt-name{color:var(--r-uncommon)}
.rt-rare .rt-bar{background:var(--r-rare)} .rt-rare .rt-name{color:var(--r-rare)}
.rt-epic .rt-bar{background:var(--r-epic)} .rt-epic .rt-name{color:var(--r-epic)}
.rt-legendary .rt-bar{background:var(--r-legendary)} .rt-legendary .rt-name{color:var(--r-legendary)}
.rt-mythic .rt-bar{background:var(--r-mythic)} .rt-mythic .rt-name{color:var(--r-mythic)}

/* ── DEPLOY SEQUENCE (how it works) ── */
.deploy-section { padding: 96px 0; border-top: 1px solid var(--line); }
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.deploy-step { background: var(--panel); border: 1px solid var(--line); padding: 1.8rem 1.6rem; position: relative; clip-path: var(--chamfer-r); }
.deploy-step::after { content: attr(data-step); position: absolute; top: .8rem; right: 1rem; font-family: var(--display); font-size: 3.4rem; font-weight: 700; color: var(--panel-3); line-height: 1; }
.ds-tag { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; color: var(--volt); margin-bottom: 1rem; }
.ds-ico { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--volt); color: #0a0d0c; clip-path: var(--chamfer); margin-bottom: 1.1rem; }
.deploy-step h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; margin-bottom: .5rem; }
.deploy-step p { font-size: .9rem; color: var(--text-2); }

/* ── FAQ (field manual) ── */
.faq-section { padding: 96px 0; border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.55fr; gap: 4rem; align-items: start; }
.faq-item { background: var(--panel); border: 1px solid var(--line); margin-bottom: .6rem; transition: border-color .16s; }
.faq-item[open] { border-color: var(--line-2); border-left: 3px solid var(--volt); }
.faq-item summary { list-style: none; padding: 1rem 1.2rem; font-family: var(--display); font-size: .92rem; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; user-select: none; transition: background .14s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--panel-2); }
.faq-item summary::after { content: '[ + ]'; font-family: var(--mono); color: var(--volt); font-size: .8rem; flex-shrink: 0; }
.faq-item[open] summary::after { content: '[ − ]'; color: var(--magenta); }
.faq-body { padding: .2rem 1.2rem 1.1rem; font-size: .9rem; color: var(--text-2); }

/* ── CTA ── */
.cta-section { padding: 100px 2rem; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-inner {
  max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 1;
  background: var(--panel); border: 1px solid var(--line-2); clip-path: var(--chamfer-r);
  padding: 3rem 2.5rem; box-shadow: 0 0 60px rgba(194,247,62,.08);
}
.cta-inner::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(135deg, rgba(194,247,62,.05) 0 10px, transparent 10px 20px); mask: linear-gradient(180deg, #000, transparent 40%); -webkit-mask: linear-gradient(180deg, #000, transparent 40%); }
.cta-glow { display: none; }
.cta-eyebrow { display: inline-block; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); border: 1px solid var(--line-2); padding: .3rem .9rem; margin-bottom: 1.3rem; }
.cta-h2 { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 1rem; }
.cta-sub { font-size: 1rem; color: var(--text-2); margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO (about/download) ── */
.page-hero, .dl-hero { min-height: 52vh; display: flex; align-items: center; padding: 130px 2rem 70px; position: relative; overflow: hidden; }
.page-hero::before, .dl-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(90% 80% at 50% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(90% 80% at 50% 0%, #000, transparent 70%);
}
.page-hero-inner, .dl-hero-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.page-hero-orb, .dl-hero-orb { display: none; }
.page-hero-h1 { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 1.1rem; }
.page-hero-sub { font-size: 1.06rem; color: var(--text-2); max-width: 580px; margin: 0 auto; }

/* ── DOSSIER (about story) ── */
.story-section { padding: 96px 0; border-top: 1px solid var(--line); }
.story-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.story-text p { font-size: .96rem; color: var(--text-2); margin-bottom: 1.2rem; }
.story-text p:last-child { margin-bottom: 0; }
.story-stat-box { background: var(--panel); border: 1px solid var(--line-2); clip-path: var(--chamfer-r); padding: 1.6rem; }
.story-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story-stat { background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--volt); padding: 1.2rem 1rem; }
.story-stat:nth-child(2){border-top-color:var(--magenta)} .story-stat:nth-child(3){border-top-color:var(--orange)} .story-stat:nth-child(4){border-top-color:var(--cyan)}
.story-stat-n { font-family: var(--display); font-size: 1.7rem; font-weight: 700; display: block; }
.story-stat-l { font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: .15rem; display: block; }
.sn-blue { color: var(--volt); } .sn-gold { color: var(--magenta); } .sn-green { color: var(--orange); } .sn-pink { color: var(--cyan); }

/* ── DIRECTIVE (mission) ── */
.mission-section { padding: 96px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.mission-box { max-width: 860px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line-2); border-left: 4px solid var(--volt); padding: 2.4rem 2.8rem; position: relative; }
.mission-box::before { content: '> PRIME_DIRECTIVE'; position: absolute; top: -10px; left: 1.5rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; color: var(--volt); background: var(--panel); padding: 0 .5rem; }
.mission-box p { font-size: 1.08rem; color: var(--text); line-height: 1.85; }

/* ── PROTOCOLS (values) ── */
.values-section { padding: 96px 0; border-top: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.value-card { background: var(--panel); border: 1px solid var(--line); padding: 1.7rem; clip-path: var(--chamfer); transition: transform .16s, border-color .16s; }
.value-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.value-num { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; color: var(--volt); margin-bottom: .7rem; text-transform: uppercase; }
.value-card h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; margin-bottom: .5rem; }
.value-card p { font-size: .9rem; color: var(--text-2); }

/* ── CHANGELOG (timeline) ── */
.timeline-section { padding: 96px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.timeline { display: flex; flex-direction: column; max-width: 720px; margin: 1.5rem auto 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 92px; top: 6px; bottom: 8px; width: 1px; background: var(--line-2); }
.tl-item { display: flex; gap: 1.8rem; padding-bottom: 2.2rem; align-items: flex-start; }
.tl-year { width: 78px; flex-shrink: 0; text-align: right; font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--volt); padding-top: .05rem; }
.tl-dot { flex-shrink: 0; width: 13px; height: 13px; background: var(--volt); border: 2px solid var(--bg-2); box-shadow: 0 0 10px var(--volt); margin-top: .15rem; position: relative; left: -6.5px; transform: rotate(45deg); }
.tl-content h3 { font-family: var(--display); font-size: .96rem; font-weight: 700; text-transform: uppercase; margin-bottom: .3rem; }
.tl-content p { font-size: .88rem; color: var(--text-2); }

/* ── DL HERO extras ── */
.dl-version-badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--volt); border: 1px solid var(--line-2); background: rgba(17,24,21,.6); padding: .35rem .9rem; margin-bottom: 1.5rem; clip-path: var(--chamfer); }
.dl-version-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); animation: blink 1.4s steps(1) infinite; }
.dl-main-btn { display: inline-flex; align-items: center; gap: .8rem; background: var(--volt); color: #0a0d0c; font-family: var(--display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 1.05rem 2.6rem; clip-path: var(--chamfer); transition: filter .15s, transform .15s, box-shadow .15s; margin: 2rem auto 0; }
.dl-main-btn:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(194,247,62,.3); color: #0a0d0c; }
.dl-sub-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.dl-meta { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; margin-top: 1.9rem; border: 1px solid var(--line); background: rgba(17,24,21,.5); width: fit-content; margin-left: auto; margin-right: auto; clip-path: var(--chamfer); }
.dl-meta-item { font-family: var(--mono); font-size: .68rem; color: var(--text-2); display: flex; align-items: center; gap: .45rem; padding: .55rem 1.1rem; border-right: 1px solid var(--line); }
.dl-meta-item:last-child { border-right: 0; }

/* ── RIG CHECK (requirements) ── */
.reqs-section { padding: 90px 0; border-top: 1px solid var(--line); }
.reqs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req-card { background: var(--panel); border: 1px solid var(--line); clip-path: var(--chamfer-r); padding: 1.7rem; }
.req-card:nth-child(2) { border-color: var(--line-2); box-shadow: inset 0 0 0 1px rgba(194,247,62,.06); }
.req-card h3 { font-family: var(--display); font-size: .95rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.req-card h3::before { content: ''; width: 8px; height: 8px; background: var(--text-3); transform: rotate(45deg); }
.req-card:nth-child(2) h3::before { background: var(--volt); box-shadow: 0 0 8px var(--volt); }
.req-list { display: flex; flex-direction: column; }
.req-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.req-row:last-child { border-bottom: 0; }
.req-key { font-family: var(--mono); font-size: .76rem; color: var(--text-3); }
.req-val { font-family: var(--display); font-size: .84rem; color: var(--text); font-weight: 600; }
.req-val-ok { color: var(--volt); }

/* ── DEPLOYMENT SEQUENCE (install) ── */
.install-section { padding: 90px 0; border-top: 1px solid var(--line); }
.install-steps { display: flex; flex-direction: column; gap: 1rem; max-width: 760px; margin: 0 auto; }
.install-step { display: flex; gap: 1.4rem; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); padding: 1.4rem 1.5rem; transition: border-color .16s, transform .16s; position: relative; }
.install-step:hover { border-color: var(--line-2); transform: translateX(4px); }
.install-step::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--volt); opacity: 0; transition: opacity .16s; }
.install-step:hover::before { opacity: 1; }
.install-num { width: 40px; height: 40px; flex-shrink: 0; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--volt); clip-path: var(--chamfer); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: .9rem; font-weight: 700; }
.install-step h3 { font-family: var(--display); font-size: .92rem; font-weight: 700; text-transform: uppercase; margin-bottom: .3rem; }
.install-step p { font-size: .88rem; color: var(--text-2); }
.install-step code { font-family: var(--mono); font-size: .82rem; background: var(--bg-2); border: 1px solid var(--line); padding: .08rem .35rem; color: var(--volt); }

/* ── ADVISORY (notice) ── */
.notice-section { padding: 70px 0; border-top: 1px solid var(--line); }
.notice-box { max-width: 800px; margin: 0 auto; background: var(--panel); border: 1px solid var(--orange); border-left: 4px solid var(--orange); padding: 2rem 2.25rem; display: flex; gap: 1.4rem; align-items: flex-start; position: relative; }
.notice-box::before { content: '> SECURITY_ADVISORY'; position: absolute; top: -10px; left: 1.4rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; color: var(--orange); background: var(--panel); padding: 0 .5rem; }
.notice-icon { flex-shrink: 0; color: var(--orange); margin-top: .15rem; }
.notice-box h3 { font-family: var(--display); font-size: .96rem; font-weight: 700; text-transform: uppercase; color: var(--orange); margin-bottom: .5rem; }
.notice-box p { font-size: .9rem; color: var(--text-2); }
.notice-box code { font-family: var(--mono); font-size: .82rem; background: var(--bg-2); border: 1px solid var(--line); padding: .08rem .35rem; color: var(--orange); }

/* ── COMMS (support) ── */
.support-section { padding: 90px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.support-card { background: var(--panel); border: 1px solid var(--line); clip-path: var(--chamfer); padding: 1.7rem; transition: transform .16s, border-color .16s; }
.support-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.support-icon { width: 50px; height: 50px; clip-path: var(--chamfer); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; border: 1px solid var(--line-2); }
.si-discord { background: rgba(88,101,242,.14); color: #8b95ff; }
.si-github { background: var(--bg-2); color: var(--text); }
.si-help { background: var(--volt-dim); color: var(--volt); }
.support-card h3 { font-family: var(--display); font-size: .96rem; font-weight: 700; text-transform: uppercase; margin-bottom: .4rem; }
.support-card p { font-size: .88rem; color: var(--text-2); margin-bottom: 1rem; }
.support-btn { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--display); font-size: .78rem; font-weight: 600; text-transform: uppercase; color: var(--volt); border: 1px solid var(--line-2); padding: .45rem 1rem; clip-path: var(--chamfer); transition: background .14s; }
.support-btn:hover { background: var(--volt-dim); }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--line-2); background: var(--bg-2); padding: 2.2rem 2rem; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.footer-name { font-family: var(--display); font-size: .88rem; font-weight: 700; text-transform: uppercase; color: var(--text); }
.footer-copy { font-family: var(--mono); font-size: .72rem; color: var(--text-3); flex: 1; min-width: 220px; }
.footer-links { display: flex; gap: .4rem; flex-shrink: 0; flex-wrap: wrap; }
.footer-links a { font-family: var(--display); font-size: .76rem; font-weight: 600; text-transform: uppercase; color: var(--text-2); padding: .3rem .8rem; border: 1px solid var(--line); transition: color .14s, border-color .14s; }
.footer-links a:hover { color: var(--volt); border-color: var(--line-2); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .story-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 860px) {
  .perk-grid, .deploy-grid, .support-grid { grid-template-columns: 1fr 1fr; }
  .rarity-ladder { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .reqs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero, .page-hero, .dl-hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section-inner { padding: 0 1.25rem; }
  .perks-section, .rarity-section, .deploy-section, .faq-section, .cta-section,
  .story-section, .mission-section, .values-section, .timeline-section,
  .reqs-section, .install-section, .notice-section, .support-section, .ticker-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .perk-grid, .deploy-grid, .support-grid, .values-grid, .rarity-ladder { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-copy { min-width: 0; }
  .notice-box { flex-direction: column; gap: 1rem; }
  .cta-section { padding: 70px 1.25rem; }
  .ticker-inner { gap: .75rem 1.25rem; }
  .tick { min-width: 130px; }
  .tick-sep { display: none; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; gap: .65rem; }
  .btn-gold, .btn-ghost { width: 100%; justify-content: center; }
  .hero-mini { width: 100%; }
  .hero-mini .hm { flex: 1; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-gold, .cta-actions .btn-ghost { max-width: 360px; width: 100%; }
  .dl-main-btn { font-size: .92rem; padding: .95rem 1.8rem; }
  .dl-meta { width: 100%; }
  .dl-meta-item { flex: 1 1 45%; justify-content: center; }
  .install-step { flex-direction: column; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
