/* =====================
   BeatBridge Landing Page
   ===================== */

:root {
  --bg: #060912;
  --bg-alt: #0a0f1e;
  --surface: #0f1629;
  --surface-2: #141e38;
  --text: #e8eaf6;
  --text-muted: #8892b0;
  --text-dim: #4a5568;
  --accent-pink: #f72585;
  --accent-pink-glow: rgba(247,37,133,0.25);
  --accent-blue: #3a86ff;
  --accent-blue-glow: rgba(58,134,255,0.25);
  --accent-gold: #ffbe0b;
  --accent-cyan: #00c8ff;
  --border: rgba(232,234,246,0.08);
  --border-pink: rgba(247,37,133,0.3);
  --border-blue: rgba(58,134,255,0.3);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* =====================
   Navigation
   ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6,9,18,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.btn-nav-cta {
  padding: 8px 18px;
  background: var(--accent-pink);
  color: #fff;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 14px rgba(247,37,133,0.4);
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 24px rgba(247,37,133,0.6); }

.closing-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 40px;
  background: var(--accent-pink);
  color: #fff;
  border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 30px rgba(247,37,133,0.4);
}
.closing-cta:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(247,37,133,0.6); }

.nav-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

/* =====================
   Hero
   ===================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px 80px;
  position: relative;
}

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

.hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(40px, 5.5vw, 72px);
  margin-bottom: 24px;
  color: var(--text);
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-modes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-mode {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid;
  min-width: 160px;
}

.hero-mode--wordplay {
  background: rgba(247,37,133,0.08);
  border-color: var(--border-pink);
}

.hero-mode--style {
  background: rgba(58,134,255,0.08);
  border-color: var(--border-blue);
}

.mode-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.mode-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.hero-mode--wordplay .mode-name { color: var(--accent-pink); }
.hero-mode--style .mode-name { color: var(--accent-blue); }

/* Waveform visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 220px;
  padding: 0 20px;
}

.wave-bar {
  width: 10px;
  border-radius: 5px;
  background: linear-gradient(to top, var(--accent-pink), var(--accent-blue));
  animation: wave 1.8s ease-in-out infinite;
}

.w1  { height: 30%;  animation-delay: 0s; }
.w2  { height: 60%;  animation-delay: 0.05s; }
.w3  { height: 90%;  animation-delay: 0.1s; }
.w4  { height: 50%;  animation-delay: 0.15s; }
.w5  { height: 75%;  animation-delay: 0.2s; }
.w6  { height: 40%;  animation-delay: 0.25s; }
.w7  { height: 85%;  animation-delay: 0.3s; }
.w8  { height: 55%;  animation-delay: 0.35s; }
.w9  { height: 70%;  animation-delay: 0.4s; }
.w10 { height: 45%;  animation-delay: 0.45s; }
.w11 { height: 80%;  animation-delay: 0.5s; }
.w12 { height: 35%;  animation-delay: 0.55s; }
.w13 { height: 65%;  animation-delay: 0.6s; }
.w14 { height: 50%;  animation-delay: 0.65s; }
.w15 { height: 90%;  animation-delay: 0.7s; }
.w16 { height: 40%;  animation-delay: 0.75s; }
.w17 { height: 75%;  animation-delay: 0.8s; }
.w18 { height: 30%;  animation-delay: 0.85s; }
.w19 { height: 55%;  animation-delay: 0.9s; }
.w20 { height: 45%;  animation-delay: 0.95s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.7; }
}

/* =====================
   Shared
   ===================== */
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 12px;
}

.section-headline {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text);
  margin-bottom: 20px;
}

/* =====================
   Problem
   ===================== */
.problem {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
}

.problem-inner {
  max-width: 900px;
  margin: 0 auto;
}

.problem-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.problem-headline {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 32px;
  color: var(--text);
}

.problem-body {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.problem-body em {
  color: var(--text);
  font-style: normal;
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* =====================
   Modes
   ===================== */
.modes {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.modes-header {
  text-align: center;
  margin-bottom: 64px;
}

.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mode-card {
  border-radius: 24px;
  padding: 40px;
  border: 1px solid;
}

.mode-card--wordplay {
  background: linear-gradient(145deg, rgba(247,37,133,0.06), rgba(247,37,133,0.02));
  border-color: var(--border-pink);
}

.mode-card--style {
  background: linear-gradient(145deg, rgba(58,134,255,0.06), rgba(58,134,255,0.02));
  border-color: var(--border-blue);
}

.mode-card-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.mode-card-title {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--text);
}

.mode-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.mode-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.mode-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.feat-icon {
  font-size: 8px;
  color: var(--text-dim);
  margin-top: 6px;
  flex-shrink: 0;
}

.mode-card-features strong {
  color: var(--text);
  font-weight: 600;
}

.mode-card-example {
  padding: 20px;
  border-radius: 12px;
  background: var(--surface);
}

.example-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.example-track {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.example-song {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  padding: 8px 14px;
  border-radius: 8px;
}

.example-arrow {
  color: var(--text-dim);
  font-size: 18px;
}

.example-why {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* =====================
   Transition Coach
   ===================== */
.coach {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
}

.coach-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.coach-headline {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

.coach-body {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.coach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s ease;
}

.coach-card:hover {
  border-color: rgba(232,234,246,0.18);
}

.coach-icon {
  margin-bottom: 16px;
}

.coach-card-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text);
}

.coach-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================
   Energy
   ===================== */
.energy {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.energy-headline {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

.energy-body {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.energy-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.energy-card {
  border-radius: 16px;
  padding: 32px;
  border: 1px solid;
}

.energy-card--raise {
  background: linear-gradient(145deg, rgba(255,77,109,0.08), rgba(255,77,109,0.02));
  border-color: rgba(255,77,109,0.25);
}

.energy-card--maintain {
  background: linear-gradient(145deg, rgba(255,190,11,0.08), rgba(255,190,11,0.02));
  border-color: rgba(255,190,11,0.25);
}

.energy-card--lower {
  background: linear-gradient(145deg, rgba(0,200,255,0.08), rgba(0,200,255,0.02));
  border-color: rgba(0,200,255,0.25);
}

.energy-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.energy-card--raise .energy-indicator span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ff4d6d;
}

.energy-card--maintain .energy-indicator span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-gold);
}

.energy-card--lower .energy-indicator span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.energy-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================
   Closing
   ===================== */
.closing {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 120px 40px;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-size: clamp(32px, 5vw, 60px);
  margin-bottom: 28px;
  color: var(--text);
}

.closing-body {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.8;
}

/* =====================
   Footer
   ===================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.footer-tagline {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-sep {
  color: var(--text-dim);
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 100px;
  }

  .hero-visual {
    order: -1;
  }

  .waveform { height: 120px; }

  .mode-cards {
    grid-template-columns: 1fr;
  }

  .problem-stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .energy-meters {
    grid-template-columns: 1fr;
  }

  .nav-inner { padding: 16px 20px; }

  .modes, .energy, .coach { padding: 80px 20px; }
  .problem { padding: 80px 20px; }
  .closing { padding: 80px 20px; }
  .footer { padding: 32px 20px; }
}

@media (max-width: 600px) {
  .hero-modes {
    flex-direction: column;
  }

  .hero-mode {
    min-width: unset;
    width: 100%;
  }

  .mode-card {
    padding: 28px 24px;
  }
}