* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Refined Color System - Subtle & Sophisticated */
  --primary: #007AFF;
  --secondary: #5856D6;
  --tertiary: #AF52DE;
  --accent: #34C759;
  --surface-1: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --surface-3: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.15);
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #86868b;
}

body {
  /* DM Sans - Clean, modern, with personality */
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  background: #000;
  color: #f5f5f7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 60px;
  font-weight: 400;
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  
  .hero {
    padding: 1.5rem 1rem !important;
  }
  
  section {
    padding: 4rem 1rem !important;
  }
}

/* Custom cursor - hidden */
.cursor {
  display: none;
}

.cursor-follower {
  display: none;
}

/* Animated gradient mesh - Subtle & Refined */
.gradient-mesh {
  position: fixed;
  inset: -50%;
  z-index: -1;
  opacity: 0.08;
  background: 
    radial-gradient(at 20% 30%, rgba(0, 122, 255, 0.04) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(88, 86, 214, 0.03) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(175, 82, 222, 0.02) 0px, transparent 50%);
  animation: gradientShift 20s ease infinite;
  filter: blur(100px);
}



@keyframes gradientShift {
  0%, 100% { transform: scale(1.8) rotate(0deg); }
  50% { transform: scale(2) rotate(5deg); }
}

/* Three.js canvas container */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

/* Separate canvas for blurred orbs */
#orbs-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  filter: blur(40px);
  transform: translate3d(0, 0, 0);
}

/* Premium Texture Overlay */


@keyframes iridescence {
  0%, 100% { 
    filter: hue-rotate(0deg) saturate(1.4) brightness(1.05);
  }
  33% { 
    filter: hue-rotate(-30deg) saturate(1.6) brightness(1.1);
  }
  66% { 
    filter: hue-rotate(30deg) saturate(1.5) brightness(1.08);
  }
}

/* Subtle Iridescent Effect for Interactive Elements (excluding mockups) */
.purple-glow-btn,
.waitlist-btn,
button[onclick*="share"],
.step-number,
.roadmap-number {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: iridescence 8s ease-in-out infinite;
}

/* Premium subtle texture */
.purple-glow-btn::before,
.waitlist-btn::before,
button[onclick*="share"]::before,
.step-number::before,
.roadmap-number::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(
      ellipse at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(200, 220, 255, 0.3) 0%,
      rgba(150, 150, 255, 0.15) 30%,
      transparent 70%
    );
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.6;
  transition: background-position 0.1s ease-out;
}

/* Holographic shimmer - blue/cyan/purple spectrum */
.purple-glow-btn::after,
.waitlist-btn::after,
button[onclick*="share"]::after,
.step-number::after,
.roadmap-number::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    var(--shimmer-angle, 45deg),
    transparent 20%,
    rgba(100, 150, 255, 0.4) 35%,
    rgba(150, 100, 255, 0.5) 50%,
    rgba(100, 220, 255, 0.4) 65%,
    transparent 80%
  );
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.3s ease, background 0.1s ease-out;
  animation: shimmer 4s ease infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

.purple-glow-btn:hover::after,
.waitlist-btn:hover::after,
button[onclick*="share"]:hover::after,
.step-number:hover::after,
.roadmap-number:hover::after {
  opacity: 1;
  animation: shimmer 2s ease infinite;
}

/* Add subtle iridescence to gradient text */
h1[style*="background-clip"],
[style*="-webkit-background-clip: text"] {
  animation: iridescence 10s ease-in-out infinite;
}

@keyframes spaceDrift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(var(--drift-x), var(--drift-y));
  }
}

/* Ambient orbs with enhanced glow */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 2;
  animation: orbFloat 30s ease-in-out infinite;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.04), transparent);
  top: -15%;
  left: -15%;
  filter: blur(160px);
}

.orb-2 {
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(88, 86, 214, 0.03), transparent);
  bottom: -20%;
  right: -15%;
  animation-delay: 10s;
  filter: blur(160px);
}

.orb-3 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(175, 82, 222, 0.025), transparent);
  top: 40%;
  right: -15%;
  animation-delay: 18s;
  filter: blur(160px);
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(120px, -80px, 60px) scale(1.1); }
  50% { transform: translate3d(-80px, 80px, -40px) scale(0.95); }
  75% { transform: translate3d(100px, 120px, 80px) scale(1.05); }
}

/* Hero section */
/* Main scroll container */
.main-scroll-container {
  width: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content {
  display: none; /* No longer used */
}

.hero-text-container {
  margin-bottom: 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
}

.hero-subtitle-container {
  margin-top: 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
}

h1 {
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: #f5f5f7;
  letter-spacing: -0.045em;
  text-align: center;
  text-shadow: 0 4px 24px rgba(99, 102, 241, 0.15);
}

.subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #86868b;
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

/* Interactive vibe meter with particles */
.vibe-meter {
  width: clamp(240px, 30vw + 100px, 500px);
  height: clamp(240px, 30vw + 100px, 500px);
  margin: 4rem 0;
  position: relative;
  cursor: pointer;
  z-index: 50;
  flex-shrink: 0;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: crystalFloat 6s ease-in-out infinite;
}

@keyframes crystalFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.vibe-meter:hover {
  transform: scale(1.03);
}

/* Removed external orbit particles - vortex now has internal fluid particles only */

.meter-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* CSS variables for dynamic light positioning */
  --light-x: 0px;
  --light-y: 0px;
  --light-secondary-x: 0px;
  --light-secondary-y: 0px;
  --light-secondary-opacity: 0.7;
  /* VibeCheck branded crystal sphere - cohesive purple theme */
  background: 
    /* Subtle edge highlight */
    radial-gradient(circle at 50% 50%, transparent 75%, rgba(88, 86, 214, 0.15) 82%, rgba(175, 82, 222, 0.25) 88%, transparent 95%),
    /* Inner depth with purple gradient */
    radial-gradient(circle at 50% 50%, rgba(88, 86, 214, 0.1) 0%, rgba(175, 82, 222, 0.08) 40%, rgba(88, 86, 214, 0.05) 75%, transparent 85%);
  
  /* Brand-colored glass edge */
  border: 1px solid rgba(88, 86, 214, 0.3);
  /* VibeCheck brand glow - purple signature */
  box-shadow: 
    /* Strong outer glow with purple signature */
    0 0 140px rgba(88, 86, 214, 0.4),
    0 0 80px rgba(175, 82, 222, 0.3),
    /* Glass edge with brand tint */
    inset 0 0 1px rgba(88, 86, 214, 0.7),
    inset 0 1px 2px rgba(175, 82, 222, 0.6),
    /* Inner shadow for depth */
    inset 0 0 60px rgba(0, 0, 0, 0.2),
    /* Drop shadow */
    0 30px 90px rgba(0, 0, 0, 0.5),
    0 12px 40px rgba(88, 86, 214, 0.2);
  
  /* Frosted glass material with brand tint */
  backdrop-filter: blur(40px) saturate(180%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: crystalPulse 6s ease-in-out infinite;
}

.meter-ring::before {
  content: '';
  position: absolute;
  top: 12%;
  left: 18%;
  width: 35%;
  height: 35%;
  border-radius: 50%;
  /* Bright specular highlight - characteristic of glass */
  background: radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 15%, rgba(255, 255, 255, 0.4) 40%, transparent 65%);
  filter: blur(10px);
  opacity: 1;
  pointer-events: none;
  transition: transform 0.15s ease-out;
  transform: translate(var(--light-x), var(--light-y));
}

.meter-ring::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 18%;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  /* Secondary reflection/subsurface scatter */
  background: 
    radial-gradient(ellipse at 60% 60%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 25%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.3), transparent 50%);
  filter: blur(12px);
  opacity: var(--light-secondary-opacity);
  pointer-events: none;
  mix-blend-mode: screen;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
  transform: translate(var(--light-secondary-x), var(--light-secondary-y));
}

@keyframes crystalPulse {
  0%, 100% { 
    box-shadow: 
      0 0 120px rgba(99, 102, 241, 0.25),
      inset 0 0 1px rgba(255, 255, 255, 0.6),
      inset 0 1px 2px rgba(255, 255, 255, 0.4),
      inset 0 0 40px rgba(0, 0, 0, 0.1),
      0 30px 90px rgba(0, 0, 0, 0.4),
      0 12px 40px rgba(0, 0, 0, 0.3);
  }
  50% { 
    box-shadow: 
      0 0 140px rgba(99, 102, 241, 0.35),
      inset 0 0 1px rgba(255, 255, 255, 0.7),
      inset 0 1px 2px rgba(255, 255, 255, 0.5),
      inset 0 0 45px rgba(0, 0, 0, 0.12),
      0 35px 100px rgba(0, 0, 0, 0.45),
      0 15px 45px rgba(0, 0, 0, 0.35);
  }
}

@keyframes shadowRotate {
  0%, 100% {
    box-shadow: 
      0 0 80px rgba(168, 85, 247, 0.4),
      inset 0 0 2px rgba(255, 255, 255, 0.9),
      inset 0 2px 4px rgba(255, 255, 255, 0.8),
      inset 0 0 30px rgba(0, 0, 0, 0.15),
      inset -8px -8px 40px rgba(0, 0, 0, 0.2),
      inset 15px 15px 60px rgba(168, 85, 247, 0.15),
      inset -15px -15px 50px rgba(236, 72, 153, 0.12),
      0 25px 100px rgba(0, 0, 0, 0.6),
      0 8px 30px rgba(0, 0, 0, 0.4);
  }
  25% {
    box-shadow: 
      0 0 80px rgba(168, 85, 247, 0.4),
      inset 0 0 2px rgba(255, 255, 255, 0.9),
      inset 2px 0 4px rgba(255, 255, 255, 0.8),
      inset 0 0 30px rgba(0, 0, 0, 0.15),
      inset 8px -8px 40px rgba(0, 0, 0, 0.2),
      inset 15px -15px 60px rgba(168, 85, 247, 0.15),
      inset 15px 15px 50px rgba(236, 72, 153, 0.12),
      0 25px 100px rgba(0, 0, 0, 0.6),
      0 8px 30px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 
      0 0 80px rgba(168, 85, 247, 0.4),
      inset 0 0 2px rgba(255, 255, 255, 0.9),
      inset 0 -2px 4px rgba(255, 255, 255, 0.8),
      inset 0 0 30px rgba(0, 0, 0, 0.15),
      inset 8px 8px 40px rgba(0, 0, 0, 0.2),
      inset -15px -15px 60px rgba(168, 85, 247, 0.15),
      inset 15px -15px 50px rgba(236, 72, 153, 0.12),
      0 25px 100px rgba(0, 0, 0, 0.6),
      0 8px 30px rgba(0, 0, 0, 0.4);
  }
  75% {
    box-shadow: 
      0 0 80px rgba(168, 85, 247, 0.4),
      inset 0 0 2px rgba(255, 255, 255, 0.9),
      inset -2px 0 4px rgba(255, 255, 255, 0.8),
      inset 0 0 30px rgba(0, 0, 0, 0.15),
      inset -8px 8px 40px rgba(0, 0, 0, 0.2),
      inset -15px 15px 60px rgba(168, 85, 247, 0.15),
      inset -15px -15px 50px rgba(236, 72, 153, 0.12),
      0 25px 100px rgba(0, 0, 0, 0.6),
      0 8px 30px rgba(0, 0, 0, 0.4);
  }
}

@keyframes innerGlow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes lightRotate {
  0% {
    transform: rotate(0deg) translateX(0) translateY(0);
  }
  25% {
    transform: rotate(90deg) translateX(8px) translateY(-5px);
  }
  50% {
    transform: rotate(180deg) translateX(0) translateY(0);
  }
  75% {
    transform: rotate(270deg) translateX(-8px) translateY(5px);
  }
  100% {
    transform: rotate(360deg) translateX(0) translateY(0);
  }
}

@keyframes lightRotateReverse {
  0% {
    transform: rotate(0deg) translateX(0) translateY(0);
    opacity: 0.7;
  }
  25% {
    transform: rotate(-90deg) translateX(-6px) translateY(4px);
    opacity: 0.5;
  }
  50% {
    transform: rotate(-180deg) translateX(0) translateY(0);
    opacity: 0.7;
  }
  75% {
    transform: rotate(-270deg) translateX(6px) translateY(-4px);
    opacity: 0.5;
  }
  100% {
    transform: rotate(-360deg) translateX(0) translateY(0);
    opacity: 0.7;
  }
}

.vibe-meter:hover .meter-ring {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 0 150px rgba(99, 102, 241, 0.4),
    inset 0 0 1px rgba(255, 255, 255, 0.8),
    inset 0 1px 3px rgba(255, 255, 255, 0.6),
    inset 0 0 45px rgba(0, 0, 0, 0.12),
    0 35px 100px rgba(0, 0, 0, 0.5),
    0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Magic vision symbols inside orb */
.orb-symbols {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-symbol {
  font-size: clamp(3rem, 8vw + 2rem, 7rem);
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(168, 85, 247, 0.4),
    0 0 30px rgba(168, 85, 247, 0.2);
  filter: blur(0.5px);
  animation: orbFloat 4s ease-in-out infinite, orbWobble 3s ease-in-out infinite;
  transform-origin: center;
  transition: opacity 0.5s ease-in-out;
  position: relative;
  z-index: 3;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-8px) translateX(5px);
  }
  50% {
    transform: translateY(-3px) translateX(-5px);
  }
  75% {
    transform: translateY(-10px) translateX(3px);
  }
}

@keyframes orbWobble {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-5deg) scale(1.05);
  }
  50% {
    transform: rotate(5deg) scale(0.95);
  }
  75% {
    transform: rotate(-3deg) scale(1.02);
  }
}

.meter-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vibe-score {
  font-size: 6.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #fef3ff 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: 
    drop-shadow(0 0 50px rgba(255, 255, 255, 1)) 
    drop-shadow(0 0 25px rgba(168, 85, 247, 1))
    drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
  display: none;
  animation: scoreShimmer 3s ease-in-out infinite;
  text-shadow: 
    0 0 20px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(168, 85, 247, 0.6);
}

@keyframes scoreShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.vibe-label {
  display: none;
}

.vibe-selector {
  display: none;
}

.vibe-pill {
  padding: 0.85rem 2rem;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 500;
  font-size: 1.05rem;
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

.vibe-pill:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.4);
}

.vibe-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.4);
}

/* Features section */
.features {
  padding: 2rem;
  position: relative;
  width: 100%;
}

.container {
  max-width: min(980px, 88vw);
  margin: 0 auto;
  padding: 8rem 2rem;
  background: transparent !important;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #f5f5f7;
  line-height: 1.08;
  letter-spacing: -0.045em;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #6366F1, #8B5CF6, transparent);
  border-radius: 2px;
}

.section-desc {
  color: #86868b;
  font-size: 1.3rem;
  font-weight: 400;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

/* Roadmap Section */
.features {
  position: relative;
  min-height: 400vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 2rem;
  box-shadow: 0 30px 100px rgba(168, 85, 247, 0.3);
}

.roadmap-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.roadmap-container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

.roadmap-item {
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.roadmap-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Fallback animation for browsers without intersection observer */
.roadmap-item.no-observer {
  animation: slideInFade 0.8s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.roadmap-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.roadmap-card {
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(168, 85, 247, 0.05) inset;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 180px;
}

.roadmap-card-hero {
  padding: 3rem;
  min-height: 240px;
  text-align: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(10, 10, 15, 0.98) 100%);
  border: 2px solid rgba(16, 185, 129, 0.3);
}

.roadmap-icon-hero {
  width: 80px;
  height: 80px;
  font-size: 2.5rem;
  margin: 0 auto;
}

.roadmap-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.roadmap-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 
    0 16px 48px rgba(168, 85, 247, 0.25),
    0 0 80px rgba(168, 85, 247, 0.15),
    0 0 0 1px rgba(168, 85, 247, 0.3) inset;
}

.roadmap-card:hover::before {
  opacity: 1;
}

.roadmap-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.roadmap-card:hover .roadmap-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 24px currentColor,
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.roadmap-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.roadmap-status.in-progress {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.roadmap-status.coming-soon {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: rgba(168, 85, 247, 0.9);
}

.roadmap-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.roadmap-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Responsive layout */
@media (max-width: 768px) {
  .roadmap-wrapper {
    padding: 2rem 1rem;
  }
  
  .roadmap-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .roadmap-card {
    padding: 1.5rem;
  }
  
  .roadmap-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  
  .roadmap-title {
    font-size: 1.1rem;
  }
  
  .roadmap-desc {
    font-size: 0.85rem;
  }
  
  .roadmap-card-hero {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  
  .roadmap-icon-hero {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .roadmap-card-hero .roadmap-title {
    font-size: 1.5rem !important;
  }
  
  .roadmap-card-hero .roadmap-desc {
    font-size: 1rem !important;
  }
}

.roadmap-card:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 40px 120px rgba(168, 85, 247, 0.5);
}

.roadmap-status {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.roadmap-status.in-progress {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  animation: statusPulse 2s ease-in-out infinite;
}

.roadmap-status.coming-soon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.roadmap-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
  text-align: center;
}

.roadmap-desc {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  font-size: 0.95rem;
  text-align: center;
}

/* Compare section */
.compare {
  padding: 10rem 2rem;
  position: relative;
}

.compare-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin: 5rem 0;
}

.friend-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: 0 20px 70px rgba(168, 85, 247, 0.4);
  animation: avatarFloat 4s ease-in-out infinite;
  position: relative;
}

.friend-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
  filter: blur(8px);
  opacity: 0.6;
}

.friend-avatar:nth-child(3) { animation-delay: 0.7s; }
.friend-avatar:nth-child(5) { animation-delay: 1.4s; }

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.plus-symbol {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}

.result-card {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 2rem;
  display: inline-block;
  min-width: 350px;
  box-shadow: 0 30px 100px rgba(168, 85, 247, 0.3);
}

.venue-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.venue-score {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.venue-match {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Waitlist section */
.waitlist {
  padding: 10rem 2rem;
  position: relative;
  text-align: center;
}

.waitlist-form {
  max-width: 540px;
  margin: 3rem auto 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1;
  min-width: 260px;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #f5f5f7;
  font-size: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  transition: all 0.2s ease;
  outline: none;
}

.waitlist-input::placeholder {
  color: #86868b;
}

.waitlist-input:focus {
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.waitlist-btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.waitlist-btn:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.waitlist-note {
  margin-top: 1.5rem;
  color: #86868b;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 1rem;
    min-height: calc(100vh - 80px);
  }

  h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: 1rem;
  }

  .subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    text-align: center;
  }

  .container {
    margin: 1rem;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section-desc {
    font-size: 1.1rem;
  }

  .vibe-score {
    font-size: 5rem;
  }

  .features {
    padding: 5rem 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .coming-soon {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: fit-content;
    margin: 0 auto 1rem auto;
    font-size: 0.65rem;
    padding: 0.35rem 0.85rem;
  }

  .feature-title {
    font-size: 1.5rem;
  }

  .feature-desc {
    font-size: 1rem;
  }

  .compare {
    padding: 5rem 1rem;
  }

  .compare-visual {
    gap: 1rem;
    margin: 3rem 0;
  }

  .friend-avatar {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .plus-symbol {
    font-size: 1.5rem;
  }

  .result-card {
    min-width: auto;
    width: 90%;
    padding: 2rem;
  }

  .venue-name {
    font-size: 1.5rem;
  }

  .venue-score {
    font-size: 2.5rem;
  }

  .waitlist {
    padding: 5rem 1rem;
  }

  .waitlist-form {
    flex-direction: column;
    gap: 1rem;
  }

  .waitlist-input {
    min-width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }

  .waitlist-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1rem;
  }

  /* Optimize bokeh for mobile performance */
  .bokeh-container {
    filter: blur(40px); /* Reduced blur for performance */
  }

  /* Reduce particle complexity on mobile */
  .space-particle.far {
    display: none; /* Hide far particles on mobile to improve performance */
  }

  /* Adjust orb size for mobile */
  .orb-1 {
    width: 400px;
    height: 400px;
  }

  .orb-2 {
    width: 350px;
    height: 350px;
  }

  .orb-3 {
    width: 300px;
    height: 300px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  body {
    -webkit-tap-highlight-color: transparent;
  }

  .feature-card:active {
    transform: scale(0.98) !important;
  }
}

/* Extra small screens (tiny phones, <480px) */
@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    letter-spacing: -0.02em;
    max-width: 100%;
  }

  .subtitle {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    max-width: 90vw;
  }
  
  .orb-symbol {
    font-size: 4rem;
  }

  .vibe-score {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .container {
    padding: 1.5rem 1rem;
    margin: 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section-title {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .section-desc {
    font-size: 1rem;
  }

  .roadmap-wrapper {
    padding: 2rem 0.5rem;
  }

  .roadmap-container {
    padding: 0 0.5rem;
    gap: 1rem;
  }

  .roadmap-item {
    max-width: 100%;
  }

  .roadmap-card {
    padding: 1.25rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .roadmap-card-hero {
    padding: 1.5rem 1rem;
  }
  
  .roadmap-icon-hero {
    width: 50px;
    height: 50px;
    font-size: 1.75rem;
  }
  
  .roadmap-card-hero .roadmap-title {
    font-size: 1.25rem !important;
  }
  
  .roadmap-card-hero .roadmap-desc {
    font-size: 0.9rem !important;
  }

  .roadmap-title {
    font-size: 1.25rem;
    word-wrap: break-word;
  }

  .roadmap-desc {
    font-size: 0.875rem;
    word-wrap: break-word;
  }

  header {
    padding: 0.75rem 1rem !important;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  header nav {
    display: none !important;
  }
  
  #mobile-menu-btn {
    display: block !important;
  }

  .friend-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .result-card {
    padding: 1.5rem;
  }

  .venue-name {
    font-size: 1.25rem;
  }

  .venue-score {
    font-size: 2rem;
  }

  .waitlist-input,
  .waitlist-btn {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  nav a {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.75rem !important;
  }

  #logo-crystal {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }

  header h1 {
    font-size: 1rem !important;
  }

  header .subtitle {
    font-size: 0.65rem !important;
  }
}

/* Ultra tiny screens (<360px) */
@media (max-width: 360px) {
  .hero {
    padding: 1.5rem 0.75rem;
  }

  h1 {
    font-size: clamp(1.75rem, 13vw, 2.5rem);
  }
  
  .orb-symbol {
    font-size: 3rem;
  }

  .vibe-score {
    font-size: 3.5rem;
  }

  .container {
    padding: 1.25rem 0.75rem;
    margin: 0.25rem;
    border-radius: 1rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 10vw, 2rem);
  }
  
  .roadmap-wrapper {
    padding: 1.5rem 0.5rem;
  }

  .roadmap-card {
    padding: 1rem;
  }
  
  .roadmap-card-hero {
    padding: 1.25rem 0.75rem;
  }
  
  .roadmap-icon-hero {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .roadmap-card-hero .roadmap-title {
    font-size: 1.1rem !important;
  }
  
  .roadmap-card-hero .roadmap-desc {
    font-size: 0.85rem !important;
  }

  nav {
    gap: 0.25rem !important;
  }

  nav a {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.7rem !important;
  }
}

/* Premium connecting lines between steps (desktop only) */
@media (min-width: 769px) {
  .how-it-works-steps {
    position: relative;
  }
  
  .how-it-works-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, 
      rgba(99, 102, 241, 0.3) 0%, 
      rgba(139, 92, 246, 0.3) 50%, 
      rgba(236, 72, 153, 0.3) 100%);
    z-index: 0;
    opacity: 0.5;
  }
  
  .how-it-works-steps > div {
    position: relative;
    z-index: 1;
  }
}


@keyframes glassGradientSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Purple signature particle ring */
@keyframes purpleParticleFloat {
  0%, 100% { 
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-15px) rotate(180deg) scale(1.1);
    opacity: 0.9;
  }
}

.purple-particles::before,
.purple-particles::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(88, 86, 214, 0.8), transparent);
  border-radius: 50%;
  animation: purpleParticleFloat 4s ease-in-out infinite;
  filter: blur(2px);
}

.purple-particles::before {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.purple-particles::after {
  bottom: 15%;
  right: 25%;
  animation-delay: 2s;
  background: radial-gradient(circle, rgba(175, 82, 222, 0.8), transparent);
}

/* Purple glow button enhancement */
.purple-glow-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(88, 86, 214, 0.5), rgba(175, 82, 222, 0.5));
  border-radius: 14px;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.purple-glow-btn:hover::before {
  opacity: 1;
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { filter: blur(8px); opacity: 0.6; }
  50% { filter: blur(12px); opacity: 1; }
}