/* ============================================
   Syntheia — Synthetic-first CV defect detection
   Path-Robotics-inspired premium industrial design
   ============================================ */

:root {
  --bg: #06070a;
  --bg-2: #0a0c12;
  --bg-3: #10131c;
  --surface: #0e1119;
  --surface-2: #141823;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f6f8;
  --text-dim: #9ba3b4;
  --text-faint: #5a6275;

  --accent: #5eead4;       /* refined teal — premium, not neon */
  --accent-2: #38bdf8;
  --accent-3: #fb923c;
  --good: #4ade80;

  --radius: 10px;
  --radius-lg: 18px;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --pad-x: clamp(1.5rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  font-feature-settings: "ss01", "cv01", "cv02";
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; color: inherit; cursor: none; }
input, textarea, select { font: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* ============================================
   CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cursor.hover { width: 56px; height: 56px; background: rgba(94, 234, 212, 0.08); border-color: rgba(94, 234, 212, 0.6); }
.cursor-dot {
  position: fixed;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}
@media (max-width: 900px) {
  body { cursor: auto; }
  button, a { cursor: pointer; }
  .cursor, .cursor-dot { display: none; }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.4rem var(--pad-x);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 0.9rem var(--pad-x);
  background: rgba(6, 7, 10, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text);
  font-size: 0.95rem;
}
.nav-logo svg { color: var(--accent); }
.nav-links {
  list-style: none;
  display: flex; gap: 0.3rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color 0.3s;
  font-weight: 400;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 0.65rem 1.2rem !important; font-size: 0.85rem !important; }
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav { gap: 0.8rem; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.85rem 1.3rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.005em;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), color 0.3s, background 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 1.6rem; font-size: 0.95rem; }
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); }
.btn-primary svg { transition: transform 0.4s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }

.play-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: -0.2rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem var(--pad-x) 4rem;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05) brightness(0.88);
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,7,10,0.95) 0%, rgba(6,7,10,0.82) 32%, rgba(6,7,10,0.45) 68%, rgba(6,7,10,0.62) 100%),
    linear-gradient(180deg, rgba(6,7,10,0.7) 0%, rgba(6,7,10,0.5) 40%, rgba(6,7,10,0.75) 82%, var(--bg) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 1200px; }

.pulse-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 8.5vw, 8rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 2rem;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .reveal {
  display: inline-block;
  transform: translateY(110%);
  animation: revealLine 1.1s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) .reveal { animation-delay: 0.42s; }
.hero-title .line:nth-child(2) .reveal { animation-delay: 0.54s; }
@keyframes revealLine { to { transform: translateY(0); } }

.grad {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.grad-warn {
  color: var(--accent-3);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 2.6rem;
  line-height: 1.5;
  font-weight: 400;
}
.reveal-fade { opacity: 0; transform: translateY(20px); animation: revealUp 1s var(--ease-out) 0.78s forwards; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-bottom: 5rem;
  animation-delay: 0.92s;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 800px;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: revealUp 1s var(--ease-out) 1.12s forwards;
}
.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: 1fr; gap: 1.6rem; }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 30%;
  background: var(--accent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -30%; } 100% { top: 100%; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  padding: 9rem var(--pad-x);
  z-index: 1;
}
.section-head {
  max-width: 980px;
  margin-bottom: 5rem;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}
.section-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5.2vw, 4.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.6rem;
}
.section-lead {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  color: var(--text-dim);
  max-width: 720px;
  line-height: 1.55;
}

/* ============================================
   PROBLEM
   ============================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 1100px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  padding: 2.4rem 2rem;
  position: relative;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}
.problem-card:last-child { border-right: none; }
@media (max-width: 1100px) {
  .problem-card:nth-child(2n) { border-right: none; }
  .problem-card:last-child { border-right: none; }
}
.problem-card:hover { background: var(--surface); }
.problem-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--accent-3);
  margin-bottom: 1rem;
  line-height: 1;
}
.problem-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ============================================
   APPROACH / PIPELINE
   ============================================ */
.section-approach {
  background: var(--bg-2);
}
.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 1100px) { .pipeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pipeline { grid-template-columns: 1fr; } }
.pipeline-line { display: none; }

.pipeline-step {
  position: relative;
  padding: 2.4rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pipeline-step:last-child { border-right: none; }
@media (max-width: 1100px) {
  .pipeline-step:nth-child(2n) { border-right: none; }
  .pipeline-step:last-child { border-right: none; }
}
.pipeline-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
}
.pipeline-card { background: transparent; padding: 0; height: 100%; border: none; }
.pipeline-card:hover { transform: none; box-shadow: none; }
.pipeline-icon {
  width: 36px; height: 36px;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.pipeline-icon svg { width: 100%; height: 100%; }
.pipeline-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}
.pipeline-card p {
  font-size: 0.93rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================
   SHOWCASE VIDEO
   ============================================ */
.section-showcase { padding: 0; }
.showcase-video-wrap {
  position: relative;
  height: 92vh;
  min-height: 640px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.showcase-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.showcase-scanline {
  position: absolute; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(94,234,212,0.12) 50%, transparent 100%);
  pointer-events: none;
  animation: scanline 6s linear infinite;
  z-index: 2;
}
@keyframes scanline {
  0% { top: -100px; } 100% { top: 100%; }
}
.showcase-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(6,7,10,0.92) 0%, rgba(6,7,10,0.5) 45%, rgba(6,7,10,0.1) 80%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 var(--pad-x);
  gap: 4rem;
}
.showcase-text { z-index: 3; }
.showcase-text .section-tag {
  color: var(--good);
  margin-bottom: 1.5rem;
}
.showcase-text .section-tag::before {
  background: var(--good);
}
.showcase-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
.showcase-text p {
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 460px;
  line-height: 1.55;
}

.showcase-hud {
  position: relative;
  height: 60%;
  border: 1px solid rgba(94,234,212,0.25);
}
.hud-corner {
  position: absolute;
  width: 16px; height: 16px;
  border: 1.5px solid var(--accent);
}
.hud-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hud-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.hud-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.hud-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hud-readout {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  background: rgba(6,7,10,0.85);
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(94,234,212,0.25);
  min-width: 200px;
  backdrop-filter: blur(8px);
}
.hud-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.18rem 0;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.hud-row .mono { color: var(--text); }
.hud-row .accent { color: var(--good); animation: blink 1s ease-in-out infinite alternate; }
@keyframes blink { from { opacity: 0.5; } to { opacity: 1; } }

.hud-bbox-1, .hud-bbox-2 {
  position: absolute;
  border: 1.5px solid var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  background: transparent;
}
.hud-bbox-1 {
  top: 25%; left: 35%;
  width: 25%; height: 30%;
  animation: hudPulse 3s ease-in-out infinite;
}
.hud-bbox-1 span {
  position: absolute; top: -20px; left: -1px;
  background: var(--accent); color: var(--bg);
  padding: 2px 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.hud-bbox-2 {
  border-color: var(--accent-3);
  top: 55%; left: 60%;
  width: 18%; height: 22%;
  animation: hudPulse 3s ease-in-out 1.5s infinite;
}
.hud-bbox-2 span {
  position: absolute; top: -20px; left: -1px;
  background: var(--accent-3); color: white;
  padding: 2px 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
@keyframes hudPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .showcase-overlay { grid-template-columns: 1fr; padding: 4rem var(--pad-x); }
  .showcase-hud { display: none; }
}

/* ============================================
   CAPABILITIES
   ============================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (max-width: 1000px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-card {
  background: transparent;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 2.4rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
  isolation: isolate;
}
.cap-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(94,234,212,0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}
.cap-card:hover { transform: none; background: var(--surface); }
.cap-card:hover::after { opacity: 1; }
.cap-icon {
  width: 36px; height: 36px;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.cap-icon svg { width: 100%; height: 100%; }
.cap-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}
.cap-card p {
  font-size: 0.93rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 1000px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .industries { grid-template-columns: 1fr; } }
.industry {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.6s var(--ease), border-color 0.5s;
  isolation: isolate;
}
.industry video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s;
  filter: saturate(0.7) brightness(0.65) contrast(1.05);
}
.industry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,7,10,0.2) 0%, transparent 30%, rgba(6,7,10,0.95) 100%);
  z-index: 1;
}
.industry-content {
  position: absolute; left: 1.8rem; right: 1.8rem; bottom: 1.6rem;
  z-index: 2;
}
.industry-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.industry-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.industry-content p {
  color: var(--text-dim);
  font-size: 0.9rem;
}
.industry:hover { border-color: var(--accent); }
.industry:hover video { transform: scale(1.06); filter: saturate(1) brightness(0.85) contrast(1.05); }

/* ============================================
   RESULTS
   ============================================ */
.section-results { background: var(--bg-2); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 5rem;
  border-top: 1px solid var(--border);
}
@media (max-width: 1100px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .results-grid { grid-template-columns: 1fr; } }
.result-card {
  padding: 2.4rem 1.8rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.result-card:last-child { border-right: none; }
@media (max-width: 1100px) {
  .result-card:nth-child(2n) { border-right: none; }
  .result-card:last-child { border-right: none; }
}
.result-card::before {
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 32px; height: 1px;
  background: var(--accent);
}
.result-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1;
}
.result-label {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.quote {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  text-align: left;
}
.quote-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 1.5rem;
}
.quote blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
  color: var(--text);
}
.quote-attr { color: var(--text-dim); font-size: 0.92rem; }
.quote-name { color: var(--text); font-weight: 500; }
.quote-role { font-size: 0.85rem; color: var(--text-faint); }

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding-top: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 1100px) { .timeline { grid-template-columns: 1fr; } }
.timeline-track { display: none; }
.timeline-step {
  position: relative;
  padding: 2.4rem 1.8rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.timeline-step:last-child { border-right: none; }
@media (max-width: 1100px) { .timeline-step { border-right: none; } }
.timeline-dot {
  position: absolute;
  top: -5px; left: 1.8rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-dot.pulse { animation: dotPulse 1.6s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94,234,212,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(94,234,212,0); }
}
.timeline-day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  margin-bottom: 1rem;
  margin-top: 0.4rem;
}
.timeline-day.accent { color: var(--accent); }
.timeline-step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}
.timeline-step p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================
   CTA
   ============================================ */
.section-cta {
  position: relative;
  padding: 10rem var(--pad-x);
  overflow: hidden;
  isolation: isolate;
}
.cta-bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.cta-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.55);
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(6,7,10,0.55) 50%, var(--bg) 100%);
}
.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.cta-content .section-tag {
  margin-bottom: 1.6rem;
  justify-content: center;
}
.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}
.cta-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2.6rem;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

.cta-form {
  display: flex; flex-direction: column; gap: 0.8rem;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.cta-form input, .cta-form select, .cta-form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.1rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
  font-family: inherit;
  width: 100%;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: var(--text-faint); }
.cta-form select { color: var(--text-dim); appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%239ba3b4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(94,234,212,0.04);
}
.cta-form textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.cta-form button { margin-top: 0.6rem; align-self: flex-start; }
.cta-form .btn-sent { display: none; }
.cta-form.sent .btn-default { display: none; }
.cta-form.sent .btn-sent { display: inline; }
.cta-form.sent button { background: var(--good); color: var(--bg); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 4.5rem var(--pad-x) 2rem;
  background: var(--bg);
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand p { color: var(--text-dim); margin-top: 1rem; max-width: 320px; font-size: 0.95rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 0.32rem 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-faint);
  flex-wrap: wrap; gap: 1rem;
}
.footer-status { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--good); }
.footer-status .pulse-dot { background: var(--good); }

/* ============================================
   REVEAL ANIMATIONS (scroll)
   ============================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-up.in { opacity: 1; transform: translateY(0); }
.reveal-up:nth-child(2) { transition-delay: 0.06s; }
.reveal-up:nth-child(3) { transition-delay: 0.12s; }
.reveal-up:nth-child(4) { transition-delay: 0.18s; }
.reveal-up:nth-child(5) { transition-delay: 0.24s; }
.reveal-up:nth-child(6) { transition-delay: 0.3s; }

.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-text.in { opacity: 1; transform: translateY(0); }
