/* Movzora — landing page. Same colours as the studio (dark by default, light on request).
   All motion is switched off for people who ask their device for less motion. */

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --surface: #111113;
  --surface-2: #17171a;
  --surface-3: #202024;
  --line: #232327;
  --line-2: #34343a;
  --text: #f5f5f6;
  --body: #c3c3cb;
  --muted: #a8a8b2;
  --brand: #e50914;
  --brand-hi: #ff2b37;
  --brand-mark: #ff2b37;
  --brand-soft: rgba(229, 9, 20, .16);
  --ok: #2fd08a;
  --shadow: 0 30px 80px rgba(0, 0, 0, .6);
  --card-shadow: none;
  --glow-a: rgba(229, 9, 20, .34);
  --glow-b: rgba(255, 106, 61, .16);
  --nav-bg: rgba(10, 10, 11, .78);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f0f2f5;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-3: #e4e6eb;
  --line: #dddfe2;
  --line-2: #ced0d4;
  --text: #050505;
  --body: #3c3f44;
  --muted: #55585e;
  --brand: #e50914;
  --brand-hi: #f6202b;
  --brand-mark: #b8070f;
  --brand-soft: rgba(229, 9, 20, .09);
  --ok: #0a6b42;
  --shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 18px 44px rgba(0, 0, 0, .18);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  --glow-a: rgba(229, 9, 20, .16);
  --glow-b: rgba(255, 138, 76, .14);
  --nav-bg: rgba(255, 255, 255, .84);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 40px; padding: 0 18px; border-radius: 99px;
  font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
}
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 6px 22px var(--glow-a); }
.btn.primary:hover { background: var(--brand-hi); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface-3); }
.btn.big { height: 52px; padding: 0 26px; font-size: 16.5px; }
.rec-dot { width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.icon-btn { appearance: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--surface-3); color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--line-2); }
.icon-btn .moon { display: none; }
:root[data-theme="light"] .icon-btn .sun { display: none; }
:root[data-theme="light"] .icon-btn .moon { display: block; }
.text-link { color: var(--brand-mark); font-weight: 600; text-underline-offset: 3px; }

/* ------------------------------------------------------------ top bar */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; height: 64px; padding: 0 clamp(14px, 4vw, 40px);
  background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo { width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--brand-mark); position: relative; flex: none; }
.logo::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--brand-mark); }
.wordmark { font-size: 19px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; color: var(--brand-mark); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 99px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--text); background: var(--surface-3); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  max-width: 1280px; margin: 0 auto; padding: clamp(36px, 7vw, 96px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 80px);
}
.glow { position: absolute; inset: -80px -20vw auto; height: 720px; z-index: -1; pointer-events: none; overflow: hidden; }
.glow i { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow i:first-child { width: 620px; height: 620px; right: 6%; top: -80px; background: var(--glow-a); animation: drift 14s ease-in-out infinite alternate; }
.glow i:last-child { width: 460px; height: 460px; left: 8%; top: 180px; background: var(--glow-b); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 50px, 0) scale(1.15); } }

.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-mark); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
h1 { margin-top: 20px; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.hl { background: linear-gradient(100deg, var(--brand-hi), #ff7a45); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .hl { background: linear-gradient(100deg, #d50812, #c2410c); -webkit-background-clip: text; background-clip: text; }
.lead { margin-top: 22px; font-size: clamp(16.5px, 1.5vw, 19.5px); color: var(--body); max-width: 34em; }
.lead.center { margin-left: auto; margin-right: auto; text-align: center; }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

.hero-visual { position: relative; perspective: 1400px; }
.window { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.window.tilt { transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg)); transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.window video, .window img { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13px; font-weight: 650; box-shadow: var(--shadow); white-space: nowrap; }
.chip.float { position: absolute; animation: bob 5s ease-in-out infinite; }
.chip.a { left: -14px; top: 22%; }
.chip.b { right: -10px; top: 8%; animation-delay: -1.6s; }
.chip.c { right: 6%; bottom: -14px; animation-delay: -3.1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.ok { background: var(--ok); }
.dot.rec { background: var(--brand-hi); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.video-toggle { appearance: none; margin: 14px auto 0; display: block; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.video-toggle:hover { color: var(--text); }

/* ------------------------------------------------------------ moving strip */
.strip { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 14px 0; }
.strip-track { display: flex; gap: 40px; width: max-content; animation: slide 36s linear infinite; }
.strip-track span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.strip-track span::before { content: "●"; color: var(--brand-mark); margin-right: 40px; font-size: 8px; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 40px) 0; }
.kicker { color: var(--brand-mark); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h2 { margin-top: 10px; font-size: clamp(27px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; max-width: 20em; }
h3 { font-size: clamp(19px, 2vw, 25px); line-height: 1.2; letter-spacing: -.02em; font-weight: 750; }

.steps { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step-card, .card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--card-shadow); transition: transform .2s, border-color .2s; }
.step-card:hover, .card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step-card p, .card p, .feature-copy p { margin-top: 10px; color: var(--body); }
.num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.mini { position: relative; margin-top: 20px; height: 110px; border-radius: 12px; background: var(--surface-3); overflow: hidden; }
.mini-add .bar { position: absolute; left: 14px; right: 84px; top: 38px; height: 34px; border-radius: 99px; background: var(--bg); }
.mini-add .bar::after { content: ""; position: absolute; left: 14px; top: 15px; height: 4px; width: 0; border-radius: 4px; background: var(--muted); animation: type 3.6s ease-in-out infinite; }
@keyframes type { 0%, 10% { width: 0; } 60%, 100% { width: 68%; } }
.mini-add .pill { position: absolute; right: 14px; top: 38px; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--brand); color: #fff; font-style: normal; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.mini-cam .you, .mini-cam .clip { position: absolute; left: 50%; width: 62px; margin-left: -31px; border-radius: 6px; }
.mini-cam .you { top: 12px; height: 42px; background: var(--brand); animation: swap-a 5s ease-in-out infinite; }
.mini-cam .clip { top: 56px; height: 42px; background: var(--line-2); animation: swap-b 5s ease-in-out infinite; }
@keyframes swap-a { 0%, 40% { top: 12px; } 50%, 90% { top: 56px; } 100% { top: 12px; } }
@keyframes swap-b { 0%, 40% { top: 56px; } 50%, 90% { top: 12px; } 100% { top: 56px; } }
.mini-rec .ring { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -52px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--glow-a); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 22px transparent; } }
.mini-rec .time { position: absolute; left: 50%; top: 50%; margin: -12px 0 0 8px; font-style: normal; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--text); }

/* ------------------------------------------------------------ features */
.feature { margin-top: clamp(40px, 6vw, 84px); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature.flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.feature-visual { min-width: 0; }
.ticks { margin-top: 16px; display: grid; gap: 8px; color: var(--body); }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand-mark); border-bottom: 2.5px solid var(--brand-mark); transform: rotate(-45deg); }
.chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { appearance: none; height: 36px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chips button:hover { border-color: var(--muted); }
.chips button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* the layout demo: two blocks that glide between positions */
.phone-demo { position: relative; width: min(100%, 300px); aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 26px; background: #000; border: 8px solid var(--surface-3); box-shadow: var(--shadow); overflow: hidden; }
.phone-demo i { position: absolute; display: block; overflow: hidden; transition: left .6s cubic-bezier(.2, .8, .2, 1), top .6s cubic-bezier(.2, .8, .2, 1), width .6s cubic-bezier(.2, .8, .2, 1), height .6s cubic-bezier(.2, .8, .2, 1), border-radius .6s; }
.phone-demo .clip { background: linear-gradient(140deg, #2b1055, #3f5efb 45%, #fc466b 70%, #ffb347); background-size: 180% 180%; animation: pan 9s ease-in-out infinite alternate; }
@keyframes pan { to { background-position: 100% 100%; } }
.phone-demo .clip b { position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -7px; border-left: 20px solid rgba(255, 255, 255, .9); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.phone-demo .you { background: linear-gradient(180deg, #3e4e76, #1f2a44); z-index: 1; }
.phone-demo .you b { position: absolute; left: 50%; top: 22%; width: 30%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #dfe3ee; }
.phone-demo .you u { position: absolute; left: 50%; top: 62%; width: 74%; height: 80%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: #dfe3ee; }
.phone-demo .rec { position: absolute; left: 10px; top: 10px; z-index: 2; background: #e50914; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 3px 8px; border-radius: 6px; }
.l-top .you { left: 0; top: 0; width: 100%; height: 50%; border-radius: 0; }
.l-top .clip { left: 0; top: 50%; width: 100%; height: 50%; }
.l-split .you { left: 0; top: 50%; width: 100%; height: 50%; border-radius: 0; }
.l-split .clip { left: 0; top: 0; width: 100%; height: 50%; }
.l-bubble .clip, .l-card .clip { left: 0; top: 0; width: 100%; height: 100%; }
.l-bubble .you { left: 56%; top: 66%; width: 38%; height: 21.4%; border-radius: 50%; }
.l-card .you { left: 50%; top: 56%; width: 44%; height: 31%; border-radius: 14px; }
.l-pip .you { left: 0; top: 0; width: 100%; height: 100%; border-radius: 0; z-index: 0; }
.l-pip .clip { left: 6%; top: 7%; width: 88%; height: 28%; border-radius: 12px; z-index: 1; }

/* dark / light comparison */
.compare-stack { position: relative; }
.compare-stack img { width: 100%; }
.compare-stack .top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut, 55%)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--cut, 55%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); pointer-events: none; }
.compare-line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-weight: 800; font-size: 15px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.compare-stack input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-stack:focus-within .compare-line { box-shadow: 0 0 0 3px var(--brand-hi); }

.duo { margin-top: clamp(40px, 6vw, 84px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card h3 { margin-top: 20px; }
.phone-frame { width: min(62%, 200px); margin: 0 auto; border-radius: 26px; border: 7px solid var(--surface-3); overflow: hidden; box-shadow: var(--shadow); }
.tabs-demo { display: flex; flex-wrap: wrap; gap: 8px; padding: 26px 0 6px; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-3); font-size: 14px; color: var(--muted); }
.tab.on { border-color: var(--brand); background: var(--brand-soft); color: var(--text); font-weight: 650; }
.tab.add { border-style: dashed; background: none; }
.keys { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.keys span { margin-right: 10px; }
kbd { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface-3); font: inherit; font-size: 13px; font-weight: 700; color: var(--text); }

/* ------------------------------------------------------------ privacy, questions, closing */
.private { text-align: center; }
.private h2 { margin-left: auto; margin-right: auto; }
.stats { margin: 38px auto 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 900px; }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 12px; box-shadow: var(--card-shadow); }
.stats b { display: block; font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: -.04em; font-weight: 800; color: var(--brand-mark); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.center { text-align: center; }

.faq { margin-top: 30px; display: grid; gap: 10px; max-width: 820px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--card-shadow); }
summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 16.5px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--brand-mark); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 20px 20px; color: var(--body); }

.closing { margin: clamp(64px, 9vw, 120px) auto 0; max-width: 1180px; text-align: center; padding: clamp(40px, 6vw, 72px) 20px; border-radius: 28px; background: radial-gradient(600px 300px at 50% 0%, var(--glow-a), transparent 70%), var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); width: calc(100% - clamp(32px, 8vw, 80px)); }
.closing h2 { margin: 0 auto; }
.closing p { margin: 12px 0 26px; color: var(--body); font-size: 18px; }

.footer { margin-top: clamp(48px, 7vw, 90px); border-top: 1px solid var(--line); padding: 28px clamp(16px, 4vw, 40px) 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; color: var(--muted); font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer nav a { text-underline-offset: 3px; }
.footer nav a:hover { color: var(--text); }
.footer p { margin-left: auto; }

/* ------------------------------------------------------------ appear on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ smaller windows */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 720px; margin: 0 auto; width: 100%; }
  .window.tilt { transform: none; }
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-copy { order: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .chip.float { display: none; }
  .nav { height: 58px; gap: 10px; }
  .btn.big { height: 48px; padding: 0 20px; font-size: 15.5px; width: 100%; }
  .cta-row { flex-direction: column; }
  .footer p { margin-left: 0; }
  .strip-track { gap: 28px; }
  .strip-track span::before { margin-right: 28px; }
}
@media (max-width: 380px) {
  .wordmark { display: none; }
  .nav .btn { padding: 0 13px; font-size: 14px; height: 38px; }
  .step-card, .card { padding: 18px; }
  summary { font-size: 15.5px; padding-left: 16px; }
  details p { padding: 0 16px 18px; }
  .stats b { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .window.tilt { transform: none; }
}
