/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B0B0F;
  --bg-2: #111118;
  --bg-card: #16161F;
  --bg-card-hover: #1D1D28;
  --fg: #F2EDE6;
  --fg-muted: #8A8698;
  --fg-dim: #4A4858;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --green: #5DD39E;
  --amber: #F5A623;
  --blue: #7B9EFF;
  --purple: #C07AFF;
  --border: rgba(242, 237, 230, 0.06);
  --border-bright: rgba(242, 237, 230, 0.12);
  --font-head: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --max-w: 1200px;
  --gap: 48px;
}

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

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

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }
p { max-width: 60ch; }

/* === LAYOUT === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(16px);
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: #0B0B0F;
  letter-spacing: -0.5px;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 48px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 88vh;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,237,230,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,237,230,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}
.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.eyebrow-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.eyebrow-text { font-size: 14px; color: var(--fg-muted); font-weight: 500; }
.hero-title { font-size: clamp(42px, 5vw, 68px); margin-bottom: 24px; }
.title-line { display: block; }
.title-line.accent { color: var(--accent); }
.hero-lede { font-size: 18px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 48px; max-width: 48ch; }
.hero-stats { display: flex; align-items: center; gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--fg); }
.stat-label { font-size: 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border-bright); }

/* TIMELINE MOCK */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.timeline-mock {
  width: 100%;
  max-width: 420px;
  background: #1A1A24;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 20px;
  font-family: 'Figtree', sans-serif;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.tm-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.tm-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(93,211,158,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.tm-label { font-size: 11px; color: var(--fg-muted); font-weight: 500; }
.tm-tracks { display: flex; flex-direction: column; gap: 8px; }
.tm-track { display: flex; gap: 6px; align-items: center; }
.tm-clip {
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
}
.clip-a { width: 80px; background: linear-gradient(135deg, #7B9EFF, #4A6FD4); }
.clip-b { width: 60px; background: rgba(255,255,255,0.08); }
.clip-c { width: 100px; background: linear-gradient(135deg, #F5A623, #D4820A); }
.clip-d { width: 40px; background: rgba(255,255,255,0.08); }
.clip-e { width: 120px; background: linear-gradient(135deg, #5DD39E, #3AAF78); }
.clip-f { width: 50px; background: rgba(255,255,255,0.08); }
.clip-g { width: 70px; background: linear-gradient(135deg, #C07AFF, #9845D4); }
.clip-h { width: 60px; background: rgba(255,255,255,0.08); }
.clip-i { width: 90px; background: linear-gradient(135deg, #7B9EFF, #4A6FD4); }
.tm-playhead {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(245,166,35,0.6);
  opacity: 0.7;
}
.tm-screenshot-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.tmsl-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.tm-screenshot-label span { font-size: 11px; color: var(--accent); font-weight: 600; }

/* === THE GAP === */
.thegap {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}
.thegap-inner { max-width: var(--max-w); margin: 0 auto; }
.tg-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fg-dim);
  margin-bottom: 24px;
}
.tg-title {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 64px;
  line-height: 1.2;
}
.tg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 64px;
}
.tg-card {
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tg-card p { font-size: 15px; color: var(--fg-muted); line-height: 1.65; max-width: none; }
.tgc-icon { color: var(--fg-dim); }
.tg-divider {
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 12px;
  padding: 28px 36px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  text-align: center;
}

/* === PHASES === */
.phases {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}
.phases-header { margin-bottom: 64px; }
.phases-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fg-dim);
  display: block;
  margin-bottom: 16px;
}
.phases-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
}
.phases-list { display: flex; flex-direction: column; }
.phase-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.phase-row:hover { background: rgba(255,255,255,0.015); }
.phase-row-last { border-bottom: none; }
.phase-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--fg-dim);
  line-height: 1;
}
.phase-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-head);
}
.phase-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 55ch;
}
.phase-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.badge-green { background: rgba(93,211,158,0.1); color: var(--green); border: 1px solid rgba(93,211,158,0.15); }
.badge-amber { background: rgba(245,166,35,0.1); color: var(--amber); border: 1px solid rgba(245,166,35,0.15); }
.badge-blue { background: rgba(123,158,255,0.1); color: var(--blue); border: 1px solid rgba(123,158,255,0.15); }
.badge-purple { background: rgba(192,122,255,0.1); color: var(--purple); border: 1px solid rgba(192,122,255,0.15); }

/* === PRICING === */
.pricing {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.pricing-header { max-width: var(--max-w); margin: 0 auto 64px; }
.pricing-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fg-dim);
  display: block;
  margin-bottom: 16px;
}
.pricing-title { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.pricing-sub { font-size: 16px; color: var(--fg-muted); max-width: 52ch; }
.pricing-table {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  overflow: hidden;
}
.pt-row {
  display: grid;
  grid-template-columns: 80px 100px 140px 140px 1fr;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
}
.pt-row:last-child { border-bottom: none; }
.pt-header { color: var(--fg-dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.pt-col-rate { font-family: var(--font-head); font-weight: 700; color: var(--fg); }
.pt-col-rev { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.pt-col-note { color: var(--fg-muted); }
.pt-row-active { background: var(--accent-dim); }
.pricing-callout {
  max-width: var(--max-w);
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 36px 40px;
}
.pc-calc {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pc-formula, .pc-minus, .pc-equals { font-family: var(--font-head); font-size: 20px; color: var(--fg-muted); font-weight: 600; }
.pc-result { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--fg); }
.pc-cost { font-family: var(--font-head); font-size: 18px; color: var(--fg-muted); font-weight: 600; }
.pc-profit { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: var(--green); }
.pc-note { font-size: 14px; color: var(--fg-muted); }

/* === MANIFESTO === */
.manifesto {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}
.manifesto-inner { max-width: 760px; margin: 0 auto; }
.m-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fg-dim);
  margin-bottom: 32px;
}
.m-quote {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 32px;
  font-style: normal;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}
.m-body { font-size: 16px; color: var(--fg-muted); line-height: 1.75; }
.m-body strong { color: var(--fg); font-weight: 600; }

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(245,166,35,0.03) 100%);
}
.closing-inner { max-width: var(--max-w); margin: 0 auto; }
.closing-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 32px;
}
.closing-title {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 24px;
}
.closing-sub { font-size: 18px; color: var(--fg-muted); line-height: 1.7; max-width: 56ch; margin-bottom: 56px; }
.closing-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 36px 40px;
  display: inline-block;
}
.cta-label { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cta-sub { font-size: 14px; color: var(--fg-muted); max-width: none; }

/* === FOOTER === */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-tagline { font-size: 15px; color: var(--fg-muted); margin-bottom: 8px; }
.footer-copy { font-size: 13px; color: var(--fg-dim); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 60px; padding: 80px 32px 80px; min-height: auto; }
  .hero-visual { display: none; }
  .tg-grid { grid-template-columns: 1fr; }
  .phase-row { grid-template-columns: 48px 1fr; gap: 16px; }
  .phase-badge { display: none; }
  .pt-row { grid-template-columns: 80px 100px 140px; }
  .pt-col-note { display: none; }
  .pricing-table { overflow-x: auto; }
}
@media (max-width: 600px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 64px 24px 64px; }
  .thegap, .phases, .pricing, .manifesto, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .phase-row { grid-template-columns: 1fr; }
  .phase-num { font-size: 24px; }
}