:root {
  --bg: #0E0E0E;
  --bg-2: #131313;
  --bg-3: #1A1A1A;
  --fg: #F0F0F0;
  --fg-muted: #6B7280;
  --accent: #F59E0B;
  --accent-dim: rgba(245,158,11,0.12);
  --slate: #94A3B8;
  --tiktok: #FF0050;
  --youtube: #FF0000;
  --instagram: #E040FB;
  --border: rgba(255,255,255,0.06);
  --card-bg: #141414;
}

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

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

h1, h2, h3, h4 { font-family: 'Sora', system-ui, sans-serif; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(14,14,14,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-tag {
  font-size: 12px;
  color: var(--fg-muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 120px 80px 80px;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; gap: 28px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 14px;
  width: fit-content;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--fg);
}
.headline-accent { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--slate);
  max-width: 440px;
  line-height: 1.65;
}
.hero-right { display: flex; flex-direction: column; gap: 24px; }

/* TRANSCRIPT PANEL */
.transcript-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #0A0A0A;
  border-bottom: 1px solid var(--border);
}
.panel-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.panel-dot.red { background: #FF5F57; }
.panel-dot.amber { background: #FFBD2E; }
.panel-dot.green { background: #28CA41; }
.panel-title { font-size: 12px; color: var(--fg-muted); margin-left: 8px; font-family: 'DM Mono', 'Courier New', monospace; }
.panel-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.transcript-line { display: flex; gap: 16px; align-items: baseline; padding: 6px 8px; border-radius: 6px; }
.transcript-line:hover { background: var(--bg-3); }
.ts-time { font-size: 11px; color: var(--fg-muted); font-family: 'DM Mono', 'Courier New', monospace; flex-shrink: 0; width: 36px; }
.ts-text { font-size: 13px; color: var(--slate); }
.panel-arrow { display: flex; justify-content: center; padding: 8px 0 4px; }

/* CLIPS OUTPUT */
.clips-output { display: flex; flex-direction: column; gap: 8px; }
.clip-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
}
.clip-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.clip-platform {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}
.clip-platform.tiktok { background: rgba(255,0,80,0.15); color: var(--tiktok); }
.clip-platform.youtube { background: rgba(255,0,0,0.12); color: var(--youtube); }
.clip-platform.instagram { background: rgba(224,64,251,0.12); color: var(--instagram); }
.clip-score { font-size: 14px; font-weight: 700; color: var(--accent); font-family: 'Sora', system-ui, sans-serif; }
.clip-hook { font-size: 14px; color: var(--fg); font-weight: 600; margin-bottom: 4px; }
.clip-duration { font-size: 11px; color: var(--fg-muted); font-family: 'DM Mono', 'Courier New', monospace; }

/* SECTION SHARED */
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 48px;
  line-height: 1.15;
}

/* PIPELINE */
.pipeline {
  padding: 100px 80px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.pipeline-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.step-connector {
  width: 60px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  opacity: 0.4;
  position: relative;
}
.step-connector::after {
  content: '→';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}
.step-num {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
}
.step h3 { font-size: 18px; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--slate); line-height: 1.6; }

/* OUTPUT */
.output {
  padding: 100px 80px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.output-card { border-radius: 12px; overflow: hidden; }
.spec-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.spec-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.spec-row:last-child { border-bottom: none; }
.spec-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-muted);
  font-weight: 600;
  padding-top: 2px;
}
.spec-value { font-size: 14px; color: var(--fg); font-weight: 500; }
.spec-value.accent-tiktok { color: var(--tiktok); font-weight: 700; text-transform: uppercase; font-size: 12px; }
.spec-value.hook { color: var(--accent); font-style: italic; font-size: 14px; }
.spec-notes {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 12px;
  font-family: 'DM Mono', 'Courier New', monospace;
  color: var(--slate);
  line-height: 1.8;
}
.spec-notes strong { color: var(--fg); }
.stats-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  align-items: center;
}
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100%;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-desc { font-size: 13px; color: var(--slate); }

/* CLOSING */
.closing {
  padding: 120px 80px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 18px;
  color: var(--slate);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* FOOTER */
.footer {
  padding: 40px 80px;
  border-top: 1px solid var(--border);
}
.footer-inner { display: flex; align-items: center; gap: 24px; }
.footer-brand { font-family: 'Sora', system-ui, sans-serif; font-weight: 700; font-size: 16px; color: var(--fg); }
.footer-copy { font-size: 14px; color: var(--fg-muted); }

/* MOBILE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 100px 32px 60px; gap: 40px; }
  .hero-right { display: none; }
  .pipeline { padding: 60px 32px; }
  .pipeline-steps { flex-direction: column; gap: 16px; }
  .step-connector { width: 100%; height: 24px; }
  .step-connector::after { content: '↓'; }
  .output { padding: 60px 32px; }
  .output-grid { grid-template-columns: 1fr; }
  .closing { padding: 80px 32px; }
  .footer { padding: 32px; }
}

@media (max-width: 600px) {
  .nav { padding: 0 20px; }
  .hero-headline { font-size: 36px; letter-spacing: -1px; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .section-title { font-size: 28px; }
}