@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --white: #fff;
  --black: #0a0a0a;
  --blue: #0066ff;
  --blue-dark: #0047b3;
  --blue-light: #e8f0fe;
  --gray-1: #f7f8fa;
  --gray-2: #e2e5ea;
  --gray-3: #555;
  --green: #00cc66;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef2f8;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

.stage-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.stage {
  width: min(1120px, 100%);
  aspect-ratio: 16 / 9;
  min-height: 560px;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(10, 10, 10, .12);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: 74px 1fr 88px;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 74px 0 88px;
  background:
    linear-gradient(rgba(0, 102, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem;
  border-bottom: 1px solid var(--gray-2);
  background: rgba(255, 255, 255, .94);
  z-index: 3;
}

.brand img { width: clamp(220px, 25vw, 340px); display: block; }
.runtime {
  font-family: "JetBrains Mono", monospace;
  color: var(--gray-3);
  font-size: .78rem;
}

.slide-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, #f0f4ff 0%, #fff 54%, #f8f9fb 100%);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  padding: clamp(2rem, 6vw, 5rem);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.slide::after {
  content: "";
  width: 150px;
  height: 4px;
  background: var(--blue);
  border-radius: 99px;
  margin-top: .6rem;
}

.slide.dark {
  background: var(--black);
  color: var(--white);
}

.slide.dark p { color: #c9c9c9; }
.slide.dark .kicker { background: rgba(0, 102, 255, .18); color: #79aefe; }

.kicker {
  width: fit-content;
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: .42rem .75rem;
  border-radius: 99px;
}

h1, h2 {
  max-width: 900px;
  font-size: clamp(2.1rem, 5.5vw, 4.65rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  background: linear-gradient(135deg, var(--black) 55%, var(--blue-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  max-width: 700px;
  color: #444;
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  line-height: 1.62;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  max-width: 820px;
  margin-top: .8rem;
}

.signal-grid span {
  border: 1px solid var(--gray-2);
  border-radius: 6px;
  background: rgba(255, 255, 255, .86);
  padding: .85rem 1rem;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 2px 8px rgba(10, 10, 10, .04);
}

.split ul {
  display: grid;
  gap: .75rem;
  max-width: 760px;
  list-style: none;
}

.split li {
  border-left: 3px solid var(--blue);
  padding: .7rem 0 .7rem 1rem;
  color: #333;
  font-size: clamp(.95rem, 1.7vw, 1.12rem);
  line-height: 1.5;
}

.final .cta {
  width: fit-content;
  margin-top: .4rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  padding: .85rem 1.35rem;
  box-shadow: 0 10px 26px rgba(0, 102, 255, .22);
}

.controls {
  z-index: 3;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  border-top: 1px solid var(--gray-2);
  background: var(--white);
}

.play-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
}

.timeline {
  height: 8px;
  background: var(--gray-2);
  border-radius: 99px;
  overflow: hidden;
}

.timeline span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: inherit;
}

@media (max-width: 760px) {
  .stage-shell { padding: 0; place-items: stretch; }
  .stage {
    width: 100%;
    min-height: 100vh;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    grid-template-rows: 64px 1fr 82px;
  }
  .brand-bar, .controls { padding-inline: 1rem; }
  .brand img { width: min(225px, 68vw); }
  .runtime { font-size: .68rem; }
  .slide { padding: 2rem 1.25rem; }
  h1, h2 { font-size: clamp(2.15rem, 11vw, 3.5rem); }
  p { font-size: 1rem; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
}
