/* ==========================================================================
   KROMINA — AI Video Automation Platform
   Design System & Master Stylesheet
   ========================================================================== */

:root {
  --bg-dark: #07080c;
  --bg-surface: #0e111a;
  --bg-card: rgba(18, 22, 34, 0.65);
  --bg-card-hover: rgba(26, 32, 50, 0.8);
  
  --primary-violet: #6366f1;
  --primary-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #7d8ba1;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Glows */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.orb-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), rgba(6, 182, 212, 0.15), transparent 70%);
}

.orb-mid {
  top: 1400px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.1), transparent 70%);
}

.orb-bottom {
  top: 3200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), rgba(217, 70, 239, 0.15), transparent 70%);
}

/* Typography Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-cyan);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3rem;
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.glass-inset {
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-violet), var(--primary-cyan));
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-violet), var(--primary-cyan));
  border-radius: var(--radius-full);
  z-index: -1;
  filter: blur(10px);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.btn-glow:hover::after {
  opacity: 0.9;
  filter: blur(15px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-cyan);
  box-shadow: 0 0 10px var(--primary-cyan);
}

.badge-dot.green {
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7d2fe;
}

/* NAVBAR */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
}

.nav-logo-img {
  height: 40px;
  width: 40px;
  transition: var(--transition-smooth);
}

.brand-logo:hover .nav-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.6));
}

.brand-word {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-main);
}

/* HERO SECTION */
.hero-section {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 950px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
}

/* HERO PREVIEW MOCKUP */
.hero-preview-card {
  width: 100%;
  max-width: 980px;
  overflow: hidden;
  text-align: left;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: rgba(10, 14, 22, 0.8);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.preview-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.preview-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 280px;
}

.preview-sidebar {
  background: rgba(7, 9, 14, 0.5);
  border-right: 1px solid var(--border-subtle);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.sidebar-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.preview-main {
  padding: 1.5rem;
}

.terminal-stepper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.step-card.completed {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
}

.step-card.active {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-right: 1rem;
}

.step-info strong {
  display: block;
  font-size: 0.95rem;
}

.step-info small {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.step-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.step-status.pulsing {
  color: var(--primary-cyan);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* PILLARS SECTION */
.pillars-section {
  padding: 6rem 1.5rem 3rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card.highlight-pillar {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(25, 30, 48, 0.75), rgba(14, 17, 28, 0.85));
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.35);
}

.pillar-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: auto;
}

.pillar-list li {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
  padding-left: 1.2rem;
  position: relative;
}

.pillar-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-cyan);
}

/* PIPELINE SECTION */
.pipeline-section {
  padding: 6rem 1.5rem;
}

.interactive-pipeline {
  overflow: hidden;
}

.pipeline-tabs {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 13, 20, 0.5);
  overflow-x: auto;
}

/* Image Gen Metrics */
.image-gen-metrics {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-cyan);
  display: flex;
  gap: 0.5rem;
}

/* Video Gen Card Mockup */
.video-gen-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.video-preview-ratio {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #091e3a, #0d3b66, #051622);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 182, 212, 0.35);
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
}

.video-play-pulse {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.25);
  border: 2px solid var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
  animation: playPulse 2s infinite ease-in-out;
}

@keyframes playPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.video-gen-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(99, 102, 241, 0.9);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.video-motion-tag {
  font-size: 0.8rem;
  color: #a5f3fc;
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.6);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  text-align: center;
}

.video-meta-row strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.video-meta-row small {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Channel Branding Mockup */
.channel-branding-mockup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-banner {
  background: linear-gradient(135deg, #1e1b4b, #0f172a, #0369a1);
  border-radius: var(--radius-sm);
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #c7d2fe;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-avatar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mockup-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-violet), var(--primary-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.mockup-channel-meta strong {
  display: block;
  font-size: 0.95rem;
}

.mockup-channel-meta small {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Thumbnail Mockup */
.thumbnail-mockup-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.thumb-ratio {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #450a0a, #7f1d1d, #0f172a);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 68, 68, 0.3);
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.thumb-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(16, 185, 129, 0.9);
  color: #000000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.thumb-text {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fef08a;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.01em;
  text-align: center;
}

.thumb-details strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.thumb-details small {
  color: var(--primary-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* Upload Progress Bar */
.upload-progress-bar {
  margin-top: 0.8rem;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.upload-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-emerald), var(--primary-cyan));
  animation: progressGlow 2s infinite ease-in-out;
}

@keyframes progressGlow {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.pipe-tab {
  background: none;
  border: none;
  border-right: 1px solid var(--border-subtle);
  padding: 1.2rem 0.8rem;
  cursor: pointer;
  color: var(--text-dim);
  text-align: left;
  transition: var(--transition-smooth);
}

.pipe-tab:last-child {
  border-right: none;
}

.pipe-tab:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

.pipe-tab.active {
  background: rgba(99, 102, 241, 0.1);
  color: #ffffff;
  border-bottom: 2px solid var(--primary-cyan);
}

.tab-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-cyan);
  margin-bottom: 0.3rem;
}

.tab-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.pipeline-display {
  padding: 3rem 2.5rem;
}

.display-content {
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.display-content.active {
  display: grid;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.content-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-checklist li {
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-checklist li::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: 800;
}

.content-preview {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.preview-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-cyan);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.script-snippet {
  font-size: 1rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.snippet-tag {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

/* Audio Player Mockup */
.audio-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  margin-bottom: 1rem;
}

.audio-wave span {
  width: 4px;
  height: 15px;
  background: var(--primary-cyan);
  border-radius: 4px;
  animation: wave 1.2s infinite ease-in-out alternate;
}

.audio-wave span:nth-child(2) { animation-delay: 0.1s; height: 30px; }
.audio-wave span:nth-child(3) { animation-delay: 0.2s; height: 20px; }
.audio-wave span:nth-child(4) { animation-delay: 0.3s; height: 35px; }
.audio-wave span:nth-child(5) { animation-delay: 0.4s; height: 25px; }
.audio-wave span:nth-child(6) { animation-delay: 0.5s; height: 18px; }
.audio-wave span:nth-child(7) { animation-delay: 0.6s; height: 32px; }
.audio-wave span:nth-child(8) { animation-delay: 0.7s; height: 28px; }

@keyframes wave {
  from { height: 8px; }
  to { height: 38px; }
}

.audio-info strong {
  display: block;
  font-size: 0.95rem;
}

.audio-info small {
  color: var(--text-dim);
}

/* Broll Card Mockup */
.broll-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.1));
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.broll-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 0.5rem;
}

/* Ducking Mockup */
.ducking-visualizer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.track-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.track-bar {
  height: 12px;
  border-radius: 6px;
}

.track-bar.voice {
  background: linear-gradient(90deg, var(--primary-violet), var(--primary-cyan));
  width: 90%;
}

.track-bar.music {
  background: linear-gradient(90deg, #475569, #334155);
  width: 35%;
}

/* Subtitle Mockup */
.burned-sub {
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 1rem;
}

.burned-sub .highlight {
  color: #fde047;
  background: rgba(0, 0, 0, 0.6);
  padding: 0 4px;
}

.sub-style-tag {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* YouTube Status Mockup */
.youtube-badge {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

/* AUTOPILOT SECTION */
.autopilot-section {
  padding: 4rem 1.5rem 6rem;
}

.autopilot-card {
  padding: 3.5rem;
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.8), rgba(10, 13, 20, 0.9));
  border: 1px solid rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.autopilot-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  filter: blur(50px);
}

.autopilot-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary-cyan);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.autopilot-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.autopilot-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 800px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bp-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* CALCULATOR SECTION */
.calc-section {
  padding: 6rem 1.5rem;
}

.calc-box {
  padding: 3rem;
}

.slider-group {
  margin-bottom: 3rem;
  text-align: center;
}

.slider-group label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.slider-display {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
}

.custom-slider {
  width: 100%;
  max-width: 600px;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  -webkit-appearance: none;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-cyan);
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary-cyan);
  transition: var(--transition-smooth);
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.result-card {
  background: rgba(10, 13, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.result-card.highlight {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
}

.result-card.highlight-green {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.res-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.res-value {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.result-card.highlight-green .res-value {
  color: var(--accent-emerald);
}

.result-card small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* COMPARISON TABLE */
.comparison-section {
  padding: 6rem 1.5rem;
}

.table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.comparison-table th {
  background: rgba(10, 13, 20, 0.8);
  color: var(--text-muted);
  font-weight: 600;
}

.th-kromina {
  color: var(--primary-cyan) !important;
  background: rgba(99, 102, 241, 0.15) !important;
  font-size: 1.1rem !important;
}

.td-kromina {
  background: rgba(99, 102, 241, 0.06);
  color: #c7d2fe;
}

/* AUDIENCE SECTION */
.audience-section {
  padding: 6rem 1.5rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.audience-card {
  padding: 2rem;
}

.aud-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* FAQ ACCORDION */
.faq-section {
  padding: 6rem 1.5rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--primary-cyan);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--text-dim);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.8rem;
}

.faq-answer p {
  padding-bottom: 1.4rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* FINAL CTA SECTION */
.final-cta-section {
  padding: 6rem 1.5rem 8rem;
}

.final-cta-card {
  padding: 4.5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(20, 24, 40, 0.9), rgba(10, 13, 20, 0.95));
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.2);
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.cta-form {
  max-width: 520px;
  margin: 0 auto;
}

.input-wrapper {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.input-wrapper:focus-within {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.input-wrapper input {
  flex: 1;
  background: none;
  border: none;
  padding: 0.8rem 1.2rem;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

.input-wrapper input::placeholder {
  color: var(--text-dim);
}

.form-disclaimer {
  display: block;
  margin-top: 0.8rem;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.form-success-message {
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.form-success-message.hidden {
  display: none;
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* FOOTER */
.footer-wrapper {
  border-top: 1px solid var(--border-subtle);
  background: #040508;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.f-col h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.f-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  transition: var(--transition-smooth);
}

.f-col a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pipeline-tabs { grid-template-columns: repeat(4, 1fr); }
  .display-content { grid-template-columns: 1fr; }
  .calc-results-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .blueprint-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .pipeline-tabs { grid-template-columns: repeat(2, 1fr); }
  .calc-results-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .input-wrapper { flex-direction: column; border-radius: var(--radius-md); padding: 0.8rem; }
}


/* ==========================================================================
   AÑADIDOS: accesibilidad, planes, calculadora, formulario, demo, menú móvil
   ========================================================================== */

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--primary-violet);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--primary-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

a { color: #a5b4fc; }
a:hover { color: #c7d2fe; }

/* Aparición suave al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Hero */
.platform-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: -2.5rem 0 3rem;
}
.illustrative-note {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 0.9rem;
  text-align: center;
}

/* Panel de pasos: el CSS original ya oculta/muestra con .active */
.pipe-tab[aria-selected="true"] { cursor: default; }

/* Menú móvil */
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

/* Demo */
.demo-section { padding-top: 1rem; padding-bottom: 3rem; text-align: center; }
.demo-section .section-subtitle { margin-left: auto; margin-right: auto; }
.demo-frame { max-width: 900px; margin: 0 auto; padding: 0.6rem; overflow: hidden; }
.demo-frame video { width: 100%; display: block; border-radius: var(--radius-md); background: #000; }

/* Próximamente */
.bp-soon { color: var(--text-muted); border-style: dashed; }

/* Calculadora */
.calc-assumptions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.75rem;
}
.calc-assumptions label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.calc-assumptions input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  color: #fff;
  font: inherit;
  font-family: var(--font-mono);
}
.calc-assumptions input:focus-visible { outline-offset: 1px; }
.calc-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-dim); }

/* Comparativa: la primera columna ahora es <th scope="row"> */
.comparison-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--text-main);
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* Planes */
.plans-section { padding-top: 2rem; padding-bottom: 4rem; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.plan-card { padding: 2rem; position: relative; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-card h3 { font-size: 1.3rem; }
.plan-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); margin-left: 0.2rem; }
.plan-tokens { color: #c7d2fe; font-weight: 600; margin-bottom: 0.75rem; }
.plan-tokens em { color: var(--accent-emerald); font-style: normal; font-size: 0.9rem; }
.plan-features { list-style: none; display: grid; gap: 0.6rem; margin-top: 0.5rem; color: var(--text-muted); font-size: 0.95rem; }
.plan-features li::before { content: '✓'; color: var(--accent-emerald); font-weight: 800; margin-right: 0.6rem; }
.plan-popular { border-color: rgba(99, 102, 241, 0.55); box-shadow: 0 20px 50px -15px rgba(99, 102, 241, 0.35); }
.plan-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-violet), var(--primary-cyan));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
}
.plans-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-dim); max-width: 760px; }

/* Expectativas realistas */
.reality-note { margin-top: 2rem; padding: 1.75rem 2rem; border-left: 3px solid var(--accent-amber); }
.reality-note h3 { margin-bottom: 0.4rem; }
.reality-note p { color: var(--text-muted); }

/* Formulario */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  text-align: left;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.consent-row input { margin-top: 0.2rem; accent-color: var(--primary-cyan); flex: none; }
.form-status { min-height: 1.4rem; margin-top: 0.6rem; font-size: 0.85rem; color: var(--text-muted); }
.form-status.error { color: #fda4af; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 520px; }
  .calc-assumptions { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .navbar .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #07080c;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.5rem 1.5rem 1rem;
  }
  .navbar .nav-links.open { display: flex; }
  .navbar .nav-links a { display: block; padding: 0.85rem 0; }
  .nav-cta .btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .platform-note { margin-top: -1.5rem; }
  .hero-preview-card { font-size: 0.9rem; }
}

/* Página legal */
.legal-page { padding-top: 2.5rem; padding-bottom: 5rem; max-width: 860px; }
.legal-switch { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.legal-switch a {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.legal-switch a.active { background: rgba(99, 102, 241, 0.18); color: #e0e7ff; border-color: rgba(99, 102, 241, 0.5); }
.legal-doc { padding: 2.25rem; line-height: 1.75; }
.legal-doc h2 { font-size: 1.7rem; margin: 0 0 1rem; }
.legal-doc h3 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal-doc h4, .legal-doc h5 { margin: 1.5rem 0 0.5rem; }
.legal-doc p, .legal-doc li { color: var(--text-muted); }
.legal-doc p { margin-bottom: 0.9rem; }
.legal-doc ul, .legal-doc ol { margin: 0 0 1rem 1.4rem; display: grid; gap: 0.3rem; }
.legal-doc hr { border: 0; border-top: 1px solid var(--border-subtle); margin: 1.5rem 0; }
.legal-doc code { font-family: var(--font-mono); font-size: 0.88em; background: rgba(255,255,255,0.06); padding: 0.1em 0.35em; border-radius: 4px; }
.legal-meta { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 1.25rem !important; }
@media (max-width: 768px) { .legal-doc { padding: 1.25rem; } }

/* Los resplandores (absolute, 700px) ensanchaban la página en móvil: sin
   overflow-x en <html>, el de <body> se propaga al viewport y no recorta. */
html { overflow-x: hidden; }
.hero-title .gradient-text { display: inline-block; }
.table-wrapper { -webkit-overflow-scrolling: touch; }

@media (max-width: 480px) {
  .nav-cta .btn { display: none; }
  .brand-word { font-size: 1.05rem; }
}
