:root {
  --bg: #08090b;
  --surface: #101217;
  --surface-2: #151922;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f7f2ea;
  --muted: #aaa7a0;
  --soft: #716f69;
  --cyan: #20d6ff;
  --rose: #ff4f8b;
  --amber: #f6c453;
  --green: #35d989;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(32, 214, 255, 0.06), transparent 340px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 72px 72px, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  color: var(--cyan);
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(32, 214, 255, 0.45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(32, 214, 255, 0.18), rgba(255, 79, 139, 0.16));
  color: #fff;
  box-shadow: 0 0 28px rgba(32, 214, 255, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.nav-cta,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.nav-cta {
  border-color: rgba(32, 214, 255, 0.28);
  background: rgba(32, 214, 255, 0.08);
  color: var(--text);
  font-size: 0.9rem;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #13bce3, #ff4f8b);
  color: #fff;
  box-shadow: 0 18px 38px rgba(255, 79, 139, 0.2);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero {
  min-height: 100vh;
  padding: 132px 0 80px;
  display: flex;
  align-items: center;
}

.hero-grid,
.section,
.final-cta,
.site-footer,
.logo-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.final-copy h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 7vw, 5.9rem);
}

.hero-text,
.section-heading p,
.final-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: var(--soft);
  font-size: 0.9rem;
}

.hero-stats strong {
  color: var(--text);
}

.editor-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.window-bar p {
  margin: 0 0 0 8px;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
}

.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  min-height: 390px;
}

.preview-panel {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.preview-frame {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(120deg, rgba(32, 214, 255, 0.22), transparent 42%),
    linear-gradient(315deg, rgba(255, 79, 139, 0.24), transparent 48%),
    #11131a;
}

.film-strip {
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 18px, transparent 18px 30px),
    rgba(0, 0, 0, 0.42);
  opacity: 0.55;
}

.film-strip-top {
  top: 0;
}

.film-strip-bottom {
  bottom: 0;
}

.scene-card {
  position: absolute;
  left: 26px;
  bottom: 54px;
  width: min(310px, calc(100% - 52px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(16px);
}

.scene-card strong,
.agent-task strong,
.render-list strong {
  display: block;
  color: var(--text);
}

.scene-card p,
.agent-task p,
.brief-row p,
.render-list span {
  margin: 6px 0 0;
  color: var(--muted);
}

.scene-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.caption-chip {
  position: absolute;
  right: 20px;
  top: 54px;
  max-width: 250px;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #11131a;
  font-weight: 850;
  font-size: 0.86rem;
}

.preview-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--soft);
  font-size: 0.78rem;
}

.control-dots {
  display: flex;
  gap: 8px;
}

.control-dots b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.agent-panel {
  padding: 16px;
  background: rgba(0, 0, 0, 0.16);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 800;
}

.agent-task {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.agent-task > span {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  margin-top: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.agent-task.complete > span {
  background: var(--green);
}

.agent-task.active > span {
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(32, 214, 255, 0.75);
}

.timeline {
  position: relative;
  padding: 18px 18px 22px;
  border-top: 1px solid var(--line);
  background: #0c0e13;
}

.track {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  min-height: 42px;
  color: var(--soft);
  font-size: 0.76rem;
}

.clip,
.caption {
  position: absolute;
  height: 24px;
  top: 9px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #081014;
  font-size: 0.72rem;
}

.clip-a {
  left: 88px;
  width: 27%;
  background: var(--cyan);
}

.clip-b {
  left: 38%;
  width: 24%;
  background: var(--rose);
}

.clip-c {
  left: 66%;
  width: 24%;
  background: var(--amber);
}

.caption-a {
  left: 90px;
  width: 18%;
  background: rgba(255, 255, 255, 0.82);
}

.caption-b {
  left: 34%;
  width: 22%;
  background: rgba(255, 255, 255, 0.82);
}

.caption-c {
  left: 64%;
  width: 20%;
  background: rgba(255, 255, 255, 0.82);
}

.waveform {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding-left: 16px;
}

.waveform i {
  width: 7px;
  height: 18px;
  border-radius: 6px;
  background: rgba(53, 217, 137, 0.78);
}

.waveform i:nth-child(2n) {
  height: 26px;
}

.waveform i:nth-child(3n) {
  height: 12px;
}

.playhead {
  position: absolute;
  top: 14px;
  bottom: 12px;
  left: 58%;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.55);
}

.logo-band {
  padding: 30px 0;
  border-block: 1px solid var(--line);
  text-align: center;
}

.logo-band p {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.logo-band div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 38px;
  color: rgba(247, 242, 234, 0.45);
  font-weight: 800;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.final-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.section-heading p {
  margin: 18px 0 0;
}

.step-grid,
.feature-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

.step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid,
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-card,
.feature-card,
.price-card,
.brief-panel,
.faq details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}

.step-card,
.feature-card,
.price-card {
  padding: 24px;
}

.step-card span {
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.step-card svg,
.feature-card svg {
  width: 28px;
  height: 28px;
  margin: 24px 0 18px;
  color: var(--cyan);
}

.step-card h3,
.feature-card h3,
.price-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.step-card p,
.feature-card p,
.price-card p,
.faq p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 46px;
}

.brief-panel {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(32, 214, 255, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.brief-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.16);
}

.brief-row span {
  color: var(--cyan);
  font-weight: 850;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brief-row.success span {
  color: var(--green);
}

.render-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.render-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list svg {
  color: var(--green);
}

.pricing {
  border-block: 1px solid var(--line);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.price-card.featured {
  border-color: rgba(32, 214, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(32, 214, 255, 0.11), rgba(255, 79, 139, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(32, 214, 255, 0.3);
  border-radius: 8px;
  padding: 4px 8px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
}

.price {
  margin: 4px 0 12px;
  color: var(--text) !important;
  font-size: 2.35rem;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card .button {
  margin: 24px 0;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.price-card li::before {
  content: "+";
  margin-right: 8px;
  color: var(--cyan);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.faq p {
  padding-top: 14px;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: start;
  padding: 96px 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 480px;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    inset: 64px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101217;
    padding: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .editor-grid,
  .split-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .preview-panel {
    border-right: 0;
  }

  .agent-panel {
    border-top: 1px solid var(--line);
  }

  .step-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .hero,
  .section,
  .final-cta {
    padding-block: 72px;
  }

  .hero {
    padding-top: 92px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.05;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-actions .button {
    flex: 1 1 155px;
    justify-content: center;
    padding-inline: 12px;
  }

  .hero-stats {
    display: none;
  }

  .step-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .editor-shell {
    margin-inline: -2px;
  }

  .preview-frame {
    min-height: 260px;
  }

  .scene-card {
    bottom: 32px;
    padding: 14px;
  }

  .caption-chip {
    left: 18px;
    right: 18px;
    top: 48px;
    max-width: none;
    font-size: 0.78rem;
  }

  .track {
    grid-template-columns: 58px 1fr;
  }

  .clip-a,
  .caption-a {
    left: 64px;
  }

  .render-list div,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
