/* ==========================================================================
   UNLIMITED VIDEO MOTION PRO — Design System
   ========================================================================== */
:root {
  --bg: #06060a;
  --bg2: #0a0a11;
  --surface: #101018;
  --surface2: #16161f;
  --surface3: #1d1d28;
  --line: rgba(255, 255, 255, 0.085);
  --line2: rgba(255, 255, 255, 0.14);
  --ink: #f5f5f8;
  --ink2: #d5d5e0;
  --muted: #9696ab;
  --violet: #7b5cff;
  --violet2: #a78bfa;
  --pink: #ff4d8d;
  --cyan: #29e0d6;
  --gold: #ffc94d;
  --green: #34d399;
  --red: #f87171;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  --grad: linear-gradient(135deg, #7b5cff 0%, #ff4d8d 100%);
  --grad2: linear-gradient(135deg, #29e0d6 0%, #7b5cff 100%);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
::selection { background: rgba(123, 92, 255, 0.4); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.wrap-narrow { width: min(880px, calc(100% - 40px)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 34px -10px rgba(123, 92, 255, 0.75);
}
.btn-primary:hover { box-shadow: 0 18px 44px -12px rgba(255, 77, 141, 0.7); }
.btn-ghost { border-color: var(--line2); background: rgba(255, 255, 255, 0.03); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.25); }
.btn-wa { background: #25d366; color: #062b14; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, 0.8); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 17px 34px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12.5px; font-weight: 600; color: var(--ink2);
  letter-spacing: 0.02em;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.tag-pro { background: rgba(255, 201, 77, 0.14); color: var(--gold); border: 1px solid rgba(255, 201, 77, 0.3); }
.tag-free { background: rgba(150, 150, 171, 0.14); color: var(--muted); border: 1px solid var(--line); }
.tag-admin { background: rgba(255, 77, 141, 0.14); color: var(--pink); border: 1px solid rgba(255, 77, 141, 0.3); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 6, 10, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(6, 6, 10, 0.9); }
.nav-in { display: flex; align-items: center; gap: 26px; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; flex: none;
  box-shadow: 0 6px 18px -6px rgba(123, 92, 255, 0.9);
}
.logo-mark svg { width: 18px; height: 18px; }
.logo small { display: block; font-family: var(--font); font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-top: -3px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink2); }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--grad); transition: width 0.25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); place-items: center; }
.burger span { display: block; width: 16px; height: 1.6px; background: var(--ink); margin: 3.5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 130px 0 90px; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; pointer-events: none; z-index: 0; }
.orb-1 { width: 520px; height: 520px; background: #5b2bff; top: -160px; left: -140px; }
.orb-2 { width: 440px; height: 440px; background: #ff2d6f; top: 60px; right: -140px; opacity: 0.35; }
.orb-3 { width: 380px; height: 380px; background: #0ea5a0; bottom: -180px; left: 40%; opacity: 0.22; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin: 22px 0 22px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17.5px; color: var(--ink2); max-width: 560px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 32px 0 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: var(--muted); }
.hero-trust span { display: flex; align-items: center; gap: 7px; }
.check { color: var(--green); font-weight: 900; }

/* phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; }
.phone {
  width: 300px; aspect-ratio: 9 / 19.5; border-radius: 38px;
  background: #000; border: 7px solid #1c1c26;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.06), 0 0 90px -20px rgba(123,92,255,.5);
  position: relative; overflow: hidden;
}
.phone canvas { width: 100%; height: 100%; object-fit: cover; }
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 20px; background: #000; border-radius: 999px; z-index: 3;
  border: 1px solid rgba(255,255,255,.07);
}
.phone-badge {
  position: absolute; z-index: 4; padding: 9px 14px; border-radius: 12px;
  background: rgba(12,12,18,.9); border: 1px solid var(--line2);
  backdrop-filter: blur(14px); font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 10px 30px -12px #000;
}
.pb-1 { top: 46px; left: -34px; animation: float 5s ease-in-out infinite; }
.pb-2 { bottom: 84px; right: -30px; animation: float 6s ease-in-out infinite 0.8s; }
.pb-3 { bottom: 20px; left: -22px; animation: float 5.5s ease-in-out infinite 1.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 92px 0; }
.sec-tight { padding: 62px 0; }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head h2 { font-size: clamp(27px, 3.6vw, 42px); margin: 16px 0 14px; }
.sec-head p { color: var(--muted); font-size: 16px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet2); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
.card h3 { font-size: 17.5px; margin-bottom: 9px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.card-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 21px; margin-bottom: 16px;
  background: rgba(123, 92, 255, 0.13); border: 1px solid rgba(123, 92, 255, 0.26);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-box { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.compare-bad { background: rgba(248, 113, 113, 0.04); }
.compare-good { background: linear-gradient(160deg, rgba(123,92,255,.12), rgba(255,77,141,.06)); border-color: rgba(123,92,255,.35); }
.compare-box h3 { font-size: 15px; margin-bottom: 16px; letter-spacing: 0; }
.compare-box ul { list-style: none; display: grid; gap: 12px; }
.compare-box li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink2); line-height: 1.5; }
.compare-box li i { font-style: normal; font-weight: 900; flex: none; }
.bad-mark { color: var(--red); }
.good-mark { color: var(--green); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step-num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  background: var(--grad); color: #fff; margin-bottom: 14px;
}
.step h4 { font-size: 15.5px; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* niche chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.chip {
  padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(255,255,255,.03); font-size: 13.5px; font-weight: 600; color: var(--ink2);
  transition: all .2s;
}
.chip:hover, .chip.on { background: rgba(123,92,255,.16); border-color: rgba(123,92,255,.5); color: #fff; }

/* testimonial */
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; }
.testi q { display: block; font-size: 14.5px; color: var(--ink2); line-height: 1.75; font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: #fff; background: var(--grad2);
}
.testi-who b { display: block; font-size: 14px; }
.testi-who span { font-size: 12px; color: var(--muted); }

/* pricing */
.price-card {
  position: relative; border-radius: 26px; padding: 38px 34px;
  background: linear-gradient(165deg, rgba(123,92,255,.16), rgba(255,77,141,.07) 55%, rgba(255,255,255,.02));
  border: 1px solid rgba(123,92,255,.4);
  box-shadow: 0 40px 90px -40px rgba(123,92,255,.6);
  overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 26px; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none;
}
.price-now { font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-now small { font-size: 17px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.price-strike { text-decoration: line-through; color: var(--muted); font-size: 16px; margin-left: 10px; }
.price-list { list-style: none; display: grid; gap: 12px; margin: 26px 0; }
.price-list li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink2); }
.price-list li b { color: var(--ink); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq summary {
  padding: 17px 22px; font-weight: 700; font-size: 15px; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--violet2); font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* CTA band */
.cta-band {
  position: relative; border-radius: 28px; padding: 56px 40px; overflow: hidden;
  background: linear-gradient(135deg, #150b3a, #2a0f2e 55%, #0b1526);
  border: 1px solid rgba(255,255,255,.12); text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: var(--ink2); max-width: 560px; margin: 0 auto 28px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 52px 0 34px; background: var(--bg2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.foot-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 14px; font-weight: 800; }
.foot-col a { display: block; font-size: 14px; color: var(--ink2); margin-bottom: 9px; }
.foot-col a:hover { color: var(--violet2); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }

/* WA float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #052b13; font-weight: 800; font-size: 14px;
  padding: 13px 20px 13px 15px; border-radius: 999px;
  box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.8);
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  border: 2px solid rgba(37,211,102,.6); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.18); opacity: 0; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   STUDIO APP
   ========================================================================== */
.app-shell { display: grid; grid-template-columns: 300px 1fr; min-height: 100vh; }

.side {
  background: var(--bg2); border-right: 1px solid var(--line);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 8px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; }
.side-sec { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 14px 10px 6px; }
.side-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px;
  font-size: 14px; font-weight: 600; color: var(--ink2); cursor: pointer; transition: all .18s; text-align: left; width: 100%;
}
.side-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.side-item.on { background: rgba(123,92,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(123,92,255,.35); }
.side-item .si { width: 20px; text-align: center; opacity: .9; font-size: 15px; }
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.user-mini { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.03); }
.user-mini .avatar { width: 34px; height: 34px; font-size: 12px; }
.user-mini b { font-size: 13px; display: block; line-height: 1.3; }
.user-mini span { font-size: 11px; color: var(--muted); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 22px;
  border-bottom: 1px solid var(--line); background: rgba(6,6,10,.7);
  backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 40;
}
.topbar h1 { font-size: 16.5px; letter-spacing: -0.02em; }
.topbar .spacer { flex: 1; }
.view { padding: 26px; max-width: 1400px; width: 100%; }
.hide { display: none !important; }

/* wizard */
.wizard-head { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.wstep { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.wstep .n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line2); font-size: 11.5px; background: var(--surface);
}
.wstep.on { color: #fff; }
.wstep.on .n { background: var(--grad); border-color: transparent; color: #fff; }
.wstep.done .n { background: rgba(52,211,153,.18); border-color: rgba(52,211,153,.5); color: var(--green); }
.wline { width: 26px; height: 1.5px; background: var(--line2); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 21px; margin-bottom: 6px; }
.panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

.goal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.goal {
  text-align: left; padding: 18px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.02); transition: all .2s; position: relative;
}
.goal:hover { border-color: rgba(123,92,255,.45); background: rgba(123,92,255,.07); transform: translateY(-2px); }
.goal.on { border-color: var(--violet); background: rgba(123,92,255,.13); box-shadow: 0 0 0 1px var(--violet); }
.goal .gi { font-size: 24px; margin-bottom: 10px; }
.goal b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.goal span { font-size: 12.5px; color: var(--muted); }

.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; max-height: 470px; overflow-y: auto; padding-right: 6px; }
.style-card { border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--surface2); cursor: pointer; transition: all .18s; position: relative; }
.style-card canvas { width: 100%; aspect-ratio: 9/13; display: block; }
.style-card .sc-name { font-size: 11px; font-weight: 700; padding: 7px 8px; text-align: center; color: var(--ink2); background: var(--surface2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.style-card:hover { transform: translateY(-2px); }
.style-card.on { border-color: var(--violet); }
.style-card.on .sc-name { background: rgba(123,92,255,.22); color: #fff; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink2); margin-bottom: 7px; letter-spacing: .01em; }
.field label span { color: var(--muted); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  background: var(--bg2); border: 1px solid var(--line2); color: var(--ink);
  font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(123,92,255,.18);
}
.textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* studio layout */
.studio { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.stage-box {
  background: radial-gradient(circle at 50% 0%, #14141f, #08080d 70%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.stage-canvas {
  width: auto; height: min(62vh, 560px); aspect-ratio: 9/16; border-radius: 14px;
  box-shadow: 0 30px 70px -30px #000, 0 0 0 1px rgba(255,255,255,.09);
  background: #000;
}
.stage-bar { display: flex; align-items: center; gap: 12px; margin-top: 16px; width: 100%; }
.timeline { flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; position: relative; cursor: pointer; }
.timeline-fill { height: 100%; background: var(--grad); width: 0%; border-radius: 999px; }
.tc { font-variant-numeric: tabular-nums; font-size: 12px; color: var(--muted); min-width: 76px; }

.inspector { display: grid; gap: 14px; }
.ins-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.ins-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }

.scene-list { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; }
.scene-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid transparent; font-size: 12.5px; cursor: pointer;
}
.scene-item:hover { background: rgba(255,255,255,.06); }
.scene-item.on { border-color: rgba(123,92,255,.5); background: rgba(123,92,255,.12); }
.scene-item .sn { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 10px; font-weight: 800; flex: none; }
.scene-item .st { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scene-item .sd { font-size: 10.5px; color: var(--muted); }

.progress-wrap { margin-top: 14px; }
.progress-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.progress-txt { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* project cards */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.proj-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: all .2s; }
.proj-card:hover { border-color: rgba(255,255,255,.22); transform: translateY(-3px); }
.proj-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, #1b1430, #0e1526); display: grid; place-items: center; position: relative; overflow: hidden; }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.proj-thumb .ph { font-size: 26px; opacity: .5; }
.proj-body { padding: 13px; }
.proj-body b { font-size: 13.5px; display: block; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj-body .meta { font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.proj-actions { display: flex; gap: 6px; margin-top: 10px; }
.icon-btn { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); font-size: 13px; border: 1px solid transparent; }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn.danger:hover { background: rgba(248,113,113,.18); }

/* empty */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ico { font-size: 42px; opacity: .4; margin-bottom: 14px; }

/* toast */
.toast-host { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; }
.toast {
  padding: 12px 20px; border-radius: 12px; background: #1b1b26; border: 1px solid var(--line2);
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow);
  animation: toastIn .25s ease;
}
.toast.ok { border-color: rgba(52,211,153,.45); }
.toast.err { border-color: rgba(248,113,113,.45); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art {
  position: relative; overflow: hidden; padding: 48px;
  background: radial-gradient(circle at 20% 10%, #2a1063, #0a0a12 60%);
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-form-side { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(400px, 100%); }
.auth-card h1 { font-size: 27px; margin-bottom: 8px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface2); border-radius: 12px; margin-bottom: 22px; }
.tabs button { flex: 1; padding: 9px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.tabs button.on { background: var(--surface3); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.form-msg { font-size: 13px; padding: 10px 13px; border-radius: 10px; margin-bottom: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.err { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); color: #fca5a5; }
.form-msg.ok { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); color: #6ee7b7; }

/* admin */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stat .lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.stat .val { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.stat .val small { font-size: 13px; color: var(--muted); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 10px; }
.bars .b { flex: 1; background: var(--grad); border-radius: 4px 4px 2px 2px; min-height: 4px; opacity: .85; transition: opacity .2s; }
.bars .b:hover { opacity: 1; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; padding: 12px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--line); font-weight: 800; white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.04); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,.025); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; }
.s-active { background: var(--green); box-shadow: 0 0 8px var(--green); }
.s-blocked { background: var(--red); box-shadow: 0 0 8px var(--red); }

/* modal */
.modal-host { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.modal-host.open { display: grid; }
.modal { width: min(460px, 100%); background: var(--surface); border: 1px solid var(--line2); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); max-height: 90vh; overflow-y: auto; }
.modal h3 { font-size: 18px; margin-bottom: 16px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* misc */
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-y { overflow-y: auto; }
.scroll-y::-webkit-scrollbar, .side::-webkit-scrollbar, .style-grid::-webkit-scrollbar, .scene-list::-webkit-scrollbar { width: 7px; }
.scroll-y::-webkit-scrollbar-thumb, .side::-webkit-scrollbar-thumb, .style-grid::-webkit-scrollbar-thumb, .scene-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 99px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .phone-stage { order: -1; }
  .phone { width: 250px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .studio { grid-template-columns: 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; z-index: 200; width: 280px; transform: translateX(-100%); transition: transform .25s; }
  .side.open { transform: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-cta .btn-ghost { display: none; }
  .grid-3, .grid-2, .compare, .steps, .stat-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .sec { padding: 62px 0; }
  .hero { padding: 108px 0 60px; }
  .hero-trust { gap: 12px; font-size: 12px; }
  .panel { padding: 18px; }
  .view { padding: 16px; }
  .row2 { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px; }
  .cta-band { padding: 40px 22px; }
  .stage-canvas { height: 46vh; }
  .wa-float span.txt { display: none; }
  .wa-float { padding: 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .toast-host { left: 16px; right: 16px; transform: none; }
  .modal { padding: 20px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .phone { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
