:root {
  color-scheme: dark;
  --bg: #090812;
  --bg-deep: #05050a;
  --surface: #11101a;
  --surface-2: #171522;
  --surface-3: #1d1929;
  --text: #f7f5fb;
  --text-soft: #b7b1c3;
  --muted: #7e788b;
  --faint: #5c5667;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.15);
  --purple: #8f49ff;
  --purple-bright: #b785ff;
  --purple-soft: #dfcbff;
  --rose: #ff5579;
  --green: #65dfa1;
  --ease: cubic-bezier(.16,1,.3,1);
  --shadow: 0 44px 120px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body::after { content: ""; position: fixed; z-index: -8; inset: 0; pointer-events: none; background: radial-gradient(440px circle at var(--pointer-x,70%) var(--pointer-y,18%),rgba(143,73,255,.10),transparent 68%); transition: background-position .25s ease; }
button, input { font: inherit; }
button, label, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 3px solid var(--purple-soft); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 200; left: 18px; top: -70px; padding: 11px 16px; border-radius: 8px; background: #fff; color: #05050a; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 18px; }

.backdrop { position: fixed; z-index: -10; inset: 0; pointer-events: none; overflow: hidden; }
.grid { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.028) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom,#000 0%,transparent 78%); }
.motion-on .grid { animation: gridDrift 16s linear infinite; }
.orb { position: absolute; display: block; width: 650px; aspect-ratio: 1; border-radius: 50%; background: var(--purple); filter: blur(170px); opacity: .1; will-change: transform; }
.orb-a { left: -400px; top: -160px; animation: orbA 14s ease-in-out infinite alternate; }
.orb-b { right: -430px; top: 460px; opacity: .07; animation: orbB 18s ease-in-out infinite alternate; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(9,8,18,.78); backdrop-filter: blur(20px); }
.nav-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { min-height: 48px; display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.045em; }
.brand > span:last-child span { color: var(--purple-bright); }
.brand-mark { position: relative; width: 31px; height: 31px; flex: 0 0 auto; border-radius: 8px; overflow: hidden; transform: skew(-10deg); background: linear-gradient(140deg,#ac6cff,#6f22d9); box-shadow: 0 0 26px rgba(143,73,255,.32); }
.brand-mark i { position: absolute; left: 8px; height: 3px; border-radius: 3px; background: white; transform: skew(10deg); }
.brand-mark i:first-child { top: 9px; width: 16px; }.brand-mark i:last-child { top: 17px; width: 11px; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { position: relative; min-height: 44px; display: grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 700; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -16px; height: 2px; background: var(--purple-bright); box-shadow: 0 0 12px var(--purple); transition: left .25s var(--ease), right .25s var(--ease); }
.main-nav a:hover,.main-nav a.active { color: white; }.main-nav a.active::after { left: 0; right: 0; }
.nav-cta { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(183,133,255,.25); border-radius: 9px; background: rgba(143,73,255,.08); color: var(--purple-soft); font-size: 11px; font-weight: 800; transition: .2s var(--ease); }
.nav-cta:hover { transform: translateY(-2px); background: rgba(143,73,255,.16); border-color: rgba(183,133,255,.45); }
.nav-cta.subtle { border-color: var(--line); background: rgba(255,255,255,.025); color: var(--text-soft); }

.page-enter { opacity: 0; transform: translateY(24px); }
body.is-ready .page-enter { opacity: 1; transform: none; transition: opacity .75s var(--ease), transform .75s var(--ease); }
body.is-leaving .page-enter,body.is-leaving main { opacity: 0; transform: translateY(-12px); transition: opacity .22s ease,transform .22s ease; }
body.is-ready .delay-1 { transition-delay: .14s; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.button { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 12px; font-weight: 800; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, opacity .2s; }
.button:active { transform: scale(.97); }
.button.primary { color: #fff; border-color: rgba(255,255,255,.16); background: linear-gradient(135deg,#a55fff,#7326dc); box-shadow: 0 16px 40px rgba(115,38,220,.3), inset 0 1px rgba(255,255,255,.25); }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(143,73,255,.42),0 0 28px rgba(143,73,255,.14); }
.button.ghost { color: var(--text-soft); border-color: var(--line-strong); background: rgba(255,255,255,.03); }
.button.ghost:hover { color: white; border-color: rgba(183,133,255,.4); background: rgba(143,73,255,.09); }
.text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 9px; color: var(--text-soft); font-size: 12px; font-weight: 750; transition: color .2s,gap .2s var(--ease); }
.text-link:hover { color: white; gap: 13px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 11px; border: 1px solid rgba(183,133,255,.22); border-radius: 999px; background: rgba(143,73,255,.06); color: var(--purple-soft); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple-bright); box-shadow: 0 0 10px var(--purple); animation: livePulse 1.3s ease-in-out infinite; }
.page-label { color: var(--purple-bright); font: 700 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: .16em; }

/* Landing */
.home-hero { min-height: calc(100svh - 76px); padding-block: 104px 112px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 68px; }
.hero-copy h1 { margin: 24px 0 22px; max-width: 590px; font-size: clamp(58px,6.4vw,92px); line-height: .92; letter-spacing: -.075em; }
.hero-copy h1 span,.app-intro h1 span,.inner-hero h1 span,.library-head h1 span { color: transparent; background: linear-gradient(100deg,#d9c2ff 0%,#9b55ff 48%,#e2d1ff 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; animation: textSweep 5s ease-in-out infinite; }
.hero-copy > p { max-width: 560px; margin: 0; color: var(--text-soft); font-size: 16px; line-height: 1.75; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 22px; }
.trust-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 10px; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }.trust-row i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(101,223,161,.5); }
.hero-demo { position: relative; min-width: 0; perspective: 1200px; }
.demo-glow { position: absolute; inset: 18% 6%; border-radius: 50%; background: var(--purple); filter: blur(90px); opacity: .18; animation: glowBreathe 3.4s ease-in-out infinite; }
.demo-window { position: relative; z-index: 2; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(13,12,20,.94); box-shadow: var(--shadow),0 0 80px rgba(143,73,255,.08); transform: rotateY(-5deg) rotateX(2deg); animation: windowFloat 6s ease-in-out infinite; }
.demo-topbar { height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 8px/1 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: .08em; }
.mini-brand,.status-pill { display: inline-flex; align-items: center; gap: 8px; }.mini-brand i { width: 7px; height: 7px; border: 2px solid var(--purple-bright); border-radius: 50%; box-shadow: 0 0 8px var(--purple); }.status-pill { padding: 7px 9px; border: 1px solid rgba(101,223,161,.15); border-radius: 999px; color: #a9e9c9; background: rgba(101,223,161,.06); }.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: livePulse 1s infinite; }
.demo-screen { position: relative; min-height: 410px; overflow: hidden; background: radial-gradient(circle at 50% 45%,rgba(143,73,255,.14),transparent 31%),linear-gradient(145deg,#151522,#08080d); }
.scan-grid { position: absolute; inset: 0; opacity: .26; background-image: linear-gradient(rgba(183,133,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(183,133,255,.09) 1px,transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(circle,#000,transparent 70%); }
.scan-beam { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--purple-bright),transparent); box-shadow: 0 0 22px var(--purple); animation: scanDown 3.2s var(--ease) infinite; }
.demo-target { position: absolute; left: 50%; top: 43%; width: 104px; height: 104px; transform: translate(-50%,-50%); }
.demo-target i { position: absolute; width: 26px; height: 26px; border-color: rgba(255,255,255,.72); }.demo-target i:nth-child(1){left:0;top:0;border-left:1px solid;border-top:1px solid}.demo-target i:nth-child(2){right:0;top:0;border-right:1px solid;border-top:1px solid}.demo-target i:nth-child(3){right:0;bottom:0;border-right:1px solid;border-bottom:1px solid}.demo-target i:nth-child(4){left:0;bottom:0;border-left:1px solid;border-bottom:1px solid}.demo-target span { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; transform: translate(-50%,-50%); border: 1px solid white; border-radius: 50%; box-shadow: 0 0 10px white; }
.marker-burst { position: absolute; left: 50%; top: 43%; width: 48px; height: 48px; transform: translate(-50%,-50%); animation: markerBurst 2.7s var(--ease) infinite; }.marker-burst i { position: absolute; width: 15px; height: 3px; border-radius: 3px; background: var(--rose); box-shadow: 0 0 10px var(--rose); }.marker-burst i:nth-child(1){left:0;top:7px;transform:rotate(45deg)}.marker-burst i:nth-child(2){right:0;top:7px;transform:rotate(-45deg)}.marker-burst i:nth-child(3){right:0;bottom:7px;transform:rotate(45deg)}.marker-burst i:nth-child(4){left:0;bottom:7px;transform:rotate(-45deg)}
.demo-message { position: absolute; left: 22px; bottom: 22px; display: grid; gap: 3px; }.demo-message small { color: var(--purple-bright); font: 750 8px/1.2 ui-monospace,monospace; letter-spacing: .12em; }.demo-message strong { font-size: 25px; letter-spacing: -.04em; }.demo-message span { color: var(--muted); font: 600 9px/1.2 ui-monospace,monospace; }
.demo-timeline { height: 66px; padding: 0 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; color: var(--faint); font: 600 8px/1 ui-monospace,monospace; }.timeline-track { position: relative; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); }.timeline-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--purple-bright); box-shadow: 0 0 12px var(--purple); animation: timelineFill 3.6s var(--ease) infinite; }.kill-pin { position: absolute; left: 31.5%; top: 50%; width: 10px; height: 10px; transform: translate(-50%,-50%); border: 2px solid var(--rose); border-radius: 50%; box-shadow: 0 0 13px var(--rose); }
.float-card { position: absolute; z-index: 3; min-width: 142px; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(18,16,27,.86); box-shadow: 0 20px 50px rgba(0,0,0,.38); backdrop-filter: blur(14px); }.float-card small,.float-card strong { display: block; }.float-card small { color: var(--purple-bright); font: 750 7px/1.2 ui-monospace,monospace; letter-spacing: .13em; }.float-card strong { margin-top: 4px; font-size: 12px; }.float-card-a { right: -24px; top: 82px; animation: cardFloatA 4.6s ease-in-out infinite; }.float-card-b { left: -30px; bottom: 70px; display: flex; align-items: center; gap: 10px; animation: cardFloatB 5.4s ease-in-out infinite; }.shield-icon { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(101,223,161,.25); border-radius: 50%; color: var(--green); background: rgba(101,223,161,.07); }
.proof-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }.proof-inner { min-height: 108px; display: flex; align-items: center; justify-content: center; gap: 48px; }.proof-inner div { display: flex; align-items: center; gap: 12px; }.proof-inner strong { color: var(--purple-bright); font: 700 10px/1 ui-monospace,monospace; }.proof-inner span { color: var(--text-soft); font-size: 11px; font-weight: 700; }.proof-inner > i { width: 48px; height: 1px; background: var(--line); }
.section { padding-block: 150px; }.section-heading { display: grid; grid-template-columns: 110px 1fr .78fr; align-items: end; gap: 40px; }.section-index { align-self: start; color: var(--purple-bright); font: 700 10px/1.2 ui-monospace,monospace; }.section-heading h2,.final-cta h2 { margin: 0; font-size: clamp(42px,5vw,68px); line-height: 1; letter-spacing: -.06em; }.section-heading p { margin: 0 0 4px; color: var(--text-soft); font-size: 14px; line-height: 1.75; }.feature-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.feature-card { min-height: 245px; padding: 27px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); transition: transform .28s var(--ease),border-color .28s,background .28s; }.feature-card:hover { transform: translateY(-7px); border-color: rgba(183,133,255,.3); background: rgba(143,73,255,.05); }.feature-card > span { color: var(--purple-bright); font: 700 9px/1 ui-monospace,monospace; }.feature-card h3 { margin: 82px 0 10px; font-size: 18px; }.feature-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }.final-cta { margin-bottom: 120px; min-height: 330px; padding: 54px 58px; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: radial-gradient(circle at 85% 20%,rgba(143,73,255,.18),transparent 32%),linear-gradient(145deg,#15121f,#0d0c13); box-shadow: 0 30px 90px rgba(0,0,0,.28); }.final-cta .eyebrow { margin-bottom: 20px; }

/* Analyzer */
.app-main { padding-block: 78px 120px; }.app-intro { display: grid; grid-template-columns: 1.1fr .6fr; align-items: end; gap: 70px; margin-bottom: 48px; }.app-intro h1 { margin: 14px 0 0; font-size: clamp(44px,5.5vw,72px); line-height: .98; letter-spacing: -.065em; }.app-intro p { margin: 0 0 4px; color: var(--text-soft); font-size: 14px; line-height: 1.75; }
.analyzer { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(180deg,rgba(19,17,27,.98),rgba(11,10,15,.99)); box-shadow: var(--shadow),0 0 90px rgba(143,73,255,.055); }.analyzer::before { content: ""; position: absolute; z-index: 3; left: -30%; top: 0; width: 28%; height: 1px; pointer-events: none; background: linear-gradient(90deg,transparent,var(--purple-soft),transparent); box-shadow: 0 0 18px var(--purple); animation: borderTravel 5s var(--ease) infinite; }
.analyzer-head { min-height: 76px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }.analyzer-title { display: flex; align-items: center; gap: 11px; }.analyzer-dot { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(183,133,255,.2); border-radius: 9px; background: rgba(143,73,255,.07); }.analyzer-dot i { width: 8px; height: 8px; border: 2px solid var(--purple-bright); border-radius: 50%; box-shadow: 0 0 10px var(--purple); }.analyzer-title strong,.analyzer-title small { display: block; }.analyzer-title strong { font-size: 13px; }.analyzer-title small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.step-indicator { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; color: var(--faint); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.step-indicator li { display: flex; align-items: center; gap: 7px; transition: color .25s; }.step-indicator li:not(:last-child)::after { content: ""; width: 28px; height: 1px; margin-left: 14px; background: var(--line); }.step-indicator span { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 8px; }.step-indicator .active { color: var(--purple-soft); }.step-indicator .active span { border-color: var(--purple); background: rgba(143,73,255,.12); box-shadow: 0 0 12px rgba(143,73,255,.2); }.step-indicator .done { color: var(--green); }.step-indicator .done span { border-color: rgba(101,223,161,.3); background: rgba(101,223,161,.08); }
.clip-settings { padding: 18px 24px; display: grid; grid-template-columns: 1fr 1fr .72fr 1.45fr; align-items: end; gap: 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); }.setting-field > span,.length-summary > span { display: block; margin: 0 0 7px; color: var(--muted); font-size: 9px; font-weight: 700; }.number-control { height: 45px; display: grid; grid-template-columns: 42px 1fr 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-deep); }.number-control button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; transition: color .2s,background .2s; }.number-control button:hover { color: #fff; background: rgba(255,255,255,.05); }.number-control input { min-width: 0; width: 100%; border: 0; border-inline: 1px solid var(--line); outline: none; background: transparent; color: #fff; text-align: center; font-weight: 800; -moz-appearance: textfield; }.number-control input::-webkit-inner-spin-button { display: none; }.length-summary { height: 45px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(143,73,255,.19); border-radius: 9px; background: rgba(143,73,255,.055); }.length-summary > span { margin: 0; }.length-summary strong { color: var(--purple-soft); font-size: 11px; }
.quality-setting { min-width: 0; margin: 0; padding: 0; border: 0; }.quality-setting legend { margin: 0 0 7px; padding: 0; color: var(--muted); font-size: 9px; font-weight: 700; }.quality-switch { height: 45px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-deep); }.quality-switch input { position: absolute; opacity: 0; pointer-events: none; }.quality-switch label { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; color: var(--muted); cursor: pointer; transition: color .2s var(--ease),background .2s var(--ease),border-color .2s var(--ease),box-shadow .2s var(--ease); }.quality-switch label strong { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }.quality-switch label small { margin-top: 1px; font-size: 7px; }.quality-switch input:checked + label { color: #fff; border-color: rgba(183,133,255,.28); background: rgba(143,73,255,.13); box-shadow: inset 0 0 18px rgba(143,73,255,.06),0 0 18px rgba(143,73,255,.06); }.quality-switch input:focus-visible + label { outline: 3px solid var(--purple-soft); outline-offset: 3px; }
.analyzer-body { position: relative; min-height: 520px; }.phase { min-height: 520px; }
.phase-upload { padding: 24px; }.upload-zone { min-height: 472px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 46px 24px; border: 1px dashed rgba(183,133,255,.3); border-radius: 13px; background: radial-gradient(circle at 50% 35%,rgba(143,73,255,.07),transparent 35%),rgba(5,5,10,.45); text-align: center; cursor: pointer; transition: border-color .25s,background .25s,box-shadow .25s; }.upload-zone:hover,.upload-zone.dragover { border-color: var(--purple-bright); background-color: rgba(143,73,255,.055); box-shadow: inset 0 0 80px rgba(143,73,255,.06); }.upload-visual { position: relative; width: 118px; height: 118px; display: grid; place-items: center; margin-bottom: 24px; }.upload-visual > i { position: absolute; inset: 0; border: 1px solid rgba(183,133,255,.18); border-radius: 50%; animation: uploadPulse 2.5s var(--ease) infinite; }.upload-visual > i:nth-child(2) { inset: 19px; animation-delay: -1.2s; }.upload-visual b { position: relative; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(183,133,255,.2); border-radius: 50%; background: rgba(143,73,255,.09); color: var(--purple-soft); box-shadow: 0 0 32px rgba(143,73,255,.13); animation: uploadFloat 2s ease-in-out infinite; }.upload-visual svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }.upload-kicker { color: var(--purple-bright); font: 800 8px/1.2 ui-monospace,monospace; letter-spacing: .15em; }.upload-zone > strong { margin-top: 12px; font-size: 25px; line-height: 1.2; letter-spacing: -.04em; }.upload-copy { margin-top: 10px; color: var(--muted); font-size: 11px; }.fake-button { margin-top: 22px; pointer-events: none; }
.phase-prepared { padding: 24px; }.prepared-layout { min-height: 472px; display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: rgba(5,5,10,.55); }.video-shell { position: relative; min-height: 450px; overflow: hidden; background: #000; }.video-shell video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }.video-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(0,0,0,.32),transparent 25%,transparent 70%,rgba(0,0,0,.55)); }.center-reticle { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%,-50%); opacity: .58; }.center-reticle i { position: absolute; width: 18px; height: 18px; border-color: #fff; }.center-reticle i:nth-child(1){left:0;top:0;border-left:1px solid;border-top:1px solid}.center-reticle i:nth-child(2){right:0;top:0;border-right:1px solid;border-top:1px solid}.center-reticle i:nth-child(3){right:0;bottom:0;border-right:1px solid;border-bottom:1px solid}.center-reticle i:nth-child(4){left:0;bottom:0;border-left:1px solid;border-bottom:1px solid}.video-toggle { position: absolute; z-index: 3; left: 50%; top: 50%; width: 58px; height: 58px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(7,7,12,.7); color: #fff; backdrop-filter: blur(10px); cursor: pointer; transition: transform .2s,background .2s; }.video-toggle:hover { transform: translate(-50%,-50%) scale(1.06); background: rgba(143,73,255,.76); }.video-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.file-panel { padding: 42px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }.success-label { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font: 800 8px/1.2 ui-monospace,monospace; letter-spacing: .12em; }.success-label i { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid rgba(101,223,161,.3); border-radius: 50%; background: rgba(101,223,161,.08); font-style: normal; }.file-panel h2 { margin: 17px 0 8px; overflow-wrap: anywhere; font-size: 25px; line-height: 1.15; letter-spacing: -.04em; }.file-panel > p { margin: 0; color: var(--muted); font-size: 11px; }.file-facts { margin-top: 30px; display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--line); }.file-facts > div { padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); }.file-facts span { color: var(--muted); font-size: 9px; }.file-facts strong { color: var(--text-soft); font-size: 9px; text-align: right; }.prepared-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 9px; }.prepared-actions .button { min-height: 45px; font-size: 10px; }
.phase-scan { padding: 55px 24px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 35%,rgba(143,73,255,.09),transparent 35%); }.scan-orbit { position: relative; width: 144px; height: 144px; margin-bottom: 28px; }.scan-orbit > i { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; transform: translate(-50%,-50%); border: 1px solid rgba(183,133,255,.22); border-radius: 50%; animation: scanRing 2s var(--ease) infinite; }.scan-orbit > i:nth-child(2) { animation-delay: -1s; }.scan-cross { position: absolute; inset: 45px; }.scan-cross b { position: absolute; width: 13px; height: 3px; border-radius: 3px; background: var(--rose); box-shadow: 0 0 8px var(--rose); }.scan-cross b:nth-child(1){left:0;top:3px;transform:rotate(45deg)}.scan-cross b:nth-child(2){right:0;top:3px;transform:rotate(-45deg)}.scan-cross b:nth-child(3){right:0;bottom:3px;transform:rotate(45deg)}.scan-cross b:nth-child(4){left:0;bottom:3px;transform:rotate(-45deg)}.scan-sweep { position: absolute; left: 30px; right: 30px; top: 50%; height: 1px; background: var(--purple-bright); box-shadow: 0 0 13px var(--purple); animation: scanSweep 1.5s ease-in-out infinite; }.scan-label { display: inline-flex; align-items: center; gap: 8px; color: var(--purple-bright); font: 800 8px/1.2 ui-monospace,monospace; letter-spacing: .14em; }.scan-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--purple-bright); box-shadow: 0 0 10px var(--purple); animation: livePulse 1s infinite; }.phase-scan h2 { margin: 10px 0 7px; font-size: 27px; letter-spacing: -.045em; }.phase-scan > p { margin: 0; max-width: 560px; color: var(--text-soft); font-size: 12px; }.progress-bar { width: min(500px,82%); height: 4px; margin-top: 28px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.08); }.progress-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--purple),var(--purple-soft)); box-shadow: 0 0 12px var(--purple); transition: width .15s linear; }.progress-meta { width: min(500px,82%); margin-top: 9px; display: flex; justify-content: space-between; color: var(--muted); font: 600 8px/1.2 ui-monospace,monospace; }.text-button { min-height: 44px; margin-top: 18px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; text-decoration: underline; text-underline-offset: 4px; }.text-button:hover { color: white; }
.phase-results { padding: 32px; }.results-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 27px; border-bottom: 1px solid var(--line); }.results-top h2 { margin: 13px 0 7px; font-size: 28px; letter-spacing: -.04em; }.results-top h2 > strong { color: var(--purple-bright); }.results-top p { margin: 0; color: var(--muted); font-size: 11px; }.results-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }.results-actions .button { min-height: 44px; font-size: 10px; }.event-list { margin-top: 20px; display: grid; gap: 10px; }.event-card { min-height: 126px; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); animation: eventIn .45s var(--ease) both; }.event-thumb { align-self: stretch; position: relative; min-height: 124px; background: radial-gradient(circle,rgba(143,73,255,.16),transparent 65%),#0c0b11 center/cover no-repeat; }.event-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent,rgba(12,11,17,.65)); }.event-thumb span { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; background: rgba(7,6,10,.72); font: 800 7px/1 ui-monospace,monospace; letter-spacing: .11em; }.event-copy { min-width: 0; padding: 18px 22px; }.event-copy small { color: var(--purple-bright); font: 800 8px/1.2 ui-monospace,monospace; letter-spacing: .11em; }.event-copy h3 { margin: 7px 0 5px; font-size: 18px; }.event-copy p { margin: 0; color: var(--muted); font: 600 9px/1.4 ui-monospace,monospace; }.event-actions { padding-right: 18px; display: flex; gap: 8px; }.event-actions button { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.025); color: var(--text-soft); cursor: pointer; font-size: 9px; font-weight: 750; transition: .2s; }.event-actions button:hover { color: white; border-color: rgba(183,133,255,.35); background: rgba(143,73,255,.08); }.event-actions button:disabled { opacity: .45; cursor: wait; }.empty-result { min-height: 180px; margin-top: 22px; padding: 28px; display: flex; align-items: center; justify-content: center; gap: 18px; border: 1px dashed var(--line-strong); border-radius: 12px; }.empty-result strong { display: block; }.empty-result p { max-width: 540px; margin: 6px 0 0; color: var(--muted); font-size: 11px; }.empty-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--purple-soft); font-size: 22px; }
.local-note { min-height: 55px; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }.local-note span { color: var(--green); }.local-note p { margin: 0; }.local-note strong { color: #a7cbb7; }.calibration-note { padding: 130px 0 20px; display: grid; grid-template-columns: .4fr 1fr; gap: 40px; }.calibration-note h2 { margin: 0; font-size: clamp(36px,4.4vw,58px); line-height: 1.03; letter-spacing: -.055em; }.calibration-note p { max-width: 660px; margin: 22px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.75; }

/* Workflow and library */
.inner-main { padding-block: 100px 130px; }.inner-hero { max-width: 900px; margin-bottom: 96px; }.inner-hero h1,.library-head h1 { margin: 18px 0 24px; font-size: clamp(52px,7vw,88px); line-height: .94; letter-spacing: -.07em; }.inner-hero p { max-width: 610px; margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.75; }.workflow-list { display: grid; border-top: 1px solid var(--line); }.workflow-list article { min-height: 290px; display: grid; grid-template-columns: 100px 1fr 330px; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); }.workflow-number { align-self: start; padding-top: 52px; color: var(--purple-bright); font: 700 10px/1 ui-monospace,monospace; }.workflow-list small { color: var(--purple-bright); font: 800 8px/1.2 ui-monospace,monospace; letter-spacing: .14em; }.workflow-list h2 { margin: 10px 0 10px; font-size: 31px; letter-spacing: -.045em; }.workflow-list p { max-width: 520px; margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.75; }.workflow-visual { position: relative; height: 150px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(circle,rgba(143,73,255,.1),transparent 62%),rgba(255,255,255,.018); }.settings-visual { display: grid; grid-template-columns: 42px 1fr 42px 1px 42px 1fr 42px; align-items: center; padding: 30px; text-align: center; color: var(--muted); }.settings-visual span { height: 42px; display: grid; place-items: center; border: 1px solid var(--line); }.settings-visual strong { height: 42px; display: grid; place-items: center; color: white; border-block: 1px solid var(--line); }.settings-visual i { height: 54px; width: 1px; justify-self: center; background: var(--line); }.rings-visual i { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%,-50%); border: 1px solid rgba(183,133,255,.3); border-radius: 50%; animation: scanRing 2s infinite; }.rings-visual i:nth-child(2) { animation-delay: -1s; }.rings-visual b { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--rose); box-shadow: 0 0 14px var(--rose); }.rings-visual span { position: absolute; left: 18%; right: 18%; top: 50%; height: 1px; background: var(--purple-bright); box-shadow: 0 0 12px var(--purple); animation: scanSweep 1.5s infinite; }.clips-visual { padding: 24px 28px; }.clips-visual i { display: block; height: 18px; margin: 7px 0; border-radius: 5px; background: rgba(255,255,255,.06); }.clips-visual i:nth-child(2) { width: 78%; background: rgba(143,73,255,.15); }.clips-visual i:nth-child(3) { width: 91%; }.clips-visual b { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); color: var(--purple-soft); font: 800 28px/1 ui-monospace,monospace; }
.library-head { display: grid; grid-template-columns: 1fr .6fr; align-items: end; gap: 70px; }.library-head p { margin: 0 0 8px; color: var(--text-soft); font-size: 13px; line-height: 1.75; }.library-summary { margin-top: 70px; display: grid; grid-template-columns: 1.5fr .6fr .8fr; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); }.library-summary > div { min-width: 0; padding: 20px 22px; border-right: 1px solid var(--line); }.library-summary > div:last-child { border: 0; }.library-summary span,.library-summary strong { display: block; }.library-summary span { color: var(--muted); font-size: 9px; }.library-summary strong { margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.library-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.library-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.02); animation: eventIn .5s var(--ease) both; }.library-thumb { position: relative; aspect-ratio: 16/9; background: radial-gradient(circle,rgba(143,73,255,.16),transparent 60%),#0d0c13 center/cover no-repeat; }.library-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(8,7,12,.8)); }.library-thumb span,.library-thumb i { position: absolute; z-index: 2; top: 12px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.13); border-radius: 6px; background: rgba(6,5,9,.72); font: 800 7px/1 ui-monospace,monospace; letter-spacing: .1em; font-style: normal; }.library-thumb span { left: 12px; }.library-thumb i { right: 12px; color: var(--green); }.library-card-body { padding: 18px; }.library-card-body > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 9px; }.library-card-body span { color: var(--muted); font: 700 7px/1.2 ui-monospace,monospace; letter-spacing: .1em; }.library-card-body strong { font: 700 9px/1.2 ui-monospace,monospace; }.library-card-body a { min-height: 42px; margin-top: 13px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--purple-soft); font-size: 9px; font-weight: 750; }.library-empty { min-height: 390px; margin-top: 24px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed var(--line-strong); border-radius: 14px; text-align: center; }.library-empty h2 { margin: 17px 0 8px; }.library-empty p { max-width: 480px; margin: 0 0 23px; color: var(--muted); font-size: 12px; }
.toast { position: fixed; z-index: 300; right: 22px; bottom: 22px; max-width: min(380px,calc(100% - 44px)); padding: 13px 16px; border: 1px solid rgba(101,223,161,.24); border-radius: 9px; background: rgba(17,22,19,.92); color: #c9f5df; box-shadow: 0 18px 50px rgba(0,0,0,.35); backdrop-filter: blur(14px); font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(14px); pointer-events: none; transition: .25s var(--ease); }.toast.show { opacity: 1; transform: none; }.toast.error { border-color: rgba(255,85,121,.3); background: rgba(28,14,18,.94); color: #ffd2db; }
.motion-toggle { position: fixed; z-index: 250; left: 18px; bottom: 18px; min-height: 44px; padding: 0 13px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(183,133,255,.2); border-radius: 999px; background: rgba(11,10,17,.78); color: var(--purple-soft); box-shadow: 0 12px 38px rgba(0,0,0,.35),inset 0 0 18px rgba(143,73,255,.05); backdrop-filter: blur(16px); cursor: pointer; font: 800 7px/1 ui-monospace,monospace; letter-spacing: .11em; transition: transform .2s var(--ease),border-color .2s,color .2s; }.motion-toggle:hover { transform: translateY(-2px); border-color: rgba(183,133,255,.48); color: #fff; }.motion-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.motion-toggle[aria-pressed="true"] svg { filter: drop-shadow(0 0 6px var(--purple)); animation: livePulse 1.8s ease-in-out infinite; }
.motion-on .brand-mark { animation: brandGlow 4s ease-in-out infinite; }.motion-on .analyzer { animation: analyzerGlow 5.5s ease-in-out infinite; }
.site-footer { border-top: 1px solid var(--line); color: var(--faint); font: 650 8px/1.2 ui-monospace,monospace; letter-spacing: .1em; }.site-footer .container { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

@keyframes orbA { to { transform: translate3d(140px,90px,0) scale(1.12); } }
@keyframes orbB { to { transform: translate3d(-110px,80px,0) scale(.9); } }
@keyframes gridDrift { to { background-position: 72px 72px; } }
@keyframes brandGlow { 50% { filter: drop-shadow(0 0 11px rgba(143,73,255,.58)); transform: translateY(-1px); } }
@keyframes analyzerGlow { 50% { box-shadow: var(--shadow),0 0 105px rgba(143,73,255,.11); } }
@keyframes livePulse { 50% { opacity: .35; transform: scale(.76); } }
@keyframes textSweep { 0%,100% { background-position: 0 center; } 50% { background-position: 100% center; } }
@keyframes glowBreathe { 50% { opacity: .28; transform: scale(1.08); } }
@keyframes windowFloat { 0%,100% { transform: rotateY(-5deg) rotateX(2deg) translateY(0); } 50% { transform: rotateY(-3deg) rotateX(1deg) translateY(-10px); } }
@keyframes scanDown { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes markerBurst { 0%,52%,100% { opacity: 0; transform: translate(-50%,-50%) scale(.4) rotate(-10deg); } 60% { opacity: 1; transform: translate(-50%,-50%) scale(1.18) rotate(3deg); } 72% { opacity: .68; transform: translate(-50%,-50%) scale(.92); } }
@keyframes timelineFill { 0% { width: 0; } 72%,100% { width: 100%; } }
@keyframes cardFloatA { 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes cardFloatB { 50% { transform: translateY(9px) rotate(-1deg); } }
@keyframes borderTravel { 0% { left: -30%; } 60%,100% { left: 110%; } }
@keyframes uploadPulse { 0% { transform: scale(.64); opacity: 0; } 42% { opacity: .7; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes uploadFloat { 50% { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(143,73,255,.22); } }
@keyframes scanRing { 0% { transform: translate(-50%,-50%) scale(.65); opacity: .8; } 100% { transform: translate(-50%,-50%) scale(1.75); opacity: 0; } }
@keyframes scanSweep { 0%,100% { transform: translateY(-18px); opacity: .3; } 50% { transform: translateY(18px); opacity: 1; } }
@keyframes eventIn { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1040px) {
  .home-hero { grid-template-columns: 1fr; gap: 76px; padding-top: 82px; }.hero-copy { max-width: 760px; }.hero-demo { width: min(720px,100%); margin: 0 auto; }.section-heading { grid-template-columns: 70px 1fr; }.section-heading p { grid-column: 2; max-width: 650px; }.workflow-list article { grid-template-columns: 70px 1fr 280px; gap: 24px; }.prepared-layout { grid-template-columns: 1fr; }.video-shell { min-height: 430px; }.file-panel { border-left: 0; border-top: 1px solid var(--line); }.library-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 780px) {
  .container { width: min(100% - 32px,1160px); }.nav-row { min-height: 68px; }.main-nav { gap: 14px; }.main-nav a { font-size: 10px; }.main-nav a::after { bottom: -12px; }.nav-cta { display: none; }.home-hero { min-height: auto; padding-block: 76px 90px; }.hero-copy h1 { font-size: clamp(54px,14vw,76px); }.demo-screen { min-height: 350px; }.float-card { display: none; }.proof-inner { padding-block: 25px; flex-direction: column; gap: 15px; }.proof-inner > i { width: 1px; height: 18px; }.section { padding-block: 110px; }.section-heading { grid-template-columns: 1fr; gap: 22px; }.section-heading p { grid-column: auto; }.feature-grid { grid-template-columns: 1fr; }.feature-card { min-height: 190px; }.feature-card h3 { margin-top: 55px; }.final-cta { padding: 42px 30px; flex-direction: column; align-items: flex-start; }.app-main { padding-top: 60px; }.app-intro,.library-head { grid-template-columns: 1fr; gap: 25px; }.analyzer-head { align-items: flex-start; flex-direction: column; padding-block: 18px; }.step-indicator { width: 100%; justify-content: space-between; }.step-indicator li:not(:last-child)::after { width: 12px; margin-left: 6px; }.clip-settings { grid-template-columns: 1fr 1fr; }.length-summary { grid-column: 1 / -1; }.phase-results { padding: 24px 18px; }.results-top { align-items: flex-start; flex-direction: column; }.results-actions { justify-content: flex-start; }.event-card { grid-template-columns: 150px 1fr; }.event-actions { grid-column: 1 / -1; padding: 0 14px 14px; }.calibration-note { grid-template-columns: 1fr; }.inner-main { padding-block: 76px 100px; }.workflow-list article { padding-block: 44px; grid-template-columns: 50px 1fr; }.workflow-number { padding-top: 0; }.workflow-visual { grid-column: 2; width: 100%; }.library-summary { grid-template-columns: 1fr 1fr; }.library-summary > div:first-child { grid-column: 1/-1; border-right: 0; border-bottom: 1px solid var(--line); }.library-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand > span:last-child { font-size: 13px; }.main-nav { gap: 7px; }.main-nav a { padding-inline: 4px; font-size: 9px; }.home-hero { padding-top: 60px; }.hero-copy h1 { font-size: clamp(48px,15vw,67px); }.hero-copy > p { font-size: 14px; }.hero-actions { align-items: stretch; flex-direction: column; gap: 8px; }.text-link { justify-content: center; }.demo-window { transform: none; animation-name: windowFloatMobile; }.demo-screen { min-height: 300px; }.demo-message { bottom: 16px; }.section { padding-block: 90px; }.section-heading h2,.final-cta h2 { font-size: 40px; }.app-intro h1 { font-size: 43px; }.clip-settings { grid-template-columns: 1fr; }.length-summary { grid-column: auto; }.analyzer-body,.phase { min-height: 440px; }.phase-upload,.phase-prepared { padding: 12px; }.upload-zone { min-height: 420px; }.upload-zone > strong { font-size: 21px; }.video-shell { min-height: 310px; }.file-panel { padding: 28px 22px; }.phase-scan { min-height: 480px; }.progress-bar,.progress-meta { width: 92%; }.event-card { grid-template-columns: 1fr; }.event-thumb { min-height: 170px; }.event-copy { padding: 16px; }.event-actions { grid-column: auto; }.results-actions,.prepared-actions { width: 100%; }.results-actions .button,.prepared-actions .button { flex: 1; }.workflow-list article { grid-template-columns: 1fr; }.workflow-number,.workflow-visual { grid-column: auto; }.settings-visual { padding: 18px; grid-template-columns: 36px 1fr 36px 1px 36px 1fr 36px; }.library-summary { grid-template-columns: 1fr; }.library-summary > div,.library-summary > div:first-child { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line); }.library-summary > div:last-child { border-bottom: 0; }.site-footer .container { align-items: flex-start; justify-content: center; flex-direction: column; }
}
@media (max-width: 780px) and (min-width: 561px) { .quality-setting { grid-column: 1 / -1; } }
@keyframes windowFloatMobile { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  body:not(.motion-on) *,body:not(.motion-on) *::before,body:not(.motion-on) *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  body:not(.motion-on) .page-enter,body:not(.motion-on) [data-reveal] { opacity: 1; transform: none; }
}
.motion-off *,.motion-off *::before,.motion-off *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
.motion-off .page-enter,.motion-off [data-reveal] { opacity: 1; transform: none; }

/* FragCut VPS v3: exact clip preview, ZIP actions, fast-result navigation */
[hidden]{display:none!important}.modal-open{overflow:hidden}.clip-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px}.clip-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(3,3,10,.86);backdrop-filter:blur(12px);cursor:pointer}.clip-modal-panel{position:relative;z-index:1;width:min(1080px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid rgba(255,255,255,.13);border-radius:22px;background:#0d0c16;box-shadow:0 30px 100px rgba(0,0,0,.55);padding:18px}.clip-modal-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;margin-bottom:16px}.clip-modal-head>strong{text-align:center;font-size:.86rem;letter-spacing:.09em;text-transform:uppercase;color:#f4f2ff}.clip-modal-panel video{display:block;width:100%;max-height:72vh;aspect-ratio:16/9;border-radius:14px;background:#020207;object-fit:contain}.clip-modal-panel>p{margin:13px 4px 2px;color:var(--muted,#aaa5bb);font-size:.88rem;text-align:center}.event-actions a,.library-card-actions a,.library-card-actions button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.05);color:#fff;border-radius:10px;padding:.72rem .9rem;font:inherit;font-weight:700;cursor:pointer;transition:.2s ease}.event-actions a:hover,.library-card-actions a:hover,.library-card-actions button:hover{border-color:rgba(123,92,255,.65);background:rgba(123,92,255,.14);transform:translateY(-1px)}.library-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.library-head>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:18px}.results-actions{flex-wrap:wrap}.results-actions [hidden]{display:none!important}
@media (max-width:720px){.clip-modal{padding:10px}.clip-modal-panel{padding:12px;max-height:calc(100vh - 20px)}.clip-modal-head{grid-template-columns:1fr 1fr}.clip-modal-head>strong{grid-column:1/-1;grid-row:1;text-align:left}.clip-modal-head .button{padding:.7rem .75rem}.clip-modal-head>a{justify-self:end}.clip-modal-panel video{max-height:65vh}.library-card-actions{grid-template-columns:1fr}}

/* FragCut v4.4 — größere Bedienung, ruhige Statusanzeige, manueller Start */
.page-app .container { width: min(1320px, calc(100% - 64px)); }
.page-app .app-main { padding-block: 86px 130px; }
.page-app .app-intro { grid-template-columns: 1.15fr .7fr; gap: 84px; margin-bottom: 56px; }
.page-app .app-intro h1 { font-size: clamp(52px,5.9vw,82px); }
.page-app .app-intro p { font-size: 16px; line-height: 1.75; }
.page-app .analyzer { border-radius: 22px; }
.page-app .analyzer-head { min-height: 92px; padding-inline: 30px; }
.page-app .analyzer-title { gap: 14px; }
.page-app .analyzer-dot { width: 44px; height: 44px; border-radius: 12px; }
.page-app .analyzer-title strong { font-size: 16px; }
.page-app .analyzer-title small { margin-top: 4px; font-size: 11px; }
.page-app .step-indicator { gap: 26px; font-size: 10px; }
.page-app .step-indicator span { width: 27px; height: 27px; font-size: 10px; }
.page-app .step-indicator li { gap: 9px; }
.page-app .step-indicator li:not(:last-child)::after { width: 34px; }
.page-app .clip-settings { padding: 24px 30px 26px; grid-template-columns: 1fr 1fr .78fr 1.55fr; gap: 18px; }
.page-app .setting-field > span,
.page-app .length-summary > span,
.page-app .quality-setting legend { margin-bottom: 9px; font-size: 11px; }
.page-app .number-control,
.page-app .length-summary,
.page-app .quality-switch { height: 58px; border-radius: 12px; }
.page-app .number-control { grid-template-columns: 52px 1fr 52px; }
.page-app .number-control button { font-size: 23px; }
.page-app .number-control input { font-size: 17px; }
.page-app .length-summary { padding-inline: 18px; }
.page-app .length-summary strong { font-size: 14px; }
.page-app .quality-switch { gap: 5px; padding: 4px; }
.page-app .quality-switch label { border-radius: 8px; }
.page-app .quality-switch label strong { font-size: 10px; }
.page-app .quality-switch label small { margin-top: 3px; font-size: 8px; }
.page-app .number-control :disabled,
.page-app .quality-switch input:disabled + label { opacity: .48; cursor: not-allowed; }
.page-app .analyzer-body,
.page-app .phase { min-height: 620px; }
.page-app .phase-upload,
.page-app .phase-prepared { padding: 30px; }
.page-app .upload-zone { min-height: 560px; padding: 56px 30px; border-radius: 17px; }
.page-app .upload-visual { width: 138px; height: 138px; margin-bottom: 28px; }
.page-app .upload-visual b { width: 66px; height: 66px; }
.page-app .upload-visual svg { width: 28px; height: 28px; }
.page-app .upload-kicker { font-size: 10px; }
.page-app .upload-zone > strong { margin-top: 15px; font-size: 31px; }
.page-app .upload-copy { margin-top: 13px; font-size: 13px; }
.page-app .fake-button { margin-top: 28px; }
.page-app .prepared-layout { min-height: 560px; grid-template-columns: 1.25fr .75fr; border-radius: 17px; }
.page-app .video-shell { min-height: 550px; }
.page-app .video-toggle { width: 72px; height: 72px; }
.page-app .video-toggle svg { width: 28px; height: 28px; }
.page-app .file-panel { padding: 50px; }
.page-app .success-label { font-size: 10px; }
.page-app .success-label i { width: 23px; height: 23px; }
.page-app .file-panel h2 { margin-top: 20px; font-size: 31px; }
.page-app .file-panel > p { font-size: 13px; line-height: 1.55; }
.page-app .file-facts { margin-top: 34px; border-radius: 12px; }
.page-app .file-facts > div { padding: 17px 18px; }
.page-app .file-facts span,
.page-app .file-facts strong { font-size: 11px; }
.page-app .prepared-actions { margin-top: 31px; gap: 12px; }
.page-app .prepared-actions .button,
.page-app .results-actions .button { min-height: 54px; padding-inline: 22px; font-size: 12px; }
.page-app .phase-scan { min-height: 620px; padding: 60px 30px 48px; }
.page-app .scan-orbit { width: 170px; height: 170px; margin-bottom: 32px; }
.page-app .scan-orbit > i { width: 104px; height: 104px; }
.page-app .scan-cross { inset: 53px; }
.page-app .scan-label { font-size: 10px; }
.page-app .phase-scan h2 { margin: 13px 0 8px; font-size: 36px; }
.page-app .phase-scan > p { max-width: 660px; font-size: 14px; }
.page-app .progress-bar { width: min(760px,88%); height: 12px; margin-top: 36px; border-radius: 999px; }
.page-app .progress-bar i { border-radius: inherit; }
.page-app .progress-meta.clean-progress { width: min(760px,88%); margin-top: 18px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 26px; text-align: left; font-family: inherit; }
.page-app .clean-progress > strong { grid-row: 1 / span 2; min-width: 126px; color: #fff; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.page-app .clean-progress > span { color: var(--text-soft); font-size: 16px; font-weight: 800; line-height: 1.25; }
.page-app .clean-progress > small { color: var(--muted); font: 650 12px/1.3 ui-monospace,monospace; }
.page-app .text-button { margin-top: 24px; font-size: 11px; }
.page-app .phase-results { padding: 40px; }
.page-app .results-top h2 { font-size: 34px; }
.page-app .results-top p { font-size: 13px; }
.page-app .event-card { min-height: 150px; grid-template-columns: 260px 1fr auto; border-radius: 14px; }
.page-app .event-thumb { min-height: 148px; }
.page-app .event-copy { padding: 22px 26px; }
.page-app .event-copy small { font-size: 9px; }
.page-app .event-copy h3 { font-size: 22px; }
.page-app .event-copy p { font-size: 11px; }
.page-app .event-actions { padding-right: 22px; }
.page-app .event-actions button,
.page-app .event-actions a { min-height: 47px; padding-inline: 16px; font-size: 11px; }

@media (max-width: 1040px) {
  .page-app .container { width: min(100% - 40px, 1320px); }
  .page-app .clip-settings { grid-template-columns: 1fr 1fr; }
  .page-app .length-summary,
  .page-app .quality-setting { grid-column: auto; }
  .page-app .prepared-layout { grid-template-columns: 1fr; }
  .page-app .video-shell { min-height: 500px; }
  .page-app .file-panel { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 780px) {
  .page-app .container { width: min(100% - 28px, 1320px); }
  .page-app .app-main { padding-top: 62px; }
  .page-app .app-intro { grid-template-columns: 1fr; gap: 28px; }
  .page-app .app-intro h1 { font-size: clamp(48px,13vw,68px); }
  .page-app .analyzer-head { padding: 20px 22px; }
  .page-app .clip-settings { padding: 20px 22px 22px; }
  .page-app .analyzer-body,
  .page-app .phase { min-height: 540px; }
  .page-app .phase-upload,
  .page-app .phase-prepared { padding: 16px; }
  .page-app .upload-zone { min-height: 500px; }
  .page-app .video-shell { min-height: 420px; }
  .page-app .file-panel { padding: 36px 28px; }
  .page-app .phase-scan { min-height: 560px; }
  .page-app .progress-meta.clean-progress { width: 92%; grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .page-app .clean-progress > strong { grid-row: auto; min-width: 0; font-size: 34px; }
  .page-app .phase-results { padding: 28px 20px; }
  .page-app .event-card { grid-template-columns: 180px 1fr; }
}
@media (max-width: 560px) {
  .page-app .clip-settings { grid-template-columns: 1fr; }
  .page-app .length-summary,
  .page-app .quality-setting { grid-column: auto; }
  .page-app .number-control,
  .page-app .length-summary,
  .page-app .quality-switch { height: 56px; }
  .page-app .upload-zone > strong { font-size: 25px; }
  .page-app .video-shell { min-height: 330px; }
  .page-app .file-panel h2 { font-size: 27px; }
  .page-app .phase-scan h2 { font-size: 30px; }
  .page-app .event-card { grid-template-columns: 1fr; }
}
.page-app .scan-cross b { background: #ff4d91; animation: markerColorCycle 5s linear infinite; }
.page-app .scan-cross b:nth-child(2) { animation-delay: -.08s; }
.page-app .scan-cross b:nth-child(3) { animation-delay: -.16s; }
.page-app .scan-cross b:nth-child(4) { animation-delay: -.24s; }
@keyframes markerColorCycle {
  0%,100% { background: #ff4d91; box-shadow: 0 0 10px #ff4d91; }
  20% { background: #ffcb4d; box-shadow: 0 0 10px #ffcb4d; }
  40% { background: #5ee68b; box-shadow: 0 0 10px #5ee68b; }
  60% { background: #4ddfff; box-shadow: 0 0 10px #4ddfff; }
  80% { background: #a879ff; box-shadow: 0 0 10px #a879ff; }
}

/* ---- RPCutter supplemental (header/footer functional bits, theme-matched) ---- */
.info-banner { position: relative; z-index: 101; text-align: center; padding: 9px 16px; font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(90deg,#a55fff,#7326dc); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); color: var(--muted); transition: .2s var(--ease); }
.nav-icon:hover { color: #fff; border-color: rgba(183,133,255,.4); background: rgba(143,73,255,.09); transform: translateY(-2px); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: 7px 11px; font-size: 11px; font-weight: 800; color: var(--muted); transition: .18s; }
.lang-switch a.active { background: var(--purple); color: #fff; }
.lang-switch a:not(.active):hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-user { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 750; color: var(--text-soft); }
.nav-user img { border-radius: 50%; border: 1px solid var(--line-strong); }
.nav-user:hover { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap; padding-block: 40px 22px; }
.footer-brand .brand { font-size: 17px; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 12px; max-width: 280px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; max-width: 520px; }
.footer-links a { color: var(--text-soft); font-size: 12px; font-weight: 650; transition: color .2s; }
.footer-links a:hover { color: var(--purple-bright); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.wa-credit { color: var(--text-soft); font-weight: 800; }
.wa-credit:hover { color: var(--green); }
@media (max-width: 860px) {
  .main-nav { gap: 18px; }
  .nav-user span { display: none; }
}
@media (max-width: 680px) {
  .nav-row { flex-wrap: wrap; min-height: 0; padding-block: 12px; gap: 14px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; }
}

/* ---- RPCutter content components (clip cards, leaderboard, forms) ---- */
.section-heading.compact { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.section-heading.compact h3 { margin: 0; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.checkrow-group { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.checkrow { display: flex; align-items: center; gap: 11px; color: var(--text-soft); font-size: 13px; font-weight: 600; cursor: pointer; }
.checkrow input { width: 18px; height: 18px; accent-color: var(--purple); }
.analyzer-status { text-align: center; }
#progressBar { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg,#a55fff,#7326dc); transition: width .3s ease; }
.progress-meta { display: flex; align-items: baseline; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.progress-meta strong { font-size: 24px; font-weight: 900; color: var(--purple-bright); }
.progress-meta span { color: var(--text-soft); font-size: 13px; }
.login-cta-panel { text-align: center; padding: 52px 28px; }
.login-cta-panel h2 { margin: 14px 0 26px; font-size: clamp(24px,3vw,34px); }
.home-columns { display: grid; grid-template-columns: 1.5fr .85fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .home-columns { grid-template-columns: 1fr; } }
.featured-player { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.featured-player video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.play-badge { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(143,73,255,.85); color: #fff; font-size: 15px; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.play-badge.big { width: 62px; height: 62px; font-size: 20px; }
/* clip cards */
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.clip-grid.small { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.clip-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); transition: transform .2s var(--ease), border-color .2s; }
.clip-card:hover { transform: translateY(-3px); border-color: rgba(183,133,255,.4); }
.clip-thumb { position: relative; display: block; }
.clip-thumb video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.clip-meta { padding: 12px 14px; }
.clip-title { display: block; color: var(--text); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.clip-title:hover { color: var(--purple-bright); }
.clip-stats { display: flex; gap: 12px; color: var(--muted); font-size: 12px; align-items: center; }
.pill-private { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: rgba(255,85,121,.14); color: var(--rose); font-size: 10px; font-weight: 800; }
/* leaderboard / tables */
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th { text-align: left; padding: 10px 12px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.lb-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.lb-table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; }
.lb-table tr.lb-clickable { cursor: pointer; transition: background .18s; }
.lb-table tr.lb-clickable:hover { background: rgba(143,73,255,.07); }
.lb-avatar { border-radius: 50%; vertical-align: middle; }
.rank { font-weight: 900; color: var(--muted); }
.rank-1 { color: #ffd24a; } .rank-2 { color: #cbd2e0; } .rank-3 { color: #e0965a; }
.hero-copy > .eyebrow { margin-bottom: 4px; }

/* ---- Theme the shared RPCutter page containers so every page is cohesive ---- */
.page main .hero, .compact-hero { text-align: center; padding: 64px 0 20px; }
.page main .hero h1, .compact-hero h1 { font-size: clamp(34px,5vw,58px); line-height: 1; letter-spacing: -.05em; margin: 0; }
.page main .hero .badge, .badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(183,133,255,.22); border-radius: 999px; background: rgba(143,73,255,.06); color: var(--purple-soft); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 26px; margin: 20px 0; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.panel .eyebrow, .eyebrow { color: var(--purple-soft); }
/* buttons mapped to theme */
.primary, button.primary { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: linear-gradient(135deg,#a55fff,#7326dc); color: #fff; font-weight: 800; font-size: 13px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; box-shadow: 0 16px 40px rgba(115,38,220,.3); }
.primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(143,73,255,.42); }
.secondary, .btn-ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(255,255,255,.03); color: var(--text-soft); font-weight: 750; font-size: 12px; cursor: pointer; transition: .2s var(--ease); }
.secondary:hover, .btn-ghost:hover { color: #fff; border-color: rgba(183,133,255,.4); background: rgba(143,73,255,.09); }
.btn-discord { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 10px; background: linear-gradient(135deg,#5865F2,#4752c4); color: #fff; font-weight: 800; font-size: 13px; }
.btn-discord:hover { transform: translateY(-2px); }
.reject { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,85,121,.4); border-radius: 9px; background: rgba(255,85,121,.1); color: var(--rose); font-weight: 700; font-size: 12px; cursor: pointer; }
.reject:hover { background: rgba(255,85,121,.18); }
.confirm { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid rgba(101,223,161,.4); border-radius: 9px; background: rgba(101,223,161,.1); color: var(--green); font-weight: 700; font-size: 12px; cursor: pointer; }
/* sort bar / pager */
.sort-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 22px; }
.sort-bar a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 12px; }
.sort-bar a.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.pager { display: flex; justify-content: center; gap: 12px; margin: 26px 0; }
/* stats */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin: 16px 0; }
.stat { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.stat span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stat strong { font-size: 24px; font-weight: 900; color: var(--text); }
.status-pill { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text-soft); font-size: 11px; font-weight: 800; }
/* inputs */
input[type=text], input[type=number], input[type=email], input[type=password], input[type=date], .search-bar input, textarea, select { background: #0d0b16; border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; padding: 12px 14px; font: inherit; }
.search-bar { display: flex; gap: 10px; margin: 18px 0; }
.search-bar input { flex: 1; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 14px; }
.details-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 14px; }
.details-list dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.details-list dd { margin: 4px 0 0; font-weight: 700; }
.manage-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.profile-avatar, .profile-head img { border-radius: 16px; }
.prose { line-height: 1.75; color: var(--text-soft); }
.prose h2 { color: var(--text); margin-top: 28px; }
.prose a { color: var(--purple-bright); }

/* ---- Panel-scoped heading fixes (profile/admin reuse .section-heading) ---- */
.panel .section-heading, .details-card .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; grid-template-columns: none; }
.panel .section-heading > div, .details-card .section-heading > div { display: flex; flex-direction: column; gap: 4px; }
.panel .section-heading h2, .panel .section-heading h3, .details-card .section-heading h2 { margin: 0; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.panel .eyebrow, .details-card .eyebrow { border: 0; background: none; padding: 0; color: var(--purple-soft); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
/* profile header */
.profile-head { display: flex; align-items: center; gap: 20px; }
.profile-id h1 { margin: 0 0 4px; font-size: clamp(26px,3.4vw,40px); letter-spacing: -.03em; }
.pill-admin { padding: 2px 8px; border-radius: 999px; background: rgba(143,73,255,.16); color: var(--purple-bright); font-size: 10px; font-weight: 800; }
.pill-private { color: var(--rose); }
.clip-card-wrap { position: relative; }
.clip-select { position: absolute; z-index: 3; top: 8px; left: 8px; width: 20px; height: 20px; accent-color: var(--purple); }
.stat-row.small .stat strong { font-size: 20px; }
.status-pill { text-transform: capitalize; }

/* ---- Watch page ---- */
.watch { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .watch { grid-template-columns: 1fr; } }
.player-wrap video { width: 100%; display: block; border-radius: 14px; background: #000; aspect-ratio: 16/9; border: 1px solid var(--line-strong); }
.watch-info { margin-top: 16px; }
.watch-info h1 { margin: 0; font-size: clamp(20px,2.4vw,28px); letter-spacing: -.02em; }
.watch-owner { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.watch-owner img { border-radius: 50%; border: 1px solid var(--line-strong); }
.owner-name { display: block; font-weight: 800; }
.watch-actions { margin-left: auto; }
.like-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); color: var(--text); font-weight: 800; cursor: pointer; transition: .2s; }
.like-btn.liked { border-color: var(--rose); color: var(--rose); background: rgba(255,85,121,.1); }
.like-btn:disabled { opacity: .55; cursor: not-allowed; }
.retention-note { color: var(--muted); font-size: 12px; }
.owner-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.watch-side h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; }

/* ---- Admin ---- */
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 8px 0 18px; }
.admin-topbar h1 { margin: 0; font-size: clamp(26px,3.4vw,40px); letter-spacing: -.03em; }
.admin-nav { display: flex; align-items: center; gap: 10px; }
.admin-h { margin: 30px 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--purple-bright); scroll-margin-top: 90px; }
.admin-jump { position: sticky; top: 84px; z-index: 20; display: flex; gap: 6px; flex-wrap: wrap; padding: 8px; margin: 12px 0 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(17,16,26,.85); backdrop-filter: blur(12px); }
.admin-jump a { padding: 7px 13px; border-radius: 8px; color: var(--muted); font-weight: 700; font-size: 12px; }
.admin-jump a:hover { color: #fff; background: rgba(143,73,255,.09); }
.admin-filter { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.range-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.range-tabs a { padding: 8px 13px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 12px; }
.range-tabs a.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.custom-range { display: flex; gap: 8px; flex-wrap: wrap; }
.bars { display: flex; flex-direction: column; gap: 9px; margin-top: 8px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 44px; align-items: center; gap: 10px; font-size: 12px; }
.bar-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#a55fff,#7326dc); }
.bar-num { text-align: right; color: var(--muted); font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.admin-note { color: var(--muted); font-size: 12px; }
.field { display: grid; gap: 7px; margin-top: 12px; color: var(--text-soft); font-size: 13px; }
.field input { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.ok-note { border: 1px solid rgba(101,223,161,.4); background: rgba(101,223,161,.1); color: var(--green); border-radius: 10px; padding: 11px 14px; }
.error { color: var(--rose); }

/* ---- Cleaner, tighter headings (reduce the oversized FragCut display type) ---- */
.inner-main { padding-block: 56px 84px; }
.inner-hero { margin-bottom: 44px; max-width: 760px; }
.inner-hero h1, .library-head h1 { font-size: clamp(30px,3.6vw,46px); line-height: 1.02; margin: 12px 0 14px; letter-spacing: -.04em; }
.library-head { grid-template-columns: 1fr .55fr; align-items: center; gap: 40px; }
.library-head p { font-size: 13px; }
.section { padding-block: 64px; }
.section-heading { grid-template-columns: 80px 1fr; gap: 22px; align-items: center; }
.section-heading h2, .final-cta h2 { font-size: clamp(24px,2.8vw,38px); line-height: 1.05; letter-spacing: -.03em; }
.section-heading p { grid-column: 2; }
.home-hero { min-height: auto; padding-block: 84px 72px; gap: 56px; }
.hero-copy h1 { font-size: clamp(46px,5.2vw,76px); margin: 18px 0 18px; }
.calibration-note { padding: 70px 0 10px; }
@media (max-width: 720px) {
  .inner-hero h1, .library-head h1 { font-size: clamp(28px,8vw,40px); }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .section-heading p { grid-column: 1; }
}

/* ---- Custom brand logo (admin-uploaded) ---- */
.brand-logo { display: block; height: 30px; width: auto; max-width: 190px; object-fit: contain; }
.brand-preview { display: inline-flex; align-items: center; gap: 12px; margin: 8px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); }
.brand-preview img { max-height: 40px; max-width: 160px; object-fit: contain; }
.brand-preview.fav img { max-height: 32px; max-width: 32px; }

/* ---- Upload heading: centered, with breathing room above the box ---- */
#uploadPanel .section-heading { display: block; text-align: center; margin-bottom: 36px; grid-template-columns: none; }
#uploadPanel .section-index { display: block; margin: 0 0 12px; }
#uploadPanel .section-heading h2 { margin: 0; }
/* ---- Upload progress: full-width bar, centered content ---- */
#progressPanel .analyzer-status { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
#progressPanel .analyzer-status h2 { margin: 0; }
#progressPanel .progress-bar { width: 100%; max-width: none; }
#progressPanel .progress-meta { width: 100%; justify-content: center; margin-top: 0; }

/* ---- In-app ad player ---- */
.ad-mount { margin: 24px auto 0; max-width: 720px; }
.ad-mount-clip { margin: 0 auto 22px; }
.ad-slot { border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: #0d0c13; box-shadow: var(--shadow); }
.ad-head { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.ad-badge { padding: 2px 7px; border-radius: 5px; background: rgba(143,73,255,.16); color: var(--purple-bright); font-weight: 900; letter-spacing: .1em; font-size: 9px; }
.ad-adv { font-weight: 700; color: var(--text-soft); }
.ad-x { margin-left: auto; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.03); color: var(--muted); font-size: 15px; cursor: pointer; line-height: 1; }
.ad-x:hover { color: #fff; }
.ad-video-wrap { position: relative; background: #000; }
.ad-video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #000; }
.ad-foot { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.ad-mute { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(255,255,255,.03); color: var(--text); font-size: 16px; cursor: pointer; }
.ad-mute:hover { border-color: rgba(183,133,255,.4); }
.ad-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; background: linear-gradient(135deg,#a55fff,#7326dc); color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 14px 34px rgba(115,38,220,.3); }
.ad-cta:hover { transform: translateY(-2px); }
@media (max-width: 560px) { .ad-foot { flex-wrap: wrap; } .ad-cta { margin-left: 0; width: 100%; justify-content: center; } }

/* ---- Ad daily chart ---- */
.ad-chart { display: flex; align-items: flex-end; gap: 6px; height: 190px; overflow-x: auto; padding-top: 8px; }
.ad-bar { flex: 1 0 24px; min-width: 24px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.ad-bar-fill { width: 62%; background: linear-gradient(180deg,#b785ff,#7326dc); border-radius: 5px 5px 0 0; min-height: 2px; transition: height .3s var(--ease); }
.ad-bar-day { margin-top: 7px; font-size: 9px; color: var(--muted); white-space: nowrap; }

/* Ad platform embed (YouTube/TikTok/Twitch) */
.ad-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
