/* Super Video Editor — site styles. Bright by default, dark on request. No framework, no external requests. */
:root, [data-theme="light"] {
  --bg: #f7f5ff;
  --bg-2: #ffffff;
  --tint: #efeaff;
  --card: #ffffff;
  --card-2: #faf8ff;
  --line: rgba(40, 20, 90, .10);
  --text: #15122b;
  --muted: #5d5a78;
  --glass: rgba(255, 255, 255, .72);
  --shadow: 0 24px 60px -24px rgba(60, 30, 140, .28);
  --shadow-sm: 0 8px 24px -12px rgba(60, 30, 140, .25);
  --mesh-a: rgba(124, 58, 237, .28);
  --mesh-b: rgba(6, 182, 212, .24);
  --mesh-c: rgba(236, 72, 153, .22);
  --input: #ffffff;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #08070f;
  --bg-2: #0e0d18;
  --tint: #110f1e;
  --card: #14121f;
  --card-2: #181628;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f3fa;
  --muted: #a6a3bd;
  --glass: rgba(22, 20, 36, .72);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .75);
  --shadow-sm: 0 10px 30px -14px rgba(0, 0, 0, .7);
  --mesh-a: rgba(124, 58, 237, .38);
  --mesh-b: rgba(6, 182, 212, .25);
  --mesh-c: rgba(236, 72, 153, .22);
  --input: #0c0b15;
  color-scheme: dark;
}
:root {
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --grad: linear-gradient(110deg, #7c3aed, #06b6d4 55%, #ec4899);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .35s ease, color .35s ease;
}
img, video { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; }
code { font: .9em ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--tint); padding: .15em .45em; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { background: var(--glass); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--grad); background-size: 160% 100%; color: #fff; font: 650 1rem/1 inherit; text-decoration: none;
  box-shadow: 0 12px 28px -12px rgba(124, 58, 237, .65);
  transition: transform .2s ease, box-shadow .2s ease, background-position .5s ease;
}
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 36px -14px rgba(236, 72, 153, .55); }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn--ghost { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn--ghost:hover { background: var(--card-2); box-shadow: inset 0 0 0 1px rgba(124,58,237,.35), var(--shadow-sm); }
.btn--sm { padding: .62em 1.05em; font-size: .9rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.playdot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .62rem; padding-left: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s, background .35s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; letter-spacing: -.01em; }
.brand__mark { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.theme { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; transition: transform .25s; }
.theme:hover { transform: rotate(20deg); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme__moon { fill: currentColor !important; stroke: none !important; display: none; }
[data-theme="dark"] .theme__sun { display: none; }
[data-theme="dark"] .theme__moon { display: block; }

/* Hero */
.hero { position: relative; padding: 64px 0 80px; overflow: hidden; }
.mesh { position: absolute; inset: 0; pointer-events: none; }
.mesh span { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 18s ease-in-out infinite alternate; }
.mesh span:nth-child(1) { width: 560px; height: 560px; right: 2%; top: -140px; background: var(--mesh-a); }
.mesh span:nth-child(2) { width: 460px; height: 460px; right: 28%; top: 240px; background: var(--mesh-b); animation-delay: -6s; }
.mesh span:nth-child(3) { width: 380px; height: 380px; left: -120px; top: 40px; background: var(--mesh-c); animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: .88rem; font-weight: 500; box-shadow: var(--shadow-sm); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: 1; letter-spacing: -.04em; margin: 20px 0 20px; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.06; letter-spacing: -.035em; margin: 12px 0 14px; font-weight: 800; }
h3 { font-size: 1.18rem; letter-spacing: -.015em; margin: 0 0 6px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero__facts { display: flex; gap: 14px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero__facts li { padding: 12px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hero__facts strong { display: block; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__facts span { color: var(--muted); font-size: .85rem; }

.hero__stage { position: relative; padding: 20px 0 40px 30px; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.float { position: absolute; border-radius: 20px; }
.float--phone { left: -26px; bottom: -4px; width: 150px; padding: 7px; background: #0b0a12; border-radius: 26px; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
.float--phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; }
.float--phone span { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; font-size: .6rem; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; }
.float--ask { top: 0; right: -12px; max-width: 260px; padding: 12px 14px; font-size: .9rem; line-height: 1.4; animation: bob 8s ease-in-out infinite -2s; }
.float__ch { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 3px; }
.float--done { right: 18px; bottom: 6px; display: flex; gap: 12px; align-items: center; padding: 12px 16px; animation: bob 9s ease-in-out infinite -4s; }
.float--done small { display: block; color: var(--muted); font-size: .78rem; }
.float__ok { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #10b981, #06b6d4); color: #fff; font-weight: 800; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { white-space: nowrap; padding: 8px 18px; border-radius: 999px; background: var(--tint); color: var(--text); font-weight: 600; font-size: .95rem; }
.marquee span:nth-child(3n+1) { background: rgba(124,58,237,.12); }
.marquee span:nth-child(3n+2) { background: rgba(6,182,212,.13); }
.marquee span:nth-child(3n+3) { background: rgba(236,72,153,.12); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 108px 0; position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: #0b0a14; color: #f4f3fa; --muted: #a6a3bd; --line: rgba(255,255,255,.1); }
.head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow--light { background: none; color: #c4b5fd; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border-radius: 26px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.step:hover img { transform: scale(1.04); }
.step__body { position: relative; padding: 30px 26px 28px; }
.step__body p { color: var(--muted); margin: 0; }
.step__n { position: absolute; top: -24px; left: 24px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; font-weight: 800; font-size: 1.2rem; color: #fff; background: var(--grad); box-shadow: 0 10px 24px -8px rgba(124,58,237,.6); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; overflow: hidden; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(124,58,237,.35); }
.tile img { width: 120px; height: 120px; object-fit: cover; border-radius: 20px; margin-bottom: 14px; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.06) rotate(-2deg); }
.tile p { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.tile--wide { grid-column: span 2; display: flex; gap: 22px; align-items: center; background: linear-gradient(135deg, var(--card), var(--card-2)); }
.tile--wide img { width: 170px; height: 170px; margin: 0; flex: none; }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: var(--muted); background: var(--tint); border: 1px solid var(--line); }
.tag--early { color: #fff; background: var(--grad); border: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split__media { position: relative; padding-bottom: 40px; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.split__copy p { color: var(--muted); font-size: 1.08rem; }
.chat { position: absolute; right: -24px; bottom: 0; width: min(330px, 80%); padding: 14px; border-radius: 22px; display: grid; gap: 8px; }
.msg { max-width: 92%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--card); border: 1px solid var(--line); font-size: .86rem; }
.msg b { display: block; font-size: .7rem; color: var(--cyan); margin-bottom: 1px; }
.msg--bot { justify-self: end; border-radius: 14px 14px 4px 14px; background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(6,182,212,.14)); border-color: rgba(124,58,237,.3); }
.msg--bot b { color: var(--violet); }
[data-theme="dark"] .msg--bot b { color: #c4b5fd; }
.vid { display: inline-block; margin-top: 3px; padding: 6px 10px; border-radius: 10px; background: rgba(0,0,0,.08); font-weight: 650; }
[data-theme="dark"] .vid { background: rgba(0,0,0,.35); }
.ticks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #fff; background: var(--grad); }

/* Showcase */
.reel { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.clip { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; border: 1px solid rgba(255,255,255,.1); cursor: pointer; transition: transform .35s ease, box-shadow .35s; }
.clip:nth-child(even) { transform: translateY(26px); }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip figcaption { position: absolute; left: 10px; bottom: 10px; font-size: .74rem; font-weight: 650; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(6px); }
.clip:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 30px 60px -20px rgba(124,58,237,.7); }
.clip:nth-child(even):hover { transform: translateY(18px) scale(1.03); }

/* Features */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.feat { padding: 28px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat p { color: var(--muted); margin: 0; }
.feat__i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; font-size: 1.4rem; margin-bottom: 16px; background: var(--tint); }

/* Pricing */
.prices { align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.price .ticks { flex: 1; }
.price__tag { font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; margin: 6px 0 4px; }
.price--hot { background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 2px solid transparent; transform: translateY(-10px); box-shadow: 0 34px 80px -30px rgba(124,58,237,.55); }
.price__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: var(--grad); color: #fff; white-space: nowrap; }

/* Early access */
.early { position: relative; padding: 120px 0; color: #fff; overflow: hidden; isolation: isolate; }
.early__bg { position: absolute; inset: 0; z-index: -2; }
.early__bg img { width: 100%; height: 100%; object-fit: cover; }
.early::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,6,24,.9) 0%, rgba(10,6,24,.65) 50%, rgba(10,6,24,.35) 100%); }
.early__in { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.early__copy h2 { color: #fff; }
.early__copy p { color: #d8d4ee; font-size: 1.08rem; }
.form { padding: 30px; border-radius: 28px; background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.field span, .field legend { font-size: .9rem; font-weight: 650; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input[type=email], .field input[type=text] { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--input); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,.18); outline: none; }
.checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.checks label, .consent { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.checks label { padding: 10px; border-radius: 12px; background: var(--input); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, color .2s; }
.checks label:has(input:checked) { border-color: var(--violet); color: var(--text); background: rgba(124,58,237,.08); }
input[type=checkbox] { accent-color: var(--violet); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; min-height: 1.4em; font-size: .95rem; text-align: center; }
.form__msg.ok { color: #059669; }
.form__msg.err { color: #e11d48; }
[data-theme="dark"] .form__msg.ok { color: #34d399; }
[data-theme="dark"] .form__msg.err { color: #fb7185; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-weight: 650; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--violet); font-size: 1.2rem; transition: transform .25s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0; background: var(--bg-2); }
.footer__in { display: grid; grid-template-columns: auto 1fr auto auto; gap: 24px; align-items: center; }
.footer__in p { margin: 0; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--text); }

/* Simple pages */
.page { padding: 70px 0 100px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page h2 { font-size: 1.4rem; margin-top: 38px; }
.page p, .page li { color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.clip.reveal.is-in:nth-child(even) { transform: translateY(26px); }

/* Responsive */
@media (max-width: 1060px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .reel { grid-template-columns: repeat(3, 1fr); }
  .nav__links { display: none; }
  .theme { margin-left: auto; }
}
@media (max-width: 880px) {
  .hero { padding: 36px 0 64px; }
  .hero__in, .split, .early__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__stage { padding: 10px 0 40px 16px; }
  .steps, .grid--3 { grid-template-columns: 1fr; }
  .price--hot { transform: none; }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .chat { right: 8px; }
  .early::before { background: linear-gradient(180deg, rgba(10,6,24,.82), rgba(10,6,24,.7)); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .tile--wide img { width: 120px; height: 120px; }
  .reel { grid-template-columns: repeat(2, 1fr); }
  .clip:nth-child(even), .clip.reveal.is-in:nth-child(even) { transform: none; }
  .float--phone { width: 104px; left: -8px; }
  .float--ask { right: 0; max-width: 200px; font-size: .8rem; }
  .float--done { right: 4px; padding: 10px 12px; }
  .nav .btn--sm { display: none; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
