/* ============================
   ReelForge — Theme CSS
   ============================ */

/* Tokens */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --fg: #f5f5f5;
  --fg-2: #a3a3a3;
  --fg-3: #525252;
  --amber: #F59E0B;
  --amber-2: rgba(245, 158, 11, 0.08);
  --amber-glow: rgba(245, 158, 11, 0.25);
  --white: #ffffff;
  --red: #ef4444;
  --green: #22c55e;
  --border: rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.12);

  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;

  --max-w: 1200px;
  --pad: clamp(1.5rem, 5vw, 4rem);
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--pad);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10,10,10,0.8);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--amber);
}

.nav-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-2);
  background: var(--amber-2);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ─── Section Label ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--amber);
  opacity: 0.6;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem var(--pad) 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-lines {
  position: absolute;
  right: 5%;
  top: 20%;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  justify-content: center;
}

.line {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--amber-glow), transparent);
}

.line-1 { height: 30%; }
.line-2 { height: 50%; }
.line-3 { height: 25%; }

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.eyebrow-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--amber);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 14ch;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: var(--border-2);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 280px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 0 60px rgba(245,158,11,0.15), 0 0 120px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone-screen {
  background: #0d0d0d;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  display: flex;
  flex-direction: column;
}

.video-thumb {
  flex: 1;
  background: linear-gradient(145deg, #1c1c1c, #0f0f0f);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,0.02) 3px, rgba(255,255,255,0.02) 4px);
}

.vt-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245,158,11,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 30px rgba(245,158,11,0.5);
}

.vt-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
}

.phone-ui {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pui-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.pui-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #b45309);
  flex-shrink: 0;
}

.pui-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pui-line {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.pui-line.long { width: 70%; }
.pui-line.short { width: 45%; }

.pui-engagement {
  display: flex;
  gap: 0.75rem;
}

.pui-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--fg-3);
}

.hero-badge {
  position: absolute;
  bottom: -12px;
  left: -20px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ─── Manifesto ─── */
.manifesto {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.manifesto-inner {
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
  border-right: 1px solid var(--border);
}

.manifesto-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
  background: var(--amber-2);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.manifesto-head {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.manifesto-body p {
  font-size: 0.95rem;
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 44ch;
}

.manifesto-body p + p {
  margin-top: 1rem;
}

/* Comparison */
.manifesto-visual {
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
  display: flex;
  align-items: center;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
}

.comp-col {}

.comp-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 1rem;
}

.comp-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
}

.comp-before .comp-row { color: var(--fg-3); }
.comp-after .comp-row { color: var(--fg); }

/* ─── Workflow ─── */
.workflow {
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.workflow-header {
  text-align: center;
  margin-bottom: 4rem;
}

.workflow-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  max-width: 280px;
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--amber-2);
  border: 1px solid rgba(245,158,11,0.2);
  margin: 0 auto 1.25rem;
  color: var(--amber);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--fg-2);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: center;
  margin-top: -1rem;
}

@media (max-width: 800px) {
  .step-connector { display: none; }
}

/* ─── Scale ─── */
.scale {
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.scale-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.scale-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max-w);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.scale-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  background: var(--bg-2);
}

.scale-card:last-child {
  border-right: none;
}

.sc-icon {
  margin-bottom: 1.25rem;
}

.sc-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.sc-desc {
  font-size: 0.85rem;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ─── Closing ─── */
.closing {
  padding: clamp(5rem, 12vw, 10rem) var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.closing-head {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}

.closing-vision {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
}

.cv-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--amber));
}

.cv-line:last-child {
  background: linear-gradient(to left, transparent, var(--amber));
}

.cv-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 36ch;
  line-height: 1.5;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem var(--pad);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--amber);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-3);
  margin-top: 0.2rem;
}

.footer-slug {
  font-size: 0.7rem;
  color: var(--fg-3);
  font-family: monospace;
  opacity: 0.5;
}

/* ─── Mobile Responsive ─── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding-top: 7rem;
  }

  .hero-headline { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-stats { justify-content: center; }

  .hero-visual { order: -1; }
  .phone-frame { width: 220px; }

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

  .manifesto-inner {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .manifesto-visual {
    padding-top: 2.5rem;
  }

  .comparison {
    gap: 1.5rem;
  }

  .workflow-steps {
    flex-direction: column;
    gap: 0;
  }

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

  .scale-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .scale-card:last-child {
    border-bottom: none;
  }

  .closing-vision {
    flex-direction: column;
    gap: 1rem;
  }

  .cv-line { display: none; }

  .stat-divider { display: none; }
  .hero-stats { gap: 1.25rem; }
  .stat { text-align: center; }
  .stat-label { max-width: none; }
}

@media (max-width: 480px) {
  .phone-frame { width: 180px; }
  .step { padding: 1.5rem 1rem; }
  .comp-col { gap: 2rem; }
}

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

/* Selection */
::selection { background: var(--amber); color: #000; }
