:root {
  --bg: #020612;
  --bg-soft: #081225;
  --panel: rgba(8, 17, 36, 0.66);
  --panel-strong: rgba(8, 15, 32, 0.88);
  --panel-elevated: rgba(10, 20, 44, 0.9);
  --line: rgba(108, 229, 255, 0.18);
  --line-strong: rgba(108, 229, 255, 0.46);
  --text: #eef8ff;
  --muted: #9eb5c9;
  --muted-2: #6e86a1;
  --cyan: #6ce5ff;
  --blue: #5f86ff;
  --violet: #9d6dff;
  --pink: #ff67c9;
  --green: #63ffca;
  --gold: #ffd56d;
  --danger: #ff6b96;
  --shadow-lg: 0 42px 100px rgba(0, 5, 20, 0.5);
  --shadow-md: 0 24px 60px rgba(0, 8, 24, 0.32);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(108, 229, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(157, 109, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 70% 100%, rgba(95, 134, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #030711 0%, #050b18 42%, #02050c 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #c7f6ff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.16rem 0.45rem;
}

.site-shell { position: relative; overflow: hidden; }
.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("shortmaker-command-bg.svg");
  background-position: center top;
  background-size: cover;
  opacity: 0.45;
}
.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 18, 0.97), rgba(2, 6, 18, 0.74) 38%, rgba(2, 6, 18, 0.95)),
    linear-gradient(180deg, rgba(2, 6, 18, 0.08), rgba(2, 6, 18, 0.92));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 3vw, 34px);
  backdrop-filter: blur(20px);
  background: rgba(2, 8, 19, 0.68);
  border-bottom: 1px solid rgba(108, 229, 255, 0.10);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: 0.03em; }
.brand-logo { width: 38px; height: 38px; }
.nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 0.95rem; }
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.nav a:hover::after { transform: scaleX(1); }
.topbar-actions { display: flex; gap: 10px; align-items: center; }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  opacity: 0;
  transition: opacity 180ms ease;
}
.button:hover::before { opacity: 1; }
.button > *,.button { z-index: 1; }
.button.primary {
  color: #04101f;
  background: linear-gradient(135deg, #7af2ff 0%, #6c9cff 42%, #ff73d2 100%);
  box-shadow: 0 16px 42px rgba(109, 151, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.45);
}
.button.secondary {
  color: var(--text);
  border-color: rgba(108, 229, 255, 0.24);
  background: linear-gradient(180deg, rgba(108, 229, 255, 0.12), rgba(108, 229, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.button.ghost {
  color: var(--muted);
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.button.large { min-height: 58px; padding-inline: 26px; }
.button.small { min-height: 40px; padding-inline: 16px; font-size: 0.92rem; }
.button.full { width: 100%; }

.hero-modern {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(28px, 3vw, 42px);
  align-items: start;
  max-width: min(var(--max), calc(100vw - 24px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 90px) clamp(18px, 3vw, 24px) clamp(36px, 5vw, 64px);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; opacity: 0.72; }
.hero-orb-a { width: 36rem; height: 36rem; top: 0; right: -12rem; background: radial-gradient(circle, rgba(108,229,255,0.22), transparent 66%); }
.hero-orb-b { width: 28rem; height: 28rem; bottom: -8rem; left: 12%; background: radial-gradient(circle, rgba(157,109,255,0.18), transparent 66%); }
.hero-grid {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background-image:
    linear-gradient(rgba(108, 229, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 229, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 38%, transparent 100%);
  transform: perspective(760px) rotateX(62deg) translateY(130px);
  opacity: 0.28;
}

.hero-copy-column, .hero-side-stack, .section, .footer, .stat-ribbon { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 900;
}
.hero-copy-column h1 {
    margin: 0 0 20px;
    font-size: clamp(2.55rem, 4.6vw, 4.8rem);
    line-height: 0.92;
    letter-spacing: -0.075em;
    max-width: 820px;
}
.hero-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.72;
  max-width: 740px;
}
.hero-actions, .mini-actions, .proof-badges, .download-meta, .trust-row, .bento-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin: 28px 0 22px; }
.mini-actions { margin-top: 16px; }
.trust-row span, .download-meta span, .proof-badges span, .bento-tags span, .status-pill, .live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(108, 229, 255, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  color: #dbf9ff;
  background: rgba(9, 20, 39, 0.62);
  font-size: 0.9rem;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }

.hero-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.highlight-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(10,18,36,0.84), rgba(6,12,24,0.82));
  box-shadow: var(--shadow-md);
}
.highlight-card strong { display: block; margin-bottom: 10px; font-size: 1rem; }
.highlight-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.accent-cyan { box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 24px 60px rgba(11, 73, 93, 0.26); }
.accent-violet { box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 24px 60px rgba(59, 33, 116, 0.25); }
.accent-gold { box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 24px 60px rgba(128, 83, 11, 0.22); }

.hero-side-stack { display: grid; gap: 18px; }
.hero-stage-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(108, 229, 255, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(108, 229, 255, 0.12), transparent 18rem),
    radial-gradient(circle at 0% 100%, rgba(255, 103, 201, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(11, 22, 44, 0.82), rgba(5, 11, 24, 0.9));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  padding: 22px;
}
.stage-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.stage-head h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.15rem); line-height: 1.02; letter-spacing: -0.04em; }
.product-stage-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 14px; }
.stage-panel {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  overflow: hidden;
}
.panel-main { padding: 16px; }
.panel-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
  background: rgba(2, 8, 19, 0.6);
  border: 1px solid rgba(108, 229, 255, 0.16);
  color: #d6fbff;
  margin-bottom: 12px;
}
.stage-mockup { width: 100%; border-radius: 20px; box-shadow: 0 14px 34px rgba(0,0,0,0.30); }
.stack-panel { display: grid; gap: 12px; padding: 14px; }
.mini-proof-card {
  min-height: 100px;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(14,25,50,0.84), rgba(9,13,28,0.8));
}
.mini-proof-card span { display: block; font-size: 0.85rem; color: var(--muted-2); margin-bottom: 8px; }
.mini-proof-card strong { font-size: 1rem; line-height: 1.25; }

.youtube-frame, .proof-video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(108, 229, 255, 0.14);
  background: rgba(5, 14, 28, 0.9);
}
.youtube-frame { aspect-ratio: 16 / 9; }
.youtube-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-placeholder, .youtube-fallback, .proof-video-fallback, .gallery-empty {
  display: grid;
  place-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
  color: var(--text);
  background:
    radial-gradient(circle at center, rgba(108, 229, 255, 0.16), transparent 70%),
    rgba(2, 8, 19, 0.88);
}
.media-placeholder span, .youtube-fallback span, .proof-video-fallback span, .gallery-empty span { color: var(--muted); line-height: 1.55; }
.video-title { color: var(--muted); line-height: 1.55; margin: 14px 0 0; }

.stat-ribbon {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 24px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.stat-ribbon article {
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(108, 229, 255, 0.12);
  background: linear-gradient(180deg, rgba(9, 18, 37, 0.82), rgba(6, 10, 22, 0.82));
  box-shadow: var(--shadow-md);
}
.stat-ribbon strong { display: block; font-size: 1.25rem; margin-bottom: 10px; }
.stat-ribbon span { color: var(--muted); line-height: 1.5; }

.section {
  padding: clamp(72px, 9vw, 116px) clamp(18px, 3vw, 24px);
  max-width: var(--max);
  margin: 0 auto;
}
.section-heading { max-width: 900px; margin-bottom: 34px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.narrow { max-width: 780px; }
.section-heading h2, .showcase-header h2, .download-panel h2, .contact-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(2.15rem, 4vw, 4.15rem);
  line-height: 0.97;
  letter-spacing: -0.06em;
}
.section-copy, .muted, .download-actions-card p, .workflow-copy p, .proof-callout p, .bento-card p {
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
}

.proof-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 20px; align-items: stretch; }
.proof-player-card, .proof-callout, .workflow-card, .bento-card, .download-panel, .contact-panel, .glass-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(108, 229, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(9, 19, 39, 0.86), rgba(5, 10, 22, 0.84));
  box-shadow: var(--shadow-md);
}
.proof-player-card { padding: 18px; }
.proof-video-shell { min-height: 520px; }
.proof-video { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }
.proof-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: 16px; }
.meta-label { display: block; color: var(--muted-2); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.proof-callouts { display: grid; gap: 14px; }
.proof-callout { padding: 20px; }
.proof-callout h3 { margin: 0 0 10px; font-size: 1.24rem; }

.showcase-header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .9fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.gallery-wrap { position: relative; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-empty {
  min-height: 260px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(108, 229, 255, 0.12);
}
.gallery-item {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,0.03);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
  border-color: rgba(108, 229, 255, 0.32);
}
.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 14, 0.95));
}
.gallery-overlay strong { display: block; margin-bottom: 6px; }
.gallery-overlay span { color: var(--muted); font-size: 0.92rem; }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.workflow-card { padding: 16px; overflow: hidden; }
.workflow-visual {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  margin-bottom: 14px;
}
.workflow-copy h3 { margin: 0 0 10px; font-size: 1.26rem; }
.workflow-number {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  color: #04101f;
  background: linear-gradient(135deg, #7af2ff, #ff7ad7);
  font-size: 0.8rem;
  font-weight: 900;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bento-card { padding: 20px; min-height: 210px; }
.bento-card h3 { margin: 0 0 10px; font-size: 1.4rem; }
.bento-lg { grid-column: span 2; min-height: 280px; }
.bento-accent {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 103, 201, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(9, 19, 39, 0.86), rgba(5, 10, 22, 0.84));
}

.download-panel, .contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 22px;
  padding: clamp(24px, 4vw, 34px);
}
.download-actions-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  display: grid;
  gap: 12px;
}
.contact-cards { display: grid; gap: 14px; }
.glass-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease;
}
.glass-card:hover { transform: translateY(-3px); border-color: rgba(108, 229, 255, 0.24); }
.contact-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(108,229,255,0.16), rgba(255,103,201,0.12));
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-icon { width: 26px; height: 26px; }
.glass-card h3 { margin: 0 0 8px; }
.glass-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 18px 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}
.footer strong { color: var(--text); }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 74px 1fr 74px;
  align-items: center;
  gap: 10px;
  padding: 24px;
  background: rgba(3, 7, 16, 0.94);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox-stage {
  max-width: min(1120px, calc(100vw - 160px));
  margin: 0 auto;
}
.lightbox-stage img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.lightbox-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
}
.lightbox-meta strong { color: var(--text); }
.lightbox-close, .lightbox-nav {
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  cursor: pointer;
}
.lightbox-close { position: absolute; top: 18px; right: 18px; }

.legal-page .section, .legal .section { max-width: 900px; }

@media (max-width: 1180px) {
  .hero-modern, .proof-layout, .download-panel, .contact-panel, .showcase-header { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-highlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .topbar { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow: auto; }
  .stat-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-stage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .workflow-grid, .bento-grid, .stat-ribbon { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy-column h1, .section-heading h2, .showcase-header h2, .download-panel h2, .contact-panel h2 { letter-spacing: -0.05em; }
  .hero-actions { display: grid; }
  .hero-actions .button, .topbar-actions .button { width: 100%; }
  .footer { flex-direction: column; }
  .lightbox { grid-template-columns: 1fr; padding-inline: 12px; }
  .lightbox-nav { display: none; }
  .lightbox-stage { max-width: calc(100vw - 24px); }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* V4 viewport sanity pass: keep the sales page controlled on 4K / zoomed-out browsers. */
:root { --max: 1180px; }
body { font-size: 16px; }
.site-shell::before { opacity: 0.22; background-size: cover; }

.hero-modern {
  width: min(1180px, calc(100vw - 56px));
  max-width: 1180px;
  grid-template-columns: minmax(0, 610px) minmax(360px, 500px);
  justify-content: space-between;
  gap: clamp(28px, 3vw, 46px);
  padding: clamp(52px, 5vw, 82px) 0 clamp(42px, 5vw, 70px);
  min-height: auto;
}
.hero-copy-column h1 {
  max-width: 640px;
  font-size: clamp(2.65rem, 4.1vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.hero-copy {
  max-width: 620px;
  font-size: clamp(1rem, 1.1vw, 1.14rem);
  line-height: 1.65;
}
.hero-side-stack {
  width: 100%;
  max-width: 500px;
  justify-self: end;
}
.hero-stage-card { padding: clamp(18px, 1.8vw, 22px); }
.stage-head h2 { font-size: clamp(1.35rem, 1.5vw, 1.72rem); }
.product-stage-grid { grid-template-columns: minmax(0, 1fr); }
.stage-mockup { max-height: 260px; object-fit: contain; }
.stack-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-proof-card { min-height: 92px; padding: 14px; }
.mini-proof-card strong { font-size: 0.94rem; }

.hero-highlight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.highlight-card { padding: 16px; }
.highlight-card p { font-size: .94rem; }

.stat-ribbon,
.section,
.footer {
  width: min(1180px, calc(100vw - 56px));
  max-width: 1180px;
}
.stat-ribbon { padding: 0; }
.section { padding: clamp(64px, 6vw, 92px) 0; }
.footer { padding-left: 0; padding-right: 0; }
.section-heading h2,
.showcase-header h2,
.download-panel h2,
.contact-panel h2 {
  max-width: 820px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.section-heading.centered h2 { margin-left: auto; margin-right: auto; }

.proof-layout { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); }
.proof-video-shell {
  height: clamp(340px, 38vw, 520px);
  min-height: 0;
}
.proof-video {
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.proof-video-fallback {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.proof-callout { padding: 18px; }

.showcase-header {
  grid-template-columns: minmax(0, .85fr) minmax(280px, .75fr);
  align-items: end;
}
.gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 250px));
  justify-content: center;
  align-items: start;
}
.gallery-item {
  width: 100%;
  height: 310px;
  min-height: 0;
  max-width: 250px;
}
.gallery-thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.gallery-empty {
  min-height: 220px;
  max-width: 680px;
  margin: 0 auto;
  border-radius: 24px;
}

.workflow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.workflow-card { padding: 14px; }
.workflow-visual {
  width: 100%;
  height: 175px;
  object-fit: cover;
  margin-bottom: 14px;
}
.workflow-copy h3 { font-size: 1.16rem; }
.workflow-copy p { font-size: .94rem; }

.bento-card { min-height: 190px; }
.bento-lg { min-height: 250px; }
.download-panel,
.contact-panel { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr); }

@media (min-width: 1700px) {
  .hero-modern,
  .stat-ribbon,
  .section,
  .footer {
    width: min(1220px, calc(100vw - 72px));
    max-width: 1220px;
  }
  .hero-copy-column h1 { font-size: 4.85rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(225px, 255px)); }
  .gallery-item { height: 316px; max-width: 255px; }
}

@media (max-width: 1180px) {
  .hero-modern {
    width: min(100% - 36px, 980px);
    grid-template-columns: 1fr;
  }
  .hero-side-stack { max-width: none; justify-self: stretch; }
  .stack-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof-layout,
  .download-panel,
  .contact-panel,
  .showcase-header { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero-modern,
  .stat-ribbon,
  .section,
  .footer { width: min(100% - 28px, 100%); }
  .hero-copy-column h1 { font-size: clamp(2.25rem, 12vw, 3.35rem); }
  .hero-highlight-grid,
  .stack-panel,
  .stat-ribbon,
  .workflow-grid,
  .bento-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .gallery-item { max-width: none; height: 240px; }
  .workflow-visual { height: 155px; }
}

/* V5: proof video overlay fix. Author CSS was overriding the native hidden attribute. */
.proof-video[hidden],
.proof-video-fallback[hidden],
.gallery-empty[hidden],
.lightbox[hidden] {
  display: none !important;
}

.proof-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(108,229,255,0.06), transparent 24%, transparent 72%, rgba(2,8,19,0.18)),
    radial-gradient(circle at 18% 12%, rgba(108,229,255,0.10), transparent 26rem),
    radial-gradient(circle at 92% 82%, rgba(255,103,201,0.10), transparent 22rem);
  mix-blend-mode: screen;
  opacity: 0.68;
}

.proof-video:not([hidden]) + .proof-video-fallback {
  display: none !important;
}


/* V6: hard proof-video overlay fix. The video can load while the fallback is still in DOM; hide it by state, attribute and inline-safe class. */
.proof-video-shell.has-proof-video .proof-video-fallback,
.proof-video-fallback[hidden],
.media-placeholder[hidden],
.gallery-empty[hidden] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.proof-video-shell.has-proof-video .proof-video {
  display: block !important;
}


/* Privacy-first public visitor counter. Internal analytics remain private. */
.visitor-counter-card {
  border-color: rgba(99, 255, 202, 0.28) !important;
  background: linear-gradient(180deg, rgba(10, 39, 42, 0.86), rgba(5, 16, 27, 0.88)) !important;
}
.visitor-counter-card strong {
  color: var(--green);
  text-shadow: 0 0 22px rgba(99, 255, 202, 0.28);
}


/* Consent-first analytics and external-media controls. */
.privacy-choice-known .privacy-consent { display: none; }
.privacy-choice-known.privacy-settings-open .privacy-consent { display: grid; }
.privacy-consent[hidden] { display: none !important; }
.privacy-consent {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 28px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(108, 229, 255, 0.34);
  border-radius: 22px;
  background: rgba(5, 12, 28, 0.97);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.72), 0 0 40px rgba(108, 229, 255, 0.10);
  backdrop-filter: blur(18px);
}
.privacy-consent h2 { margin: 3px 0 8px; font-size: clamp(1.2rem, 3vw, 1.65rem); }
.privacy-consent p { margin: 0 0 9px; color: var(--muted); line-height: 1.55; }
.privacy-consent a { color: var(--cyan); }
.privacy-consent-status { font-size: 0.88rem; color: var(--green) !important; }
.privacy-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 330px; }
.privacy-consent-actions .button { min-height: 48px; }
.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.external-media-gate {
  min-height: 100%;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(145deg, rgba(7, 22, 42, 0.94), rgba(16, 12, 37, 0.94));
}
.external-media-gate span { color: var(--muted); line-height: 1.5; }
.external-media-gate .button { justify-self: center; }
@media (max-width: 760px) {
  .privacy-consent { grid-template-columns: 1fr; bottom: 10px; max-height: calc(100vh - 20px); overflow: auto; }
  .privacy-consent-actions { min-width: 0; }
}
@media (max-width: 460px) {
  .privacy-consent-actions { grid-template-columns: 1fr; }
}

.privacy-consent-actions .consent-allow { border-color: rgba(99,255,202,.55); box-shadow: inset 0 0 0 1px rgba(99,255,202,.08); }


/* Promo Showcase: sticky desktop player with a scroll-driven example feed. */
.promo-showcase-section[hidden] { display: none !important; }
.promo-showcase-section { scroll-margin-top: 92px; }
.promo-showcase-section {
  max-width: min(1560px, calc(100% - 36px));
  padding-inline: 0;
}
.promo-showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: 24px;
}
.promo-showcase-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.35rem);
  line-height: .96;
  letter-spacing: -.06em;
}
.promo-showcase-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.promo-filter {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid rgba(108, 229, 255, .16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(7, 16, 34, .82);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.promo-filter:hover {
  color: var(--text);
  border-color: rgba(108, 229, 255, .38);
  transform: translateY(-1px);
}
.promo-filter.is-active {
  color: #f7fdff;
  border-color: rgba(108, 229, 255, .54);
  background: linear-gradient(135deg, rgba(25, 108, 137, .86), rgba(91, 46, 149, .84));
  box-shadow: 0 10px 30px rgba(37, 161, 201, .16);
}
.promo-showcase-layout {
  display: grid;
  grid-template-columns: minmax(440px, .94fr) minmax(420px, 1.06fr);
  gap: clamp(24px, 4vw, 66px);
  align-items: start;
  position: relative;
}
.promo-player-column {
  min-width: 0;
  position: sticky;
  top: 88px;
}
.promo-player-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(108, 229, 255, .18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 0%, rgba(108, 229, 255, .12), transparent 30rem),
    radial-gradient(circle at 100% 80%, rgba(255, 103, 201, .11), transparent 28rem),
    linear-gradient(155deg, rgba(9, 20, 41, .96), rgba(5, 10, 23, .96));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.promo-player-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 4px 14px;
}
.promo-category-pill,
.promo-position,
.promo-card-category,
.promo-card-duration {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.promo-category-pill {
  padding: 8px 12px;
  color: #c9f8ff;
  border: 1px solid rgba(108, 229, 255, .24);
  background: rgba(12, 65, 83, .36);
  text-transform: uppercase;
}
.promo-position { color: var(--muted-2); }
.promo-player-shell {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  max-height: min(72vh, 820px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 25px;
  background:
    linear-gradient(180deg, rgba(6, 14, 29, .1), rgba(2, 6, 15, .72)),
    radial-gradient(circle at 50% 30%, rgba(108, 229, 255, .14), transparent 55%),
    #030812;
}
.promo-showcase-player {
  width: 100%;
  height: 100%;
  min-height: 620px;
  max-height: min(72vh, 820px);
  object-fit: contain;
  display: block;
  background: #02050b;
}
.promo-showcase-player[hidden],
.promo-player-placeholder[hidden],
.promo-play-overlay[hidden],
.promo-sound-toggle[hidden],
.promo-feed-empty[hidden] {
  display: none !important;
}
.promo-player-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(2, 8, 19, .22), rgba(2, 8, 19, .68)),
    repeating-linear-gradient(135deg, rgba(108, 229, 255, .025) 0 1px, transparent 1px 16px);
}
.promo-player-placeholder span:last-child { max-width: 430px; color: var(--muted); line-height: 1.55; }
.promo-placeholder-icon,
.promo-play-icon {
  display: grid;
  place-content: center;
  width: 66px;
  height: 66px;
  padding-left: 4px;
  border: 1px solid rgba(108, 229, 255, .38);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, rgba(31, 180, 217, .85), rgba(135, 62, 213, .88));
  box-shadow: 0 0 40px rgba(65, 205, 235, .2);
}
.promo-play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .58));
}
.promo-play-overlay:hover .promo-play-icon { transform: scale(1.06); }
.promo-play-icon { transition: transform 180ms ease; }
.promo-sound-toggle {
  position: absolute;
  z-index: 5;
  right: 14px;
  bottom: 58px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 7, 16, .78);
  backdrop-filter: blur(12px);
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}
.promo-player-copy { padding: 20px 6px 4px; }
.promo-player-copy h3 {
  margin: 3px 0 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.promo-player-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.65; }
.promo-player-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.promo-player-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .035);
  font-size: .78rem;
  font-weight: 700;
}
.promo-feed-column { min-width: 0; }
.promo-feed-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  color: var(--muted-2);
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.promo-scroll-line { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(108, 229, 255, .32), transparent); }
.promo-feed { display: grid; gap: 18px; }
.promo-feed-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  min-height: 236px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 27px;
  color: inherit;
  text-align: left;
  background: linear-gradient(145deg, rgba(11, 22, 43, .78), rgba(6, 11, 24, .84));
  box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
  cursor: pointer;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.promo-feed-card:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 229, 255, .28);
  background: linear-gradient(145deg, rgba(12, 29, 52, .91), rgba(9, 13, 31, .92));
}
.promo-feed-card.is-active {
  border-color: rgba(108, 229, 255, .58);
  background:
    radial-gradient(circle at 8% 18%, rgba(108, 229, 255, .12), transparent 18rem),
    linear-gradient(145deg, rgba(13, 37, 61, .96), rgba(18, 13, 42, .96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32), 0 0 0 1px rgba(108, 229, 255, .08) inset;
}
.promo-feed-card.is-filtered { display: none; }
.promo-card-media {
  position: relative;
  overflow: hidden;
  min-height: 206px;
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% 30%, rgba(108, 229, 255, .2), transparent 60%),
    linear-gradient(155deg, rgba(16, 54, 76, .92), rgba(43, 18, 72, .94));
}
.promo-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(2, 6, 15, .76));
  pointer-events: none;
}
.promo-card-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-content: center;
  width: 48px;
  height: 48px;
  padding-left: 3px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 10, 22, .72);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .34);
}
.promo-card-duration { position: absolute; z-index: 3; right: 9px; bottom: 9px; padding: 6px 8px; color: #fff; background: rgba(2, 6, 15, .76); }
.promo-card-copy { align-self: center; min-width: 0; padding: 8px 8px 8px 0; }
.promo-card-category { margin-bottom: 14px; padding: 6px 9px; color: #bff7ff; border: 1px solid rgba(108, 229, 255, .18); background: rgba(108, 229, 255, .06); }
.promo-card-copy h3 { margin: 0 0 9px; font-size: clamp(1.22rem, 2vw, 1.65rem); line-height: 1.08; letter-spacing: -.025em; }
.promo-card-copy p { margin: 0; color: var(--muted); line-height: 1.58; }
.promo-card-active-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity 180ms ease;
}
.promo-card-active-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}
.promo-feed-card.is-active .promo-card-active-label { opacity: 1; }
.promo-feed-empty {
  display: grid;
  gap: 9px;
  min-height: 260px;
  place-content: center;
  padding: 28px;
  border: 1px dashed rgba(108, 229, 255, .22);
  border-radius: 26px;
  text-align: center;
  background: rgba(5, 13, 28, .58);
}
.promo-feed-empty span { max-width: 560px; color: var(--muted); line-height: 1.55; }
.promo-feed-empty code { color: #bff7ff; }

@media (max-width: 1120px) {
  .promo-showcase-section { max-width: min(100% - 36px, 980px); }
  .promo-showcase-heading { grid-template-columns: 1fr; gap: 18px; }
  .promo-showcase-layout { grid-template-columns: minmax(340px, .9fr) minmax(360px, 1.1fr); gap: 24px; }
  .promo-player-shell,
  .promo-showcase-player { min-height: 540px; }
  .promo-feed-card { grid-template-columns: 150px minmax(0, 1fr); min-height: 210px; }
  .promo-card-media { min-height: 180px; }
}

@media (max-width: 920px) {
  .promo-showcase-section { max-width: min(100% - 28px, 100%); }
  .promo-showcase-layout { display: block; }
  .promo-player-column { position: relative; top: auto; margin-bottom: 20px; }
  .promo-player-card { padding: 12px; border-radius: 25px; }
  .promo-player-shell,
  .promo-showcase-player { min-height: 0; max-height: none; aspect-ratio: 9 / 16; }
  .promo-player-shell { max-height: min(72vh, 700px); }
  .promo-showcase-player { height: 100%; }
  .promo-feed-intro { margin-top: 8px; }
  .promo-feed { gap: 12px; }
  .promo-feed-card { grid-template-columns: 118px minmax(0, 1fr); min-height: 164px; padding: 10px; border-radius: 22px; }
  .promo-card-media { min-height: 144px; border-radius: 16px; }
  .promo-card-copy { padding: 4px 4px 4px 0; }
  .promo-card-copy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .promo-card-active-label { margin-top: 10px; }
}

@media (max-width: 520px) {
  .promo-showcase-heading h2 { font-size: clamp(2rem, 11vw, 3rem); }
  .promo-showcase-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .promo-showcase-filters::-webkit-scrollbar { display: none; }
  .promo-filter { flex: 0 0 auto; }
  .promo-player-topline { min-height: 36px; }
  .promo-player-copy { padding-top: 16px; }
  .promo-sound-toggle { right: 9px; bottom: 54px; }
  .promo-feed-card { grid-template-columns: 104px minmax(0, 1fr); min-height: 150px; gap: 12px; }
  .promo-card-media { min-height: 130px; }
  .promo-card-copy h3 { font-size: 1.08rem; }
  .promo-card-copy p { font-size: .88rem; }
  .promo-card-category { margin-bottom: 8px; font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-filter,
  .promo-feed-card,
  .promo-play-icon { transition: none; }
  .promo-feed-card:hover { transform: none; }
}
