@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --bg: #0b0f1a;
  --surface: #111827;
  --card: #172033;
  --border: #1e2d45;
  --border-hover: #283f5e;
  --accent: #d52b1e;
  --accent-hover: #e2382b;
  --secondary: #f4f1ea;
  --text2: #7a90af;
  --text3: #3d5070;
  --cyan: #00e5ff;
  --discord: #5865f2;
  --discord-hover: #4a54d1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--secondary);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-display {
  font-family: "Space Grotesk", sans-serif;
}

.font-mono {
  font-family: "JetBrains Mono", monospace;
}

a {
  color: inherit;
}

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

/* ── Ambient HUD texture, same recipe as the member dashboard: a faint
   fixed grid plus a slow scanline sweep, restrained enough to read as
   background texture rather than compete with content. ── */
.hud-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hud-scanline {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(rgba(0, 229, 255, 0) 0%, rgba(0, 229, 255, 0.06) 50%, rgba(0, 229, 255, 0) 100%);
  background-size: 100% 240px;
  background-repeat: no-repeat;
  animation: scan-sweep 9s linear infinite;
}

@keyframes scan-sweep {
  0% {
    background-position: 0 -240px;
  }
  100% {
    background-position: 0 100vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hud-scanline {
    animation: none;
  }
}

.text-glow {
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 26, 0.75);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease, background-color 300ms ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 15, 26, 0.92);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--secondary);
}
.brand-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.875rem;
  color: var(--text2);
}
.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 200ms ease;
}
.nav-links a:hover {
  color: var(--cyan);
}
@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-cta-desktop {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}
.nav-cta-desktop {
  display: none;
}
.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--secondary);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 26, 0.97);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  padding: 12px 4px;
  text-decoration: none;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.nav-mobile a:last-child {
  border-bottom: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 260ms ease, box-shadow 260ms ease,
    border-color 260ms ease;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.98);
}
.btn-lg {
  padding: 16px 30px;
  font-size: 1rem;
}
.btn-discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 10px 40px -10px rgba(88, 101, 242, 0.55);
}
.btn-discord:hover {
  background: var(--discord-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 50px -10px rgba(88, 101, 242, 0.7);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--secondary);
}
.btn-ghost:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 24px -6px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

/* ── Panels (HUD card with cyan corner brackets) ── */
.panel {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(23, 32, 51, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 30px -14px rgba(0, 0, 0, 0.6);
  transition: border-color 300ms ease, box-shadow 300ms ease;
  padding: 28px 24px;
}
.panel:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 8px 30px -14px rgba(0, 0, 0, 0.6), 0 0 28px -8px rgba(0, 229, 255, 0.3);
}
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0.45;
  transition: opacity 300ms ease;
}
.panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
  border-top-left-radius: 4px;
}
.panel::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  border-bottom-right-radius: 4px;
}
.panel:hover::before,
.panel:hover::after {
  opacity: 1;
}

/* ── Layout helpers ── */
main {
  position: relative;
  z-index: 1;
}
section {
  padding: 96px 0;
}
.section-lead {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.06);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px 2px rgba(0, 229, 255, 0.7);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 14px;
}
.section-lead p {
  color: var(--text2);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Hero ── */
.hero {
  padding: 120px 0 100px;
  text-align: center;
}
.hero-mark {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 28px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 auto 20px;
  max-width: 780px;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text2);
  font-size: 1.1rem;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 52px;
}
.retailer-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text2);
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 16px;
  transition: box-shadow 300ms ease, color 300ms ease, border-color 300ms ease;
}
.chip:hover {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 16px -4px rgba(0, 229, 255, 0.6);
}

/* ── Feature grid ── */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--cyan);
  margin-bottom: 16px;
}
.panel h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.panel p {
  color: var(--text2);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Steps ── */
.steps {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step {
  display: flex;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
}
.step:last-child {
  border-bottom: none;
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: var(--card);
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px -2px rgba(0, 229, 255, 0.5);
}
.step-body h4 {
  margin: 3px 0 4px;
  font-size: 0.98rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}
.step-body p {
  margin: 0;
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── Pay After Success ── */
.pas {
  text-align: center;
}
.pas-panel {
  max-width: 700px;
  margin: 0 auto;
  padding: 44px 36px;
}
.pas-panel p {
  color: var(--text2);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 20px;
}
.pas-panel p:last-child {
  margin-bottom: 0;
}
.pas-panel strong {
  color: var(--secondary);
}

/* ── Tiers ── */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tier-panel {
  text-align: center;
}
.tier-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.tier-gold .tier-name {
  color: #f5c451;
}
.tier-silver .tier-name {
  color: #c7d2e0;
}
.tier-bronze .tier-name {
  color: #d98a5f;
}

/* ── FAQ ── */
.faq {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--secondary);
  text-align: left;
  padding: 20px 4px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-q:hover {
  color: var(--cyan);
}
.faq-icon {
  flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
  color: var(--cyan);
  transition: transform 250ms ease;
  font-size: 1.1rem;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.faq-item.open .faq-a {
  max-height: 240px;
}
.faq-a p {
  margin: 0 4px 20px;
  color: var(--text2);
  font-size: 0.94rem;
  line-height: 1.65;
}
.faq-a a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Final CTA ── */
.final-cta {
  text-align: center;
}
.final-cta-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 36px;
  text-align: center;
}
.final-cta-panel h2 {
  margin-bottom: 12px;
}
.final-cta-panel p {
  color: var(--text2);
  margin: 0 0 30px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--secondary);
}
.footer-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 0.85rem;
  color: var(--text2);
}
.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: color 200ms ease;
}
.footer-links a:hover {
  color: var(--cyan);
}
.footer-note {
  font-size: 0.78rem;
  color: var(--text3);
  max-width: 620px;
  line-height: 1.6;
}
.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text3);
  text-align: center;
}

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