:root {
  --bg: #0a0a0f;
  --accent: #7b2fff;
  --accent-2: #00d4ff;
  --text: #ffffff;
  --muted: #8b8fa8;
  --card: #12121a;
  --border: #1e1e2e;
  --danger: #ff4f70;
  --shadow-violet: 0 0 44px rgba(123, 47, 255, 0.28);
  --shadow-cyan: 0 0 40px rgba(0, 212, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.section-shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.section-pad {
  padding: 92px 0;
}

#how,
#rewards,
#community,
#join,
.tiers-section {
  scroll-margin-top: 92px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(30, 30, 46, 0.72);
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-bolt {
  position: relative;
  width: 18px;
  height: 24px;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(123, 47, 255, 0.9));
}

.brand-bolt::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  clip-path: polygon(58% 0, 18% 52%, 48% 52%, 33% 100%, 84% 38%, 54% 38%);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.nav-links a,
.mobile-drawer a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.mobile-drawer a:hover,
.site-footer a:hover {
  color: var(--text);
}

.nav-cta,
.drawer-cta,
.button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(123, 47, 255, 0.55);
  border-radius: 999px;
  background: rgba(123, 47, 255, 0.18);
  color: var(--text);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  display: none;
  padding: 0 20px;
  box-shadow: 0 0 28px rgba(123, 47, 255, 0.26);
}

.button {
  width: 100%;
  padding: 0 22px;
}

.button-primary,
.submit-button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #9b66ff 56%, var(--accent-2));
  box-shadow: 0 0 34px rgba(123, 47, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button-secondary,
.tier-button {
  background: rgba(18, 18, 26, 0.7);
  border-color: var(--border);
}

.button:hover,
.nav-cta:hover,
.submit-button:hover,
.drawer-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-violet);
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(18, 18, 26, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 99px;
  background: var(--text);
}

.mobile-drawer {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  display: grid;
  gap: 16px;
  width: 100%;
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  border-bottom: 1px solid transparent;
  background: rgba(10, 10, 15, 0.96);
  color: var(--muted);
  transition: max-height 260ms ease, padding 260ms ease, border-color 260ms ease;
}

.mobile-drawer.is-open {
  max-height: 360px;
  padding: 22px 20px 26px;
  border-color: var(--border);
}

.drawer-cta {
  min-height: 48px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 116px 0 72px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -5;
  content: "";
  background:
    radial-gradient(circle at 17% 30%, rgba(123, 47, 255, 0.44), transparent 31%),
    radial-gradient(circle at 79% 26%, rgba(0, 212, 255, 0.34), transparent 29%),
    radial-gradient(circle at 48% 82%, rgba(123, 47, 255, 0.26), transparent 34%),
    linear-gradient(180deg, #0a0a0f 0%, #090912 62%, #0a0a0f 100%);
  background-size: 130% 130%;
  animation: meshShift 14s ease-in-out infinite alternate;
}

.mesh {
  position: absolute;
  z-index: -4;
  border-radius: 999px;
  opacity: 0.55;
  filter: blur(42px);
}

.mesh-one {
  top: 18%;
  right: 8%;
  width: 280px;
  height: 280px;
  background: rgba(0, 212, 255, 0.22);
  animation: floatMesh 9s ease-in-out infinite;
}

.mesh-two {
  bottom: 13%;
  left: 7%;
  width: 340px;
  height: 340px;
  background: rgba(123, 47, 255, 0.3);
  animation: floatMesh 12s ease-in-out infinite reverse;
}

.particle-field,
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-grid {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 76%, transparent 100%);
}

.hero-shell {
  position: relative;
}

.hero-copy {
  max-width: 940px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.25rem, 10vw, 7.45rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d9dcf1;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.hero-actions {
  display: grid;
  gap: 14px;
  width: min(100%, 420px);
  margin-top: 34px;
}

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-stats span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-stats span:not(:last-child)::after {
  width: 1px;
  height: 16px;
  margin-left: 6px;
  background: var(--border);
  content: "";
}

.trust-stats strong {
  color: var(--text);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(18, 18, 26, 0.68);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 76px;
  animation: tickerScroll 31s linear infinite;
}

.ticker-track span {
  padding: 0 28px;
  color: rgba(255, 255, 255, 0.66);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.ticker-track i {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 + p,
.form-copy p {
  max-width: 650px;
  color: var(--muted);
}

.steps,
.tier-grid,
.feed-grid,
.reward-grid {
  display: grid;
  gap: 18px;
}

.interactive-card,
.feed-card,
.access-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 18, 26, 0.94), rgba(12, 12, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.interactive-card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.interactive-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(123, 47, 255, 0.7);
  box-shadow: var(--shadow-violet);
}

.step-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border-radius: 8px;
}

.step-number {
  color: rgba(255, 255, 255, 0.16);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 26px 0 22px;
  border: 1px solid rgba(0, 212, 255, 0.34);
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.08);
  box-shadow: var(--shadow-cyan);
}

.account-icon::before,
.play-icon::before,
.reward-icon::before {
  display: block;
  color: var(--accent-2);
  font-weight: 900;
}

.account-icon::before {
  content: "[]";
}

.play-icon::before {
  content: ">";
  transform: translateX(1px);
}

.reward-icon::before {
  content: "*";
}

.step-card p,
.reward-card p,
.tier-card li {
  color: var(--muted);
}

.reward-section,
.tiers-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(123, 47, 255, 0.14), transparent 28%),
    radial-gradient(circle at 86% 64%, rgba(0, 212, 255, 0.1), transparent 30%);
}

.reward-layout {
  display: grid;
  gap: 30px;
}

.reward-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(123, 47, 255, 0.32);
  border-radius: 8px;
  box-shadow: var(--shadow-violet);
}

.reward-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 10, 15, 0.18), rgba(10, 10, 15, 0.44));
  pointer-events: none;
}

.reward-visual img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.reward-card {
  display: grid;
  gap: 13px;
  min-height: 220px;
  padding: 24px;
  border-radius: 8px;
}

.reward-glyph {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 36px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cost-badge,
.popular-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(123, 47, 255, 0.46);
  border-radius: 999px;
  background: rgba(123, 47, 255, 0.13);
  color: #dfd4ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.feed-grid {
  grid-template-columns: 1fr;
}

.feed-card {
  display: grid;
  gap: 16px;
  min-height: 124px;
  padding: 22px;
  border-radius: 8px;
}

.feed-card span {
  color: #e8e9f6;
  font-weight: 700;
}

.feed-card strong {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-2);
  font-size: 0.82rem;
  animation: pointPulse 1.9s ease-in-out infinite;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px;
  border-radius: 8px;
}

.tier-featured {
  border-color: rgba(123, 47, 255, 0.78);
  box-shadow: 0 0 46px rgba(123, 47, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.popular-badge {
  margin-bottom: 18px;
  background: rgba(123, 47, 255, 0.22);
}

.tier-price {
  margin: 18px 0 18px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2.45rem;
  font-weight: 700;
  line-height: 1;
}

.tier-price span {
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
}

.tier-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.tier-card li {
  position: relative;
  padding-left: 22px;
}

.tier-card li::before {
  position: absolute;
  left: 0;
  color: var(--accent-2);
  content: "+";
  font-weight: 900;
}

.tier-card .button {
  margin-top: auto;
}

.form-section {
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.6), #0a0a0f),
    radial-gradient(circle at 72% 18%, rgba(123, 47, 255, 0.18), transparent 30%);
}

.form-shell {
  display: grid;
  gap: 34px;
  align-items: start;
}

.form-copy {
  position: sticky;
  top: 112px;
}

.access-card {
  padding: clamp(20px, 4vw, 34px);
  border-radius: 8px;
  box-shadow: 0 0 54px rgba(0, 212, 255, 0.08);
}

.access-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

label,
legend {
  color: #f3f4ff;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: rgba(8, 8, 13, 0.78);
  color: var(--text);
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 212, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.radio-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.radio-field label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 700;
}

.radio-field input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--accent);
}

.error {
  min-height: 18px;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 700;
}

.submit-button {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  cursor: pointer;
}

.success-state {
  display: grid;
  place-items: center;
  min-height: 420px;
  text-align: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border: 1px solid rgba(0, 212, 255, 0.62);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 2rem;
  box-shadow: var(--shadow-cyan);
}

.success-state p {
  max-width: 430px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.22rem;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #07070b;
}

.footer-shell {
  display: grid;
  gap: 26px;
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.footer-shell p,
.footer-shell nav {
  color: var(--muted);
}

.footer-shell nav,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-weight: 900;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes meshShift {
  0% {
    background-position: 0% 30%;
  }
  100% {
    background-position: 100% 70%;
  }
}

@keyframes floatMesh {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, -22px, 0) scale(1.08);
  }
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pointPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(0, 212, 255, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
  }
}

@media (min-width: 640px) {
  .hero-actions {
    display: flex;
    width: auto;
  }

  .button {
    width: auto;
    min-width: 190px;
  }

  .feed-grid,
  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none;
  }

  .steps,
  .tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tier-featured {
    transform: translateY(-16px);
  }

  .tier-featured:hover {
    transform: translateY(-21px) scale(1.01);
  }

  .footer-shell {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .reward-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .reward-layout .section-heading {
    grid-column: 1 / 2;
  }

  .reward-visual {
    grid-column: 1 / 2;
  }

  .reward-grid {
    grid-column: 2 / 3;
    grid-row: 1 / span 2;
  }

  .form-shell {
    grid-template-columns: 0.88fr 1.12fr;
  }
}

@media (max-width: 520px) {
  .section-pad {
    padding: 72px 0;
  }

  .site-header {
    padding: 14px 16px;
  }

  .hero {
    min-height: 100svh;
  }

  .trust-stats span {
    width: 100%;
  }

  .trust-stats span::after {
    display: none;
  }

  .form-copy {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
