:root {
  /* Palette */
  --bg-0: #080808;
  --bg-1: #111111;
  --bg-2: #1A1A1A;
  --fg-0: #FFFFFF;
  --fg-1: rgba(255, 255, 255, 0.75);
  --fg-2: rgba(255, 255, 255, 0.45);
  --accent: #7CFFB2;
  --accent-glow: rgba(124, 255, 178, 0.6);
  --discord: #5865F2;
  --alert: #FF4D5E;
  --border: rgba(255, 255, 255, 0.08);
  --grid: rgba(124, 255, 178, 0.04);

  /* Radius */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 16px;
  --r-pill: 999px;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 48px;
  --s-7: 96px;
}

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono&display=swap');

:root {
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, "SFMono-Regular", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-1);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg-0);
  margin: 0;
}
h1 { font-size: clamp(3.5rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color 180ms ease; }
a:hover { color: var(--fg-0); }

img, svg { display: block; max-width: 100%; }

button { font: inherit; }

.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-1);
}
.micro {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-2);
}

/* Focus rings */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container--narrow { max-width: 820px; }

/* Section heading helpers */
.section__eyebrow { color: var(--accent); margin-bottom: var(--s-3); }
.section__title { margin-bottom: var(--s-6); max-width: 720px; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 22px;
  border-radius: var(--r-2);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, box-shadow 260ms cubic-bezier(0.33, 1, 0.68, 1), color 180ms ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--discord);
  color: #fff;
}
.btn--primary:hover {
  background: #4752c4;
  color: #fff;
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--fg-0);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--fg-0);
}
.btn--accent {
  background: var(--accent);
  color: var(--bg-0);
}
.btn--accent:hover {
  background: #92ffc1;
  color: var(--bg-0);
  box-shadow: 0 0 32px var(--accent-glow);
  transform: translateY(-1px);
}
.btn--block { width: 100%; }
.btn--xl {
  padding: 22px 36px;
  font-size: 19px;
  border-radius: var(--r-3);
}

/* ============= NAV ============= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.nav__logo svg { height: 28px; width: auto; }
.nav__links {
  display: flex;
  gap: var(--s-5);
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  color: var(--fg-1);
  font-weight: 500;
}
.nav__cta { padding: 10px 18px; font-size: 14px; }
.nav__burger {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  cursor: pointer;
  position: relative;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg-0);
  margin: 4px auto;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: var(--s-4) var(--s-5);
  gap: var(--s-4);
  border-top: 1px solid var(--border);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { font-size: 17px; }

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0 clamp(72px, 12vw, 140px);
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 50%, transparent 100%);
  animation: grid-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes grid-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-7);
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero__headline {
  margin: var(--s-5) 0 var(--s-5);
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fg-1);
  max-width: 520px;
  margin-bottom: var(--s-6);
}
.hero__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 8px 14px;
  background: rgba(124, 255, 178, 0.06);
  border: 1px solid rgba(124, 255, 178, 0.2);
  border-radius: var(--r-pill);
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pill-pulse 2.4s ease-in-out infinite;
}
@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 0 4px var(--accent-glow); }
  50%      { box-shadow: 0 0 16px var(--accent-glow); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ============= TERMINAL ============= */
.terminal {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.terminal__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
}
.dot--r { background: #FF5F57; }
.dot--y { background: #FEBC2E; }
.dot--g { background: #28C840; }
.terminal__title {
  margin-left: auto;
  color: var(--fg-2);
  font-size: 12px;
}
.terminal__body {
  margin: 0;
  padding: var(--s-5);
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg-1);
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 380px;
}
.terminal__body .prompt { color: var(--accent); }
.terminal__body .ts { color: var(--accent); }
.terminal__body .ok { color: var(--accent); }
.terminal__body .bolt { color: var(--accent); }
.terminal__body .arrow { color: var(--accent); }
.cursor {
  display: inline-block;
  width: 9px;
  height: 16px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: cursor-blink 1s steps(1) infinite;
}
@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* ============= WATCH-IT-WORK ============= */
.watch { padding: var(--s-7) 0; border-top: 1px solid var(--border); }
.watch__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--s-4);
  align-items: stretch;
}
.watch__card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-5);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 450ms cubic-bezier(0.22, 1, 0.36, 1), transform 450ms cubic-bezier(0.22, 1, 0.36, 1), border-color 260ms ease, box-shadow 260ms ease;
}
.watch__card.is-visible { opacity: 1; transform: translateY(0); }
.watch__card--alert { border-color: var(--alert); }
.watch__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--bg-0);
  font-size: 13px;
  font-weight: 500;
}
.watch__pill--alert {
  background: var(--alert);
  color: #fff;
  animation: alert-pulse 1.2s ease-in-out infinite;
}
@keyframes alert-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 77, 94, 0.6); }
  50%      { box-shadow: 0 0 20px rgba(255, 77, 94, 0.6); }
}
.watch__title { margin: var(--s-4) 0 var(--s-2); font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; }
.watch__title--alert { color: var(--alert); }
.watch__title--accent { color: var(--accent); }
.watch__desc { color: var(--fg-1); font-size: 15px; }
.watch__arrow { width: 60px; height: 24px; align-self: center; }

@media (max-width: 900px) {
  .watch__row { grid-template-columns: 1fr; }
  .watch__arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* ============= LIVE NUMBERS ============= */
.numbers { padding: var(--s-7) 0; border-top: 1px solid var(--border); }
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.numbers__card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-5);
}
.numbers__value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.numbers__hint { color: var(--fg-2); font-size: 14px; margin-top: 4px; }

@media (max-width: 768px) {
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .numbers__grid { grid-template-columns: 1fr; }
}

/* ============= FEATURES ============= */
.features { padding: var(--s-7) 0; border-top: 1px solid var(--border); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.feature {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-5);
  transition: box-shadow 260ms cubic-bezier(0.33, 1, 0.68, 1), border-color 260ms ease, transform 260ms ease;
}
.feature:hover {
  border-color: rgba(124, 255, 178, 0.25);
  box-shadow: 0 0 0 1px rgba(124, 255, 178, 0.08), 0 24px 80px -30px var(--accent-glow);
  transform: translateY(-2px);
}
.feature__icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-2);
  background: rgba(124, 255, 178, 0.06);
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__title {
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-0);
  margin-bottom: var(--s-2);
}
.feature__desc { color: var(--fg-1); font-size: 15px; }

@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }

/* ============= DEMO ============= */
.demo { padding: var(--s-7) 0; border-top: 1px solid var(--border); }
.demo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.demo .terminal__body { min-height: 220px; }
@media (max-width: 1000px) { .demo__grid { grid-template-columns: 1fr; } }

/* ============= TESTIMONIALS ============= */
.testimonials { padding: var(--s-7) 0; border-top: 1px solid var(--border); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.testimonial {
  margin: 0;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-5);
}
.testimonial blockquote {
  margin: 0 0 var(--s-5);
  color: var(--fg-0);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--fg-2);
}
.testimonial strong { color: var(--fg-0); font-weight: 500; }
.testimonial .verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.testimonial .verified svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* ============= PRICING ============= */
.pricing { padding: var(--s-7) 0; border-top: 1px solid var(--border); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  max-width: 880px;
  margin: 0 auto;
}
.plan {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
}
.plan--pro {
  border-color: var(--accent);
  box-shadow: 0 24px 80px -30px var(--accent-glow);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-0);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.plan__head { margin-bottom: var(--s-5); }
.plan__name { font-size: 22px; letter-spacing: 0.02em; color: var(--fg-0); margin-bottom: var(--s-2); }
.plan__price { color: var(--accent); font-size: 15px; margin-bottom: var(--s-2); }
.plan__amount { font-size: 32px; font-weight: 500; color: var(--fg-0); margin-right: 2px; }
.plan__period { color: var(--fg-2); font-size: 16px; }
.plan__sub { color: var(--fg-2); font-size: 15px; }
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.plan__features li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 15px;
  color: var(--fg-1);
}
.plan__features li.muted { color: var(--fg-2); }
.check { color: var(--accent); font-weight: 700; }
.cross { color: var(--fg-2); font-weight: 700; }

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

/* ============= FAQ ============= */
.faq { padding: var(--s-7) 0; border-top: 1px solid var(--border); }
.faq__list { display: flex; flex-direction: column; gap: var(--s-3); }
.faq details {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: var(--s-4) var(--s-5);
  transition: border-color 200ms ease;
}
.faq details[open] { border-color: rgba(124, 255, 178, 0.2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--fg-0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  font-weight: 300;
  transition: transform 200ms ease;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq p {
  margin-top: var(--s-3);
  color: var(--fg-1);
  font-size: 16px;
}

/* ============= FINAL CTA ============= */
.cta-final {
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124, 255, 178, 0.08), transparent 70%),
    var(--bg-0);
}
.cta-final__title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  margin-bottom: var(--s-6);
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============= FOOTER ============= */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--s-7) 0 var(--s-5);
  background: var(--bg-0);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--s-6);
  align-items: start;
}
.footer__logo { height: 28px; width: auto; margin-bottom: var(--s-3); }
.footer__tag { color: var(--fg-2); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.footer__cols div { display: flex; flex-direction: column; gap: var(--s-3); }
.footer__col-title { color: var(--fg-2); margin-bottom: 4px; }
.footer__cols a { font-size: 14px; color: var(--fg-1); }
.footer__cols a:hover { color: var(--fg-0); }
.footer__bottom {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--fg-2);
}
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ============= MOTION REDUCTION ============= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__grid, .pill__dot, .watch__pill--alert, .cursor { animation: none !important; }
  .watch__card { opacity: 1; transform: none; }
}
