/* ─────────────────────────────────────────────────
   Slippy — Waiting List  |  styles.css
   ───────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ──────────────────────────────── */

:root {
  --bg:         #080810;
  --bg2:        #0F0F1A;
  --bg3:        #161624;
  --card:       #1A1A2E;
  --card2:      #22223A;
  --border:     rgba(255, 255, 255, 0.06);
  --border-hi:  rgba(255, 255, 255, 0.09);
  --border-hot: rgba(123, 108, 244, 0.30);
  --orange:     #7B6CF4;
  --orange2:    #9B8EFF;
  --orange-dim: rgba(123, 108, 244, 0.09);
  --green:      #34C759;
  --white:      #FFFFFF;
  --gray1:      #C2C0D8;
  --gray2:      #6E6C88;
  --gray3:      #2E2D45;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "ss01", "cv01";
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ── Cursor glow ────────────────────────────────── */

#cursor-glow {
  position: fixed;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,108,244,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* ── Background orbs ────────────────────────────── */

.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  will-change: transform;
}

.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(123,108,244,0.16) 0%, transparent 70%);
  top: -250px; left: -180px;
}

.orb-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(80,60,200,0.12) 0%, transparent 70%);
  bottom: -80px; right: -120px;
}

/* ── Nav ────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(12, 7, 5, 0.72);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}

nav.scrolled { background: rgba(12, 7, 5, 0.92); }

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-dim);
  border: 1px solid var(--border-hot);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange2);
  letter-spacing: 0.2px;
}

.nav-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

/* ── Hero ───────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

/* Animated dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(circle, rgba(123,108,244,0.18) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 55% 65% at 50% 45%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 50% 45%, black 0%, transparent 100%);
  animation: grid-breathe 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

/* ── Keyframes ──────────────────────────────────── */

@keyframes grid-breathe {
  0%   { opacity: 0.4; transform: scale(1) translateY(0); }
  100% { opacity: 0.7; transform: scale(1.04) translateY(-16px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pop-in {
  0%   { opacity: 0; transform: scale(0.88) translateY(6px); }
  60%  { transform: scale(1.04) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float-main  {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}
@keyframes float-left  {
  0%,100% { transform: translateX(20px) rotate(-4deg) translateY(0); }
  50%     { transform: translateX(20px) rotate(-4deg) translateY(-10px); }
}
@keyframes float-right {
  0%,100% { transform: translateX(-20px) rotate(4deg) translateY(0); }
  50%     { transform: translateX(-20px) rotate(4deg) translateY(-10px); }
}

@keyframes cd-flip {
  0%   { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0);     opacity: 1; }
}

/* ── Hero text ──────────────────────────────────── */

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 40px;
  animation: fade-up 0.6s var(--ease) 0.1s both;
}

.eyebrow-line {
  width: 32px; height: 1px;
  background: var(--orange);
  opacity: 0.5;
}

.hero h1 {
  font-size: clamp(50px, 9vw, 98px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -3px;
  margin-bottom: 30px;
  animation: fade-up 0.7s var(--ease) 0.22s both;
}

.hero h1 .line2 {
  display: block;
  background: linear-gradient(130deg, #5448d4 0%, var(--orange) 25%, var(--orange2) 55%, #C8BEFF 80%, var(--orange2) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease-in-out infinite alternate;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray1);
  max-width: 500px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 52px;
  animation: fade-up 0.7s var(--ease) 0.36s both;
}

/* ── Waitlist form ──────────────────────────────── */

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  width: 100%;
  animation: fade-up 0.7s var(--ease) 0.50s both;
}

.waitlist-input {
  flex: 1;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 20px;
  font-size: 15px;
  font-family: inherit;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.waitlist-input::placeholder { color: var(--gray2); }

.waitlist-input:focus {
  border-color: var(--border-hot);
  border-left: 2px solid var(--orange);
  background: rgba(123,108,244,0.05);
  box-shadow: 0 0 0 4px rgba(123,108,244,0.09);
}

.waitlist-btn {
  position: relative;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 14px;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.1px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 8px 28px rgba(123,108,244,0.40);
  overflow: hidden;
}

.waitlist-btn:hover:not(:disabled) {
  background: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(123,108,244,0.44);
}

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

.waitlist-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Shimmer on hover */
.waitlist-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease);
  pointer-events: none;
}

.waitlist-btn:hover:not(:disabled)::before { left: 130%; }

/* Loading spinner */
.waitlist-btn.loading .btn-text { opacity: 0; }
.waitlist-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.6s linear infinite;
}

.form-note {
  font-size: 12px;
  color: var(--gray2);
  margin-top: 14px;
  animation: fade-up 0.7s var(--ease) 0.62s both;
  transition: color 0.3s;
}

.form-error {
  font-size: 12px;
  color: #FF6B6B;
  margin-top: 10px;
  text-align: center;
  animation: fade-up 0.3s var(--ease) both;
}

/* ── Signup counter ─────────────────────────────── */

.counter-block {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fade-up 0.7s var(--ease) 0.74s both;
}

.counter-avatars { display: flex; }

.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray1);
}

.avatar:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg, #3a1a0a, #6b3020); }
.av2 { background: linear-gradient(135deg, #0a2a1a, #1a5030); }
.av3 { background: linear-gradient(135deg, #1a1a3a, #303068); }
.av4 { background: linear-gradient(135deg, #2a1a1a, #503030); }

.counter-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.counter-text span { font-size: 12px; color: var(--gray2); }

/* ── Countdown ──────────────────────────────────── */

.countdown-wrap {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fade-up 0.7s var(--ease) 0.88s both;
}

.cd-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray2);
}

.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 60px;
}

.cd-unit span {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1;
  display: block;
  overflow: hidden;
}

.cd-unit span.flipping {
  animation: cd-flip 0.22s var(--ease) both;
}

.cd-unit small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray2);
}

.cd-sep {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray3);
  padding-bottom: 14px;
}

.cd-live {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

/* ── Phone mockup ───────────────────────────────── */

.phone-section {
  position: relative;
  z-index: 1;
  padding: 0 24px 120px;
  display: flex;
  justify-content: center;
}

.phone-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
}

/* The visual shell — no animation here, just appearance */
.phone {
  border-radius: 44px;
  border: 1.5px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.025),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition:
    opacity      0.5s  cubic-bezier(0.28, 0.11, 0.32, 1),
    transform    0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow   0.5s  cubic-bezier(0.28, 0.11, 0.32, 1),
    border-color 0.5s  ease,
    filter       0.5s  ease;
  will-change: transform, opacity;
}

.phone-main {
  width: 310px; height: 670px;
  background: var(--bg3);
  position: relative;
  overflow: hidden;
}

.phone-side {
  width: 262px; height: 566px;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  opacity: 0.5;
}

/* Wrappers own the float animation — decoupled from hover transforms */
.phone-wrap {
  display: flex;
  align-items: flex-end;
}

.phone-wrap.wrap-main {
  z-index: 2;
  animation: float-main 7s ease-in-out infinite;
}

.phone-wrap.wrap-left {
  animation: float-left 7s ease-in-out infinite;
  transform-origin: bottom center;
}

.phone-wrap.wrap-right {
  animation: float-right 7s ease-in-out infinite;
  transform-origin: bottom center;
}

/* ── Phone focus-on-hover ────────────────────────── */

/* Freeze the float on the active phone so it doesn't fight the hover transform */
.phone-stage:has(.phone-wrap:hover) .phone-wrap:hover {
  animation-play-state: paused;
  z-index: 10;
}

/* Step back — non-hovered phones recede */
.phone-stage:has(.phone-wrap:hover) .phone {
  opacity: 0.15;
  transform: scale(0.93) translateY(14px);
  filter: brightness(0.65);
}

/* Step forward — hovered phone pops out with spring overshoot */
.phone-stage:has(.phone-wrap:hover) .phone-wrap:hover .phone {
  opacity: 1;
  transform: scale(1.1) translateY(-28px);
  filter: brightness(1.06);
  border-color: rgba(123, 108, 244, 0.6);
  box-shadow:
    0 90px 180px rgba(0,0,0,1),
    0 0 0 1.5px rgba(123,108,244,0.35),
    0 0 140px rgba(123,108,244,0.22),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: var(--bg);
  border-radius: 50px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  background: var(--bg2);
  overflow: hidden;
}

.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-glow-base {
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 120px;
  background: var(--orange);
  filter: blur(90px);
  opacity: 0.13;
  border-radius: 50%;
  pointer-events: none;
}

/* ── Section commons ────────────────────────────── */

.section-divider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  margin-bottom: 100px;
}

.sd-line { flex: 1; height: 1px; background: var(--border); max-width: 200px; }

.sd-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray2);
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 68px;
}

.section-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.08;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 15px;
  color: var(--gray1);
  line-height: 1.7;
}

/* ── Features bento grid ────────────────────────── */

.features {
  position: relative;
  z-index: 1;
  padding: 0 24px 120px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.bcard {
  background: var(--card);
  background-image: linear-gradient(160deg, rgba(255,255,255,0.025) 0%, transparent 50%);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-hi);
  border-radius: 22px;
  padding: 32px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  backdrop-filter: blur(1px);
}

.bcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123,108,244,0.045) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
  pointer-events: none;
}

.bcard:hover { border-color: var(--border-hot); transform: translateY(-3px); }
.bcard:hover::after { opacity: 1; }

.bc1 { grid-column: span 5; }
.bc2 { grid-column: span 7; }
.bc3 { grid-column: span 4; }
.bc4 { grid-column: span 4; }
.bc5 { grid-column: span 4; }

.bcard-icon {
  width: 42px; height: 42px;
  background: var(--orange-dim);
  border: 1px solid var(--border-hot);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.bcard-icon svg {
  width: 18px; height: 18px;
  stroke: var(--orange2);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bcard h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 9px;
}

.bcard p {
  font-size: 13px;
  color: var(--gray1);
  line-height: 1.65;
}

.bcard-visual { margin-top: 26px; }

/* Receipt mini */
.receipt-mini {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 14px 16px;
}

.rmr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.rmr:last-child { border: none; padding-bottom: 0; }
.rmr-name { color: var(--gray1); display: flex; align-items: center; gap: 6px; }

.rtag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

.rt-food  { background: rgba(77,184,122,0.12); color: var(--green); }
.rt-trans { background: rgba(255, 149, 0, 0.14);  color: #FF9500; }
.rt-hlth  { background: rgba(126,176,255,0.12); color: #7EB0FF; }

.rmr-price { font-weight: 600; color: var(--white); }

/* Chart bars — grow animation on scroll */
.chart-wrap { margin-top: 24px; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 76px;
}

.cb {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: rgba(123,108,244,0.22);
  height: 0%;
  transition: height 0.7s var(--ease);
}

.cb.hi { background: var(--orange); }

.bcard.visible .cb { height: var(--bar-h, 50%); }

.chart-labels {
  display: flex;
  margin-top: 7px;
}

.chart-labels span {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: var(--gray2);
  font-weight: 500;
}

/* Budget ring — draw animation on scroll */
.budget-ring {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.ring-info strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--orange);
}

.ring-info small { font-size: 11px; color: var(--gray2); }

.ring-progress {
  stroke-dasharray: 0 163;
  transition: stroke-dasharray 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.bcard.visible .ring-progress { stroke-dasharray: 98 65; }

/* Widget strip */
.widget-strip { display: flex; gap: 9px; margin-top: 20px; }

.wmini {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 13px;
}

.wmini-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.5px;
}

.wmini-label { font-size: 10px; color: var(--gray2); margin-top: 2px; }

/* ── How it works ───────────────────────────────── */

.how {
  position: relative;
  z-index: 1;
  padding: 0 24px 120px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-hi);
  border-radius: 22px;
  overflow: hidden;
  margin-top: 60px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.how-step {
  background: var(--card);
  padding: 34px 26px;
  transition: background 0.25s;
}

.how-step:hover { background: var(--card2); }

.step-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.how-step h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 9px;
}

.how-step p { font-size: 13px; color: var(--gray1); line-height: 1.6; }

/* ── Waitlist box (CTA) ─────────────────────────── */

.waitlist-section {
  position: relative;
  z-index: 1;
  padding: 0 24px 120px;
}

.waitlist-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card);
  background-image: linear-gradient(160deg, rgba(255,255,255,0.025) 0%, transparent 50%);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-hi);
  border-radius: 28px;
  padding: 68px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist-box::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 420px; height: 320px;
  background: radial-gradient(ellipse, rgba(123,108,244,0.11) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-box h2 {
  font-size: clamp(24px, 3.8vw, 40px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.waitlist-box > p {
  font-size: 15px;
  color: var(--gray1);
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.form-row {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.success-msg {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-top: 16px;
}

.success-msg.show {
  display: flex;
  animation: pop-in 0.45s var(--ease) both;
}

.success-check {
  width: 22px; height: 22px;
  background: rgba(77,184,122,0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ── Footer ─────────────────────────────────────── */

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
}

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

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

.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: var(--gray2); }

/* ── Scroll reveal ──────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

.rd1 { transition-delay: 0.08s; }
.rd2 { transition-delay: 0.16s; }
.rd3 { transition-delay: 0.24s; }
.rd4 { transition-delay: 0.32s; }

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .bc1,.bc2,.bc3,.bc4,.bc5 { grid-column: span 12; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .waitlist-box { padding: 48px 28px; }
  .form-row { flex-direction: column; }
  .phone-side { display: none; }
  footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 580px) {
  .waitlist-form { flex-direction: column; }
  .how-steps { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -2px; }
  .countdown { gap: 5px; }
  .cd-unit { padding: 10px 12px; min-width: 52px; }
  .cd-unit span { font-size: 20px; }
}
