/* ═══════════════════════════════════════════════════════
   VRKids — "Stellar Academy" Design System
   Dark cosmic base · Electric violet · Neon cyan · Gold
   Fonts: Fredoka One (display) + Nunito (body)
═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:        #07061A;
  --bg-2:      #0D0B2B;
  --bg-3:      #130F38;
  --bg-card:   rgba(255,255,255,0.04);

  /* Brand palette */
  --violet:    #8B5CF6;
  --violet-l:  #A78BFA;
  --violet-d:  #5B21B6;
  --cyan:      #22D3EE;
  --cyan-l:    #67E8F9;
  --yellow:    #FCD34D;
  --pink:      #F472B6;
  --green:     #34D399;

  /* Gradients */
  --grad:      linear-gradient(135deg, #8B5CF6 0%, #22D3EE 100%);
  --grad-gold: linear-gradient(135deg, #FCD34D 0%, #F472B6 100%);
  --grad-soft: linear-gradient(135deg, rgba(139,92,246,.15) 0%, rgba(34,211,238,.15) 100%);

  /* Glass */
  --glass:      rgba(255,255,255,0.05);
  --glass-b:    rgba(255,255,255,0.10);
  --glass-bdr:  rgba(255,255,255,0.09);

  /* Text */
  --white:  #FFFFFF;
  --w-80:   rgba(255,255,255,0.80);
  --w-60:   rgba(255,255,255,0.60);
  --w-40:   rgba(255,255,255,0.40);
  --w-15:   rgba(255,255,255,0.15);

  /* Typography */
  --font-head: 'Fredoka One', cursive;
  --font-body: 'Nunito', sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shape */
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 100px;

  /* Layout */
  --nav-h: 74px;
  --max:   1240px;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.65;
}
a    { text-decoration: none; color: inherit; }
img  { display: block; max-width: 100%; height: auto; }
ul   { list-style: none; }
button { border: none; background: none; font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

/* ── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 4px; }

/* ── STARFIELD CANVAS ──────────────────────────────── */
#starCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ── AMBIENT ORBS ──────────────────────────────────── */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--violet);
  top: -200px; right: -100px;
  animation-duration: 22s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: var(--cyan);
  bottom: 0; left: -150px;
  animation-duration: 28s;
  animation-delay: -8s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: var(--pink);
  top: 40%; left: 50%;
  opacity: 0.10;
  animation-duration: 35s;
  animation-delay: -14s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

/* ── LAYOUT ────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.section-pad { padding: 100px 0; }

/* ── TYPOGRAPHY ────────────────────────────────────── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.1;
  margin: 12px 0 20px;
  letter-spacing: .01em;
}
.section-body {
  font-size: 17px;
  color: var(--w-60);
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 20px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: var(--pill);
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.35);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet-l);
  margin-bottom: 16px;
}
.section-head { text-align: center; margin-bottom: 60px; }

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--pill);
  background: var(--grad);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 0 28px rgba(139,92,246,.35);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 48px rgba(139,92,246,.55); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--pill);
  background: var(--glass);
  border: 1px solid var(--glass-bdr);
  color: var(--w-80);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  transition: all .3s var(--ease);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  border-color: rgba(139,92,246,.5);
  background: rgba(139,92,246,.1);
  color: var(--white);
  transform: translateY(-3px);
}
.btn-full { width: 100%; justify-content: center; }

/* ── NAVBAR ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background .4s, box-shadow .4s;
}
.navbar.scrolled {
  background: rgba(7,6,26,.90);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(139,92,246,.2);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: .02em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  /* Override gradient clip so image shows normally */
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--w-60);
  position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--pill);
  background: var(--grad);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 0 20px rgba(139,92,246,.4);
  flex-shrink: 0;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(139,92,246,.6); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1100;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0; top: var(--nav-h);
  background: rgba(7,6,26,.97);
  backdrop-filter: blur(40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 999;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mob-link {
  font-family: var(--font-head);
  font-size: clamp(28px, 8vw, 44px);
  color: var(--w-60);
  transition: color .25s;
}
.mob-link:hover { color: var(--violet-l); }

/* Desktop hide / show */
@media (max-width: 768px) {
  .nav-links, .btn-cta.desktop-only { display: none; }
  .burger { display: flex; }
  /* Show CTA in mobile drawer only */
}
@media (max-width: 768px) {
  .nav-inner > .btn-cta { display: none; }
}
@media (min-width: 769px) {
  .mobile-drawer { display: none; }
}

/* ── HERO ──────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  z-index: 1;

  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  gap: 48px;
}

.hero-left {
  flex: 1;
  min-width: 0;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: var(--pill);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--cyan-l);
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0   rgba(34,211,238,.8); }
  55%      { box-shadow: 0 0 0 7px rgba(34,211,238,0);  }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: .01em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--w-60);
  font-weight: 500;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; }
.hstat-num {
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hstat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--w-40);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.hstat-div { width: 1px; height: 40px; background: var(--glass-bdr); }

/* Hero right */
.hero-right { flex-shrink: 0; }

.hero-img-wrap {
  position: relative;
  width: clamp(300px, 40vw, 520px);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,.2);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ring-spin 30s linear infinite;
}
.ring-1 { width: 110%; padding-top: 110%; margin-top: -55%; margin-left: -55%; }
.ring-2 {
  width: 130%; padding-top: 130%; margin-top: -65%; margin-left: -65%;
  border-style: dashed;
  border-color: rgba(34,211,238,.12);
  animation-duration: 45s;
  animation-direction: reverse;
}
.ring-1::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: var(--violet-l);
  border-radius: 50%;
  top: 6%; right: 10%;
  box-shadow: 0 0 20px var(--violet);
}
@keyframes ring-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(139,92,246,.28) 0%, transparent 68%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}

.hero-img {
  width: 100%;
  border-radius: var(--r-xl);
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
  border: 1px solid var(--glass-bdr);
}

/* Spinning planet */
.planet {
  position: absolute;
  width: clamp(90px, 14vw, 160px);
  right: -10%;
  bottom: -8%;
  z-index: 3;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(252,211,77,.3);
  animation: planet-orbit 20s linear infinite;
}
@keyframes planet-orbit {
  0%   { transform: rotate(0deg)   translateX(24px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(24px) rotate(-360deg); }
}

/* Float chips */
.float-chip {
  position: absolute;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: rgba(13,11,43,.85);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 800;
  color: var(--w-80);
  white-space: nowrap;
  z-index: 4;
  letter-spacing: .04em;
}
.chip-a {
  top: 8%; left: -12%;
  animation: float-a 7s ease-in-out infinite;
}
.chip-b {
  bottom: 14%; left: -8%;
  animation: float-b 8s ease-in-out infinite 1.5s;
}
@keyframes float-a {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}
@keyframes float-b {
  0%,100% { transform: translateY(0) rotate(1deg); }
  50%      { transform: translateY(10px) rotate(-1deg); }
}

/* Hero responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(var(--nav-h) + 20px);
    padding-bottom: 60px;
    min-height: auto;
    gap: 36px;
  }
  .hero-left { padding: 0; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-right { order: -1; }
  .hero-img-wrap { width: min(340px, 85vw); }
  .chip-a, .chip-b { display: none; }
  .ring { display: none; }
}

/* ── GUIDE SECTION ─────────────────────────────────── */
.guide {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.guide-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
}
.guide-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(34,211,238,.18) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.guide-img {
  width: 100%;
  border-radius: var(--r-xl);
  position: relative;
  z-index: 1;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  border: 1px solid var(--glass-bdr);
}
.guide-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 3;
  background: var(--grad);
  padding: 18px 22px;
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: 0 16px 48px rgba(139,92,246,.4);
}
.badge-num {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1;
  color: var(--white);
}
.guide-badge span:last-child {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-top: 4px;
  display: block;
}

.guide-checklist {
  margin: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-checklist li {
  font-size: 15px;
  font-weight: 600;
  color: var(--w-60);
}
.guide-checklist li::first-letter { color: var(--cyan); }

@media (max-width: 900px) {
  .guide {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .guide-checklist { align-items: center; }
  .guide-badge { right: 0; bottom: -16px; }
}

/* ── FEATURES ──────────────────────────────────────── */
.features {
  position: relative;
  z-index: 1;
  padding-left: 24px;
  padding-right: 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .4s;
}
.feat-card:hover {
  border-color: rgba(139,92,246,.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(139,92,246,.1);
}
.feat-card:hover::before { opacity: 1; }
.feat-icon {
  font-size: 36px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.feat-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.feat-card p {
  font-size: 14px;
  color: var(--w-60);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ── GAMES SHOWCASE ────────────────────────────────── */
.games-section {
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto 48px;
}
.game-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--glass-bdr);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 70px rgba(139,92,246,.2);
}
.game-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.game-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}
.game-card:hover .game-img-wrap img { transform: scale(1.08); }
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,6,26,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s;
}
.game-card:hover .game-overlay { opacity: 1; }
.game-overlay span {
  padding: 10px 22px;
  border-radius: var(--pill);
  background: var(--grad);
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
}
.game-info { padding: 16px; }
.game-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet-l);
  background: rgba(139,92,246,.15);
  padding: 3px 10px;
  border-radius: var(--pill);
  display: inline-block;
  margin-bottom: 8px;
}
.game-name {
  font-family: var(--font-head);
  font-size: 16px;
  margin-bottom: 6px;
}
.game-stars { font-size: 12px; color: var(--yellow); }

.games-cta { text-align: center; }

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

/* ── HOW IT WORKS ──────────────────────────────────── */
.how-section {
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: border-color .3s, transform .3s var(--ease);
}
.step-card:hover {
  border-color: rgba(139,92,246,.4);
  transform: translateY(-5px);
}
.step-num {
  font-family: var(--font-head);
  font-size: 48px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .3;
  margin-bottom: 12px;
}
.step-icon { font-size: 40px; margin-bottom: 16px; }
.step-card h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 12px; }
.step-card p { font-size: 14px; color: var(--w-60); line-height: 1.7; }
.step-connector {
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 2px;
  opacity: .3;
}
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
  }
  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--violet), var(--cyan));
  }
}

/* ── TESTIMONIALS ──────────────────────────────────── */
.testi-section {
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .3s, transform .3s var(--ease);
}
.testi-card:hover {
  border-color: rgba(34,211,238,.3);
  transform: translateY(-5px);
}
.testi-stars { color: var(--yellow); font-size: 16px; margin-bottom: 16px; letter-spacing: .05em; }
.testi-quote {
  font-size: 14px;
  color: var(--w-60);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}
.testi-name {
  font-family: var(--font-head);
  font-size: 15px;
}
.testi-role { font-size: 12px; color: var(--w-40); font-weight: 600; margin-top: 2px; }

@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .testi-grid { grid-template-columns: 1fr; } }

/* ── PRICING ───────────────────────────────────────── */
.pricing-section {
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-featured {
  border-color: rgba(139,92,246,.5);
  background: linear-gradient(180deg, rgba(139,92,246,.12) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 60px rgba(139,92,246,.15);
  transform: scale(1.03);
}
.plan-featured:hover { transform: scale(1.03) translateY(-6px); }
.plan-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  padding: 4px 18px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.plan-badge {
  font-family: var(--font-head);
  font-size: 22px;
  margin-bottom: 16px;
}
.plan-price {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  line-height: 1;
}
.plan-price > :first-child {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--w-60);
  align-self: flex-start;
  margin-top: 6px;
}
.plan-num {
  font-family: var(--font-head);
  font-size: 52px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plan-cents { font-family: var(--font-head); font-size: 24px; color: var(--w-60); }
.plan-per { font-size: 13px; color: var(--w-40); font-weight: 700; margin-bottom: 4px; }
.plan-desc { font-size: 14px; color: var(--w-60); margin: 8px 0 24px; font-weight: 600; }
.plan-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 14px;
  color: var(--w-80);
  font-weight: 600;
}
.plan-features li::first-letter { color: var(--cyan); }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-6px); }
}

/* ── NEWSLETTER ────────────────────────────────────── */
.newsletter-section {
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.nl-glow {
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle, rgba(139,92,246,.12) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.nl-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.nl-input {
  flex: 1;
  min-width: 240px;
  padding: 14px 22px;
  border-radius: var(--pill);
  background: var(--glass);
  border: 1px solid var(--glass-bdr);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.nl-input::placeholder { color: var(--w-40); }
.nl-input:focus {
  border-color: rgba(139,92,246,.6);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}
.nl-note {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  min-height: 20px;
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  padding: 72px 24px 36px;
  border-top: 1px solid var(--glass-bdr);
  background: var(--bg-2);
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  margin-bottom: 16px;
  display: inline-flex;
}
.footer-tagline {
  font-size: 14px;
  color: var(--w-40);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-bdr);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  color: var(--w-60);
  transition: all .25s;
}
.social-btn:hover {
  background: rgba(139,92,246,.2);
  border-color: rgba(139,92,246,.4);
  color: var(--violet-l);
  transform: translateY(-2px);
}
.fcol-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--w-40);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  font-weight: 600;
  color: var(--w-60);
  transition: color .25s;
}
.footer-col a:hover { color: var(--cyan-l); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--glass-bdr);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--w-40); font-weight: 600; }
.footer-nk { font-size: 13px; color: var(--w-40); font-weight: 600; }
.footer-nk a {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  transition: opacity .25s;
}
.footer-nk a:hover { opacity: .75; }

@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── SCROLL REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── REDUCED MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}