/* ============================================
   BLASTBEAT — Gen Z 2026 Enhancement Layer
   Bold. Vibrant. Unapologetic.
   ============================================ */

/* Extended palette — electric & vibrant */
:root {
  --neon-pink: #FF2D78;
  --neon-cyan: #00F5FF;
  --neon-lime: #B8FF00;
  --electric-purple: #A855F7;
  --electric-blue: #6366F1;
  --hot-coral: #FF6B6B;
  --sunset-orange: #FF8C42;
  --deep-navy: #0F0F1A;
  --dark-surface: #1A1A2E;
  --dark-card: #16213E;

  --gradient-primary: linear-gradient(135deg, #6366F1 0%, #A855F7 50%, #FF2D78 100%);
  --gradient-sunset: linear-gradient(135deg, #FF6B6B 0%, #FF8C42 50%, #FFD93D 100%);
  --gradient-ocean: linear-gradient(135deg, #00F5FF 0%, #6366F1 100%);
  --gradient-aurora: linear-gradient(135deg, #B8FF00 0%, #00F5FF 50%, #A855F7 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, #6366F1 0%, transparent 50%),
                   radial-gradient(at 80% 0%, #FF2D78 0%, transparent 50%),
                   radial-gradient(at 0% 50%, #00F5FF 0%, transparent 50%),
                   radial-gradient(at 80% 80%, #A855F7 0%, transparent 50%);
}

/* ---- Gen Z Typography ---- */
.text-chunky {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.text-glow {
  text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.text-gradient-vivid {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-sunset {
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-aurora {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-outline {
  -webkit-text-stroke: 2px var(--text-primary);
  -webkit-text-fill-color: transparent;
}

.text-uppercase-sm {
  text-transform: uppercase;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* ---- Glow Buttons ---- */
.btn-glow {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 16px 36px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  filter: blur(12px);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  color: white;
}

.btn-glow:active {
  transform: translateY(0) scale(0.98);
}

.btn-glow:hover::before {
  opacity: 1;
}

.btn-pill {
  border-radius: var(--radius-full);
  padding: 14px 32px;
}

.btn-outline-glow {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  font-weight: 700;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  user-select: none;
  -webkit-user-select: none;
}

.btn-outline-glow:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
  transform: translateY(-1px);
}

.btn-outline-glow:active {
  transform: translateY(0) scale(0.98);
}

/* ---- Glass Cards (Gen Z staple) ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.3s ease;
  overflow: hidden;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(99, 102, 241, 0.15);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.3s ease;
  overflow: hidden;
}

.glass-card-light:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

/* ---- Gradient Border Cards ---- */
.gradient-border {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  overflow: hidden;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: calc(var(--radius-xl) + 2px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
  opacity: 1;
}

/* ---- Neo-Brutalist Accent Elements ---- */
.neo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--neon-lime);
  color: var(--deep-navy);
  font-weight: 800;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  border: 2px solid var(--deep-navy);
  box-shadow: 3px 3px 0 var(--deep-navy);
}

.neo-tag-pink {
  background: var(--neon-pink);
  color: white;
  border-color: var(--neon-pink);
  box-shadow: 3px 3px 0 rgba(255, 45, 120, 0.3);
}

.neo-tag-cyan {
  background: var(--neon-cyan);
  color: var(--deep-navy);
  border-color: var(--deep-navy);
  box-shadow: 3px 3px 0 var(--deep-navy);
}

.neo-tag-glow {
  box-shadow: 0 0 15px rgba(184, 255, 0, 0.3);
}

/* ---- Dark Hero Sections ---- */
.hero-dark {
  background: var(--deep-navy);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

.hero-dark h1,
.hero-dark h2,
.hero-dark h3 {
  color: white;
}

.hero-dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* Neon glow on images in dark hero sections */
.hero-dark img {
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2), 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-dark img:hover {
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.35), 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Mesh gradient background */
.bg-mesh {
  background-color: var(--deep-navy);
  background-image: var(--gradient-mesh);
}

.bg-mesh-light {
  background-color: #F8FAFC;
  background-image:
    radial-gradient(at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(at 80% 10%, rgba(255, 45, 120, 0.06) 0%, transparent 50%),
    radial-gradient(at 50% 80%, rgba(0, 245, 255, 0.05) 0%, transparent 50%);
}

/* ---- Animated Gradient Orbs ---- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.orb-1 {
  width: min(300px, 40vw);
  height: min(300px, 40vw);
  background: var(--electric-purple);
  top: -10%;
  right: -5%;
  animation: orb-float 12s ease-in-out infinite;
}

.orb-2 {
  width: min(240px, 30vw);
  height: min(240px, 30vw);
  background: var(--neon-cyan);
  bottom: -5%;
  left: 10%;
  animation: orb-float 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: min(200px, 25vw);
  height: min(200px, 25vw);
  background: var(--neon-pink);
  top: 40%;
  left: 50%;
  animation: orb-float 14s ease-in-out infinite 2s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ---- Scroll Reveal (JS triggers .revealed) ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Marquee / Ticker ---- */
.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-4) 0;
}

.ticker {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-8);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: rgba(255, 255, 255, 0.25);
}

.ticker-item .dot {
  width: 8px;
  height: 8px;
  background: var(--electric-purple);
  border-radius: 50%;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Interactive Number Counter ---- */
.counter-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

/* ---- Stacked Cards / Bento Grid ---- */
.bento-grid {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
}

.bento-item {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  contain: layout;
}

.bento-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
}

/* Glow on glass-card borders in dark sections */
.section-dark .glass-card {
  border-color: rgba(99, 102, 241, 0.15);
}

.section-dark .glass-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.15);
}

.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }
.bento-tall { grid-row: span 2; }

/* ---- Pill Nav / Tag Cloud ---- */
.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  transition: all 0.2s ease;
  cursor: default;
}

.pill:hover {
  border-color: var(--electric-purple);
  color: var(--electric-purple);
  background: rgba(168, 85, 247, 0.05);
}

.pill-filled {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

/* ---- Emoji Accents (bigger, more playful) ---- */
.emoji-xl {
  font-size: 3rem;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-4);
}

.emoji-spin {
  display: inline-block;
  animation: emoji-spin 3s ease-in-out infinite;
}

@keyframes emoji-spin {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  75% { transform: rotate(-10deg); }
}

/* ---- Stat with animated underline ---- */
.stat-highlight {
  position: relative;
  display: inline-block;
}

.stat-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-highlight.revealed::after {
  transform: scaleX(1);
}

/* ---- Floating Action Badge ---- */
.fab-badge {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
}

.fab-badge a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 24px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.fab-badge a:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
  color: white;
}

/* ---- Dark sections override ---- */
.section-dark {
  background: var(--deep-navy);
  color: white;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: white;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.65);
}

/* ---- Responsive Gen Z ---- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-span-3 { grid-column: span 2; }

  /* Override any inline 5-column grids on tablet */
  .bento-grid[style*="repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Cap orb sizes on tablet */
  .orb-1 { width: min(280px, 35vw); height: min(280px, 35vw); }
  .orb-2 { width: min(220px, 28vw); height: min(220px, 28vw); }
  .orb-3 { width: min(180px, 22vw); height: min(180px, 22vw); }
}

@media (max-width: 768px) {
  /* Bento grid: collapse to 1 column, all spans become 1 */
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-4);
  }
  .bento-span-2,
  .bento-span-3 { grid-column: span 1 !important; }
  .bento-tall { grid-row: span 1 !important; }

  /* Override any inline multi-column grids */
  .bento-grid[style*="repeat(5"],
  .bento-grid[style*="repeat(4"],
  .bento-grid[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  .counter-number {
    font-size: var(--text-3xl) !important;
  }

  .ticker-item {
    font-size: var(--text-base);
    padding: 0 var(--space-3);
  }

  .ticker-wrap {
    max-width: 100vw;
    overflow: hidden;
  }

  /* Glow buttons: full-width stacked */
  .btn-glow,
  .btn-outline-glow {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Hero dark: prevent overflow */
  .hero-dark {
    overflow: hidden;
  }

  /* Orbs: smaller on mobile */
  .orb-1 { width: 180px; height: 180px; }
  .orb-2 { width: 140px; height: 140px; }
  .orb-3 { width: 100px; height: 100px; }

  /* Text glow: reduce spread on mobile */
  .text-glow {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  }

  /* Gradient text in hero: ensure readability */
  .text-gradient-vivid,
  .text-gradient-sunset,
  .text-gradient-aurora {
    display: inline;
  }

  /* Glass card hover: disable transform on mobile (prevents layout shift) */
  .glass-card:hover,
  .glass-card-light:hover {
    transform: none;
  }

  /* Bento item hover: disable on mobile */
  .bento-item:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  /* Even smaller orbs */
  .orb-1 { width: 120px; height: 120px; opacity: 0.25; }
  .orb-2 { width: 90px; height: 90px; opacity: 0.2; }
  .orb-3 { width: 70px; height: 70px; opacity: 0.15; }

  .bento-grid {
    gap: var(--space-3) !important;
  }

  /* Ticker: even smaller */
  .ticker-item {
    font-size: var(--text-sm);
    padding: 0 var(--space-2);
  }

  /* Neo tags: compact */
  .neo-tag,
  .neo-tag-pink,
  .neo-tag-cyan {
    font-size: 0.6rem;
    padding: 4px 10px;
    box-shadow: 2px 2px 0 var(--deep-navy);
  }

  /* Pill nav: compact */
  .pill-cloud .pill {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  /* Stat highlight */
  .stat-highlight::after {
    height: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .ticker, .emoji-spin, .reveal {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* High contrast support for Gen Z elements */
@media (forced-colors: active) {
  .glass-card,
  .glass-card-light,
  .gradient-border,
  .bento-item {
    border: 2px solid ButtonText;
  }
  .text-gradient-vivid,
  .text-gradient-sunset,
  .text-gradient-aurora {
    -webkit-text-fill-color: unset;
    background: none;
  }
  .neo-tag,
  .neo-tag-pink,
  .neo-tag-cyan {
    border: 2px solid ButtonText;
    box-shadow: none;
  }
  .btn-glow,
  .btn-outline-glow {
    border: 2px solid ButtonText;
  }
  .btn-glow::before {
    display: none;
  }
}

/* ---- Dark hero section ---- */
.hero-dark {
  min-height: 100vh;
  background: var(--deep-navy);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 4rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.bg-mesh {
  background-color: var(--deep-navy);
  background-image:
    radial-gradient(at 20% 30%, rgba(99,102,241,0.25) 0%, transparent 55%),
    radial-gradient(at 80% 10%, rgba(255,45,120,0.2) 0%, transparent 50%),
    radial-gradient(at 60% 80%, rgba(168,85,247,0.15) 0%, transparent 50%),
    radial-gradient(at 10% 80%, rgba(0,245,255,0.12) 0%, transparent 40%);
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 { width: 600px; height: 600px; background: rgba(99,102,241,0.18); top: -20%; left: -10%; }
.orb-2 { width: 400px; height: 400px; background: rgba(255,45,120,0.15); top: 10%; right: -5%; }
.orb-3 { width: 350px; height: 350px; background: rgba(0,245,255,0.12); bottom: -10%; left: 30%; }

/* Ticker */
.ticker-wrap { overflow: hidden; padding: 14px 0; }
.ticker { display: flex; gap: 0; animation: ticker 25s linear infinite; width: max-content; }
.ticker-item {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  padding: 0 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ticker-item .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--neon-pink);
  border-radius: 50%;
  margin-left: 24px;
  vertical-align: middle;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Neo tags */
.neo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.4);
  color: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.neo-tag-pink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,45,120,0.12);
  border: 1px solid rgba(255,45,120,0.35);
  color: var(--neon-pink);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.neo-tag-cyan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,245,255,0.1);
  border: 1px solid rgba(0,245,255,0.3);
  color: var(--neon-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Glass cards — high contrast */
.glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  color: white;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.bento-item {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.bento-item:hover { transform: scale(1.01); }
.bento-span-2 { grid-column: span 2; }

/* Gradient border card */
.gradient-border {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Section dark */
.section-dark {
  background: var(--dark-surface);
  color: white;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: white; }
.section-dark p { color: rgba(255,255,255,0.7); }

/* Outline glow button */
.btn-outline-glow {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-full);
  padding: 16px 36px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-outline-glow:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  color: #fff;
}

/* Emoji utilities */
.emoji-xl { font-size: 2.5rem; display: block; margin-bottom: var(--space-4); }
.emoji-spin { display: inline-block; animation: spin 3s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Pill cloud */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-4); }
.pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  display: inline-block;
}
.pill-filled {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Bg variants */
.bg-mesh-light {
  background-color: #F8FAFC;
  background-image:
    radial-gradient(at 20% 50%, rgba(99,102,241,0.06) 0%, transparent 60%),
    radial-gradient(at 80% 20%, rgba(124,58,237,0.05) 0%, transparent 60%);
}

/* TV badge */
.tv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FF2D78, #FF8C42);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Founding badge */
.founding-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245,200,66,0.15), rgba(245,166,35,0.15));
  border: 1px solid rgba(245,200,66,0.4);
  color: #F5C842;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2 { grid-column: span 1; }
  .hero-dark { padding: calc(var(--nav-height) + 2rem) 0 3rem; }
}

/* ===================================================
   HORIZONTAL SCROLL + PHASE JOURNEY (2026 UPDATE)
   =================================================== */

/* Horizontal scroll track */
.h-scroll-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 var(--space-6) 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.h-scroll-track:active { cursor: grabbing; }
.h-scroll-track::-webkit-scrollbar { height: 3px; }
.h-scroll-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
.h-scroll-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.h-scroll-card {
  flex: 0 0 clamp(200px, 22vw, 256px);
  scroll-snap-align: start;
}

/* Role card in scroll track */
.role-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.role-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--team-accent, var(--gradient-primary));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.role-card:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.role-card-team {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}
.role-card-emoji { font-size: 1.75rem; margin-bottom: var(--space-3); }
.role-card-title { color: white; font-weight: 700; font-family: var(--font-heading); font-size: var(--text-sm); margin-bottom: 4px; }
.role-card-desc { color: rgba(255,255,255,0.72); font-size: 0.7rem; margin: 0; line-height: 1.4; }

/* Scroll hint bar */
.scroll-hint {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: rgba(255,255,255,0.25);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--space-4);
  user-select: none;
}
.scroll-hint::before, .scroll-hint::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* Phase journey — 4-column connected strips */
.phase-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #6366F1, #A855F7, #FF2D78, #FF8C42) 1;
  position: relative;
}
.phase-step {
  padding: var(--space-10) var(--space-8);
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
  cursor: default;
}
.phase-step:last-child { border-right: none; }
.phase-step:hover { background: rgba(255,255,255,0.03); }
.phase-step-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.phase-step:hover .phase-step-bg { opacity: 0.15; }
.phase-num {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: rgba(99,102,241,0.45);
  -webkit-text-stroke: 2px rgba(99,102,241,0.6);
  text-stroke: 2px rgba(99,102,241,0.6);
  margin-bottom: auto;
  transition: all 0.4s ease;
  display: block;
}
.phase-step:hover .phase-num {
  color: rgba(168,85,247,0.7);
  -webkit-text-stroke: 2px rgba(168,85,247,0.9);
  text-stroke: 2px rgba(168,85,247,0.9);
  text-shadow: 0 0 40px rgba(99,102,241,0.5);
}
.phase-content { padding-top: var(--space-8); }
.phase-title { color: white; font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-3); font-family: var(--font-heading); }
.phase-desc { color: rgba(255,255,255,0.75); font-size: var(--text-sm); line-height: 1.7; margin: 0; }

@media (max-width: 900px) {
  .phase-journey { grid-template-columns: repeat(2, 1fr); }
  .phase-step { min-height: 320px; padding: var(--space-8) var(--space-6); }
  .phase-num { font-size: clamp(3rem, 8vw, 4.5rem); }
}
@media (max-width: 540px) {
  .phase-journey { grid-template-columns: 1fr; }
  .h-scroll-card { flex: 0 0 clamp(170px, 72vw, 220px); }
  .role-card { height: 170px; }
}

/* ---- Sketch Icon Cards ---- */
.sketch-icon-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.sketch-icon-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(99,102,241,0.12);
}
.sketch-icon {
  width: 80px;
  height: 80px;
  color: var(--neon-cyan);
  margin-bottom: var(--space-5);
  filter: drop-shadow(0 0 8px rgba(0,245,255,0.25));
  transition: filter 0.3s ease;
}
.sketch-icon-card:hover .sketch-icon {
  filter: drop-shadow(0 0 14px rgba(0,245,255,0.5));
}
.sketch-icon-card h3 {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.sketch-icon-card p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
}

/* ---- Timeline ---- */
.bb-timeline {
  position: relative;
  padding-left: var(--space-10);
}
.bb-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--electric-blue), var(--electric-purple), var(--neon-pink));
}
.bb-timeline-item {
  position: relative;
  margin-bottom: var(--space-12);
}
.bb-timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-10) + 12px);
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 16px rgba(99,102,241,0.5);
  z-index: 1;
}
.bb-timeline-year {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.bb-timeline-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-top: var(--space-4);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---- Neon Nav Glow ---- */
.bb-nav-link {
  position: relative;
  transition: color 0.25s ease, text-shadow 0.25s ease, background 0.25s ease;
}
.bb-nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-ocean);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(0.5px);
}
.bb-nav-link:hover {
  color: white !important;
  text-shadow: 0 0 14px rgba(0,245,255,0.7), 0 0 28px rgba(0,245,255,0.3);
  background: rgba(0,245,255,0.06) !important;
}
.bb-nav-link:hover::after { width: 60%; }
.bb-nav-link.active {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 12px rgba(0,245,255,0.5);
  background: rgba(0,245,255,0.07) !important;
}
.bb-nav-link.active::after { width: 60%; }

/* ---- Sponsorship Marketplace ---- */
.school-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.school-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.school-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px rgba(99,102,241,0.1);
}
.school-card:hover::before { transform: scaleX(1); }
.school-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,45,120,0.15);
  color: var(--neon-pink);
  border: 1px solid rgba(255,45,120,0.3);
  margin-bottom: var(--space-3);
}
.school-card-badge.funded {
  background: rgba(184,255,0,0.1);
  color: var(--neon-lime);
  border-color: rgba(184,255,0,0.3);
}
.school-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: white;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.school-card-meta {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--space-4);
}
.school-card-needs {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.adopt-tier-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.adopt-tier-card.featured {
  border-color: rgba(168,85,247,0.4);
  background: rgba(168,85,247,0.06);
}
.adopt-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(99,102,241,0.15);
}
.adopt-tier-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-4xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}
