/* BayerFlow — ProRes RAW Denoiser | styles.css */

/* ===========================
   CUSTOM PROPERTIES
   =========================== */
:root {
  /* Backgrounds */
  --bg-void: #080808;
  --bg-1: #0F0F0F;
  --bg-2: #161616;
  --bg-3: #1E1E1E;
  --border: #2A2A2A;

  /* Accent: Amber */
  --amber: #E8A44A;
  --amber-dim: #A06A20;
  --amber-glow: rgba(232, 164, 74, 0.15);
  --amber-glow-sm: rgba(232, 164, 74, 0.08);

  /* Accent: Electric Blue */
  --electric: #4A9EFF;
  --electric-glow: rgba(74, 158, 255, 0.12);

  /* Text */
  --text-primary: #F5F5F0;
  --text-muted: #8A8A82;
  --text-faint: #4A4A47;

  /* Fonts */
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Type Scale */
  --text-hero: clamp(3.5rem, 9vw, 8.5rem);
  --text-display: clamp(2.2rem, 5vw, 4.5rem);
  --text-h2: clamp(1.6rem, 3vw, 2.6rem);
  --text-h3: clamp(1.05rem, 1.8vw, 1.4rem);
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --text-mono: 0.8125rem;

  /* Spacing */
  --section-py: clamp(5rem, 10vw, 9rem);
  --container-max: 1280px;
  --container-px: clamp(1.25rem, 5vw, 4rem);

  /* Effects */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.5s ease;
}

/* ===========================
   RESET
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===========================
   FILM GRAIN OVERLAY
   =========================== */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

@media (prefers-reduced-motion: no-preference) {
  .grain-overlay {
    animation: grainShift 0.08s steps(1) infinite;
  }
}

@keyframes grainShift {
  0%   { background-position: 0 0; }
  25%  { background-position: -50px -25px; }
  50%  { background-position: 25px 50px; }
  75%  { background-position: -25px 25px; }
  100% { background-position: 50px -50px; }
}

/* ===========================
   UTILITIES
   =========================== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section-divider {
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    var(--amber-dim) 25%,
    var(--amber) 50%,
    var(--amber-dim) 75%,
    transparent 100%);
  opacity: 0.22;
  width: 55%;
  margin: 0 auto;
}

.overline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  color: var(--amber);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: var(--text-display);
  letter-spacing: 0.04em;
  line-height: 1.02;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subline {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  max-width: 520px;
  margin-bottom: 4rem;
  line-height: 1.75;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: all var(--t-base);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--electric);
  color: #fff;
}
.btn-primary:hover {
  background: #6AB4FF;
  box-shadow: 0 0 28px rgba(74, 158, 255, 0.35);
  transform: translateY(-1px);
}

.btn-amber {
  background: var(--amber);
  color: var(--bg-void);
}
.btn-amber:hover {
  background: #F0B45A;
  box-shadow: 0 0 28px rgba(232, 164, 74, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.btn-ghost-amber {
  background: transparent;
  color: var(--amber);
  border: 1px solid rgba(232, 164, 74, 0.35);
}
.btn-ghost-amber:hover {
  border-color: var(--amber);
  background: var(--amber-glow-sm);
  transform: translateY(-1px);
}

/* Animate on scroll */
.aos {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.aos.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .aos { opacity: 1; transform: none; }
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  padding-inline: var(--container-px);
  transition: border-color var(--t-base), background var(--t-base);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container-max);
  width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--amber);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--bg-void);
  letter-spacing: 0;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}

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

.nav-cta {
  font-size: 0.875rem !important;
  padding: 0.5rem 1.25rem !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--t-base);
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.05em;
  color: var(--text-primary);
  transition: color var(--t-fast);
}

.nav-overlay a:hover { color: var(--amber); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
  background: var(--bg-void);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  will-change: transform;
}

.hero-blob-1 {
  width: clamp(400px, 50vw, 700px);
  height: clamp(400px, 50vw, 700px);
  background: radial-gradient(circle, rgba(232, 164, 74, 0.1) 0%, transparent 70%);
  left: -8%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-blob-2 {
  width: clamp(300px, 40vw, 580px);
  height: clamp(300px, 40vw, 580px);
  background: radial-gradient(circle, rgba(74, 158, 255, 0.07) 0%, transparent 70%);
  right: -4%;
  bottom: 0;
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(255, 255, 255, 0.006) 3px,
    rgba(255, 255, 255, 0.006) 4px
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--section-py);
}

.hero-overline {
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.hero-headline .highlight {
  color: var(--amber);
  text-shadow: 0 0 40px rgba(232, 164, 74, 0.3), 0 0 80px rgba(232, 164, 74, 0.1);
}

.hero-subline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.trust-badge svg {
  width: 11px;
  height: 11px;
  color: var(--amber);
  flex-shrink: 0;
}

/* ===========================
   MARQUEE BAR
   =========================== */
.marquee-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 0.875rem;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee 40s linear infinite;
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-inline: 2.5rem;
  position: relative;
}

.marquee-item::after {
  content: '//';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber);
  opacity: 0.45;
  font-size: 0.6875rem;
}

/* ===========================
   COMPATIBILITY SHOWCASE
   =========================== */
.compat-showcase {
  padding-block: var(--section-py);
  background: var(--bg-1);
}

.compat-strip-note {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--text-faint);
  opacity: 0.5;
  text-align: center;
  margin-top: 2rem;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.4;
}

/* Format tags grid (showcase card visual) */
.showcase-format-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.format-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(232, 164, 74, 0.1);
  border: 1px solid rgba(232, 164, 74, 0.25);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Camera logos grid */
.showcase-camera-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  align-items: center;
  justify-items: center;
}

.camera-logo-sm {
  width: 100%;
  max-width: 60px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.camera-logo-sm:hover {
  opacity: 1;
}

@media (max-width: 700px) {
  .showcase-camera-logos {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }
  .camera-logo-sm {
    max-width: 44px;
    max-height: 22px;
  }
}

/* Bento grid — roomy 2-column layout with staggered rows */
.showcase-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
  margin-top: 3.5rem;
}

/* Shared card */
.showcase-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, transform 0.4s ease;
  will-change: transform;
}

.showcase-card:hover {
  border-color: rgba(232, 164, 74, 0.25);
}

.showcase-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

/* Product images in showcase cards */
.showcase-product-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-chip-img {
  max-height: 180px;
  border-radius: 10px;
}

.showcase-recorder-img {
  max-height: 170px;
  border-radius: 6px;
  animation: float-recorder 4s ease-in-out infinite;
  animation-play-state: paused;
}

.showcase-camera-img {
  max-height: 170px;
  animation: float-camera 5s ease-in-out infinite;
  animation-play-state: paused;
}

.showcase-app-icon {
  max-height: 110px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

.showcase-card-info {
  padding: 1.5rem 1.75rem 1.75rem;
  border-top: 1px solid var(--border);
}

.showcase-card-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.showcase-card-detail {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- APPLE SILICON CHIP — full-width hero card ---- */
.showcase-chip {
  grid-column: 1 / -1;
  flex-direction: row;
}

.showcase-chip .showcase-card-visual {
  min-height: 220px;
  flex: 0 0 50%;
  padding: 3rem;
}

.showcase-chip .showcase-card-info {
  border-top: none;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 2rem 2.5rem;
}

.showcase-chip .showcase-card-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.showcase-chip .showcase-card-detail {
  font-size: 0.95rem;
  line-height: 1.65;
}

.chip-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 20%;
  background: conic-gradient(
    from 0deg,
    #E8A44A,
    #4A9EFF,
    #A855F7,
    #E8A44A
  );
  opacity: 0.35;
  filter: blur(28px);
  animation: chip-rotate 25s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .chip-glow,
  .recorder-body,
  .camera-body,
  .showcase-recorder-img,
  .showcase-camera-img,
  .qt-player,
  .macos-laptop,
  .recorder-waveform span,
  .recorder-rec-dot {
    animation: none;
  }
}

@keyframes chip-rotate {
  to { transform: rotate(360deg); }
}

.chip-body {
  position: relative;
  width: 120px;
  height: 120px;
  background: var(--bg-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.chip-die {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  width: 100%;
  height: 100%;
}

.chip-grid span {
  background: rgba(74, 158, 255, 0.15);
  border-radius: 1px;
  border: 0.5px solid rgba(74, 158, 255, 0.1);
}

.chip-grid span:nth-child(1),
.chip-grid span:nth-child(6),
.chip-grid span:nth-child(11),
.chip-grid span:nth-child(16) {
  background: rgba(232, 164, 74, 0.2);
  border-color: rgba(232, 164, 74, 0.15);
}

/* Chip pins */
.chip-pins {
  position: absolute;
  display: flex;
  gap: 6px;
}

.chip-pins::before,
.chip-pins::after {
  content: '';
  display: block;
}

.chip-pins-top, .chip-pins-bottom {
  left: 50%;
  transform: translateX(-50%);
  flex-direction: row;
}

.chip-pins-top { top: -4px; }
.chip-pins-bottom { bottom: -4px; }

.chip-pins-left, .chip-pins-right {
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
}

.chip-pins-left { left: -4px; }
.chip-pins-right { right: -4px; }

.chip-pins-top::before, .chip-pins-top::after,
.chip-pins-bottom::before, .chip-pins-bottom::after {
  width: 8px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

.chip-pins-left::before, .chip-pins-left::after,
.chip-pins-right::before, .chip-pins-right::after {
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

/* ---- ATOMOS RECORDER ---- */
.recorder-body {
  width: 140px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  animation: float-recorder 4s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes float-recorder {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.recorder-screen {
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #0a0a12 0%, #0f0f1a 100%);
  margin: 6px;
  border-radius: 3px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 6px;
  overflow: hidden;
}

.recorder-waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 100%;
  width: 100%;
}

.recorder-waveform span {
  flex: 1;
  background: linear-gradient(to top, var(--amber) 0%, rgba(232, 164, 74, 0.3) 100%);
  height: var(--h, 50%);
  border-radius: 1px 1px 0 0;
  opacity: 0.6;
  animation: waveform-pulse 2s ease-in-out infinite;
  animation-delay: calc(var(--h, 50%) * 0.01s);
}

@keyframes waveform-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.recorder-rec-dot {
  position: absolute;
  top: 5px;
  left: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 6px rgba(255, 59, 59, 0.6);
  animation: rec-blink 1.5s ease-in-out infinite;
}

@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.recorder-label {
  position: absolute;
  top: 4px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.45rem;
  color: #ff3b3b;
  letter-spacing: 0.1em;
}

.recorder-bottom-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 4px 0 6px;
}

.recorder-port {
  width: 10px;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
}

/* ---- NIKON CAMERA ---- */
.camera-body {
  animation: float-camera 5s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes float-camera {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-5px) rotate(0deg); }
}

.camera-top {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 2px;
  padding-left: 10px;
}

.camera-viewfinder {
  width: 28px;
  height: 16px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px 2px 0 0;
}

.camera-hotshoe {
  width: 18px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  margin-bottom: 3px;
}

.camera-front {
  width: 110px;
  height: 75px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  display: flex;
  align-items: center;
  position: relative;
}

.camera-mount {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 22px;
  position: relative;
}

.camera-lens-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: radial-gradient(circle, #0f0f1a 0%, #0a0a12 60%, rgba(74, 158, 255, 0.05) 100%);
}

.camera-sensor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 164, 74, 0.2) 0%, transparent 70%);
}

.camera-grip {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0 5px 5px 0;
}

/* ---- FCP TIMELINE ---- */
.fcp-timeline {
  width: 100%;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}

.fcp-track {
  display: flex;
  gap: 2px;
  height: 18px;
}

.fcp-clip {
  width: var(--w, 30%);
  border-radius: 3px;
  flex-shrink: 0;
}

.fcp-clip-a { background: rgba(74, 158, 255, 0.35); border: 1px solid rgba(74, 158, 255, 0.2); }
.fcp-clip-b { background: rgba(74, 158, 255, 0.25); border: 1px solid rgba(74, 158, 255, 0.15); }
.fcp-clip-c { background: rgba(232, 164, 74, 0.35); border: 1px solid rgba(232, 164, 74, 0.2); }
.fcp-clip-d { background: rgba(232, 164, 74, 0.25); border: 1px solid rgba(232, 164, 74, 0.15); }
.fcp-clip-e { background: rgba(232, 164, 74, 0.3); border: 1px solid rgba(232, 164, 74, 0.18); }
.fcp-clip-audio { background: rgba(76, 175, 80, 0.2); border: 1px solid rgba(76, 175, 80, 0.12); }

.fcp-track-a1 { height: 12px; }

.fcp-playhead {
  position: absolute;
  left: 45%;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--amber);
  opacity: 0.7;
  border-radius: 1px;
}

.fcp-playhead::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* ---- QUICKTIME PLAYER ---- */
.qt-player {
  width: 140px;
  animation: float-qt 4.5s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes float-qt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.qt-screen {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0a0a12 0%, #0f0f1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qt-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.showcase-qt:hover .qt-play-btn {
  background: rgba(232, 164, 74, 0.15);
}

.qt-play-btn svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  margin-left: 2px;
}

.qt-controls {
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: none;
  border-radius: 0 0 6px 6px;
}

.qt-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.qt-progress-fill {
  width: 35%;
  height: 100%;
  background: var(--amber);
  opacity: 0.5;
  border-radius: 2px;
}

/* ---- macOS LAPTOP ---- */
.macos-laptop {
  animation: float-macos 5.5s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes float-macos {
  0%, 100% { transform: translateY(0) perspective(600px) rotateX(2deg); }
  50% { transform: translateY(-5px) perspective(600px) rotateX(0deg); }
}

.macos-screen {
  width: 140px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.macos-titlebar {
  display: flex;
  gap: 4px;
  padding: 5px 7px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.macos-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.macos-dot-r { background: #ff5f57; }
.macos-dot-y { background: #febc2e; }
.macos-dot-g { background: #28c840; }

.macos-content {
  display: flex;
  height: 65px;
}

.macos-sidebar {
  width: 30%;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.macos-sidebar span {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
}

.macos-sidebar span:first-child {
  background: rgba(232, 164, 74, 0.2);
}

.macos-main {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.macos-main span {
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1px;
}

.macos-main span:first-child {
  width: 80%;
}

.macos-main span:last-child {
  width: 55%;
}

.macos-base {
  width: 160px;
  height: 6px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: 0 0 3px 3px;
  margin: 0 auto;
}

/* ---- 3-column sub-row for software cards ---- */
.showcase-row-3 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.showcase-row-3 .showcase-card-visual {
  min-height: 150px;
  padding: 2rem 1.5rem;
}

.showcase-row-3 .showcase-card-info {
  padding: 1.25rem 1.5rem 1.35rem;
}

.showcase-row-3 .showcase-card-name {
  font-size: 1.05rem;
}

.showcase-row-3 .showcase-card-detail {
  font-size: 0.8125rem;
}

/* ---- Showcase responsive ---- */
@media (max-width: 1024px) {
  .showcase-bento {
    grid-template-columns: 1fr 1fr;
  }
  .showcase-row-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .showcase-row-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .showcase-bento {
    grid-template-columns: 1fr;
  }
  .showcase-chip {
    grid-column: span 1;
    flex-direction: column;
  }
  .showcase-chip .showcase-card-info {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 1.5rem 1.75rem;
  }
  .showcase-chip .showcase-card-visual {
    flex: unset;
    min-height: 170px;
  }
  .showcase-chip .showcase-card-name {
    font-size: 1.2rem;
  }
}

/* ===========================
   PROBLEM / SOLUTION
   =========================== */
.problem-solution {
  padding-block: var(--section-py);
  background: var(--bg-1);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.ps-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.ps-card-problem {
  background: rgba(180, 40, 40, 0.04);
  border-color: rgba(180, 40, 40, 0.15);
}

.ps-card-solution {
  background: rgba(232, 164, 74, 0.03);
  border-color: rgba(232, 164, 74, 0.18);
}

.ps-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.ps-card-problem .ps-card-icon {
  background: rgba(180, 40, 40, 0.1);
  color: #E06060;
}

.ps-card-solution .ps-card-icon {
  background: rgba(232, 164, 74, 0.1);
  color: var(--amber);
}

.ps-card-icon svg {
  width: 22px;
  height: 22px;
}

.ps-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.ps-card-problem h3 { color: #E06060; }
.ps-card-solution h3 { color: var(--amber); }

.ps-card p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.75;
}

/* Before/After Slider */
.before-after {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  user-select: none;
  cursor: ew-resize;
  border: 1px solid var(--border);
  background: #0d1828;
}

.ba-layer {
  position: absolute;
  inset: 0;
}

.ba-clean {
  background: linear-gradient(135deg,
    #0d1828 0%,
    #183a6e 35%,
    #1a4a80 55%,
    #0d2a50 75%,
    #0a1828 100%
  );
}

.ba-noisy {
  background: linear-gradient(135deg,
    #0d1828 0%,
    #183a6e 35%,
    #1a4a80 55%,
    #0d2a50 75%,
    #0a1828 100%
  );
  clip-path: inset(0 50% 0 0);
}

.ba-noisy::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.45;
  mix-blend-mode: overlay;
}

.ba-label {
  position: absolute;
  bottom: 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 5;
}

.ba-label-before {
  left: 1rem;
  color: #E06060;
}

.ba-label-after {
  right: 1rem;
  color: #60D890;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--amber);
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(232, 164, 74, 0.6);
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 20px rgba(232, 164, 74, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-void);
}

.ba-handle-btn svg {
  width: 18px;
  height: 18px;
}

/* ===========================
   FEATURES
   =========================== */
.features {
  padding-block: var(--section-py);
  background: var(--bg-void);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: -4px 0 24px rgba(232, 164, 74, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(232, 164, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--amber);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ===========================
   FORMATS
   =========================== */
.formats {
  padding-block: var(--section-py);
  background: var(--bg-1);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

.format-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.2rem;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
  overflow: hidden;
}

.format-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-color, var(--amber));
  opacity: 0.85;
}

.format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1), 0 12px 40px rgba(0, 0, 0, 0.3);
}

.format-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
  line-height: 1.1;
}

.format-maker {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.format-ext {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: var(--bg-3);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}

.format-context {
  font-size: 0.7rem;
  color: var(--text-faint);
  line-height: 1.5;
}

/* ===========================
   SPECS
   =========================== */
.specs {
  padding-block: var(--section-py);
  background: var(--bg-void);
}

.specs-table {
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.specs-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.75rem;
  gap: 2rem;
  align-items: baseline;
}

.specs-row:last-child {
  border-bottom: none;
}

.specs-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.016);
}

.specs-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.specs-value {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.65;
}

/* ===========================
   PRICING
   =========================== */
.pricing {
  padding-block: var(--section-py);
  background: var(--bg-1);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.pricing-toggle-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--t-fast);
  cursor: pointer;
}

.pricing-toggle-label.active {
  color: var(--text-primary);
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: var(--bg-3);
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: background var(--t-base), border-color var(--t-base);
  flex-shrink: 0;
}

.toggle-switch.annual {
  background: var(--amber);
  border-color: var(--amber);
}

.toggle-knob {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-primary);
  top: 2px;
  left: 2px;
  transition: transform var(--t-base);
}

.toggle-switch.annual .toggle-knob {
  transform: translateX(20px);
}

.save-badge {
  color: var(--amber);
  font-size: 0.7rem;
  margin-left: 0.3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-grid-single {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin-inline: auto;
}

.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  transition: transform var(--t-base);
}

.pricing-card:hover {
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: rgba(232, 164, 74, 0.38);
  box-shadow: 0 0 50px rgba(232, 164, 74, 0.06);
}

.pricing-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--bg-void);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-feature svg {
  width: 14px;
  height: 14px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-ctas .btn {
  width: 100%;
}

/* ===========================
   FAQ
   =========================== */
.faq {
  padding-block: var(--section-py);
  background: var(--bg-void);
}

.faq-list {
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list details:last-child {
  border-bottom: none;
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--t-fast), background var(--t-fast);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary:hover {
  color: var(--amber);
  background: rgba(232, 164, 74, 0.02);
}

.faq-list details[open] > summary {
  color: var(--amber);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-muted);
  transition: all var(--t-fast);
  font-style: normal;
}

.faq-list details[open] > summary .faq-icon {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg-void);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
  max-width: 700px;
}

.faq-list details[open] .faq-answer {
  animation: fadeSlideDown 0.22s ease;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .faq-list details[open] .faq-answer { animation: none; }
}

/* ===========================
   FINAL CTA
   =========================== */
.final-cta {
  padding-block: var(--section-py);
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta-blob-1 {
  position: absolute;
  width: clamp(300px, 40vw, 580px);
  height: clamp(300px, 40vw, 580px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 164, 74, 0.09) 0%, transparent 70%);
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  filter: blur(60px);
  pointer-events: none;
}

.final-cta-blob-2 {
  position: absolute;
  width: clamp(200px, 30vw, 480px);
  height: clamp(200px, 30vw, 480px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 158, 255, 0.06) 0%, transparent 70%);
  left: -3%;
  bottom: 0;
  filter: blur(60px);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-display);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.final-cta h2 .highlight {
  color: var(--amber);
  text-shadow: 0 0 40px rgba(232, 164, 74, 0.3);
}

.final-cta-sub {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.final-cta-note {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-faint);
  transition: color var(--t-fast);
}

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

.footer-compat {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.compat-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.compat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.55;
  flex-shrink: 0;
}

.footer-compat-section {
  margin-bottom: 2.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav .btn.nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .ps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: repeat(2, 1fr); }

  .specs-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .specs-label {
    font-size: var(--text-xs);
    color: var(--text-faint);
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }

  .before-after { height: 200px; }

  .section-subline { margin-bottom: 2.5rem; }
}

@media (max-width: 480px) {
  .formats-grid { grid-template-columns: 1fr; }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===========================
   FORMAT CARD — FEATURED VARIANT
   =========================== */
.format-card-featured {
  border-color: rgba(200, 200, 200, 0.2);
}

.format-featured-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-void);
  background: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.format-deep-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--amber);
  letter-spacing: 0.04em;
  transition: color var(--t-fast);
  opacity: 0.8;
}

.format-deep-link:hover {
  color: var(--text-primary);
  opacity: 1;
}

/* ===========================
   PRORES RAW DEEP DIVE
   =========================== */
.prores-deep {
  padding-block: var(--section-py);
  background: var(--bg-2);
}

/* Stats row */
.prores-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.prores-stat {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.prores-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.prores-stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* Pipeline diagram */
.pipeline-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
  width: 100%;
}

.pipeline-node {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  text-align: center;
  min-width: 260px;
  max-width: 420px;
  width: 100%;
}

.pipeline-node-source {
  border-color: rgba(232, 164, 74, 0.35);
  background: rgba(232, 164, 74, 0.04);
}

.pipeline-node-c {
  border-color: rgba(232, 164, 74, 0.25);
}

.pipeline-node-ml {
  border-color: rgba(100, 200, 130, 0.3);
  background: rgba(100, 200, 130, 0.03);
}

.pipeline-node-optional {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
  opacity: 0.75;
}

.pipeline-node-output {
  border-color: rgba(74, 158, 255, 0.25);
  background: rgba(74, 158, 255, 0.03);
}

.pipeline-node-final {
  border-color: rgba(74, 158, 255, 0.4);
  background: rgba(74, 158, 255, 0.06);
}

.pipeline-node-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.pipeline-node-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.03em;
}

.pipeline-arrow {
  font-size: 1.2rem;
  color: var(--amber);
  opacity: 0.45;
  padding: 0.3rem 0;
  line-height: 1;
}

/* Fork: C path vs ML path */
.pipeline-fork {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  max-width: 760px;
}

.pipeline-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.pipeline-opt-connector {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--amber);
  opacity: 0.45;
  letter-spacing: 0.06em;
  padding: 0.25rem 0;
}

.pipeline-or {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-align: center;
  align-self: center;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  min-width: 36px;
}

/* Technical accordion */
.tech-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tech-accordion details {
  border-bottom: 1px solid var(--border);
}

.tech-accordion details:last-child {
  border-bottom: none;
}

.tech-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  transition: background var(--t-fast);
}

.tech-accordion summary::-webkit-details-marker { display: none; }

.tech-accordion summary:hover {
  background: rgba(232, 164, 74, 0.02);
}

.tech-accordion details[open] > summary {
  background: rgba(232, 164, 74, 0.03);
  border-bottom: 1px solid var(--border);
}

.tech-accordion details[open] > summary .tech-acc-title {
  color: var(--amber);
}

.tech-accordion details[open] > summary .faq-icon {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg-void);
  transform: rotate(45deg);
}

.tech-acc-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--amber);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  opacity: 0.65;
  min-width: 24px;
}

.tech-acc-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  transition: color var(--t-fast);
}

.tech-acc-body {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.01);
  animation: fadeSlideDown 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
  .tech-acc-body { animation: none; }
}

.tech-acc-body > p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 740px;
}

.tech-subhead {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tech-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
}

.tech-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amber);
  opacity: 0.45;
  font-size: var(--text-xs);
  line-height: 1.85;
}

.tech-params {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tech-param {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* Responsive for ProRes section */
@media (max-width: 1024px) {
  .prores-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pipeline-fork {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .pipeline-or {
    justify-self: center;
  }
  .pipeline-node {
    min-width: unset;
    max-width: 100%;
  }
  .pipeline-branch {
    align-items: stretch;
  }
  .pipeline-branch .pipeline-node {
    text-align: left;
  }
  .pipeline-diagram {
    align-items: stretch;
  }
  .pipeline-node:not(.pipeline-fork .pipeline-node) {
    max-width: 100%;
    align-self: center;
    text-align: center;
  }
}

/* ===========================
   APP DEMO SECTION
   =========================== */
.app-demo {
  padding: var(--section-py) 0;
}

.demo-window {
  max-width: 900px;
  margin: 3rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Title bar */
.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.demo-traffic {
  display: flex;
  gap: 6px;
  margin-right: 8px;
}
.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.demo-dot-close { background: #FF5F56; }
.demo-dot-min   { background: #FFBD2E; }
.demo-dot-max   { background: #27C93F; }
.demo-titlebar-text {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}
.demo-gpu-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  color: #27C93F;
  background: rgba(39, 201, 63, 0.12);
  padding: 2px 6px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* Body */
.demo-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 340px;
}

/* Controls panel */
.demo-controls {
  padding: 20px 18px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.demo-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.demo-file-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-filename {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.demo-motion-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27C93F;
  flex-shrink: 0;
}
.demo-motion-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #27C93F;
}
.demo-resolution {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* Sliders */
.demo-slider-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-slider-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.demo-slider-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-primary);
}
.demo-slider-value {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.demo-slider-track {
  position: relative;
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
}
.demo-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 2px;
  background: var(--electric);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-slider-thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 6px rgba(74, 158, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ghosting indicator */
.demo-ghosting {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: rgba(39, 201, 63, 0.06);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: #27C93F;
}
.demo-ghosting-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Denoise button */
.demo-btn-denoise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--electric);
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: default;
  margin-top: auto;
  transition: opacity 0.3s;
}
.demo-btn-denoise svg {
  width: 16px;
  height: 16px;
}
.demo-btn-denoise:hover {
  opacity: 0.9;
}

/* Preview panel */
.demo-preview {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-preview-labels {
  display: flex;
  justify-content: space-between;
}
.demo-preview-label-orig,
.demo-preview-label-dn {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.demo-preview-area {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0a0a;
  cursor: ew-resize;
}

/* Shared image layer */
.demo-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* After (denoised) — full base layer */
.demo-preview-after {
  z-index: 0;
}

/* Before (noisy) — clipped to left of divider */
.demo-preview-before {
  z-index: 1;
  clip-path: inset(0 35% 0 0);
  transition: clip-path 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Wipe divider */
.demo-preview-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.7);
  left: 65%;
  z-index: 2;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  transition: left 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: ew-resize;
}
.demo-preview-area.dragging .demo-preview-divider,
.demo-preview-area.dragging .demo-preview-before {
  transition: none;
}
.demo-preview-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 32px;
  background: white;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Caption */
.demo-preview-caption {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.demo-preview-caption strong {
  color: var(--amber);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 700px) {
  .demo-body {
    grid-template-columns: 1fr;
  }
  .demo-controls {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .demo-preview-area {
    aspect-ratio: 4 / 3;
  }
}
