/* ============================================================
   Purple Anti-Cheat — design system
   Palette matches the in-game mod exactly.
   ============================================================ */
:root {
  --bg:       #0D0518;
  --bg2:      #130828;
  --panel:    #1A0D33;
  --panel2:   #241040;
  --border:   rgba(157,78,221,0.28);
  --border2:  rgba(224,170,255,0.18);
  --accent:   #9D4EDD;
  --accent2:  #7B2CBF;
  --glow:     #E0AAFF;
  --lav:      #C8B6E2;
  --text:     #EADCFB;
  --dim:      #A899C8;
  --green:    #7BE0A0;
  --yellow:   #F2C94C;
  --red:      #F27C7C;
  --display:  'Space Grotesk', sans-serif;
  --body:     'IBM Plex Sans', sans-serif;
  --mono:     'IBM Plex Mono', monospace;
  --r:  14px;
  --r2:  8px;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- typography ---- */
h1,h2,h3,h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; }
p { color: var(--lav); }
a { color: var(--glow); text-decoration: none; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--panel2);
  padding: 2px 7px; border-radius: 5px; color: var(--glow); }

/* ---- layout ---- */
.wrap { width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
section { padding: 88px 0; }

.eyebrow { display: inline-block; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  background: rgba(157,78,221,0.12); border: 1px solid rgba(157,78,221,0.3);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.section-head p { font-size: 16px; }

/* ---- starfield ---- */
#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(110% 80% at 20% 10%, #2A1445 0%, #130828 50%, #0D0518 100%); }

main, header, footer { position: relative; z-index: 1; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,5,24,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-logo { width: 34px; height: 34px; display: block; }
.brand-name { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--text); line-height: 1; }
.brand-name b { color: var(--accent); }

nav.links { display: flex; gap: 24px; margin-left: auto; }
nav.links a { color: var(--dim); font-size: 14px; font-weight: 500; transition: color 0.15s; }
nav.links a:hover { color: var(--glow); }

.nav-cta { flex-shrink: 0; background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: filter 0.15s; }
.nav-cta:hover { filter: brightness(1.12); }

.menu-btn { display: none; background: none; border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 7px 10px; cursor: pointer; font-size: 16px; margin-left: auto; }

@media (max-width: 780px) {
  nav.links { display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 14px; }
  nav.links.open { display: flex; }
  .nav-cta { display: none; }
  .menu-btn { display: block; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 13px 26px; border-radius: 10px; border: none; cursor: pointer; transition: filter 0.15s, transform 0.1s; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff;
  box-shadow: 0 8px 28px -8px rgba(157,78,221,0.55); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--accent); }
.btn-buy { background: linear-gradient(135deg, #7BE0A0, #4CAF72); color: #0a1f10;
  box-shadow: 0 8px 28px -8px rgba(76,175,114,0.45); font-size: 16px; padding: 15px 32px; border-radius: 12px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 100px 0 72px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* logo badge — fixed size container so it never bleeds */
.hero-badge { width: 110px; height: 110px; display: block; margin-bottom: 28px; flex-shrink: 0;
  filter: drop-shadow(0 0 28px rgba(157,78,221,0.5)); }
.hero-badge img { width: 100%; height: 100%; object-fit: contain; }

.hero h1 { font-size: clamp(38px, 6.5vw, 68px); max-width: 820px; margin-bottom: 18px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .sub { font-size: 18px; max-width: 580px; margin-bottom: 36px; }
.hero .cta-row { justify-content: center; margin-bottom: 64px; }

/* terminal */
.terminal { width: 100%; max-width: 540px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: 0 24px 64px -24px rgba(0,0,0,0.7); overflow: hidden; }
.t-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: var(--panel2); border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #f27c7c; } .dot.y { background: #f2c94c; } .dot.g { background: #7be0a0; }
.t-title { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-left: 6px; }
.t-body { padding: 18px 16px; font-family: var(--mono); font-size: 13.5px; min-height: 172px; }
.t-line { color: var(--lav); white-space: pre-wrap; display: block; }
.t-ok { color: var(--green); }
.t-cursor { display: inline-block; width: 8px; height: 15px; background: var(--glow);
  vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* stat strip */
.stats { display: flex; justify-content: center; gap: 52px; flex-wrap: wrap; margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--border); }
.stat b { display: block; font-family: var(--display); font-size: 30px; color: var(--text); }
.stat span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; }

/* ============================================================
   MODULES
   ============================================================ */
.mods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mod-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r);
  padding: 22px; transition: border-color 0.2s, transform 0.2s; }
.mod-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.mod-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.mod-card h3 { font-size: 15px; margin-bottom: 6px; }
.mod-card p { font-size: 13.5px; margin: 0; }

/* ============================================================
   CHEST GUI MOCKUP
   ============================================================ */
.chest-section-inner { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.chest-desc { max-width: 340px; }
.chest-desc h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 14px; }
.chest-desc p { margin-bottom: 18px; }
.chest-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.chest-label { font-family: var(--mono); font-size: 11.5px; color: var(--dim);
  background: var(--panel); border: 1px solid var(--border); padding: 4px 12px; border-radius: 6px; }
.chest {
  display: grid;
  grid-template-columns: repeat(9, 44px);
  grid-auto-rows: 44px;
  gap: 3px;
  background: var(--panel2);
  border: 2px solid var(--border);
  border-radius: var(--r2);
  padding: 12px;
  box-shadow: 0 16px 48px -16px rgba(0,0,0,0.6);
}
.slot { border-radius: 5px; background: rgba(255,255,255,0.02); }
.slot.pa { background: rgba(157,78,221,0.22); }
.slot.pb { background: rgba(224,170,255,0.10); }
.slot.si {
  background: var(--panel); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: default; position: relative;
}
.tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--bg); border: 1px solid var(--border); border-radius: 7px;
  padding: 7px 11px; font-family: var(--mono); font-size: 11px; color: var(--glow);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.14s;
  z-index: 10; box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.slot.si:hover .tip { opacity: 1; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; margin: 0 auto; }
.price-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r);
  padding: 32px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  transition: border-color 0.2s;
}
.price-card.featured { border-color: var(--accent); background: linear-gradient(145deg, #1e0d3a, #130828);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 60px -20px rgba(157,78,221,0.35); }
.price-card .badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; background: var(--accent); color: #fff;
  padding: 3px 10px; border-radius: 999px; }
.price-card .amount { font-family: var(--display); }
.price-card .amount .num { font-size: 52px; color: var(--text); letter-spacing: -0.03em; line-height: 1; }
.price-card .amount .per { font-size: 15px; color: var(--dim); margin-left: 4px; }
.price-card h3 { font-size: 20px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--lav); }
.price-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }

@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ============================================================
   COMMANDS
   ============================================================ */
.cmd-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.cmd-tab { font-family: var(--mono); font-size: 13px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: var(--dim); cursor: pointer; transition: all 0.15s; }
.cmd-tab.active, .cmd-tab:hover { border-color: var(--accent); color: var(--glow); }
.cmd-tab.active { background: rgba(157,78,221,0.15); }
.cmd-table-wrap { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.cmd-table { width: 100%; border-collapse: collapse; display: none; }
.cmd-table.active { display: table; }
.cmd-table tr { border-bottom: 1px solid var(--border); }
.cmd-table tr:last-child { border-bottom: none; }
.cmd-table td { padding: 13px 18px; vertical-align: top; }
.cmd-table td:first-child { width: 46%; }
.cmd-table code { font-size: 13px; }
.cmd-desc { font-size: 14px; color: var(--lav); }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; }
.dash-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.dash-controls input {
  flex: 1; min-width: 200px; background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); padding: 11px 14px; border-radius: 8px;
  font-family: var(--mono); font-size: 13px; outline: none;
}
.dash-controls input:focus { border-color: var(--accent); }
.dash-controls input::placeholder { color: var(--dim); }
.dash-status { font-family: var(--mono); font-size: 13px; color: var(--dim); margin-bottom: 20px; min-height: 20px; }
.dash-status.ok { color: var(--green); }
.dash-status.err { color: var(--red); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.player-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.player-card .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.player-card .pname { font-weight: 600; font-size: 14px; }
.player-card .pflags { font-family: var(--mono); font-size: 13px; }
.player-card .pflags.hot { color: var(--red); } .player-card .pflags.mild { color: var(--yellow); } .player-card .pflags.clean { color: var(--green); }
.player-card ul { list-style: none; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.player-card li { padding: 3px 0; border-top: 1px dashed var(--border); }
.warn-box { background: rgba(242,201,76,0.08); border: 1px solid rgba(242,201,76,0.35);
  color: var(--yellow); padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }

/* ============================================================
   DOWNLOAD / SETUP
   ============================================================ */
.setup-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 40px; text-align: center; }
.steps { list-style: none; max-width: 500px; margin: 28px auto 0; counter-reset: s; text-align: left; }
.steps li { position: relative; padding: 0 0 24px 50px; color: var(--lav); font-size: 14.5px; }
.steps li::before { counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--panel2); border: 1px solid var(--border); color: var(--glow);
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; }
.steps li:last-child { padding-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; }
footer .brand { justify-content: center; margin-bottom: 16px; }
footer p { font-size: 13px; color: var(--dim); margin-bottom: 4px; }
footer a { color: var(--lav); }

/* ============================================================
   POLISH PASS
   ============================================================ */
::selection { background: rgba(157,78,221,0.45); color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--glow); outline-offset: 2px; border-radius: 4px;
}

/* scroll-reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* hero heading glow sweep */
.hero h1 em { background: linear-gradient(90deg, var(--accent), var(--glow), var(--accent));
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: sweep 5s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hero h1 em { animation: none; -webkit-text-fill-color: var(--accent); } }
@keyframes sweep { to { background-position: 200% 0; } }

/* card glow on hover */
.mod-card, .price-card, .setup-card, .dash-panel, .terminal { position: relative; }
.mod-card:hover { box-shadow: 0 12px 40px -18px rgba(157,78,221,0.5); }
.price-card:hover { border-color: var(--accent); }

/* pricing featured shimmer border */
.price-card.featured::after {
  content: ''; position: absolute; inset: -1px; border-radius: var(--r); padding: 1px;
  background: linear-gradient(135deg, var(--glow), transparent 40%, transparent 60%, var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* section spacing rhythm on small screens */
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .stats { gap: 28px; }
  .chest { grid-template-columns: repeat(9, 34px); grid-auto-rows: 34px; }
  .slot.si { font-size: 15px; }
}

/* ============================================================
   WHAT WE CATCH — client badges + checks grid
   ============================================================ */
.client-badges { text-align: center; margin-bottom: 44px; }
.clients-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.client-pill {
  padding: 9px 20px; border-radius: 999px; font-family: var(--mono); font-size: 13px;
  font-weight: 500; border: 1px solid var(--border); background: var(--panel);
  transition: transform 0.15s, border-color 0.15s;
}
.client-pill:hover { transform: translateY(-2px); border-color: var(--accent); }
.client-pill.meteor { border-color: rgba(255,140,0,0.4); color: #ffb347; }
.client-pill.vape   { border-color: rgba(100,180,255,0.4); color: #82c8ff; }
.client-pill.krypton{ border-color: rgba(100,120,255,0.4); color: #a0aaff; }
.client-pill.prestige{ border-color: rgba(255,215,0,0.4); color: #ffd700; }

.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.check-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r);
  padding: 20px; transition: transform 0.18s, border-color 0.18s;
}
.check-card:hover { transform: translateY(-3px); }
.check-card.sev3 { border-left: 3px solid var(--red); }
.check-card.sev3:hover { border-color: var(--red); }
.check-card.sev2 { border-left: 3px solid var(--yellow); }
.check-card.sev2:hover { border-color: var(--yellow); }

.check-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.check-icon { font-size: 22px; }
.check-name { font-family: var(--display); font-size: 15px; font-weight: 700; flex: 1; }
.sev-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.sev-badge.s3 { background: rgba(242,124,124,0.15); color: var(--red); border: 1px solid rgba(242,124,124,0.3); }
.sev-badge.s2 { background: rgba(242,201,76,0.12); color: var(--yellow); border: 1px solid rgba(242,201,76,0.25); }
.check-desc { font-size: 13.5px; color: var(--lav); margin-bottom: 12px; }
.check-catches { font-family: var(--mono); font-size: 11px; color: var(--dim);
  background: var(--bg2); border-radius: 6px; padding: 7px 10px; }

/* ============================================================
   HERO (no badge image, tighter)
   ============================================================ */
.hero { padding: 80px 0 60px; }
.hero h1 { margin-bottom: 16px; }

/* ============================================================
   NAV brand logo — remove background bleed
   ============================================================ */
.brand-logo { border-radius: 0; background: transparent; }

/* ============================================================
   EXTRA FEATURES SECTION
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 0; }
.feat-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r);
  padding: 22px 20px; text-align: center; transition: border-color 0.18s, transform 0.18s; }
.feat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.feat-icon { font-size: 30px; margin-bottom: 12px; display: block; }
.feat-card h3 { font-size: 14px; margin-bottom: 6px; }
.feat-card p { font-size: 13px; margin: 0; }
