/* ============================================
   NEXUS TERMINAL — DESIGN SYSTEM & STYLES
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Core palette */
  --bg-deepest: #050510;
  --bg-deep: #0a0a1a;
  --bg-surface: #0f0f24;
  --bg-elevated: #161638;
  --bg-card: rgba(15, 15, 40, 0.6);

  /* Purple spectrum */
  --purple-dark: #3a1d8e;
  --purple-mid: #6c3ce0;
  --purple-bright: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-glow: #c4b5fd;

  /* Accent colors */
  --accent-blue: #4f8fff;
  --accent-cyan: #22d3ee;
  --accent-pink: #e879f9;
  --accent-orange: #f59e42;

  /* Text */
  --text-primary: #f0eef6;
  --text-secondary: #a5a0c0;
  --text-muted: #6b6590;
  --text-accent: var(--purple-light);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #6c3ce0 0%, #4f8fff 50%, #9b6dff 100%);
  --gradient-button: linear-gradient(135deg, #6c3ce0, #8b5cf6, #4f8fff);
  --gradient-border: linear-gradient(135deg, rgba(108, 60, 224, 0.6), rgba(79, 143, 255, 0.3), rgba(155, 109, 255, 0.6));
  --gradient-glow: radial-gradient(ellipse at center, rgba(108, 60, 224, 0.15), transparent 70%);

  /* Glass */
  --glass-bg: rgba(15, 15, 40, 0.55);
  --glass-border: rgba(139, 92, 246, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glass-blur: 20px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Orbitron', 'Inter', sans-serif;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-smooth: 0.4s var(--ease-out-expo);
  --transition-slow: 0.6s var(--ease-out-expo);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deepest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--purple-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--purple-glow);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deepest);
}

::-webkit-scrollbar-thumb {
  background: var(--purple-dark);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--purple-mid);
}

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================
   ANIMATED BACKGROUND — STARFIELD
   ============================================ */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(139, 92, 246, 0.1), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar-brand img {
  height: 38px;
  width: 38px;
  border-radius: 50%;
}

.navbar-brand span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  transition: width var(--transition-smooth);
  border-radius: var(--radius-full);
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-links a:hover::after {
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 16, 0.3) 0%,
    rgba(5, 5, 16, 0.5) 40%,
    rgba(5, 5, 16, 0.85) 80%,
    var(--bg-deepest) 100%
  );
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 60, 224, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-4xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  animation: floatLogo 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(108, 60, 224, 0.4));
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text-primary), var(--purple-light), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 36px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-button);
  background-size: 200% 200%;
  color: white;
  box-shadow:
    0 4px 15px rgba(108, 60, 224, 0.4),
    0 0 40px rgba(108, 60, 224, 0.1);
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 25px rgba(108, 60, 224, 0.5),
    0 0 60px rgba(108, 60, 224, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s;
  opacity: 0;
}

.btn-primary:hover::before {
  opacity: 1;
  animation: btnShine 0.6s ease forwards;
}

@keyframes btnShine {
  0% { left: -50%; }
  100% { left: 150%; }
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--purple-bright);
  color: var(--text-primary);
  background: rgba(108, 60, 224, 0.1);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--text-primary), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-hero);
  border-radius: var(--radius-full);
  margin: var(--space-md) auto;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  position: relative;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-border);
  -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;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108, 60, 224, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(108, 60, 224, 0.2), rgba(79, 143, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   WAITLIST SECTION
   ============================================ */
.waitlist-section {
  position: relative;
}

.waitlist-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(108, 60, 224, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.waitlist-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.waitlist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(108, 60, 224, 0.4), rgba(79, 143, 255, 0.2), rgba(139, 92, 246, 0.4));
  -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;
}

.waitlist-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(108, 60, 224, 0.06), transparent 50%);
  pointer-events: none;
}

.form-group {
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.15);
  background: rgba(10, 10, 30, 0.6);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15), 0 0 20px rgba(108, 60, 224, 0.1);
  background: rgba(10, 10, 30, 0.8);
}

.form-group input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
  font-size: 0.8rem;
  color: #f87171;
  margin-top: var(--space-xs);
  display: none;
}

.form-error.visible {
  display: block;
  animation: fadeSlideIn 0.3s var(--ease-out-expo);
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group .optional-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  margin-left: var(--space-xs);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-submit.loading .btn-text {
  opacity: 0;
}

.btn-submit.loading .spinner {
  display: block;
  position: absolute;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- Success State ---- */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 1;
}

.form-success.visible {
  display: block;
  animation: fadeScaleIn 0.5s var(--ease-out-expo);
}

@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05));
  border: 2px solid rgba(34, 197, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  stroke: #22c55e;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 1px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---- Spots Remaining Badge (Hero) ---- */
.spots-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(108, 60, 224, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
  color: var(--purple-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0 auto var(--space-lg) auto;
  box-shadow: 0 0 20px rgba(108, 60, 224, 0.2);
}

.spots-badge strong {
  color: #fff;
  font-family: var(--font-display);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---- Waitlist Spots Header (Progress Bar inside Card) ---- */
.waitlist-spots-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
  position: relative;
  z-index: 1;
}

.spots-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.spots-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.spots-left-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.spots-left-text strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.spots-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.spots-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6c3ce0, #8b5cf6, #22d3ee);
  border-radius: var(--radius-full);
  transition: width 1s var(--ease-out-expo);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

/* ---- Spot Number Badge (Success State) ---- */
.spot-number-badge {
  background: linear-gradient(135deg, rgba(108, 60, 224, 0.25), rgba(79, 143, 255, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  display: inline-block;
  box-shadow: 0 0 30px rgba(108, 60, 224, 0.2);
}

.spot-number-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--purple-light);
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.spot-number-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.8), 0 0 40px rgba(79, 143, 255, 0.4);
}

/* ---- Waitlist Counter ---- */
.waitlist-counter {
  text-align: center;
  margin-top: var(--space-xl);
  position: relative;
  z-index: 1;
}

.waitlist-counter .count {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.waitlist-counter .count-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--purple-light);
}

/* ============================================
   ANIMATIONS — SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  top: var(--space-xl);
  right: var(--space-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.4s var(--ease-out-expo);
  max-width: 380px;
}

.toast.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
}

.toast.toast-out {
  animation: toastOut 0.3s var(--ease-out-expo) forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 16, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    z-index: 1000;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    font-size: 1.2rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content {
    padding: var(--space-3xl) var(--space-md);
  }

  .hero-logo {
    width: 90px;
    height: 90px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .waitlist-card {
    padding: var(--space-xl);
    margin: 0 var(--space-md);
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .toast-container {
    left: var(--space-md);
    right: var(--space-md);
    top: auto;
    bottom: var(--space-xl);
  }

  .toast {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}
