/* ============================================================
   GARBO LANDING PAGE â€” DESIGN SYSTEM
   ============================================================ */

/* === RESET & ROOT === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --saffron: #00C9B7;
  --magenta: #FF3D8E;
  --purple: #6D28D9;
  --gold: #FFBA08;
  --charcoal: #1A1A2E;
  --dark-bg: #0D0D1A;
  --surface: #13132A;
  --card: #1C1C35;
  --card-border: rgba(255,255,255,0.07);
  --text-primary: #F0F0F8;
  --text-secondary: rgba(240,240,248,0.65);
  --text-muted: rgba(240,240,248,0.38);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00C9B7, #FF3D8E);
  --grad-full: linear-gradient(135deg, #00C9B7, #FF3D8E, #6D28D9);
  --grad-glow: linear-gradient(135deg, rgba(0,201,183,0.25), rgba(255,61,142,0.25));

  /* Spacing */
  --container: 1200px;
  --section-pad: 120px;

  /* Border radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === UTILITIES === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(13,13,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.8px;
}

.nav-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.footer-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.nav-cta {
  background: var(--grad-primary);
  color: white;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,201,183,0.35);
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,201,183,0.5);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: var(--container);
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #00C9B7, transparent);
  top: -200px; left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #FF3D8E, transparent);
  top: 100px; right: -150px;
  animation-delay: -3s;
}

.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6D28D9, transparent);
  bottom: -100px; left: 30%;
  animation-delay: -6s;
}

.orb-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #FFBA08, transparent);
  bottom: 200px; right: 300px;
  opacity: 0.12;
  animation-delay: -4s;
}

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

.hero-pattern-top, .hero-pattern-bottom {
  position: absolute;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.hero-pattern-top { inset: 0 0 50% 0; }
.hero-pattern-bottom { inset: 50% 0 0 0; }

.hero-content {
  flex: 1 1 0;
  max-width: 580px;
  min-width: 0;
  position: relative;
  z-index: 2;
  animation: heroFadeUp 0.9s var(--ease) both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,201,183,0.1);
  border: 1px solid rgba(0,201,183,0.25);
  border-radius: 50px;
  padding: 6px 16px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #5EEEE0;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #00C9B7;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(0,201,183,0.7);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,201,183,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(0,201,183,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,201,183,0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-subtitle em {
  font-style: italic;
  color: var(--text-primary);
}

/* Hero form */
.hero-form { margin-bottom: 32px; }

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.email-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 0 20px;
  height: 56px;
  min-height: 56px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(8px);
  min-width: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.email-input::placeholder { color: var(--text-muted); }
.email-input:focus {
  outline: none;
  border-color: rgba(0,201,183,0.6);
  background: rgba(255,255,255,0.09);
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-primary);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0 28px;
  height: 56px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,201,183,0.4);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0,201,183,0.55);
}

.btn-primary:active { transform: scale(0.98); }

.btn-full {
  width: 100%;
  margin-top: 8px;
  height: 60px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

/* Social proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: heroFadeUp 0.9s 0.2s var(--ease) both;
}

.proof-avatars {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-left: -10px;
  color: white;
}

.avatar:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg, #00C9B7, #FF3D8E); }
.av2 { background: linear-gradient(135deg, #FF3D8E, #6D28D9); }
.av3 { background: linear-gradient(135deg, #6D28D9, #FF3D8E); }
.av4 { background: linear-gradient(135deg, #FFBA08, #00C9B7); }
.av5 { background: linear-gradient(135deg, #00C9B7, #6D28D9); }

.proof-text { font-size: 14px; color: var(--text-secondary); }
.proof-text strong { color: var(--text-primary); }

/* App preview mockup */
.hero-app-preview {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  animation: heroFadeUp 0.9s 0.15s var(--ease) both;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1C1C35, #0D0D1A);
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 16px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.mock-card {
  width: 100%;
  height: 380px;
  position: relative;
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
}

.mock-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #00C9B7 0%, #FF3D8E 35%, #6D28D9 70%, #0D0D1A 100%);
  opacity: 0.85;
}

/* Fake photo pattern */
.mock-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 30%, rgba(0,201,183,0.3) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(255,61,142,0.2) 0%, transparent 50%);
  z-index: 1;
}

.mock-card-info {
  position: absolute;
  bottom: 60px;
  left: 16px;
  right: 16px;
  z-index: 2;
}

.mock-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}

.mock-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.mock-loc {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

.mock-actions {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  z-index: 2;
}

.mock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  backdrop-filter: blur(8px);
}

.mock-pass { background: rgba(255,255,255,0.12); }
.mock-like { background: var(--grad-primary); box-shadow: 0 4px 16px rgba(0,201,183,0.5); }

/* Floating chips */
.float-chip {
  position: absolute;
  background: rgba(20,20,40,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: chipFloat 6s ease-in-out infinite;
}

.float-chip span { font-size: 20px; }
.chip-title { font-weight: 600; color: var(--text-primary); font-size: 12px; }
.chip-sub { color: var(--text-secondary); font-size: 11px; margin-top: 2px; }

.chip-match {
  top: 60px;
  right: -120px;
  animation-delay: -2s;
}

.chip-event {
  bottom: 100px;
  right: -110px;
  animation-delay: -5s;
}

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

/* === MARQUEE SECTION === */
.marquee-section {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  background: rgba(0,201,183,0.03);
}

.marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-inner {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee 70s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  padding-right: 32px;
  flex-shrink: 0;
  /* Ensure both copies are identical width for seamless loop */
}

.marquee-content span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.marquee-dot { color: var(--saffron) !important; font-size: 8px !important; }

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

/* === GENERIC SECTION === */
.section {
  padding: var(--section-pad) 0;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(0,201,183,0.1);
  border: 1px solid rgba(0,201,183,0.2);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.section-sub em { color: var(--text-primary); font-style: normal; font-weight: 500; }

/* === PAIN CARDS === */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,201,183,0.25);
  box-shadow: 0 12px 40px rgba(0,201,183,0.1);
}

.pain-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === FEATURES SECTION === */
.features { background: rgba(255,255,255,0.01); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--radius-md);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,201,183,0.3);
  box-shadow: 0 16px 48px rgba(0,201,183,0.12);
}

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

.feature-hero-card {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0,201,183,0.1), rgba(255,61,142,0.08), rgba(109,40,217,0.08));
  border-color: rgba(0,201,183,0.2);
}

.feature-icon-large {
  font-size: 64px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(0,201,183,0.4));
}

.feature-text h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-tag-list {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.ftag {
  background: rgba(0,201,183,0.12);
  border: 1px solid rgba(0,201,183,0.25);
  color: #5EEEE0;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === HOW IT WORKS === */
.how-it-works { background: rgba(109,40,217,0.04); }

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,201,183,0.1);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  font-size: 24px;
  color: rgba(0,201,183,0.4);
  font-weight: 300;
  padding: 0 16px;
  flex-shrink: 0;
  align-self: center;
}

/* === CITIES === */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.city-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.city-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,201,183,0.25);
  box-shadow: 0 12px 32px rgba(0,201,183,0.1);
}

.city-more {
  background: linear-gradient(135deg, rgba(0,201,183,0.08), rgba(255,61,142,0.06));
  border-color: rgba(0,201,183,0.2);
}

.city-emoji {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
}

.city-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.city-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* === WAITLIST SECTION === */
.waitlist-section { padding-bottom: 160px; }

.waitlist-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,201,183,0.12), rgba(255,61,142,0.1), rgba(109,40,217,0.12));
  border: 1px solid rgba(0,201,183,0.2);
  padding: 80px 60px;
}

.waitlist-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.worb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.worb-1 {
  width: 400px; height: 400px;
  background: rgba(0,201,183,0.15);
  top: -150px; left: -100px;
}

.worb-2 {
  width: 350px; height: 350px;
  background: rgba(109,40,217,0.15);
  bottom: -100px; right: -80px;
}

.waitlist-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-badge {
  display: inline-block;
  background: rgba(0,201,183,0.15);
  border: 1px solid rgba(0,201,183,0.3);
  color: #5EEEE0;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.waitlist-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.waitlist-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.waitlist-sub strong { color: var(--text-primary); }

/* Waitlist form */
.waitlist-form { text-align: left; }

.wf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.wf-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 0 18px;
  height: 52px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}

.wf-input::placeholder { color: var(--text-muted); }
.wf-input:focus {
  outline: none;
  border-color: rgba(0,201,183,0.5);
  background: rgba(255,255,255,0.09);
}

.wf-row-city { margin-bottom: 12px; }

.wf-other-city {
  margin-top: 12px;
  display: none;
}

.wf-other-city.visible {
  display: block;
}

.wf-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 0 18px;
  height: 52px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-body);
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='rgba(240,240,248,0.4)' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.2s;
}

.wf-select option { background: #1C1C35; color: var(--text-primary); }

.wf-select:focus {
  outline: none;
  border-color: rgba(0,201,183,0.5);
}

.waitlist-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  text-align: left;
}

.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.perk span { font-size: 16px; }

/* === FOOTER === */
.footer {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* === SUCCESS OVERLAY === */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.success-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.success-card {
  background: var(--card);
  border: 1px solid rgba(0,201,183,0.25);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-spring);
}

.success-overlay.visible .success-card {
  transform: scale(1) translateY(0);
}

.success-icon { font-size: 56px; margin-bottom: 16px; }

.success-card h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.success-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    padding: 100px 24px 60px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content { max-width: 100%; }

  .form-row {
    flex-direction: column;
  }

  .social-proof { justify-content: center; }

  .hero-app-preview {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
  }

  /* Chips overlay the phone face — upper left and upper right */
  .chip-match {
    right: auto;
    bottom: auto;
    left: 10px;
    top: 55px;
    transform: none;
  }

  .chip-event {
    left: auto;
    bottom: auto;
    right: 10px;
    top: 105px;
    transform: none;
  }

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

  .feature-hero-card {
    grid-column: span 1;
    flex-direction: column;
    text-align: center;
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .waitlist-card { padding: 48px 24px; }

  .wf-row { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; gap: 8px; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  :root { --section-pad: 80px; }

  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 15px; }

  /* Scale phone proportionally — preserves all internal proportions perfectly */
  .phone-mockup {
    width: 280px;        /* keep original dimensions */
    height: 560px;
    padding: 16px;
    transform: scale(0.68);
    transform-origin: top center;
    margin-bottom: -179px; /* collapse the extra layout space: 560 * 0.32 = 179px */
  }
  /* Reset all individual overrides so original values apply inside the scale */
  .mock-card { height: 380px; margin-top: 28px; border-radius: 20px; }
  .mock-card-info { bottom: 60px; left: 16px; right: 16px; }
  .mock-actions { bottom: 10px; gap: 16px; }
  .mock-btn { width: 48px; height: 48px; font-size: 18px; }
  .mock-name { font-size: 22px; }
  .mock-badge { display: inline-block; }
  .mock-loc { display: block; }

  /* Chips: compact, sit on upper-left and upper-right of the scaled phone */
  .chip-match {
    right: auto;
    bottom: auto;
    left: 28px;
    top: 42px;
    transform: none;
    font-size: 10px;
    padding: 7px 9px;
    gap: 6px;
  }

  .chip-event {
    left: auto;
    bottom: auto;
    right: 28px;
    top: 96px;
    transform: none;
    font-size: 10px;
    padding: 7px 9px;
    gap: 6px;
  }

  .float-chip span { font-size: 15px; }
  .chip-title { font-size: 11px; }
  .chip-sub { font-size: 10px; }

  /* Hero form stacks vertically */
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
  .email-input {
    width: 100%;
    min-width: unset;
    height: 56px;
    min-height: 56px;
    flex: none;
  }
  .btn-primary {
    width: 100%;
    min-width: unset;
  }

  .pain-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }

  .nav { padding: 0 16px; }
  .nav-logo-text { font-size: 26px; }

  .section-title { font-size: 26px; }
  .waitlist-card { padding: 36px 20px; }
  .wf-row { grid-template-columns: 1fr; }

  /* Tighten feature cards on mobile */
  .feature-card { padding: 20px 18px; }
  .feature-hero-card { padding: 24px 18px; gap: 20px; }
  .feature-icon { font-size: 32px; margin-bottom: 12px; }
  .feature-icon-large { font-size: 48px; }
  .feature-card h3 { font-size: 17px; margin-bottom: 8px; }
  .feature-text h3 { font-size: 20px; }
  .feature-tag-list { margin-top: 14px; gap: 6px; }

  /* Tighten step cards on mobile */
  .step { padding: 24px 18px; }
  .step-icon { font-size: 36px; margin-bottom: 12px; }
  .step h3 { font-size: 17px; }
}
