/* ============================================================
   TERRA LANDING PAGE — STYLES
   Apple-quality design system
   ============================================================ */

/* =================== CUSTOM PROPERTIES =================== */
:root {
  --dark:          #080808;
  --dark-alt:      #0f0f0f;
  --dark-surface:  #131210;
  --dark-elevated: #1c1a18;
  --warm-white:    #f7f4ef;
  --warm-gray:     #ede8e0;
  --warm-card:     #ffffff;

  --text-light:    #f0ece6;
  --text-muted:    rgba(240, 236, 230, 0.48);
  --text-dark:     #1a1614;
  --text-dark-muted: rgba(26, 22, 20, 0.54);

  --accent:        #c4714a;
  --accent-hover:  #d4845e;
  --accent-pale:   rgba(196, 113, 74, 0.10);
  --accent-border: rgba(196, 113, 74, 0.28);
  --accent-glow:   rgba(196, 113, 74, 0.22);

  --section-v: clamp(88px, 11vw, 160px);
  --container: 1200px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--dark);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* =================== TYPOGRAPHY =================== */
h1 {
  font-size: clamp(58px, 9.5vw, 104px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
h2 {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1.06;
}
h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.28;
}
p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.72;
}

/* =================== LAYOUT =================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 88px);
}

/* =================== SCROLL REVEAL =================== */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(1) { transition-delay: 0.00s; }
.reveal:nth-child(2) { transition-delay: 0.07s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.21s; }

/* =================== NAV =================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 0 clamp(22px, 5vw, 88px);
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, backdrop-filter 0.45s ease, border-color 0.45s ease;
}
.nav.scrolled {
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-color: rgba(255, 255, 255, 0.055);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.nav-logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.22s;
}
.nav-links a:hover { color: var(--text-light); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  transition: background 0.22s, transform 0.22s var(--ease-out), box-shadow 0.22s;
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
  box-shadow: 0 8px 28px var(--accent-glow);
}

/* =================== HERO =================== */
.section-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: 100px clamp(22px, 5vw, 88px) 72px;
  max-width: calc(var(--container) + 176px);
  margin: 0 auto;
  position: relative;
}

.hero-content { max-width: 580px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(1.6); }
}

.hero-headline { color: var(--text-light); margin-bottom: 18px; }

.hero-subtitle {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.012em;
  margin-bottom: 44px;
}

/* --- Countdown --- */
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  gap: 5px;
}
.countdown-value {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--text-light);
  line-height: 1;
}
.countdown-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.countdown-sep {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  color: var(--text-muted);
  padding: 0 2px;
  line-height: 1;
  margin-top: 2px;
}
.countdown-large .countdown-value {
  font-size: clamp(44px, 6vw, 74px);
}
.countdown-large .countdown-unit { min-width: 90px; }

/* --- Buttons --- */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.26s var(--ease-out);
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 14px 42px var(--accent-glow);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.04) translateY(-2px);
}
.btn-large { padding: 20px 46px; font-size: 17px; }

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

/* --- Hero Visual --- */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}
.terra-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
}
.terra-img {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 48px 96px rgba(196, 113, 74, 0.14));
}
@keyframes terra-float {
  0%,  100% { transform: translateY(0px)   rotate(-0.5deg); }
  33%        { transform: translateY(-20px) rotate(0.6deg);  }
  66%        { transform: translateY(-10px) rotate(-0.4deg); }
}

/* Sonar rings behind hero */
.sonar-rings {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 38%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.sonar-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid #c4714a;
  border-radius: 50%;
  transform-origin: center;
  animation: sonar-pulse 3.2s ease-out infinite;
}
.sonar-ring:nth-child(2) {
  border-width: 1px;
  animation-delay: 1s;
}
.sonar-ring:nth-child(3) {
  border-width: 0.6px;
  animation-delay: 2s;
}
@keyframes sonar-pulse {
  0%   { transform: scale(0.75); opacity: 0.65; }
  100% { transform: scale(2.4);  opacity: 0;    }
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.28));
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1;   }
}

/* =================== SECTION LABELS =================== */
.section-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-label.on-light { color: var(--accent); }

/* =================== STORY =================== */
.section-story {
  padding: var(--section-v) 0;
  background: linear-gradient(to bottom, var(--dark), var(--dark-alt));
}
.story-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(22px, 5vw, 88px);
}
.story-headline { color: var(--text-light); margin: 14px 0 28px; }
.story-body {
  color: var(--text-muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.76;
  margin-bottom: 16px;
}

/* =================== FEATURE GRID =================== */
.section-dark-alt { background: var(--dark-alt); }

.section-feature {
  padding: var(--section-v) clamp(22px, 5vw, 88px);
}
.feature-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }

.feature-content h2 { color: var(--text-light); margin: 8px 0 22px; }
.feature-content p  { color: var(--text-muted); margin-bottom: 16px; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--accent-border);
  color: var(--accent);
  background: var(--accent-pale);
}

/* =================== HEARTBEAT CARD =================== */
.heartbeat-card {
  background: var(--dark-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.heartbeat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(196,113,74,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hb-terra-mini {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}
.hb-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: sonar-pulse 2.6s ease-out infinite;
}

.hb-waveform { margin-bottom: 22px; }
.hb-svg { width: 100%; overflow: visible; }
.hb-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-hb 1.8s var(--ease-out) forwards, hb-glow 1.3s ease-in-out infinite alternate;
}
@keyframes draw-hb {
  to { stroke-dashoffset: 0; }
}
@keyframes hb-glow {
  from { filter: drop-shadow(0 0 2px rgba(196,113,74,0.3)); }
  to   { filter: drop-shadow(0 0 9px rgba(196,113,74,0.85)); }
}

.hb-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hb-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
}
.hb-divider {
  width: 1px;
  background: rgba(255,255,255,0.06);
  align-self: stretch;
  margin: 0 4px;
}
.hb-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hb-unit { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.hb-desc { font-size: 11px; color: var(--text-muted); opacity: 0.6; }

.hb-live-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 100px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf7d;
  animation: blink 1.8s ease-in-out infinite;
}

/* =================== EMOTIONS =================== */
.section-emotions {
  padding: var(--section-v) clamp(22px, 5vw, 88px);
}
.section-light {
  background: var(--warm-white);
  color: var(--text-dark);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(48px, 6vw, 88px);
}
.section-header h2.on-light { color: var(--text-dark); }
.section-subtitle {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-dark-muted);
  line-height: 1.72;
  margin-top: 16px;
}
.section-subtitle.on-dark { color: var(--text-muted); }

.emotion-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 52px;
}
.emotion-card {
  background: var(--warm-card);
  border-radius: 20px;
  padding: 30px 24px 28px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s ease;
}
.emotion-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}
.emotion-icon { width: 48px; height: 48px; margin-bottom: 18px; }
.emotion-card h3 { font-size: 19px; color: var(--text-dark); margin-bottom: 10px; }
.emotion-card p  { font-size: 14px; color: var(--text-dark-muted); line-height: 1.65; }

.lifestyle-placeholder {
  width: 100%;
  height: clamp(260px, 30vw, 420px);
  background: linear-gradient(135deg, #e8e0d5 0%, #d8ccc0 40%, #c8b8a4 100%);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-inner { text-align: center; }
.lp-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(100,80,60,0.45);
  margin-bottom: 6px;
}
.lp-sub {
  font-size: 14px;
  color: rgba(100,80,60,0.35);
}

/* =================== SPEECH BUBBLES =================== */
.speech-bubbles { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.speech-bubble {
  background: var(--dark-elevated);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 18px 22px;
}
.speech-bubble p {
  font-size: 14.5px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.62;
}
.bubble-source {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* =================== VIDEO PLACEHOLDER =================== */
.video-placeholder {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(196,113,74,0.14);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.video-placeholder:hover {
  border-color: rgba(196,113,74,0.42);
  transform: scale(1.018);
}
.video-placeholder.large { max-width: 820px; margin: 0 auto; }

.vp-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1714 0%, #2e2922 50%, #1a1714 100%);
  z-index: 0;
}
.chaos-bg {
  background: linear-gradient(135deg, #201a14 0%, #3a2e20 50%, #201a14 100%);
}
.vp-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
}

.play-btn {
  width: 74px;
  height: 74px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.28s var(--ease-spring), background 0.22s, box-shadow 0.28s;
}
.video-placeholder:hover .play-btn {
  transform: scale(1.12);
  background: var(--accent-hover);
  box-shadow: 0 12px 36px var(--accent-glow);
}
.play-btn svg { width: 28px; height: 28px; margin-left: 5px; }

.vp-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}
.vp-sub { font-size: 13px; color: rgba(240,236,230,0.32); }

/* =================== CHAOS =================== */
.section-chaos { padding: var(--section-v) clamp(22px, 5vw, 88px); }
.chaos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}
.chaos-card {
  background: var(--warm-card);
  border-radius: 20px;
  padding: 34px 26px 30px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s;
}
.chaos-card:hover {
  transform: translateY(-7px) rotate(-0.4deg);
  box-shadow: 0 22px 44px rgba(0,0,0,0.11);
}
.chaos-emoji { font-size: 46px; display: block; margin-bottom: 18px; }
.chaos-card h3 { color: var(--text-dark); margin-bottom: 12px; }
.chaos-card p  { font-size: 14.5px; color: var(--text-dark-muted); line-height: 1.65; }

/* =================== TECH =================== */
.section-tech {
  padding: var(--section-v) clamp(22px, 5vw, 88px);
  background: var(--dark);
}
.section-tech .section-header { margin-bottom: clamp(48px, 6vw, 80px); }
.section-tech .section-header h2 { color: var(--text-light); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.tech-stat {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 28px;
}
.tech-number {
  display: block;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--accent);
  margin-bottom: 7px;
  line-height: 1;
}
.tech-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}
.tech-stat p { font-size: 14px; color: var(--text-muted); line-height: 1.66; }

.tech-image-placeholder {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.tip-grid { display: grid; grid-template-columns: 1fr 1fr; }
.tip-item {
  height: clamp(160px, 18vw, 240px);
  background: var(--dark-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tip-item:first-child { border-right: 1px solid rgba(255,255,255,0.06); }
.tip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(240,236,230,0.22);
}

/* =================== LAUNCH =================== */
.section-launch {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 50% 60%, rgba(30,20,12,1) 0%, var(--dark) 65%);
  position: relative;
  overflow: hidden;
  padding: var(--section-v) clamp(22px, 5vw, 88px);
}

/* Decorative background rings */
.launch-bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(196, 113, 74, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ring-a { width: 500px;  height: 500px;  }
.ring-b { width: 750px;  height: 750px;  border-color: rgba(196,113,74,0.05); }
.ring-c { width: 1000px; height: 1000px; border-color: rgba(196,113,74,0.03); }

.launch-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.launch-headline {
  font-size: clamp(62px, 9vw, 108px);
  font-weight: 800;
  letter-spacing: -0.046em;
  color: var(--text-light);
  margin: 14px 0 18px;
}
.launch-subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-muted);
  margin-bottom: 52px;
}
.launch-inner .countdown { justify-content: center; margin-bottom: 52px; }

/* =================== WAITLIST =================== */
.section-waitlist { padding: var(--section-v) clamp(22px, 5vw, 88px); }
.waitlist-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.waitlist-terra-mini {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  animation: terra-float 7.5s ease-in-out infinite;
}
.waitlist-inner h2 { color: var(--text-dark); margin-bottom: 16px; }
.waitlist-inner > p { color: var(--text-dark-muted); margin-bottom: 36px; }

.form-row {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 14px;
}
.form-input {
  flex: 1;
  min-width: 0;
  padding: 15px 22px;
  border-radius: 100px;
  border: 2px solid var(--warm-gray);
  background: white;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.form-input::placeholder { color: rgba(26,22,20,0.38); }
.form-btn { flex-shrink: 0; padding: 15px 26px; }
.form-note { font-size: 13px; color: var(--text-dark-muted); }

.waitlist-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 32px;
  background: white;
  border-radius: 22px;
  box-shadow: 0 4px 48px rgba(0,0,0,0.08);
  animation: pop-in 0.5s var(--ease-spring) forwards;
}
.waitlist-success.visible { display: flex; }
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.success-check {
  width: 58px;
  height: 58px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
}
.waitlist-success h3 { font-size: 24px; color: var(--text-dark); }
.waitlist-success p  { font-size: 15px; color: var(--text-dark-muted); max-width: 340px; }

/* =================== FOOTER =================== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.055);
  padding: 72px clamp(22px, 5vw, 88px) 36px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto 52px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 220px; line-height: 1.6; margin-bottom: 6px; }
.footer-launch-note { font-size: 12.5px; color: var(--accent); font-weight: 600; }

.footer-links { display: flex; gap: 72px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-light); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.055);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p   { font-size: 12.5px; color: var(--text-muted); opacity: 0.55; }
.footer-legal      { display: flex; gap: 20px; flex-shrink: 0; }
.footer-legal a    { font-size: 12.5px; color: var(--text-muted); opacity: 0.55; transition: opacity 0.2s; }
.footer-legal a:hover { opacity: 1; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .section-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-top: 108px;
    gap: 48px;
  }
  .hero-content { max-width: 100%; }
  .hero-eyebrow { justify-content: center; }
  .hero-actions  { justify-content: center; }
  .countdown     { justify-content: center; }

  .feature-grid          { grid-template-columns: 1fr; }
  .feature-grid.reverse  { direction: ltr; }
  .emotion-cards         { grid-template-columns: repeat(2, 1fr); }
  .tech-grid             { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links      { display: none; }
  .chaos-grid     { grid-template-columns: 1fr; }
  .footer-links   { gap: 36px; }
  .footer-inner   { flex-direction: column; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .form-row       { flex-direction: column; }
  .form-input, .form-btn { width: 100%; border-radius: 14px; }
  .tip-grid       { grid-template-columns: 1fr; }
  .tip-item:first-child { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

@media (max-width: 560px) {
  .emotion-cards  { grid-template-columns: 1fr; }
  .tech-grid      { grid-template-columns: 1fr; }
  .countdown-unit { min-width: 58px; }
  .launch-bg-ring { display: none; }
}
