/* ==========================================================================
   BoosterSnap — Shared Design System
   Discord-inspired dark theme, system font stack, SEO-friendly semantic CSS
   ========================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand colors */
  --blurple: #5865f2;
  --blurple-dark: #4752c4;
  --accent: #7c3aed;
  --accent-2: #5865f2;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #5865f2 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124,58,237,.18) 0%, rgba(88,101,242,.18) 100%);

  /* Surfaces */
  --bg: #0d1117;
  --bg-2: #161b22;
  --bg-3: #1c2230;
  --card: #1a1f2b;
  --card-hover: #222837;
  --border: #2a3142;
  --border-soft: rgba(255, 255, 255, .06);

  /* Text */
  --text: #f2f4f8;
  --text-muted: #a3adc2;
  --text-dim: #7a8599;

  /* Feedback */
  --green: #2ec27e;
  --red: #f15d5d;
  --yellow: #f5c518;

  /* Layout */
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --space: clamp(3.5rem, 7vw, 6.5rem);

  /* Effects */
  --shadow: 0 18px 40px -16px rgba(0, 0, 0, .65);
  --shadow-lg: 0 30px 70px -24px rgba(0, 0, 0, .75);
  --glow: 0 0 0 1px rgba(124, 58, 237, .35), 0 22px 50px -18px rgba(88, 101, 242, .55);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--blurple); text-decoration: none; transition: color .18s ease; }
a:hover { color: #8a93ff; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--text-muted); }

/* ----------  Layout helpers  ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: var(--space); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--bg-2); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--blurple); background: var(--gradient-soft);
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(124,58,237,.3);
  margin-bottom: 16px;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--text-muted); max-width: 60ch; }
.lead.center { margin-inline: auto; }
.gradient-text {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem; padding: 14px 26px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { box-shadow: var(--glow); }
.btn--ghost { background: var(--bg-3); color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--card-hover); color: #fff; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-arrow::after { content: "→"; transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ----------  Header / Nav  ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(13, 17, 23, .78);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; color: #fff; }
.logo:hover { color: #fff; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--gradient);
  display: grid; place-items: center; font-size: 1.1rem; color: #fff; box-shadow: var(--shadow);
}
.logo span { color: var(--blurple); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--text-muted); font-weight: 600; font-size: .95rem;
  padding: 9px 14px; border-radius: 9px;
}
.nav a:hover { color: #fff; background: var(--bg-3); }
.nav a.is-active { color: #fff; background: var(--gradient-soft); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: var(--bg-3); color: #fff; padding: 9px 11px; border-radius: 9px; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 14px 22px 22px; background: rgba(13, 17, 23, .98);
    border-bottom: 1px solid var(--border); transform: translateY(-130%);
    transition: transform .28s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 12px; border-radius: 10px; }
  .nav a.is-active { background: var(--bg-3); }
  .nav .btn { margin: 10px 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ----------  Breadcrumbs  ---------- */
.crumbs { font-size: .88rem; color: var(--text-dim); padding: 18px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li::after { content: "›"; color: var(--text-dim); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ----------  Hero  ---------- */
.hero {
  position: relative; overflow: hidden; padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: var(--space);
}
.hero::before {
  content: ""; position: absolute; inset: -20% 30% auto -10%; height: 520px;
  background: radial-gradient(closest-side, rgba(124,58,237,.35), transparent 70%),
              radial-gradient(closest-side, rgba(88,101,242,.28), transparent 70%);
  filter: blur(40px); z-index: -1;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__sub { margin-top: 18px; font-size: 1.12rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.hero__badge svg { width: 19px; height: 19px; color: var(--green); }

.hero__card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg); position: relative;
}
.hero__card-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.hero__card-title .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(46,194,126,.2); }
.hero__mini { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.hero__mini:last-of-type { border-bottom: 0; }
.hero__mini span:first-child { color: var(--text-muted); }
.hero__mini b { font-size: 1.25rem; color: #fff; }

@media (max-width: 880px) { .hero__inner { grid-template-columns: 1fr; } .hero__card { order: -1; } }

/* ----------  Trust bar  ---------- */
.trustbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.trustbar__stat { text-align: center; }
.trustbar__num { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.trustbar__label { font-size: .85rem; color: var(--text-muted); }
@media (max-width: 680px) { .trustbar { grid-template-columns: repeat(2, 1fr); } }

/* ----------  Section heading  ---------- */
.shead { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.shead.center { margin-inline: auto; }

/* ----------  Package grid  ---------- */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid--4 { grid-template-columns: 1fr; } }

/* ----------  Package card  ---------- */
.pkg {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}
.pkg:hover { transform: translateY(-5px); border-color: rgba(124,58,237,.55); box-shadow: var(--shadow-lg); }
.pkg--featured { border-color: var(--blurple); box-shadow: var(--glow); }
.pkg__tag {
  position: absolute; top: -12px; left: 26px; background: var(--gradient); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
}
.pkg__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--gradient-soft);
  display: grid; place-items: center; color: var(--blurple); margin-bottom: 18px;
}
.pkg__icon svg { width: 26px; height: 26px; }
.pkg__title { font-size: 1.18rem; }
.pkg__desc { font-size: .92rem; min-height: 44px; }
.pkg__price { margin: 14px 0 6px; }
.pkg__price .amt { font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.pkg__price .cur { font-size: 1.1rem; color: var(--text-muted); vertical-align: super; margin-right: 2px; }
.pkg__price .per { font-size: .9rem; color: var(--text-dim); }
.pkg__list { margin: 18px 0 24px; display: grid; gap: 11px; }
.pkg__list li { display: flex; gap: 10px; color: var(--text-muted); font-size: .94rem; }
.pkg__list svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.pkg .btn { margin-top: auto; }

/* ----------  Steps  ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
}
.step__num {
  counter-increment: step; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 13px; background: var(--gradient); color: #fff; font-weight: 800;
  font-size: 1.2rem; margin-bottom: 16px;
}
.step__num::before { content: counter(step); }
.step p { margin-bottom: 0; }

/* ----------  Feature cards  ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: border-color .2s ease, transform .18s ease; }
.feature:hover { border-color: rgba(124,58,237,.45); transform: translateY(-4px); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gradient-soft); color: var(--blurple); display: grid; place-items: center; margin-bottom: 16px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .4em; }
.feature p { margin: 0; font-size: .94rem; }

/* ----------  Comparison table  ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp thead th { background: var(--bg-3); font-size: .92rem; color: var(--text); }
.cmp th:first-child { color: var(--text-muted); font-weight: 600; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover { background: rgba(88,101,242,.05); }
.cmp td.yes { color: var(--green); font-weight: 700; }
.cmp td.no { color: var(--red); font-weight: 700; }
.cmp .col-brand { color: var(--blurple); font-weight: 800; }
.cmp td .ico { display: inline-flex; align-items: center; gap: 7px; }
.cmp svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ----------  Testimonials  ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; }
.quote__stars { color: var(--yellow); letter-spacing: 2px; margin-bottom: 14px; }
.quote__text { font-size: 1rem; color: var(--text); margin-bottom: 20px; }
.quote__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient); display: grid; place-items: center; font-weight: 800; color: #fff; }
.quote__name { font-weight: 700; color: #fff; }
.quote__role { font-size: .82rem; color: var(--text-dim); }

/* ----------  FAQ  ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 4px 22px; transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(124,58,237,.45); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--blurple); transition: transform .2s ease; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--text-muted); }

/* ----------  CTA band  ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); background: var(--gradient); text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .25; mix-blend-mode: overlay;
  background: radial-gradient(circle at 20% 20%, #fff 0, transparent 40%), radial-gradient(circle at 80% 80%, #fff 0, transparent 40%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: #f3f0ff; }

/* ----------  Footer  ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: clamp(3rem, 6vw, 4.5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 2.5rem; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: .95rem; color: #fff; margin-bottom: 16px; }
.footer a { color: var(--text-muted); display: inline-block; padding: 5px 0; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer__brand p { font-size: .92rem; max-width: 34ch; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-3); display: grid; place-items: center; color: var(--text-muted); padding: 0; }
.footer__social a:hover { background: var(--blurple); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer__pay span { background: var(--bg-3); border: 1px solid var(--border); border-radius: 7px; padding: 6px 10px; font-size: .74rem; color: var(--text-muted); font-weight: 600; }
.footer__bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--text-dim); }
.footer__bottom a { color: var(--text-dim); padding: 0; }
.footer__bottom a:hover { color: #fff; }

/* ----------  Misc / utilities  ---------- */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.note { font-size: .82rem; color: var(--text-dim); text-align: center; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--border); color: var(--text-muted); }
.pill .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.span-2 { grid-column: span 2; }
@media (max-width: 560px) { .span-2 { grid-column: auto; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--blurple); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blurple); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
