/* ═══════════════════════════════════════════════════════
   TayzoPrompter - Premium Marketing CSS Design System
   Inspired by Apple Pro apps and professional creator tools
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base Styles ─────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #05070c;
  --bg-deep: #090e16;
  --bg-card: rgba(15, 21, 31, 0.62);
  --bg-card-hover: rgba(19, 27, 40, 0.8);
  --border-subtle: rgba(144, 173, 208, 0.12);
  --border-hover: rgba(156, 192, 230, 0.22);
  --border-active: rgba(113, 180, 240, 0.34);

  --text-primary: #f4f7fb;
  --text-secondary: #a3adbc;
  --text-tertiary: #687589;
  --text-muted: #445064;

  --accent-cyan: #83c9fa;
  --accent-blue: #4f86f5;
  --accent-blue-rgb: 79, 134, 245;
  --accent-cyan-rgb: 131, 201, 250;
  --accent-gradient: linear-gradient(118deg, #b6e1ff 0%, #79c4fb 34%, #4f86f5 100%);
  --ambient-cyan: rgba(113, 183, 242, 0.06);
  --ambient-blue: rgba(52, 94, 175, 0.08);

  --font-title: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

  --nav-height: 72px;
  --section-pad: clamp(92px, 11vw, 148px);
  --content-max: 1120px;

  --ease-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--black);
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 62, 109, 0.22), transparent 34rem),
    var(--black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

::selection {
  background: rgba(var(--accent-cyan-rgb), 0.22);
  color: var(--text-primary);
}

/* ── Typography & Headings ───────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.title-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Custom Scrollbar ────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 5px;
  border: 2px solid var(--black);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s var(--ease-smooth);
  border-bottom: 1px solid transparent;
  background: rgba(6, 7, 10, 0.1);
}

.nav.scrolled {
  background: rgba(6, 7, 10, 0.75);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.9;
}

.nav-logo img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-mobile-toggle,
.mobile-nav-menu {
  display: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 18px;
  border-radius: 980px;
  border: 1px solid var(--border-subtle);
  transition: all 0.25s var(--ease-smooth);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* ── Section Scaffolding ──────────────────────────────── */
.section {
  position: relative;
  padding: var(--section-pad) 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.overline {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #000;
  background: var(--accent-gradient);
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 20px rgba(var(--accent-cyan-rgb), 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-cyan-rgb), 0.26);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 980px;
  transition: all 0.3s var(--ease-out);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* ── Feature Comparison Section ─────────────────────────── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
}

.comparison-card.pro-card {
  border-color: var(--border-active);
  background: linear-gradient(180deg, rgba(22, 26, 38, 0.6) 0%, rgba(12, 14, 20, 0.4) 100%);
}

.comparison-card.pro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.comparison-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comparison-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.comparison-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-list .icon-bad {
  color: #ff453a;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-list .icon-good {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Three Column Features (Mini Prompter, ProRes, Secondary) ── */
.feature-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.grid-card-top h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.grid-card-top p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.grid-card-icon {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.grid-card-bottom {
  margin-top: 24px;
}

.badge-pro {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ff9500;
  border: 1px solid rgba(255, 149, 0, 0.3);
  background: rgba(255, 149, 0, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* ── Narrative Layout (ProRes, Mini Prompter Detail) ── */
.narrative-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.narrative-block.reverse {
  direction: rtl;
}

.narrative-block.reverse .narrative-text {
  direction: ltr;
}

.narrative-text h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.narrative-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.narrative-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.narrative-bullets li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.narrative-bullets li strong {
  color: var(--text-primary);
}

.bullet-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.narrative-visual-slot {
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Static ProRes Codec Information */
.prores-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80%;
  max-width: 320px;
  z-index: 2;
}

.prores-badge {
  background: rgba(6, 7, 10, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  display: block;
}

.prores-badge-info h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.prores-badge-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.prores-tag {
  font-family: var(--font-title);
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

/* ── macOS Native Specifications (Feature Grid) ──────── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.spec-card {
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.spec-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.spec-icon {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.spec-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.spec-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── CTA / Pricing Section ───────────────────────────── */
.cta-section {
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.04) 0%, transparent 60%);
  padding: 100px 24px;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px 36px;
  width: 100%;
  max-width: 380px;
  text-align: left;
  transition: all 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.studio-card {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(22, 26, 38, 0.8) 0%, rgba(12, 14, 20, 0.5) 100%);
  box-shadow: 0 4px 30px rgba(var(--accent-cyan-rgb), 0.08);
}

.pricing-tier {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-subprice {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: -18px;
  margin-bottom: 24px;
  font-weight: 500;
}

.pricing-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex: 1;
}

.pricing-bullets li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-bullets li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ── Google Data Transparency Block ──────────────────── */
.data-transparency {
  background: #090a0f;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 24px;
}

.transparency-content {
  max-width: 800px;
  margin: 0 auto;
}

.transparency-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.transparency-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.transparency-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.transparency-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.transparency-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.transparency-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  padding: 60px 24px;
  background: var(--black);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 40px;
}

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

.footer-logo {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand-desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-link-group h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-link-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-group a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link-group a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: var(--content-max);
  margin: 24px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Responsive Styling ──────────────────────────────── */
@media (max-width: 960px) {
  .feature-row-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .narrative-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .narrative-block.reverse {
    direction: ltr;
  }
  .narrative-block.reverse .narrative-text {
    direction: ltr;
  }
  .narrative-visual-slot {
    height: 320px;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 64px;
  }
  .nav-links {
    display: none;
  }
  .nav-mobile-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(151, 181, 218, 0.14);
    border-radius: 999px;
    background: rgba(148, 177, 211, 0.06);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition:
      background 0.22s ease,
      border-color 0.22s ease,
      transform 0.22s ease;
  }
  .nav-mobile-toggle:hover {
    background: rgba(148, 177, 211, 0.12);
    border-color: rgba(151, 181, 218, 0.24);
  }
  .nav-mobile-toggle span {
    width: 17px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transition:
      transform 0.24s var(--ease-out),
      opacity 0.24s var(--ease-out);
  }
  .nav-mobile-toggle.is-open span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .nav-mobile-toggle.is-open span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }
  .mobile-nav-menu {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    z-index: 999;
    display: block;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 0.28s var(--ease-out),
      transform 0.28s var(--ease-out);
  }
  .mobile-nav-menu-inner {
    margin: 0 14px;
    padding: 12px;
    border: 1px solid rgba(151, 181, 218, 0.13);
    border-radius: 20px;
    background: rgba(5, 7, 12, 0.9);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-nav-link {
    min-height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    color: var(--text-primary);
    font-size: 0.96rem;
    font-weight: 500;
    background: transparent;
    transition: background 0.2s ease;
  }
  .mobile-nav-link:hover {
    background: rgba(148, 177, 211, 0.08);
  }
  .mobile-nav-cta {
    margin-top: 5px;
    justify-content: center;
    color: #06101c;
    background: var(--accent-gradient);
    box-shadow:
      0 12px 28px rgba(45, 94, 168, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.34);
  }
  body.mobile-nav-open .mobile-nav-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .transparency-cards {
    grid-template-columns: 1fr;
  }
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}

/* -- Refined public marketing surfaces ----------------- */
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.line-icon {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 44% 30% at 50% 10%, rgba(78, 129, 201, 0.1), transparent),
    radial-gradient(ellipse 46% 32% at 80% 45%, rgba(47, 94, 153, 0.06), transparent);
}

.nav {
  height: 70px;
  background: rgba(5, 7, 12, 0.28);
}

.nav.scrolled {
  background: rgba(5, 7, 12, 0.74);
  border-color: rgba(151, 181, 218, 0.1);
}

.nav-logo {
  gap: 11px;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.nav-logo img {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(4, 8, 16, 0.48);
}

.nav-links {
  gap: 32px;
}

.nav-link {
  font-size: 0.84rem;
  color: #96a2b4;
}

.nav-cta {
  font-weight: 500;
  padding: 8px 17px;
  background: rgba(148, 177, 211, 0.07);
  border-color: rgba(151, 181, 218, 0.14);
}

.nav-cta:hover {
  background: rgba(148, 177, 211, 0.12);
  border-color: rgba(151, 181, 218, 0.24);
}

.section {
  border-bottom: 0;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: max(24px, calc((100% - var(--content-max)) / 2));
  right: max(24px, calc((100% - var(--content-max)) / 2));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 18%, var(--border-subtle) 82%, transparent);
}

.section-header {
  max-width: 700px;
  margin-bottom: 62px;
}

.overline {
  font-family: var(--font-body);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #87c5f3;
  margin-bottom: 19px;
}

.section-title {
  font-size: clamp(2.15rem, 4.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}

.section-desc {
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.72;
  color: var(--text-secondary);
}

.btn-primary,
.btn-ghost {
  font-weight: 500;
  padding: 13px 28px;
  transition:
    transform 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out),
    background 0.32s var(--ease-out),
    box-shadow 0.32s var(--ease-out);
}

.btn-primary {
  color: #06101c;
  box-shadow:
    0 12px 28px rgba(45, 94, 168, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 17px 38px rgba(48, 105, 184, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-ghost {
  border-color: rgba(151, 181, 218, 0.16);
  background: rgba(133, 162, 195, 0.035);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(151, 181, 218, 0.26);
  background: rgba(133, 162, 195, 0.08);
}

.comparison-grid {
  gap: 22px;
  margin-top: 44px;
}

.comparison-card,
.grid-card,
.spec-card,
.pricing-card,
.transparency-card {
  background:
    linear-gradient(145deg, rgba(21, 28, 39, 0.72), rgba(9, 13, 21, 0.62));
  border-color: var(--border-subtle);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.028),
    0 18px 54px rgba(0, 0, 0, 0.16);
}

.comparison-card {
  border-radius: 26px;
  padding: 42px 40px;
}

.comparison-card.pro-card {
  border-color: rgba(112, 176, 235, 0.27);
  background:
    radial-gradient(circle at 18% 0%, rgba(76, 134, 201, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(20, 29, 42, 0.84), rgba(9, 13, 21, 0.62));
}

.comparison-card.pro-card::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 201, 250, 0.75), transparent);
}

.comparison-card h3 {
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 29px;
}

.comparison-list {
  gap: 20px;
}

.comparison-list li {
  line-height: 1.62;
  gap: 14px;
}

.list-icon {
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.list-icon.positive {
  color: var(--accent-cyan);
}

.list-icon.negative {
  color: #737f90;
}

.feature-row-grid {
  gap: 18px;
}

.grid-card {
  padding: 34px 30px 31px;
  border-radius: 24px;
  min-height: 255px;
}

.grid-card:hover,
.spec-card:hover,
.transparency-card:hover {
  border-color: rgba(140, 183, 221, 0.23);
  background:
    linear-gradient(145deg, rgba(24, 33, 48, 0.78), rgba(10, 15, 24, 0.72));
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 26px 58px rgba(0, 0, 0, 0.22);
}

.grid-card-icon,
.spec-icon,
.transparency-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  border: 1px solid rgba(125, 188, 239, 0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93d1fc;
  background:
    radial-gradient(circle at 50% 20%, rgba(128, 197, 247, 0.12), transparent 68%),
    rgba(109, 171, 229, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(212, 234, 255, 0.08),
    0 13px 33px rgba(37, 80, 138, 0.12);
}

.grid-card-icon .line-icon,
.spec-icon .line-icon,
.transparency-icon .line-icon {
  width: 23px;
  height: 23px;
}

.grid-card-top h3 {
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 13px;
  letter-spacing: -0.035em;
}

.grid-card-top p {
  font-size: 0.9rem;
  line-height: 1.68;
}

.badge-pro {
  border-radius: 999px;
  color: #98cffa;
  border-color: rgba(125, 188, 239, 0.2);
  background: rgba(110, 172, 227, 0.065);
  letter-spacing: 0.13em;
  font-weight: 600;
  padding: 4px 10px;
}

.narrative-block {
  gap: clamp(48px, 7vw, 80px);
}

.narrative-text h3 {
  font-size: clamp(2rem, 3.8vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  margin-bottom: 19px;
}

.narrative-text p {
  color: var(--text-secondary);
  line-height: 1.73;
  margin-bottom: 28px;
}

.narrative-bullets {
  gap: 19px;
}

.narrative-bullets li {
  line-height: 1.58;
  gap: 14px;
}

.narrative-visual-slot {
  height: 390px;
  border-radius: 30px;
  border-color: rgba(145, 178, 214, 0.12);
  background:
    radial-gradient(ellipse at 50% 48%, rgba(62, 116, 184, 0.12), transparent 58%),
    linear-gradient(145deg, rgba(13, 19, 29, 0.68), rgba(7, 10, 17, 0.52));
  box-shadow:
    inset 0 1px 0 rgba(236, 245, 255, 0.03),
    0 30px 70px rgba(0, 0, 0, 0.14);
}

.mini-window {
  width: 84%;
  max-width: 366px;
  padding: 18px 19px 17px;
  z-index: 2;
  border: 1px solid rgba(155, 186, 222, 0.16);
  border-radius: 18px;
  background: rgba(8, 12, 19, 0.78);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(228, 241, 255, 0.05);
  backdrop-filter: blur(18px);
}

.mini-window-header,
.mini-window-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-window-header {
  border-bottom: 1px solid rgba(158, 188, 224, 0.1);
  padding-bottom: 12px;
}

.mini-window-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #91caf6;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(var(--accent-cyan-rgb), 0.62);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(156, 184, 215, 0.28);
}

.mini-window-copy {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.5;
  text-align: center;
  margin: 27px 12px;
}

.mini-window-copy span {
  color: #94d0fc;
  text-shadow: 0 0 21px rgba(var(--accent-cyan-rgb), 0.18);
}

.mini-window-footer {
  border-top: 1px solid rgba(158, 188, 224, 0.1);
  padding-top: 12px;
  color: var(--text-tertiary);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

.prores-selector {
  gap: 10px;
  width: 84%;
  max-width: 340px;
}

.prores-badge {
  padding: 18px 17px;
  border-radius: 14px;
  border-color: rgba(144, 173, 208, 0.13);
  background: rgba(8, 12, 20, 0.56);
}

.prores-badge-info h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.prores-badge-info p {
  margin-top: 4px;
}

.prores-tag {
  font-family: var(--font-body);
  color: #8ec8f5;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.display-flow {
  position: relative;
  width: 84%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.display-node {
  padding: 15px 16px;
  border: 1px solid rgba(144, 173, 208, 0.12);
  border-radius: 15px;
  background: rgba(17, 23, 34, 0.58);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.display-node.is-active {
  border-color: rgba(125, 188, 239, 0.28);
  background: rgba(25, 43, 63, 0.48);
  box-shadow: 0 17px 40px rgba(31, 67, 111, 0.14);
}

.display-node-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
}

.display-node-title .line-icon {
  width: 22px;
  height: 22px;
  color: #8ecaf7;
}

.display-status {
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86c2f0;
  white-space: nowrap;
}

.display-connector {
  height: 15px;
  width: 1px;
  margin-left: 28px;
  background: linear-gradient(rgba(125, 188, 239, 0.34), transparent);
}

.specs-grid {
  gap: 16px;
  margin-top: 47px;
}

.spec-card {
  padding: 27px 24px 28px;
  border-radius: 21px;
}

.spec-icon {
  width: 43px;
  height: 43px;
  margin-bottom: 20px;
  border-radius: 13px;
}

.spec-icon .line-icon {
  width: 21px;
  height: 21px;
}

.spec-card h4 {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  margin-bottom: 10px;
}

.spec-card p {
  font-size: 0.83rem;
  line-height: 1.62;
}

.cta-section {
  padding: clamp(96px, 12vw, 140px) 24px;
  background:
    radial-gradient(ellipse at center, rgba(57, 108, 175, 0.11), transparent 60%);
}

.pricing-cards {
  gap: 20px;
  margin-top: 58px;
}

.pricing-card {
  border-radius: 27px;
  padding: 42px 34px 34px;
  max-width: 388px;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 183, 221, 0.22);
  box-shadow: 0 30px 62px rgba(0, 0, 0, 0.24);
}

.pricing-card.studio-card {
  border-color: rgba(125, 188, 239, 0.3);
  background:
    radial-gradient(circle at 50% 0%, rgba(80, 142, 210, 0.13), transparent 40%),
    linear-gradient(145deg, rgba(20, 28, 42, 0.82), rgba(9, 13, 21, 0.66));
  box-shadow: 0 20px 56px rgba(20, 52, 90, 0.16);
}

.pricing-tier {
  font-size: 1.27rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.pricing-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pricing-featured-header .pricing-tier {
  margin-bottom: 14px;
}

.badge-pro.recommended {
  margin-bottom: 14px;
  background: rgba(110, 172, 227, 0.07);
  border-color: rgba(125, 188, 239, 0.2);
  color: #8dc7f4;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -0.06em;
  margin-bottom: 30px;
}

.pricing-subprice {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: -24px;
  margin-bottom: 30px;
  font-weight: 500;
}

.pricing-bullets {
  gap: 17px;
  margin-bottom: 37px;
}

.pricing-bullets li {
  line-height: 1.45;
}

.pricing-action {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.data-transparency {
  position: relative;
  padding: clamp(94px, 11vw, 132px) 24px;
  border-top-color: rgba(144, 173, 208, 0.1);
  border-bottom-color: rgba(144, 173, 208, 0.1);
  background:
    radial-gradient(ellipse 44% 52% at 50% 46%, rgba(53, 100, 158, 0.12), transparent 72%),
    rgba(7, 10, 17, 0.74);
}

.transparency-content {
  max-width: 1040px;
}

.transparency-intro {
  max-width: 715px;
  margin: 0 auto 48px;
  text-align: center;
}

.transparency-intro h2 {
  font-size: clamp(2.12rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.052em;
  margin-bottom: 22px;
}

.transparency-intro p {
  color: var(--text-secondary);
  line-height: 1.73;
  font-size: 0.96rem;
  margin-bottom: 14px;
}

.transparency-intro strong {
  color: #d3dbe6;
  font-weight: 500;
}

.transparency-cards {
  gap: 17px;
  margin-top: 0;
}

.transparency-card {
  min-height: 225px;
  padding: 28px 26px;
  border-radius: 23px;
}

.transparency-card h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  margin-bottom: 10px;
}

.transparency-card p {
  font-size: 0.84rem;
  line-height: 1.62;
}

.footer {
  padding: 64px 24px 38px;
}

.footer-inner {
  border-color: rgba(144, 173, 208, 0.1);
  padding-bottom: 46px;
}

.footer-wordmark {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.26rem;
}

.footer-brand-desc,
.footer-bottom {
  color: #657287;
}

.footer-link-group h4 {
  font-size: 0.69rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.footer-link-group a {
  font-size: 0.84rem;
}

.mobile-contact {
  margin-top: 16px;
}

/* Subtle entry motion, enabled only when scripting is available. */
.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.72s var(--ease-out),
    transform 0.72s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* Public legal and error pages use the same quiet material system. */
.legal-page {
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
  line-height: 1.72;
  background:
    radial-gradient(ellipse 48% 25% at 50% 0%, rgba(43, 82, 132, 0.16), transparent),
    var(--black);
}

.legal-header {
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(144, 173, 208, 0.1);
  background: rgba(5, 7, 12, 0.7);
}

.legal-header-inner {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-brand {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.legal-back {
  color: var(--text-secondary);
  font-size: 0.84rem;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--text-primary);
}

.legal-shell {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 88px) 0 92px;
}

.legal-shell h1 {
  color: var(--text-primary);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.12;
  padding-bottom: 0;
  margin-bottom: 16px;
  border-bottom: 0;
}

.legal-shell .legal-meta {
  color: var(--text-tertiary);
  margin-bottom: 46px;
  font-size: 0.88rem;
  font-style: normal;
}

.legal-shell h2 {
  color: var(--text-primary);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.032em;
  margin-top: 48px;
  margin-bottom: 14px;
}

.legal-shell h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-top: 30px;
  margin-bottom: 13px;
}

.legal-shell p {
  margin-bottom: 13px;
}

.legal-shell a {
  color: #8ecaf7;
}

.legal-shell a:hover {
  color: #bedffc;
}

.legal-shell ul,
.legal-shell ol {
  margin: 10px 0 22px;
  padding-left: 23px;
}

.legal-shell li {
  padding-left: 4px;
  margin-bottom: 5px;
}

.legal-shell hr {
  border: 0;
  border-top: 1px solid rgba(144, 173, 208, 0.1);
  margin: 36px 0;
}

.error-page {
  min-height: 100vh;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.error-page .container {
  max-width: 470px;
  width: 100%;
  text-align: center;
  padding: 54px 42px 46px;
  border-radius: 29px;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at 50% 0%, rgba(71, 129, 195, 0.12), transparent 48%),
    linear-gradient(145deg, rgba(19, 26, 38, 0.74), rgba(8, 12, 20, 0.68));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.error-icon-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  margin: 0 auto 30px;
  color: #91caf7;
  border: 1px solid rgba(125, 188, 239, 0.2);
  background: rgba(110, 172, 227, 0.06);
}

.error-icon {
  width: 29px;
  height: 29px;
}

.error-page h1 {
  font-size: 2rem;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: -0.052em;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

@media (max-width: 960px) {
  .grid-card {
    min-height: 0;
  }

  .display-node {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .transparency-intro {
    text-align: left;
    margin-bottom: 38px;
  }

  .transparency-card {
    min-height: 0;
  }

  .legal-shell,
  .legal-header-inner {
    width: min(820px, calc(100% - 38px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* ── Video Hero Section ────────────────────────────────── */
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--black);
  border-bottom: 1px solid var(--border-subtle);
}

.video-hero .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 12, 0.4) 0%,
    rgba(5, 7, 12, 0.6) 60%,
    rgba(5, 7, 12, 0.96) 100%
  );
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-smooth);
}

.video-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(var(--nav-height) / 2);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
  pointer-events: auto;
}

.video-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 980px;
  border: 1px solid rgba(var(--accent-cyan-rgb), 0.25);
  background: rgba(var(--accent-cyan-rgb), 0.04);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: #93ccf7;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(var(--accent-cyan-rgb), 0.08);
}

.video-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ccaf8;
  box-shadow: 0 0 8px #8ccaf8;
  animation: badge-pulse 1.5s ease-in-out infinite alternate;
}

.video-hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.video-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 36px;
}

.video-hero-actions {
  display: flex;
  gap: 12px;
}

.chevron-down-icon {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .chevron-down-icon {
  transform: translateY(2px);
}

/* Sound Control Button */
.sound-toggle-btn {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  background: rgba(15, 21, 31, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 980px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sound-toggle-btn:hover {
  background: rgba(19, 27, 40, 0.85);
  border-color: var(--border-active);
  box-shadow: 0 4px 20px rgba(var(--accent-cyan-rgb), 0.15);
  transform: scale(1.02);
}

.sound-toggle-btn.active {
  background: rgba(var(--accent-cyan-rgb), 0.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(var(--accent-cyan-rgb), 0.3);
}

.sound-toggle-btn svg {
  width: 16px;
  height: 16px;
}

.sound-toggle-btn .hidden {
  display: none !important;
}

/* Scroll indicator chevron at bottom center */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  opacity: 0.7;
  animation: scroll-bob 2s ease-in-out infinite;
}

.scroll-text {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

.chevron-down-scroll {
  color: var(--text-secondary);
}

@keyframes scroll-bob {
  0% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 6px); opacity: 0.9; }
  100% { transform: translate(-50%, 0); opacity: 0.5; }
}

/* Unobstructed Mode Transitions (when sound is unmuted) */
.video-hero.unmuted-mode .video-hero-content {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.video-hero.unmuted-mode .video-hero-overlay {
  opacity: 0.35; /* Lighter overlay for direct, vivid video viewing */
}

.video-hero.unmuted-mode .scroll-indicator {
  opacity: 0.25; /* Dim scroll indicator slightly to prevent distraction */
}

/* ── Mobile Cinematic Entry & Portrait Marketing Experience ── */
.mobile-onboarding {
  display: none;
}

.mobile-onboarding[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  :root {
    --nav-height: 58px;
    --section-pad: 76px;
  }

  html {
    scroll-padding-top: var(--nav-height);
  }

  body {
    background:
      radial-gradient(ellipse 92% 22rem at 50% 0%, rgba(56, 105, 170, 0.18), transparent 72%),
      var(--black);
  }

  body.mobile-awaiting-entry {
    height: 100svh;
    overflow: hidden;
    touch-action: none;
  }

  .mobile-onboarding {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 28px;
    padding: calc(42px + env(safe-area-inset-top)) 28px calc(34px + env(safe-area-inset-bottom));
    color: var(--text-primary);
    background: #03050a;
    border: 0;
    text-align: center;
    font-family: var(--font-body);
    cursor: pointer;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    transition:
      opacity 0.72s var(--ease-out),
      transform 0.72s var(--ease-out),
      filter 0.72s var(--ease-out);
  }

  .mobile-onboarding-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 62% 32% at 50% 45%, rgba(101, 161, 225, 0.16), transparent 68%),
      radial-gradient(ellipse 40% 32% at 50% 68%, rgba(38, 74, 128, 0.24), transparent 72%),
      linear-gradient(180deg, #05070c 0%, #020309 100%);
  }

  .mobile-onboarding-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%),
      radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0, 0, 0, 0.42) 76%);
    opacity: 0.94;
  }

  .mobile-onboarding-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .mobile-onboarding-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(155, 211, 252, 0.58);
    box-shadow: 0 0 16px rgba(125, 188, 239, 0.55);
    animation: mobile-particle-breathe 5.8s ease-in-out infinite;
  }

  .mobile-onboarding-particles span:nth-child(1) { left: 18%; top: 28%; animation-delay: 0s; }
  .mobile-onboarding-particles span:nth-child(2) { left: 72%; top: 22%; animation-delay: 0.7s; }
  .mobile-onboarding-particles span:nth-child(3) { left: 82%; top: 54%; animation-delay: 1.4s; }
  .mobile-onboarding-particles span:nth-child(4) { left: 23%; top: 66%; animation-delay: 2.1s; }
  .mobile-onboarding-particles span:nth-child(5) { left: 51%; top: 18%; animation-delay: 2.8s; }
  .mobile-onboarding-particles span:nth-child(6) { left: 43%; top: 76%; animation-delay: 3.5s; }

  @keyframes mobile-particle-breathe {
    0%, 100% {
      opacity: 0.24;
      transform: translate3d(0, 8px, 0) scale(0.82);
    }
    50% {
      opacity: 0.9;
      transform: translate3d(0, -10px, 0) scale(1.16);
    }
  }

  .mobile-onboarding-icon,
  .mobile-onboarding-copy,
  .mobile-onboarding-gesture {
    z-index: 1;
  }

  .mobile-onboarding-icon {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(159, 205, 244, 0.18);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.025),
      0 30px 86px rgba(38, 94, 163, 0.38),
      0 0 60px rgba(var(--accent-cyan-rgb), 0.2);
    animation: mobile-icon-breathe 3.8s ease-in-out infinite;
  }

  .mobile-onboarding-icon::before {
    content: '';
    position: absolute;
    inset: -22px;
    border: 1px solid rgba(139, 203, 249, 0.16);
    border-radius: 38px;
    opacity: 0.8;
    animation: mobile-icon-ring 3.8s ease-in-out infinite;
  }

  .mobile-onboarding-icon img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
  }

  @keyframes mobile-icon-breathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.035); }
  }

  @keyframes mobile-icon-ring {
    0%, 100% {
      transform: scale(0.94);
      opacity: 0.16;
    }
    50% {
      transform: scale(1.08);
      opacity: 0.72;
    }
  }

  .mobile-onboarding-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 330px;
  }

  .mobile-onboarding-kicker {
    color: #94d0fc;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .mobile-onboarding-title {
    font-family: var(--font-title);
    font-size: 2.18rem;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: 0;
    max-width: 320px;
  }

  .mobile-onboarding-subtitle {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.58;
    margin-top: 16px;
  }

  .mobile-onboarding-gesture {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: calc(34px + env(safe-area-inset-bottom));
    color: rgba(219, 234, 249, 0.7);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: mobile-gesture-bob 2.2s ease-in-out infinite;
  }

  @keyframes mobile-gesture-bob {
    0%, 100% {
      opacity: 0.54;
      transform: translateY(0);
    }
    50% {
      opacity: 0.95;
      transform: translateY(-6px);
    }
  }

  body.mobile-entered .mobile-onboarding {
    opacity: 0;
    transform: scale(1.035);
    filter: blur(12px);
    pointer-events: none;
  }

  .nav {
    height: var(--nav-height);
    background: linear-gradient(180deg, rgba(3, 5, 10, 0.82), rgba(3, 5, 10, 0.2));
  }

  .nav.scrolled {
    background: rgba(5, 7, 12, 0.82);
  }

  .nav-inner {
    padding: 0 18px;
  }

  .nav-logo {
    gap: 10px;
    font-size: 1rem;
    letter-spacing: 0;
  }

  .nav-logo img {
    width: 29px;
    height: 29px;
    border-radius: 7px;
  }

  .video-hero {
    height: 100svh;
    min-height: 640px;
    justify-content: flex-end;
    align-items: stretch;
    padding: calc(var(--nav-height) + 28px) 18px calc(84px + env(safe-area-inset-bottom));
    border-bottom: 0;
  }

  .video-hero .video-container {
    overflow: hidden;
  }

  .video-hero video {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.002);
  }

  .video-hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 7, 12, 0.12) 0%, rgba(5, 7, 12, 0.14) 36%, rgba(5, 7, 12, 0.94) 100%),
      radial-gradient(ellipse 100% 45% at 50% 76%, rgba(13, 28, 48, 0.5), transparent 70%);
  }

  .video-hero-content {
    width: 100%;
    max-width: none;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    margin: 0;
  }

  .video-hero h1 {
    font-size: 2.76rem;
    line-height: 1.02;
    letter-spacing: 0;
    margin-bottom: 18px;
    max-width: 350px;
  }

  .video-hero-sub {
    max-width: 335px;
    margin: 0 0 26px;
    font-size: 1rem;
    line-height: 1.58;
    color: rgba(227, 235, 246, 0.78);
  }

  .video-hero-actions {
    width: 100%;
  }

  .video-hero-actions .btn-primary {
    padding: 12px 20px;
    min-height: 46px;
  }

  .sound-toggle-btn {
    top: calc(var(--nav-height) + 14px);
    right: 16px;
    bottom: auto;
    padding: 11px;
    border-radius: 50%;
    background: rgba(7, 10, 17, 0.54);
  }

  .sound-toggle-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .sound-toggle-btn svg {
    width: 18px;
    height: 18px;
  }

  .scroll-indicator {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .section {
    padding: 78px 18px;
  }

  .section::after {
    left: 18px;
    right: 18px;
  }

  .section-header,
  .section-header.center {
    max-width: none;
    margin: 0 0 34px;
    text-align: left;
  }

  .overline {
    margin-bottom: 14px;
    letter-spacing: 0.16em;
  }

  .section-title {
    font-size: 2.08rem;
    line-height: 1.08;
    letter-spacing: 0;
    margin-bottom: 17px;
  }

  .section-desc {
    font-size: 1rem;
    line-height: 1.62;
  }

  .feature-row-grid {
    gap: 14px;
  }

  .grid-card,
  .comparison-card,
  .spec-card,
  .pricing-card,
  .transparency-card {
    border-radius: 18px;
  }

  .grid-card {
    min-height: 0;
    padding: 24px 22px 23px;
  }

  .grid-card-icon,
  .spec-icon,
  .transparency-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 12px;
  }

  .comparison-grid {
    gap: 16px;
    margin-top: 32px;
  }

  .comparison-card {
    padding: 28px 22px;
  }

  .comparison-card h3 {
    font-size: 1.18rem;
    letter-spacing: 0;
    margin-bottom: 22px;
  }

  .comparison-list {
    gap: 15px;
  }

  .comparison-list li,
  .narrative-bullets li {
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .narrative-block {
    gap: 30px;
  }

  .narrative-text h3 {
    font-size: 2rem;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .narrative-text p {
    font-size: 1rem;
    line-height: 1.64;
  }

  .narrative-visual-slot {
    height: 360px;
    border-radius: 22px;
  }

  .prores-selector {
    width: calc(100% - 34px);
  }

  .prores-badge {
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }

  .prores-tag,
  .display-status {
    white-space: normal;
    text-align: right;
  }

  .display-flow {
    width: calc(100% - 34px);
  }

  .display-node {
    align-items: flex-start;
  }

  .specs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 34px;
  }

  .cta-section {
    padding: 82px 18px;
  }

  .pricing-cards {
    gap: 16px;
    margin-top: 36px;
  }

  .pricing-card {
    padding: 30px 24px 24px;
  }

  .pricing-featured-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .pricing-price {
    font-size: 2.5rem;
    letter-spacing: 0;
  }

  .footer {
    padding: 48px 18px 34px;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-bottom {
    padding: 0;
  }
}

@media (max-width: 380px) {
  .video-hero h1 {
    font-size: 2.38rem;
    max-width: 310px;
  }

  .mobile-onboarding-title {
    font-size: 1.94rem;
  }

  .section-title,
  .narrative-text h3 {
    font-size: 1.88rem;
  }
}
