/* SalsaCoach site — palette mirrors the app's theme tokens. */
:root {
  --bg: #17121c;
  --surface: #221b2a;
  --raised: #2e2439;
  --border: #3e3349;
  --text: #f7f1e8;
  --muted: #ac9fbb;
  --faint: #7a6f87;
  --accent: #ff6b4a;
  --timing: #3fe0c5;
  --pink: #ff4f9a;
  --gold: #ffc94b;
  --lime: #a5e06a;
  --beat: 0.667s; /* 90 BPM */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(255, 79, 154, 0.16), transparent 60%),
    radial-gradient(700px 480px at -10% 25%, rgba(63, 224, 197, 0.12), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(255, 107, 74, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family:
    'Archivo',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.6;
}
h1,
h2,
h3,
.brand {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}
header {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 17px;
  text-decoration: none;
}
.brand span {
  color: var(--accent);
}
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 22px;
  font-size: 14px;
  font-weight: 600;
}
nav a:hover {
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 44px 0 64px;
}
.hero-copy {
  flex: 1.15;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.06;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero p.sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 480px;
  margin-top: 20px;
}
.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.badge {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  font-size: 15px;
}
.badge.soon {
  opacity: 0.8;
}
.badge small {
  display: block;
  color: var(--faint);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.4px;
}
.hero-note {
  margin-top: 14px;
  color: var(--faint);
  font-size: 13px;
}
.hero-note a {
  color: var(--timing);
}

/* ---------- CSS phone mockup ---------- */
.phone-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}
.phone {
  width: 270px;
  height: 548px;
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(160deg, #322741, #1c1524);
  border: 1px solid var(--border);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 6px rgba(255, 255, 255, 0.02);
}
.screen {
  background: var(--bg);
  border-radius: 30px;
  height: 100%;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.screen .meta {
  align-self: stretch;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.6px;
}
.ring {
  position: relative;
  width: 168px;
  height: 168px;
  margin-top: 22px;
}
.ring .dot {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--faint);
  font-weight: 700;
  animation: dotbeat calc(var(--beat) * 8) infinite;
}
.ring .dot.step {
  border-color: var(--timing);
  color: var(--text);
}
@keyframes dotbeat {
  0%,
  12.5%,
  100% {
    background: var(--surface);
    color: var(--faint);
    transform: scale(1);
  }
  1%,
  11% {
    background: var(--timing);
    color: #04211c;
    transform: scale(1.16);
  }
}
.ring .count {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 800;
  color: var(--text);
}
.feedback {
  margin-top: 20px;
  font-weight: 800;
  color: var(--timing);
  font-size: 15px;
  animation: feedbackpulse calc(var(--beat) * 8) infinite;
}
@keyframes feedbackpulse {
  0%,
  100% {
    opacity: 0.95;
  }
  50% {
    opacity: 0.55;
  }
}
.pad {
  margin-top: auto;
  margin-bottom: 8px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--raised);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  animation: padbeat var(--beat) infinite ease-out;
}
@keyframes padbeat {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.05);
    border-color: var(--timing);
  }
  45% {
    transform: scale(1);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.kicker {
  color: var(--pink);
  font-weight: 800;
  letter-spacing: 2.4px;
  font-size: 12px;
  text-transform: uppercase;
}
.section h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 8px 0 10px;
}
.section > .wrap > p,
.section p.lead {
  color: var(--muted);
  max-width: 640px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  border-top: 3px solid var(--card-edge, var(--accent));
}
.card .icon {
  font-size: 26px;
}
.card h3 {
  margin: 10px 0 6px;
  font-size: 17px;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
  counter-reset: step;
}
.steps .step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.steps .step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #1f0c06;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.steps .step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.steps .step p {
  color: var(--muted);
  font-size: 14.5px;
}

.instruments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--chip, var(--border));
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.cta {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 28px;
  border-radius: 13px;
  background: var(--accent);
  color: #1f0c06;
  font-weight: 800;
  text-decoration: none;
}
.cta.ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  margin-left: 10px;
}

.faq {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  max-width: 720px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 15px;
}

footer {
  padding: 40px 0 52px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 14px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 18px;
}

.legal {
  padding: 40px 0;
}
.legal h1 {
  margin-bottom: 8px;
}
.legal h2 {
  margin: 26px 0 8px;
  font-size: 20px;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal ul {
  padding-left: 22px;
}
.draft {
  background: var(--raised);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 18px 0;
  font-size: 14px;
}

@media (max-width: 820px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 20px;
  }
  .hero p.sub {
    margin: 16px auto 0;
  }
  .badges {
    justify-content: center;
  }
  nav {
    display: none;
  }
}
