* {
  box-sizing: border-box;
}

:root {
  --bg: #121212;
  --card: rgba(255, 255, 255, 0.03);
  --card-strong: rgba(255, 255, 255, 0.05);
  --line: rgba(77, 34, 34, 0.1);
  --text: #ffffff;
  --muted: #a1a1aa;
  --gold: #f4b942;
  --gold-soft: rgba(244, 185, 66, 0.12);
  --blue: #58a6ff;
  --rose: #fda4af;
  --radius-xl: 32px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(245, 158, 11, 0.16), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.12), transparent 22%);
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(18, 18, 18, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #d4d4d8;
  font-size: 14px;
}

.site-nav a:hover {
  color: white;
}

.section {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.hero {
  padding-top: 72px;
  padding-bottom: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: #f4b942;
}

.hero-copy p {
  max-width: 760px;
  margin: 0;
  font-size: 19px;
  line-height: 1.8;
  color: #d4d4d8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 185, 66, 0.25);
  background: rgba(244, 185, 66, 0.10);
  color: #f7c96f;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 14px;
  transition: 180ms ease;
}

.btn-primary {
  background: var(--gold);
  color: #111;
}

.btn-primary:hover {
  background: #f7ca66;
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-media {
  overflow: hidden;
  padding: 0;
}

.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-head {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: #d4d4d8;
  font-size: 18px;
  line-height: 1.75;
}

/* .demo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
} */

.demo-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: start;
}

.script-card,
.full-demo-card,
.timeline-card,
.abstract-card,
.teaser-card {
  padding: 20px;
}

.mini-label {
  color: #f7c96f;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.video-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.script-lead {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.05vw, 26px);
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #f5f5f5;
  max-width: 22ch;
}

.script-lead .blue {
  color: var(--blue);
  font-weight: 600;
}

.script-lead .gold {
  color: #f6b650;
  font-weight: 600;
}

.script-lead .rose {
  color: var(--rose);
  font-weight: 600;
}

.assets-head {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #d4d4d8;
}

.asset-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.asset-thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  padding: 3px;
  cursor: pointer;
  transition: 180ms ease;
}

.asset-thumb.active,
.asset-thumb:hover {
  border-color: rgba(244, 185, 66, 0.65);
  transform: translateY(-1px);
}

.asset-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.asset-preview-wrap {
  margin-top: 14px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
  padding: 12px;
}

.asset-preview-title {
  font-size: 14px;
  font-weight: 600;
}

.asset-preview-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.asset-preview {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #09090b;
}

.asset-preview img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}

/* .full-demo-video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  min-height: 520px;
  background: #09090b;
} */

.full-demo-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  background: #09090b;
}

.timeline-intro {
  margin: 0 0 20px;
  max-width: 840px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}

.timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: max-content;
}

.timeline-item {
  width: 260px;
  flex: 0 0 auto;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 11, 0.48);
  padding: 20px;
  transition: 180ms ease;
}

.timeline-item:hover {
  border-color: rgba(244, 185, 66, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-shot {
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: #f7c96f;
}

.timeline-title {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}

.timeline-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.timeline-link {
  width: 40px;
  flex: 0 0 auto;
  height: 1px;
  margin-top: 72px;
  background: linear-gradient(90deg, rgba(244,185,66,0.7), rgba(255,255,255,0.1));
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
}

.abstract-card p {
  margin: 0;
  color: #d4d4d8;
  font-size: 16px;
  line-height: 1.95;
}

.teaser-media {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #09090b;
}

.caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.comparison-panel {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 24px;
}

.comparison-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.comparison-head h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.comparison-head p {
  margin: 0;
  max-width: 860px;
  color: #d4d4d8;
  font-size: 16px;
  line-height: 1.8;
}

.comparison-copy {
  max-width: 900px;
}

.comparison-text-block + .comparison-text-block {
  margin-top: 14px;
}

.comparison-text-label {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7c96f;
}

#comparisonPlot,
#comparisonAdvantage {
  font-size: 16px;
  line-height: 1.8;
  color: #d4d4d8;
}

.comparison-nav {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f4f5;
  font-size: 22px;
  cursor: pointer;
  transition: 180ms ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.10);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comparison-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comparison-label {
  font-size: 14px;
  font-weight: 600;
  color: #e4e4e7;
}

.comparison-label.ours {
  color: #f7c96f;
}

.comparison-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #09090b;
}

.comparison-switcher {
  margin-top: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.switcher-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.case-slider {
  width: 100%;
  accent-color: #f4b942;
}

.case-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.case-btn {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: #d4d4d8;
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  transition: 180ms ease;
}

.case-btn.active {
  border-color: rgba(244, 185, 66, 0.58);
  background: rgba(244, 185, 66, 0.10);
  color: white;
}

.case-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1100px) {
  .hero-grid,
  .demo-grid,
  .method-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .container {
    width: min(100% - 28px, 1280px);
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 44px;
  }

    .script-lead {
    font-size: 24px;
    max-width: none;
  }

  .full-demo-video {
    min-height: auto;
  }

  .asset-thumb {
    width: 72px;
    height: 72px;
  }

  .case-buttons {
    grid-template-columns: 1fr;
  }

  .comparison-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
