/* ============================================
   PLYR — Design System
   Dark editorial, athletic energy
   ============================================ */

:root {
  --bg: #0B0F1A;
  --surface: #111827;
  --surface-2: #1A2332;
  --amber: #F59E0B;
  --amber-dim: #B47408;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border: rgba(241, 245, 249, 0.08);
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(180deg, rgba(11,15,26,0.95) 0%, transparent 100%);
  pointer-events: none;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.nav-tagline {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(96px, 14vw, 180px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-title-brand {
  background: linear-gradient(135deg, var(--text) 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 0.04em;
  color: var(--amber);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 420px;
}

/* Pipeline visualization */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline-viz {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pipe-stage {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pipe-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-weight: 600;
  width: 80px;
  flex-shrink: 0;
}

.pipe-bar {
  flex: 1;
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.pipe-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 60%;
  background: var(--surface-2);
  border-radius: 2px;
}

.pipe-bar-active::after {
  background: var(--amber);
  width: 100%;
}

.pipe-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.pipe-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--surface-2);
}

.pipe-dot.on {
  background: var(--amber-dim);
}

.pipe-connector {
  width: 2px;
  height: 20px;
  background: var(--border);
  margin-left: 40px;
}

.hero-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--amber);
  color: var(--bg);
  border-radius: 4px;
  padding: 16px 20px;
  text-align: center;
}

.badge-num {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.badge-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--amber) 0%, transparent 100%);
}

/* ---- MANIFESTO ---- */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 48px;
}

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

.manifesto-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.manifesto-accent {
  color: var(--text);
}

/* ---- FEATURES ---- */
.features {
  padding: 120px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.features-header, .stages-header {
  margin-bottom: 72px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: 0.02em;
  line-height: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.feature-card {
  background: var(--surface);
  padding: 48px;
  border: 1px solid var(--border);
  position: relative;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--amber-dim);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 24px;
}

.feature-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 16px;
}

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

/* ---- STAGES ---- */
.stages {
  padding: 120px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.stages-header {
  max-width: 1280px;
  margin: 0 auto 72px;
}

.stages-list {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stage-row {
  display: flex;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.stage-row-alt {
  background: rgba(255,255,255,0.01);
}

.stage-step {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex: 1;
  max-width: 800px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--amber);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}

.step-body {
  padding-top: 8px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}

/* ---- CLOSING ---- */
.closing {
  padding: 160px 48px;
  text-align: center;
}

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

.closing-rule {
  width: 48px;
  height: 2px;
  background: var(--amber);
  margin: 0 auto 64px;
}

.closing-text {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 32px;
}

.closing-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 80px;
}

.closing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  padding: 0 48px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-right { order: -1; }
  .hero, .features, .stages, .closing, .manifesto {
    padding-left: 24px;
    padding-right: 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stage-step {
    gap: 24px;
  }
  .closing-stats {
    flex-direction: column;
    gap: 32px;
  }
  .stat-divider { display: none; }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .nav { padding: 16px 24px; }
  .hero-badge { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 80px; }
  .manifesto-text, .closing-text { font-size: 40px; }
}