/* ============================================================
   AMBidCore — style.css
   Palette: Deep Navy #0F172A, Navy-2 #1E293B, Cyan #06B6D4, Blue #2563EB
   Fonts: Cabinet Grotesk (display) + Satoshi (body)
   ============================================================ */

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

[hidden] { display: none !important; }

:root {
  /* Colors */
  --navy-1:      #0F172A;
  --navy-2:      #1E293B;
  --navy-3:      #263348;
  --cyan:        #06B6D4;
  --cyan-dark:   #0891B2;
  --cyan-glow:   rgba(6,182,212,0.18);
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --white:       #FFFFFF;
  --slate-200:   #E2E8F0;
  --slate-300:   #CBD5E1;
  --slate-400:   #94A3B8;
  --slate-500:   #64748B;

  /* Typography */
  --font-display: 'Cabinet Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Satoshi', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --ease-io:  cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:   180ms var(--ease-out);
  --t-base:   300ms var(--ease-out);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.25);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 24px rgba(6,182,212,0.3);
}

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

body {
  font-family: var(--font-body);
  background: var(--navy-1);
  color: var(--slate-200);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--white); }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-8));
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--slate-400);
  max-width: 560px;
  line-height: 1.65;
}

.text-cyan { color: var(--cyan); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition:
    background var(--t-base),
    backdrop-filter var(--t-base),
    box-shadow var(--t-base),
    padding var(--t-base);
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(6,182,212,0.12), 0 4px 24px rgba(0,0,0,0.4);
  padding: var(--space-3) 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__logo-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav__brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-300);
  transition: color var(--t-fast);
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-1) !important;
  background: var(--cyan);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition:
    background var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.nav__cta:active {
  transform: translateY(0);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
  z-index: 101;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-1);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile .nav__links {
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.nav__mobile .nav__links a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.nav__mobile .nav__cta {
  font-size: 1.1rem;
  padding: 0.75rem 2.5rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-1);
  overflow: visible;
  padding-top: 80px;
}

/* Animated dot-grid overlay */
.hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(6,182,212,0.22) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: dotGridDrift 20s linear infinite;
  opacity: 0.5;
  pointer-events: none;
}

@keyframes dotGridDrift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-8px, -8px); }
  50%  { transform: translate(0, -16px); }
  75%  { transform: translate(8px, -8px); }
  100% { transform: translate(0, 0); }
}

/* Radial gradient overlay to darken edges */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 20%, var(--navy-1) 80%);
  z-index: 1;
  pointer-events: none;
}

/* Glow accent top-right */
.hero__glow {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(var(--space-16), 10vh, var(--space-24)) 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--space-6);
}

.hero__headline .accent {
  color: var(--cyan);
  display: block;
}

.hero__subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--slate-400);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: var(--space-10);
}

/* Hero email form */
.hero__form-wrap {
  margin-bottom: var(--space-6);
}

.hero__form {
  display: flex;
  gap: var(--space-3);
  max-width: 500px;
}

.hero__form input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.hero__form input[type="email"]::placeholder { color: var(--slate-500); }
.hero__form input[type="email"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}

.hero__form input[type="email"].error {
  border-color: #EF4444;
  animation: shake 0.4s var(--ease-io);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--cyan);
  color: var(--navy-1);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

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

.hero__success {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  max-width: 500px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--slate-400);
}

.hero__avatars {
  display: flex;
  margin-right: var(--space-1);
}

.hero__avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--navy-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--navy-1);
  margin-left: -8px;
}

.hero__avatars span:first-child { margin-left: 0; }

/* Floating stat cards */
.hero__stats {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  z-index: 3;
  overflow: visible;
}

.stat-card {
  background: var(--navy-2);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
  min-width: 180px;
}

.stat-card:nth-child(2) {
  animation-delay: -3s;
  margin-left: var(--space-6);
}

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

.stat-card__value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  background: var(--navy-2);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.4), transparent);
}

.features::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.4), transparent);
}

.features__header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--navy-1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition:
    border-color var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base);
}

.feature-card:hover {
  border-color: rgba(6,182,212,0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-card--highlight {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 1px rgba(6,182,212,0.3), inset 0 0 40px rgba(6,182,212,0.04);
}

.feature-card--highlight:hover {
  box-shadow: var(--shadow-glow), 0 0 0 1px rgba(6,182,212,0.5);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(6,182,212,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--cyan);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  background: var(--navy-1);
}

.how-it-works__header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

/* Connector line */
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(6,182,212,0.3), var(--cyan));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step__number {
  width: 80px;
  height: 80px;
  background: var(--navy-2);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--cyan);
  box-shadow: var(--shadow-glow);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.step:hover .step__number {
  transform: scale(1.08);
  box-shadow: 0 0 32px rgba(6,182,212,0.4);
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.step__desc {
  font-size: 0.925rem;
  color: var(--slate-400);
  line-height: 1.65;
  max-width: 280px;
  margin-inline: auto;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  background: var(--navy-2);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.4), transparent);
}

.testimonials__header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--navy-1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: border-color var(--t-base), transform var(--t-base);
}

.testimonial-card:hover {
  border-color: rgba(6,182,212,0.2);
  transform: translateY(-2px);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: #FBBF24;
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  color: var(--slate-300);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-card__quote::before {
  content: '"';
  color: var(--cyan);
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 0.15rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-1);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ============================================================
   WAITLIST SECTION
   ============================================================ */
.waitlist {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  background: var(--navy-1);
  position: relative;
  overflow: hidden;
}

.waitlist__bg-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.waitlist__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}

.waitlist__perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.perk {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.perk__icon {
  width: 36px;
  height: 36px;
  background: rgba(6,182,212,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.perk__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.perk__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.perk__desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* Waitlist form */
.waitlist__form-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-lg);
}

.waitlist__form-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.waitlist__form-card p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--slate-300);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

.form-group label .optional {
  color: var(--slate-500);
  font-weight: 400;
  font-size: 0.78rem;
}

.form-group input,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  appearance: none;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    background var(--t-fast);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--navy-2);
  color: var(--white);
}

.form-group input::placeholder { color: var(--slate-500); }

.form-group input:focus,
.form-group select:focus {
  border-color: var(--cyan);
  background: rgba(6,182,212,0.04);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.12);
}

.form-group input.error,
.form-group select.error {
  border-color: #EF4444;
  animation: shake 0.4s var(--ease-io);
}

.btn-waitlist {
  width: 100%;
  padding: 0.9rem;
  background: var(--cyan);
  color: var(--navy-1);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-top: var(--space-2);
  transition:
    background var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
}

.btn-waitlist:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

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

/* Waitlist success */
.waitlist__success {
  text-align: center;
  padding: var(--space-10) var(--space-6);
}

.waitlist__success .success-icon {
  width: 64px;
  height: 64px;
  background: rgba(6,182,212,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--cyan);
}

.waitlist__success .success-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.waitlist__success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.waitlist__success p {
  font-size: 0.95rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-10) 0;
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__brand-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--slate-500);
}

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

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

/* Stagger delays */
.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; }

/* ============================================================
   SHAKE ERROR ANIMATION
   ============================================================ */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%       { transform: translateX(-6px); }
  30%       { transform: translateX(6px); }
  45%       { transform: translateX(-5px); }
  60%       { transform: translateX(5px); }
  75%       { transform: translateX(-3px); }
  90%       { transform: translateX(3px); }
}

/* ============================================================
   RESPONSIVE — ≤ 1024px (tablet)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__stats {
    position: static;
    transform: none;
    flex-direction: row;
    margin-top: var(--space-10);
  }

  .stat-card:nth-child(2) {
    margin-left: 0;
  }

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

/* ============================================================
   RESPONSIVE — ≤ 768px (tablet small)
   ============================================================ */
@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .steps::before { display: none; }

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

/* ============================================================
   RESPONSIVE — ≤ 640px (mobile)
   ============================================================ */
@media (max-width: 640px) {
  /* Nav */
  .nav__links,
  .nav__cta.desktop-only {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }

  /* Hero */
  .hero__form {
    flex-direction: column;
  }

  .hero__form input[type="email"] {
    width: 100%;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    flex-direction: column;
  }

  .stat-card {
    min-width: 0;
    width: 100%;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
  }

  /* Waitlist */
  .waitlist__form-card {
    padding: var(--space-6) var(--space-5);
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__dot-grid { animation: none; }
  .stat-card { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
  padding: var(--space-24) 0;
  background: var(--navy-1);
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing__card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: var(--space-8);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.pricing__card--featured {
  background: var(--navy-1);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 40px rgba(6,182,212,0.15);
  transform: translateY(-8px);
}

.pricing__card--featured:hover {
  transform: translateY(-12px);
}

.pricing__badge {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy-1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}

.pricing__tier-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.pricing__price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.pricing__dollar {
  font-size: 28px;
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
  color: var(--cyan);
}

.pricing__freq {
  font-size: 12px;
  color: var(--slate-dim);
  margin-bottom: var(--space-4);
}

.pricing__desc {
  font-size: 14px;
  color: var(--slate-dim);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  min-height: 48px;
}

.pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pricing__features li {
  font-size: 13px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pricing__feature--muted {
  color: var(--slate-dim) !important;
  opacity: 0.5;
}

.pricing__check {
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.pricing__cross {
  color: #475569;
  font-size: 13px;
  flex-shrink: 0;
}

.pricing__cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pricing__cta--primary {
  background: var(--cyan);
  color: var(--navy-1);
}

.pricing__cta--primary:hover {
  background: #0891B2;
  transform: translateY(-1px);
}

.pricing__cta--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.pricing__cta--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing__card--featured {
    grid-column: span 2;
    transform: none;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  .pricing__card--featured {
    grid-column: span 1;
    max-width: 100%;
  }
  .pricing__price { font-size: 48px; }
}
