:root { --bg: #121318; --panel: #1b1d24; --line: #2a2d37; --text: #ecedf1; --muted: #9a9daa; --accent: #1db954; --accent-2: #1ed760; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, sans-serif; }
a { color: inherit; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; margin: 0 0 1rem; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 0 0 .25rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
section.wrap { padding-top: 56px; padding-bottom: 56px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.accent { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 2rem; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; font-size: 1.15rem; }
.btn { display: inline-block; background: var(--accent); color: #000; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--accent-2); }
.btn.small { padding: 7px 16px; }
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(18,19,24,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links > a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links > a:not(.btn):hover, .nav-links > a[aria-current] { color: var(--text); }
.nav-links .btn { padding: 10px 24px; font-size: 1rem; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 480px) { .nav-links { gap: 12px; } .nav-links .btn { padding: 9px 16px; } .logo { font-size: 1rem; } }
.btn.disabled { opacity: .5; pointer-events: none; }

.hero { padding-top: 48px; }
.shot { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #000; }
.caption { margin-top: .75rem; }

.board { margin-top: 1.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
#wave { width: 100%; height: 120px; display: block; }
.now { margin: .5rem 0 1rem; font-size: .9rem; min-height: 1.5em; }
.pads { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pad { display: flex; align-items: center; gap: 10px; text-align: left; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; cursor: pointer; transition: background .15s, border-color .15s; }
.pad small { display: block; color: var(--muted); font-size: .75rem; }
.pad .icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--text); transition: background .15s; }
.pad .icon svg { width: 12px; height: 12px; fill: currentColor; }
.pad:hover, .pad:focus-visible { background: #0f2a19; border-color: var(--accent); }
.pad:hover .icon, .pad.on .icon { background: var(--accent); color: #000; }
.pad.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; border-top: 1px solid var(--line); }
.price { font-size: 2.6rem; font-weight: 800; margin: .25rem 0; }
.price .muted { font-size: 1rem; font-weight: 400; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px 16px 44px; border-top: 1px solid var(--line); }
pre.license { white-space: pre-wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; font: 14px/1.6 ui-monospace, monospace; }

@media (max-width: 760px) { .buy { grid-template-columns: 1fr; } section.wrap { padding-top: 40px; padding-bottom: 40px; } }

.demo-app, .demo-editor { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.demo-bar { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; font-size: .85rem; border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
#demo-wave { display: block; width: 100%; height: 150px; cursor: crosshair; touch-action: none; }
.track { display: flex; border-bottom: 1px solid var(--line); }
.track:last-child { border-bottom: 0; }
.track-name { flex: none; width: 44px; display: grid; place-items: center; color: var(--muted); font-size: .8rem; border-right: 1px solid var(--line); }
.lane { position: relative; flex: 1; height: 64px; overflow: hidden; }
.lane.over { background: #0f2a19; outline: 2px dashed var(--accent); outline-offset: -4px; }
.lane-hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .85rem; pointer-events: none; }
.vclip { position: absolute; top: 8px; bottom: 8px; border-radius: 6px; background: #3b4256; }
.aclip { position: absolute; top: 8px; bottom: 8px; border-radius: 6px; background: #0f2a19; border: 1px solid var(--accent); cursor: pointer; overflow: hidden; }
.aclip canvas, .drag-ghost canvas { width: 100%; height: 100%; display: block; }
.drag-ghost { position: fixed; z-index: 50; height: 48px; border-radius: 6px; background: #0f2a19; border: 1px solid var(--accent); pointer-events: none; opacity: .9; transform: translateY(-50%); }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0; }
.link-btn:hover { color: var(--text); }

.studio { position: relative; display: grid; gap: 14px; user-select: none; -webkit-user-select: none; }
.viewer { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.viewer video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tc { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 4px; background: rgba(0,0,0,.65); font: 600 .8rem ui-monospace, monospace; }
.wave-lane { height: 120px; }
.wave-lane #demo-wave { height: 100%; }
.bar-left { display: flex; align-items: center; gap: 10px; }
.tp { width: 26px; height: 26px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--accent); color: #000; cursor: pointer; padding: 0; }
.tp svg { width: 11px; height: 11px; fill: currentColor; }
.timeline { position: relative; }
.ruler-row { display: flex; border-bottom: 1px solid var(--line); }
.ruler { position: relative; flex: 1; height: 22px; cursor: pointer; }
.ruler span { position: absolute; top: 0; height: 100%; padding-left: 4px; border-left: 1px solid var(--line); font-size: .7rem; color: var(--muted); line-height: 22px; }
.vlane .filmstrip { position: absolute; inset: 8px 0; border-radius: 6px; background: url(/media/demo-filmstrip.jpg) 0 0 / 100% 100%; opacity: .85; }
.tl-overlay { position: absolute; top: 0; bottom: 0; left: 45px; right: 0; pointer-events: none; }
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; z-index: 3; }
.playhead::before { content: ""; position: absolute; top: 0; left: -5px; border: 6px solid transparent; border-top-color: #fff; }
.marker { position: absolute; top: 22px; bottom: 0; width: 0; border-left: 2px dashed #f5c542; opacity: .75; z-index: 2; transition: border-color .15s; }
.marker::before { content: ""; position: absolute; top: -8px; left: -6px; border: 5px solid transparent; border-top-color: #f5c542; }
.marker.hit { border-left-style: solid; border-color: var(--accent); opacity: 1; }
.marker.hit::before { border-top-color: var(--accent); }
.aclip { cursor: grab; touch-action: none; }
.aclip.moving { cursor: grabbing; opacity: .85; }
.aclip.doomed { opacity: .35; border-color: #e5484d; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feature video, .feature img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.feature figcaption { padding: 16px 18px 6px; }
.feature h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.feature p { margin: 0 0 .75rem; }
.feature-stack { display: grid; gap: 20px; align-content: start; }
.blender { padding-top: 0; }
.blender b { color: var(--text); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.person { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.person[hidden] { display: none; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 12px; border: 1px solid var(--line); box-shadow: -18px 0 60px -30px var(--accent); }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } .person img { max-width: 320px; } }

.transport { position: fixed; z-index: 60; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--accent); box-shadow: 0 8px 30px rgba(0,0,0,.5); font-size: .85rem; max-width: calc(100% - 32px); }
.transport[hidden] { display: none; }
.transport-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.transport button { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--accent); color: #000; display: grid; place-items: center; cursor: pointer; }
.transport svg { width: 12px; height: 12px; fill: currentColor; }
.mockup-toggle { position: fixed; z-index: 60; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 6px; background: #f5c542; color: #000; font-size: .8rem; font-weight: 600; }
.mockup-toggle[hidden] { display: none; }

.coach { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 40; }
.coach-cursor { position: absolute; left: 0; top: 0; width: 18px; height: 22px; fill: #fff; stroke: #000; stroke-width: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.coach-sel { position: absolute; border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); background: rgba(29,185,84,.22); width: 0; }
.coach-strip { position: absolute; height: 48px; border-radius: 6px; background: rgba(15,42,25,.8); border: 1px dashed var(--accent); opacity: 0; }

.steps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 2px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.steps li b::before { content: counter(step) ". "; color: var(--accent); }
.steps li span { font-size: .9rem; }
.step { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #f5c542; color: #000; font-size: .75rem; font-weight: 800; }
.bar-right { display: flex; gap: 14px; min-width: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .bar-right .file { display: none; } }
.aclip .edge { position: absolute; top: 0; bottom: 0; width: 5px; background: var(--accent); opacity: 0; transition: opacity .15s; }
.aclip .edge.l { left: 0; }
.aclip .edge.r { right: 0; }
.aclip:hover .edge { opacity: .6; }

.app-slice { background: #111214; font-size: .82rem; }
.app-tools { display: flex; align-items: center; gap: 12px; padding: 8px 10px; }
.app-tools input { width: min(260px, 100%); background: #0b0b0c; border: 1px solid var(--line); border-radius: 4px; color: var(--text); font: inherit; padding: 5px 8px; outline: none; }
.app-tools input:focus { border-color: var(--accent); }
.app-table { margin: 0 10px 10px; border: 1px solid var(--line); border-radius: 4px; }
.app-th, .app-row { display: grid; grid-template-columns: 1fr 80px; gap: 12px; padding: 0 12px; }
.app-th { height: 28px; align-items: center; color: var(--muted); border-bottom: 1px solid var(--line); }
.app-th span:first-child { text-align: center; }
#lib-rows { display: grid; }
.app-row { height: 28px; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid #1d1f25; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.app-row:last-child { border-bottom: 0; }
.app-row:hover { background: #1a1c22; }
.app-row.on { background: #0f2a19; box-shadow: inset 2px 0 0 var(--accent); }
.app-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-preview { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.bar-right { align-items: center; }
.toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: inherit; font-size: .8rem; padding: 2px 10px; cursor: pointer; }
.toggle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.toggle.on { color: var(--text); border-color: var(--accent); }
.toggle.on::before { background: var(--accent); }
.link-btn:disabled { opacity: .4; cursor: default; color: var(--muted); }

.stage { --brand: var(--accent); position: relative; margin: 0 0 4.5rem; perspective: 1600px; }
.stage-main, .stage-float { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0c; }
.stage-main { transform: rotateX(6deg); transform-origin: 50% 100%; box-shadow: 0 40px 120px -40px var(--brand), 0 20px 60px rgba(0,0,0,.6); transition: box-shadow .5s; }
.stage-float { position: absolute; right: -16px; bottom: -48px; width: 44%; border-color: var(--brand); box-shadow: 0 24px 60px rgba(0,0,0,.75); transition: border-color .5s; }
.win-bar span { margin-left: auto; font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-float .win-bar span { color: var(--brand); transition: color .5s; }
.frames { position: relative; aspect-ratio: 16 / 9; }
.frame { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c, #333) 35%, #111), #0b0b0c 70%); }
.frame.on { opacity: 1; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-placeholder { color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 760px) { .stage-float { width: 60%; right: -4px; bottom: -32px; } }
.win-bar { display: flex; gap: 6px; padding: 8px 10px; background: #1b1d24; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3e4b; }
.works { --brand: var(--accent); margin: 0 0 3.5rem; }
#works-cycle { color: var(--brand); transition: color .4s; }
#works-cycle.split { background: linear-gradient(90deg, var(--brand) 35%, var(--brand2) 65%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.works-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.works-list li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: .9rem; cursor: default; transition: border-color .4s, color .4s; }
.works-list li.on { border-color: var(--brand); color: var(--brand); }
.hero { --brand: var(--accent); }
.hero-accent { color: var(--brand); transition: color .4s; }

.packs-hero { padding-top: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0 0; }
.chip { background: var(--panel); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .9rem; cursor: pointer; }
.chip:hover { color: var(--text); }
.chip.on { color: #000; background: var(--accent); border-color: var(--accent); font-weight: 600; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.pack { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, transform .15s; }
.pack:hover { border-color: var(--hue); transform: translateY(-2px); }
.pack-art { position: relative; height: 120px; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--hue) 45%, transparent), transparent 60%), #15171d; display: flex; align-items: flex-end; padding: 14px 16px; }
.pack-art svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.pack-art .tag { position: relative; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(0,0,0,.55); color: var(--text); padding: 3px 9px; border-radius: 999px; }
.pack-art .tag.live { background: var(--accent); color: #000; }
.pack-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.pack-body h3 { margin: 0; font-size: 1.15rem; }
.pack-body p { margin: 0; }
.pack-items { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pack-items li { font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.pack-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.pack-price { font-size: 1.3rem; font-weight: 800; }
.pack-price small { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); }
.pack.bundle { grid-column: 1 / -1; flex-direction: row; border-color: var(--accent); }
.pack.bundle .pack-art { width: 34%; height: auto; min-height: 160px; }
@media (max-width: 760px) { .pack.bundle { flex-direction: column; } .pack.bundle .pack-art { width: auto; min-height: 120px; } }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--line); }
.promise b { display: block; margin-bottom: .25rem; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }
