:root {
  --cinema-bg: #151515;
  --cinema-bg-soft: #202020;
  --cinema-panel: rgba(255, 255, 255, 0.075);
  --cinema-panel-strong: rgba(255, 255, 255, 0.12);
  --cinema-line: rgba(255, 255, 255, 0.16);
  --cinema-text: #f8f8f8;
  --cinema-muted: rgba(255, 255, 255, 0.72);
  --cinema-faint: rgba(255, 255, 255, 0.52);
  --cinema-red: #ff1238;
  --cinema-red-dark: #c90024;
  --cinema-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --cinema-radius: 24px;
  --cinema-shell: 1180px;
}

html {
  scroll-behavior: smooth;
  background: var(--cinema-bg);
}

body {
  background: var(--cinema-bg) !important;
  color: var(--cinema-text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #151515;
  background-size: 96px 96px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.18);
}

.yt-shell {
  width: min(var(--cinema-shell), calc(100% - 48px));
  margin: 0 auto;
}

.yt-site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 13, 13, 0.68);
  backdrop-filter: blur(18px);
}

.yt-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.yt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
}

.yt-brand:hover,
.yt-brand:focus-visible {
  color: #ffffff;
}

.yt-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.yt-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.yt-nav a,
.yt-nav span {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.yt-nav a:hover,
.yt-nav a:focus-visible,
.yt-nav .user-menu-trigger:hover {
  color: var(--cinema-red);
}

.yt-nav .yt-nav-cta {
  color: #ffffff;
}

.user-menu-panel {
  background: rgba(20, 20, 20, 0.96);
  border-color: var(--cinema-line);
}

.user-menu-panel a {
  color: rgba(255, 255, 255, 0.84);
}

.user-menu-panel a:hover,
.user-menu-panel a:focus-visible {
  background: rgba(255, 18, 56, 0.16);
  color: #ffffff;
}

.yt-home {
  overflow: hidden;
}

.yt-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 128px 0 104px;
  isolation: isolate;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #050505;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.68) contrast(1.08);
  transform: scale(1.035);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.32) 48%, rgba(0, 0, 0, 0.6)),
    linear-gradient(0deg, rgba(21, 21, 21, 0.9), rgba(21, 21, 21, 0.08) 26%, rgba(0, 0, 0, 0.3));
}

.yt-hero-inner {
  max-width: 860px;
  margin-left: max(24px, calc((100vw - var(--cinema-shell)) / 2));
}

.eyebrow {
  margin: 0 0 16px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 900;
}

.yt-hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  line-height: 0.98;
}

.yt-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 7vw, 92px);
}

.hero-subhead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--cinema-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-subhead.is-rotating {
  min-height: 4.35em;
  transition: opacity 220ms ease;
}

.hero-subhead.is-fading {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-subhead.is-rotating {
    transition: none;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.yt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.yt-btn:hover,
.yt-btn:focus-visible {
  transform: translateY(-2px);
  color: #ffffff;
}

.yt-btn-primary {
  background: var(--cinema-red);
  box-shadow: 0 16px 50px rgba(255, 18, 56, 0.32);
}

.yt-btn-primary:hover,
.yt-btn-primary:focus-visible {
  background: #ff2748;
  box-shadow: 0 20px 70px rgba(255, 18, 56, 0.48);
}

.yt-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
}

.yt-btn-secondary:hover,
.yt-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.demo-section {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  padding: 0 0 96px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(34px, 4.2vw, 60px);
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--cinema-muted);
  font-size: 18px;
  line-height: 1.55;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.demo-card,
.feature-card,
.device-card,
.seo-card,
.seo-details,
.faq-item,
.seo-cta {
  border: 1px solid var(--cinema-line);
  background: var(--cinema-panel);
  box-shadow: var(--cinema-shadow);
  backdrop-filter: blur(22px);
}

.demo-card {
  border-radius: var(--cinema-radius);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.demo-card:hover,
.demo-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.11);
}

.demo-card a {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.demo-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c0c0c;
}

.demo-thumb img,
.freedom-visual img,
.showcase-screen,
.media-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-thumb img {
  transition: transform 320ms ease, filter 320ms ease;
}

.demo-card:hover .demo-thumb img {
  transform: scale(1.055);
  filter: brightness(1.1);
}

.demo-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.demo-body {
  padding: 18px;
}

.demo-body h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
}

.demo-body p {
  margin: 10px 0 0;
  color: var(--cinema-muted);
  line-height: 1.45;
}

.demo-link {
  display: inline-flex;
  margin-top: 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.yt-section {
  padding: 104px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-grid,
.device-grid,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.device-card,
.seo-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border-radius: var(--cinema-radius);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::after,
.device-card::after,
.seo-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: 64px;
  height: 2px;
  background: var(--cinema-red);
  box-shadow: 0 0 28px rgba(255, 18, 56, 0.72);
  transform-origin: right center;
  transition: transform 220ms ease;
}

.feature-card:hover,
.device-card:hover,
.seo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.32);
  background: var(--cinema-panel-strong);
}

.feature-card:hover::after,
.device-card:hover::after,
.seo-card:hover::after {
  transform: scaleX(1.35);
}

.feature-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 18, 56, 0.16);
  box-shadow: inset 0 0 18px rgba(255, 18, 56, 0.2), 0 0 28px rgba(255, 18, 56, 0.18);
}

.feature-card h3,
.device-card h3,
.seo-card h3,
.seo-cta h3 {
  margin: 28px 0 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.15;
}

.feature-card p,
.device-card p,
.seo-card p,
.seo-cta p {
  margin: 14px 0 0;
  color: var(--cinema-muted);
  line-height: 1.55;
}

.how-section {
  background: #101010;
}

.word-loop {
  margin-bottom: 28px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--cinema-line);
  box-shadow: var(--cinema-shadow);
  background: #050505;
}

.word-loop video {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: contrast(1.04) brightness(0.96);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  min-height: 172px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.process-word {
  display: block;
  color: #ffffff;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1;
  animation: wordPulse 8s ease-in-out infinite;
}

.process-step:nth-child(2) .process-word { animation-delay: 250ms; }
.process-step:nth-child(3) .process-word { animation-delay: 500ms; }
.process-step:nth-child(4) .process-word { animation-delay: 750ms; }
.process-step:nth-child(5) .process-word { animation-delay: 1000ms; }
.process-step:nth-child(6) .process-word { animation-delay: 1250ms; }

.process-step p {
  margin: 16px 0 0;
  color: var(--cinema-muted);
  line-height: 1.5;
  font-size: 14px;
}

@keyframes wordPulse {
  0%, 100% { opacity: 0.72; transform: scale(1); filter: blur(0); }
  42% { opacity: 1; transform: scale(1.035); filter: blur(0); }
  52% { opacity: 0.86; transform: scale(0.995); filter: blur(0.2px); }
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 46px;
  align-items: center;
}

.showcase-visual {
  position: relative;
  min-height: 620px;
}

.showcase-screen {
  position: absolute;
  inset: 72px 0 auto auto;
  width: 82%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--cinema-line);
  box-shadow: var(--cinema-shadow);
}

.telemetry-card,
.graph-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(18, 18, 18, 0.78);
  box-shadow: var(--cinema-shadow);
  backdrop-filter: blur(18px);
}

.telemetry-card {
  min-width: 154px;
  padding: 18px;
  border-radius: 20px;
}

.telemetry-card span,
.graph-card span {
  display: block;
  color: var(--cinema-faint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.telemetry-card strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
}

.speed-card {
  top: 18px;
  left: 24px;
}

.incline-card {
  top: 154px;
  right: 0;
}

.graph-card {
  left: 0;
  right: 48px;
  bottom: 0;
  padding: 18px;
  border-radius: 24px;
}

.graph-card svg {
  display: block;
  width: 100%;
  height: 190px;
  margin-top: 10px;
}

.graph-fill {
  fill: rgba(255, 18, 56, 0.14);
}

.graph-line {
  fill: none;
  stroke: #ff3154;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255, 18, 56, 0.75));
  stroke-dasharray: 720;
  animation: drawGraph 4.8s ease-in-out infinite;
}

@keyframes drawGraph {
  0% { stroke-dashoffset: 720; opacity: 0.45; }
  42%, 72% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -720; opacity: 0.45; }
}

.freedom-section {
  background: #111111;
}

.freedom-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}

.freedom-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--cinema-muted);
  font-size: 19px;
  line-height: 1.6;
}

.freedom-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.freedom-list li {
  position: relative;
  padding: 15px 16px 15px 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
}

.freedom-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cinema-red);
  box-shadow: 0 0 18px rgba(255, 18, 56, 0.86);
}

.freedom-visual {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--cinema-line);
  box-shadow: var(--cinema-shadow);
}

.freedom-visual img {
  aspect-ratio: 16 / 12;
  height: auto;
  object-fit: contain;
  background: #0b0b0b;
}

.devices-section .section-heading {
  max-width: 900px;
}

.device-card {
  min-height: 190px;
}

.device-card h3,
.seo-card h3,
.seo-cta h3 {
  margin-top: 0;
}

.seo-section {
  background: #181818;
}

.seo-grid {
  margin-bottom: 18px;
}

.seo-card {
  min-height: 260px;
}

.seo-details {
  margin-top: 18px;
  padding: 0;
  border-radius: var(--cinema-radius);
  overflow: hidden;
}

.seo-details summary,
.faq-item summary {
  cursor: pointer;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

.seo-details summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-details summary {
  padding: 24px 28px;
}

.seo-details > p {
  margin: 0;
  padding: 0 28px 24px;
  color: var(--cinema-muted);
  line-height: 1.6;
}

.value-grid,
.media-grid {
  display: grid;
  gap: 14px;
  padding: 0 28px 28px;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card,
.media-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: inherit;
  text-decoration: none;
}

.value-card {
  padding: 18px;
}

.value-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
}

.value-card p,
.media-card p {
  margin: 10px 0 0;
  color: var(--cinema-muted);
  line-height: 1.55;
  font-size: 14px;
}

.media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-card {
  padding: 12px;
}

.media-card img {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.28);
}

.seo-cta {
  margin-top: 18px;
  padding: 30px;
  border-radius: var(--cinema-radius);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-feature-frame {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(24px);
}

.faq-item {
  border-radius: 20px;
  padding: 22px 24px;
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--cinema-muted);
  line-height: 1.6;
}

.faq-item .faq-steps {
  margin: 14px 0 0;
  color: var(--cinema-muted);
  line-height: 1.6;
  padding-left: 22px;
}

.faq-item code {
  color: var(--cinema-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1px 5px;
}

.final-cta {
  position: relative;
  padding: 132px 0;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(255, 18, 56, 0.22), rgba(0, 0, 0, 0.86)),
    #111111;
}

.final-cta h2 {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(42px, 6vw, 78px);
}

.final-cta p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--cinema-muted);
  font-size: 19px;
  line-height: 1.55;
}

.final-cta .yt-btn {
  margin-top: 30px;
}

.yt-site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #101010;
}

.yt-site-footer p {
  margin: 0;
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
  font-size: 14px;
}

.yt-site-footer a {
  color: #ffffff;
}

.reveal {
  transition: opacity 700ms ease, transform 700ms ease;
}

.js-reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1100px) {
  .demo-grid,
  .feature-grid,
  .device-grid,
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-showcase,
  .freedom-grid {
    grid-template-columns: 1fr;
  }

  .showcase-visual {
    min-height: 560px;
  }

  .showcase-screen {
    width: 86%;
  }
}

@media (max-width: 760px) {
  .yt-shell {
    width: min(100% - 32px, var(--cinema-shell));
  }

  .yt-site-header {
    position: absolute;
  }

  .yt-header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .yt-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .yt-nav::-webkit-scrollbar {
    display: none;
  }

  .yt-nav a,
  .yt-nav span {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .yt-hero {
    min-height: 88svh;
    padding: 142px 0 92px;
  }

  .yt-hero-inner {
    margin-left: auto;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(21, 21, 21, 0.94), rgba(0, 0, 0, 0.24) 40%, rgba(0, 0, 0, 0.58));
  }

  .yt-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-subhead {
    font-size: 17px;
  }

  .yt-btn {
    width: 100%;
  }

  .demo-section {
    margin-top: -36px;
    padding-bottom: 72px;
  }

  .yt-section {
    padding: 76px 0;
  }

  .demo-grid,
  .feature-grid,
  .device-grid,
  .seo-grid,
  .value-grid,
  .media-grid,
  .process-row {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .device-card,
  .seo-card {
    min-height: auto;
  }

  .process-step {
    min-height: auto;
  }

  .word-loop video {
    max-height: 300px;
  }

  .showcase-visual {
    min-height: 510px;
  }

  .showcase-screen {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .speed-card {
    top: auto;
    left: 12px;
    bottom: 198px;
  }

  .incline-card {
    top: auto;
    right: 12px;
    bottom: 198px;
  }

  .graph-card {
    left: 0;
    right: 0;
    bottom: 0;
  }

  .graph-card svg {
    height: 150px;
  }

  .telemetry-card {
    min-width: 132px;
    padding: 14px;
  }

  .telemetry-card strong {
    font-size: 25px;
  }

  .seo-details summary,
  .faq-item summary {
    font-size: 16px;
  }

  .seo-details summary {
    padding: 22px;
  }

  .value-grid,
  .media-grid {
    padding: 0 18px 18px;
  }

  .seo-details > p {
    padding: 0 22px 22px;
  }

  .final-cta {
    padding: 96px 0;
  }
}

@media (max-width: 430px) {
  .yt-nav a,
  .yt-nav span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
  }

  .hero-actions {
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 33px;
  }

  .demo-body,
  .feature-card,
  .device-card,
  .seo-card,
  .seo-cta,
  .faq-item {
    padding: 20px;
  }

  .showcase-visual {
    min-height: 470px;
  }
}
