/* ===================== Tokens ===================== */
:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e11;
  --surface: #161619;
  --border: rgba(255, 255, 255, .09);
  --border-2: rgba(255, 255, 255, .16);
  --text: #eceef1;
  --muted: #9a9ca4;
  --dim: #62646c;
  --red: #ff2a35;
  --red-2: #c20812;
  --red-grad: linear-gradient(120deg, #ff3b47, #cc0a16);
  --chrome: linear-gradient(180deg, #ffffff 0%, #d6d9de 45%, #a7abb3 100%);
  --shadow: 0 24px 60px -22px rgba(0, 0, 0, .85);
  --radius: 14px;
  --maxw: 1120px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; color: #ff7a82; background: rgba(255, 42, 53, .1); padding: .1em .4em; border-radius: 5px; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 14px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s, background .2s, filter .2s, border-color .2s;
  white-space: nowrap;
}
.btn--sm { padding: 9px 15px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red-grad); color: #fff; box-shadow: 0 8px 24px -10px rgba(255, 42, 53, .8); }
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255, 42, 53, .9); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); border-color: var(--red-2); }

/* ===================== Brand wordmark ===================== */
.brand { display: inline-flex; align-items: baseline; gap: 8px; font-size: 20px; font-weight: 900; letter-spacing: -.02em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { font-size: 10px; font-weight: 700; letter-spacing: .22em; color: var(--red); -webkit-text-fill-color: var(--red); }

/* ===================== Nav ===================== */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(10, 10, 11, .85); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===================== Hero ===================== */
.hero { position: relative; text-align: center; padding: 72px 0 84px; overflow: hidden; }
.hero__glow { position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 42, 53, .2), transparent 70%); filter: blur(10px); }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.tag { display: inline-block; font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03); padding: 7px 15px; border-radius: 999px; margin-bottom: 26px; }
.hero__logo { width: min(420px, 78vw); height: auto; margin-bottom: 14px; filter: drop-shadow(0 16px 50px rgba(255, 42, 53, .25)); }
.hero__wordmark { font-size: clamp(40px, 8vw, 76px); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__wordmark span { display: block; font-size: .22em; font-weight: 700; letter-spacing: .28em; color: var(--red); -webkit-text-fill-color: var(--red); margin-top: 14px; }
.hero__title { font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; }
.hero__sub { color: var(--muted); font-size: 18px; max-width: 620px; margin: 20px 0 30px; }
.hero__sub strong { color: var(--text); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__stats { display: flex; gap: 16px 44px; flex-wrap: wrap; justify-content: center; margin-top: 42px; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.hero__stats div { display: flex; align-items: center; gap: 8px; }
.hero__stats b { color: var(--red); font-size: 20px; font-weight: 800; }

/* ===================== Console mock ===================== */
.console { width: min(680px, 100%); margin: 48px auto 0; text-align: left; background: linear-gradient(180deg, #121214, #0c0c0e); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.console__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.console__title { margin-left: 8px; font-size: 12px; color: var(--dim); letter-spacing: .02em; }
.console__body { padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.9; }
.console__body p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-dim { color: var(--dim); } .c-tag { color: var(--red); font-weight: 600; } .c-name { color: #cbd0d6; }
.c-red { color: #ff6a72; } .c-warn { color: #ffae40; } .c-ban { color: var(--red); font-weight: 600; }
.c-act { margin-top: 6px; } .c-cursor { display: flex; gap: 6px; align-items: center; }
.blink { color: var(--red); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ===================== Sections ===================== */
.section { padding: 92px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.025em; margin: 16px 0 14px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head p { color: var(--muted); font-size: 17px; }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .15s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--red-2); box-shadow: 0 0 0 1px rgba(255, 42, 53, .2), var(--shadow); }
.card__ic { width: 50px; height: 50px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 42, 53, .1); border: 1px solid rgba(255, 42, 53, .25); border-radius: 12px; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 7px; }
.card p { color: var(--muted); font-size: 15px; }

/* Detections */
.card--det ul { list-style: none; }
.det__cat { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--text); }
.card--det li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; }
.card--det em { color: var(--dim); font-style: normal; font-size: 13px; }
.ok { color: var(--red); font-weight: 800; }
.soon { color: #ffae40; font-size: 11px; }
.det__foot { text-align: center; margin-top: 26px; color: var(--muted); font-size: 14px; }

/* Pricing */
.price__card { display: flex; flex-direction: column; padding: 30px; position: relative; }
.price__card--pro { border-color: var(--red-2); background: linear-gradient(180deg, rgba(255, 42, 53, .07), var(--surface)); box-shadow: 0 0 0 1px rgba(255, 42, 53, .2), var(--shadow); }
.price__ribbon { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--red-grad); padding: 6px 12px; border-radius: 999px; }
.price__card h3 { font-size: 20px; }
.price__amt { font-size: 38px; font-weight: 900; letter-spacing: -.02em; margin: 12px 0 20px; line-height: 1; }
.price__amt span { font-size: 14px; font-weight: 500; color: var(--muted); }
.price__soon { font-size: 24px; color: var(--red); }
.price__list { list-style: none; margin: 0 0 24px; flex: 1; }
.price__list li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: 15px; }

/* CTA */
.cta { padding: 84px 0; }
.cta__inner { text-align: center; max-width: 680px; margin: 0 auto; padding: 54px 40px; background: linear-gradient(180deg, rgba(255, 42, 53, .1), rgba(255, 42, 53, .02)); border: 1px solid var(--red-2); border-radius: 18px; }
.cta h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -.025em; }
.cta p { color: var(--muted); font-size: 17px; margin: 12px auto 26px; max-width: 460px; }
/* Split CTA with the live Discord widget */
.cta__inner--split { display: flex; align-items: center; justify-content: center; gap: 44px; max-width: 940px; text-align: left; flex-wrap: wrap; }
.cta__text { flex: 1; min-width: 280px; }
.cta__text p { margin-left: 0; }
.cta__widget { flex-shrink: 0; }
.cta__widget iframe { display: block; border-radius: 12px; max-width: 100%; box-shadow: var(--shadow); }
@media (max-width: 760px) {
  .cta__inner--split { flex-direction: column; text-align: center; }
  .cta__text p { margin-left: auto; margin-right: auto; }
}

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 30px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--muted); font-size: 14px; transition: color .15s; }
.footer__links a:hover { color: var(--red); }
.footer__copy { color: var(--dim); font-size: 13px; }

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

/* ===================== Responsive ===================== */
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10, 10, 11, .98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 14px 24px 20px; }
  .nav__links.open a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav__burger { display: flex; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
