/* Dromo landing page — brand tokens mirror the iOS app's design system. */
:root {
  --bg: #080a0e;
  --surface: #111318;
  --surface-2: #1a1f2e;
  --accent: #22d3ee;        /* zoneSteady — primary accent */
  --accent-2: #4fc3f7;      /* zoneWarmUp */
  --peak: #ff7043;          /* zonePeak */
  --text: #ffffff;
  --text-2: #9aa3ad;
  --text-3: #5a626c;
  --radius: 16px;
  --radius-lg: 28px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #04222a;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  box-shadow: 0 8px 30px -8px rgba(34, 211, 238, 0.6);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(34, 211, 238, 0.75); }
.btn:active { transform: translateY(0); }
.btn--small { padding: 9px 16px; font-size: 0.92rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.35rem; }
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__name { letter-spacing: -0.02em; }
.nav__links { display: flex; align-items: center; gap: 28px; font-weight: 700; }
.nav__links a:not(.btn) { color: var(--text-2); transition: color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 30% auto -10%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.22), transparent);
  filter: blur(20px);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.accent { color: var(--accent); }
.hero__sub { font-size: 1.18rem; color: var(--text-2); max-width: 520px; margin-bottom: 30px; }

/* Waitlist form */
.waitlist { display: flex; gap: 10px; max-width: 480px; }
.waitlist--center { margin: 0 auto; }
.waitlist input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  padding: 14px 20px;
  transition: border-color 0.2s;
}
.waitlist input::placeholder { color: var(--text-3); }
.waitlist input:focus { outline: none; border-color: var(--accent); }
.waitlist__note { color: var(--text-3); font-size: 0.88rem; margin-top: 12px; }
.waitlist__note.is-success { color: var(--accent); font-weight: 700; }
.waitlist__note.is-error { color: var(--peak); font-weight: 700; }

/* Hero phone visual */
.hero__visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #1c2233, #0d1018);
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 16px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #000; border-radius: 999px;
}
.phone__screen {
  height: 100%;
  background: radial-gradient(120% 80% at 50% 0%, rgba(34, 211, 238, 0.12), transparent 60%), #05070b;
  border-radius: 30px;
  padding: 40px 22px 22px;
  display: flex;
  flex-direction: column;
}
.phone__label { color: var(--text-3); font-size: 0.7rem; letter-spacing: 0.2em; font-weight: 800; }
.phone__bpm { font-size: 3.4rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: var(--text); }
.phone__bpm small { font-size: 1rem; font-weight: 700; color: var(--text-2); margin-left: 6px; }
.equalizer { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin: 22px 0; }
.equalizer span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 4px;
  height: 30%;
  animation: eq 0.9s ease-in-out infinite;
}
.equalizer span:nth-child(odd) { animation-duration: 1.1s; }
.equalizer span:nth-child(3n) { animation-duration: 0.7s; }
.equalizer span:nth-child(2) { animation-delay: 0.15s; }
.equalizer span:nth-child(4) { animation-delay: 0.3s; }
.equalizer span:nth-child(6) { animation-delay: 0.1s; }
.equalizer span:nth-child(8) { animation-delay: 0.25s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.phone__now { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.phone__art {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--peak));
  flex-shrink: 0;
}
.phone__track { font-weight: 800; font-size: 0.95rem; }
.phone__meta { color: var(--text-2); font-size: 0.8rem; }
.nudge {
  margin-top: 16px; text-align: center;
  background: rgba(34, 211, 238, 0.14);
  color: var(--accent);
  font-weight: 800; font-size: 0.85rem;
  padding: 10px; border-radius: 12px;
}

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--surface); border-block: 1px solid rgba(255, 255, 255, 0.05); }
.section__title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -0.02em; text-align: center; }
.section__lede { text-align: center; color: var(--text-2); font-size: 1.12rem; max-width: 560px; margin: 14px auto 0; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.step {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(34, 211, 238, 0.14); color: var(--accent);
  font-weight: 900; font-size: 1.2rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--text-2); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.feature {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.4); }
.feature__icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--text-2); }

/* Privacy */
.privacy { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.privacy .section__title { text-align: left; }
.privacy__copy p { color: var(--text-2); margin-top: 16px; font-size: 1.08rem; }
.privacy__list { list-style: none; display: grid; gap: 14px; }
.privacy__list li {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
}
.privacy__list strong { font-weight: 800; }
.privacy__list span { color: var(--text-2); font-size: 0.95rem; }

/* CTA */
.cta { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute; inset: auto 20% -60% 20%; height: 400px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.2), transparent);
  filter: blur(10px);
}
.cta__inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -0.02em; }
.cta p { color: var(--text-2); font-size: 1.15rem; margin: 16px auto 32px; max-width: 480px; }

/* Footer */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 44px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer__tag { color: var(--text-2); font-weight: 700; }
.footer__legal { color: var(--text-3); font-size: 0.88rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner, .privacy { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .privacy .section__title { text-align: center; }
  .steps, .features { grid-template-columns: 1fr; }
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .waitlist { flex-direction: column; }
  .waitlist .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .equalizer span { animation: none; }
  html { scroll-behavior: auto; }
}
