:root {
  --bg: #0e0e13;
  --bg-2: #141418;
  --fg: #f0f0f5;
  --fg-muted: #8a8a9a;
  --accent: #d4ff00;
  --accent-dim: rgba(212, 255, 0, 0.08);
  --border: rgba(255,255,255,0.07);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--fg);
}
.nav__badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
}

/* HERO */
.hero {
  padding: 80px 48px 72px;
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
}
.hero__headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero__headline .accent { color: var(--accent); }
.hero__sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* Stem visual */
.stems-display {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stem-label, .output-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.stem-wave { display: flex; flex-direction: column; gap: 8px; }
.stem-track { display: flex; align-items: center; gap: 12px; }
.stem-bar {
  height: 22px;
  border-radius: 2px;
  flex: 1;
  background: linear-gradient(90deg, var(--bar-c) 0%, transparent 100%);
  animation: shimmer 2s ease-in-out infinite;
}
.v1 { --bar-c: #ff6b6b; }
.v2 { --bar-c: #ffd93d; }
.v3 { --bar-c: #6bcb77; }
.v4 { --bar-c: #4d96ff; }
.v5 { --bar-c: #c77dff; }
.stem-name {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--fg-muted);
  width: 40px;
  flex-shrink: 0;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.stem-arrow { color: var(--accent); display: flex; justify-content: center; padding: 4px 0; }
.stem-output { border-top: 1px solid var(--border); padding-top: 16px; }
.output-wave { margin-top: 8px; height: 22px; background: var(--bg); border-radius: 4px; overflow: hidden; display: flex; align-items: center; padding: 0 8px; }
.waveform {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg,
    var(--accent) 0%,
    rgba(212,255,0,0.4) 20%,
    var(--accent) 40%,
    rgba(212,255,0,0.3) 60%,
    var(--accent) 80%,
    rgba(212,255,0,0.5) 100%
  );
  border-radius: 2px;
  animation: waveShift 3s ease-in-out infinite;
}
@keyframes waveShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* STEMS SECTION */
.stems-section {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.stems-inner { max-width: 1200px; }
.stems-header { margin-bottom: 56px; }
.overline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.stems-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  max-width: 540px;
  line-height: 1.2;
}
.stems-flow {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.flow-step { flex: 1; }
.step-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.flow-step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 32px;
  flex-shrink: 0;
}

/* FEATURES */
.features {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  max-width: 1200px;
}
.feat { display: flex; flex-direction: column; gap: 10px; }
.feat__icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
}
.feat h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
}
.feat p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* HOW SECTION */
.how-section {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.how-inner { max-width: 1200px; }
.how-quote {
  margin-bottom: 56px;
  max-width: 640px;
}
blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
cite {
  font-size: 0.8rem;
  color: var(--accent);
  font-style: normal;
  letter-spacing: 0.05em;
}
.how-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stat {
  background: var(--bg-2);
  padding: 32px 28px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* CLOSING */
.closing {
  padding: 96px 48px;
  text-align: center;
}
.closing-inner { max-width: 640px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* FOOTER */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
}
.footer__tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  flex: 1;
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* MOBILE */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .stems-section { padding: 48px 24px; }
  .stems-flow { flex-direction: column; gap: 32px; }
  .flow-arrow { transform: rotate(90deg); padding: 0; }
  .features { padding: 48px 24px; }
  .features-inner { grid-template-columns: 1fr; gap: 32px; }
  .how-section { padding: 48px 24px; }
  .how-stats { grid-template-columns: 1fr; }
  .closing { padding: 64px 24px; }
  .footer { padding: 24px; flex-wrap: wrap; }
}