:root {
  --bg: #07070f;
  --bg2: #0c0c18;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef0ff;
  --muted: #a3a6c9;
  --dim: #6f7299;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --grad: linear-gradient(100deg, #22d3ee 0%, #8b5cf6 55%, #ec4899 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(139, 92, 246, 0.45); }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(236, 72, 153, 0.1), transparent 60%),
    var(--bg);
}

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.center { text-align: center; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line-2); background: var(--panel); transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
  white-space: nowrap; min-height: 48px;
}
.btn:hover { transform: translateY(-1px); background: var(--panel-2); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: var(--grad); color: #07070f; border: 0;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.btn.primary:hover { box-shadow: 0 14px 40px rgba(139, 92, 246, 0.5); }
.btn.big { padding: 18px 30px; font-size: 17px; border-radius: 16px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; }
.btn.danger { border-color: rgba(248,113,113,.4); color: #fecaca; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.linkbtn { color: var(--cyan); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px;
  padding: 14px 20px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 7, 15, 0.7); border-bottom: 1px solid var(--line);
}
.topbar .inner { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 1180px; margin: 0 auto; }
.logo { font-family: var(--display); font-weight: 700; letter-spacing: 0.22em; font-size: 19px; text-decoration: none; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topnav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.topnav a { text-decoration: none; color: var(--muted); }
.topnav a:hover { color: var(--text); }
.topbar .btn { padding: 10px 18px; min-height: 42px; font-size: 15px; }
.topbar-tag { margin-left: auto; font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); padding: 5px 12px; border-radius: 999px; }
@media (max-width: 820px) { .topnav { display: none; } .topbar .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 60px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #c4b5fd; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(139, 92, 246, .35); background: rgba(139, 92, 246, .1);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); margin: 22px 0 20px; font-weight: 700; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 580px; }
.hero-cta { display: flex; gap: 14px; margin: 32px 0 26px; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--green); flex: none; }
@media (max-width: 900px) {
  .hero { padding: 40px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: 2; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* Phone mockup animation */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #23233d, #0c0c18); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.1) inset, 0 0 80px rgba(139,92,246,.25);
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 80px; height: 22px; transform: translateX(-50%); background: #05050a; border-radius: 20px; z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.scene { position: absolute; inset: 0; opacity: 0; animation: sceneCycle 12s infinite; }
.scene:nth-child(1) { animation-delay: 0s; }
.scene:nth-child(2) { animation-delay: 3s; }
.scene:nth-child(3) { animation-delay: 6s; }
.scene:nth-child(4) { animation-delay: 9s; }
@keyframes sceneCycle { 0% { opacity: 0; transform: scale(1.06); } 3% { opacity: 1; } 24% { opacity: 1; transform: scale(1); } 27% { opacity: 0; } 100% { opacity: 0; } }
.s1 { background: radial-gradient(circle at 50% 40%, #f59e0b 0, #b45309 28%, #1c1917 70%); }
.s1 .product { position: absolute; left: 50%; top: 34%; width: 38%; aspect-ratio: .55; transform: translateX(-50%) rotate(-6deg); border-radius: 18px 18px 26px 26px; background: linear-gradient(160deg, #fef3c7, #f59e0b 45%, #92400e); box-shadow: 0 30px 40px rgba(0,0,0,.5), inset -8px 0 20px rgba(0,0,0,.25); animation: floaty 3s ease-in-out infinite; }
.s1 .product::after { content: ""; position: absolute; left: 18%; right: 18%; top: 38%; height: 26%; border-radius: 8px; background: rgba(255,255,255,.85); }
.s2 { background: linear-gradient(180deg, #312e81, #0f172a); }
.presenter { position: absolute; left: 50%; bottom: 0; width: 70%; transform: translateX(-50%); height: 62%; }
.presenter .head { position: absolute; left: 50%; top: 0; width: 42%; aspect-ratio: .82; transform: translateX(-50%); border-radius: 46% 46% 44% 44%; background: linear-gradient(160deg, #fcd9b8, #d69e74); box-shadow: inset -10px -6px 20px rgba(0,0,0,.2); }
.presenter .hair { position: absolute; left: 50%; top: -4%; width: 48%; height: 26%; transform: translateX(-50%); border-radius: 50% 50% 20% 20%; background: #1f1308; }
.presenter .body { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; border-radius: 48% 48% 0 0; background: linear-gradient(160deg, #22d3ee, #6d28d9); }
.presenter .mouth { position: absolute; left: 50%; top: 27%; width: 10%; height: 3%; transform: translateX(-50%); background: #7f1d1d; border-radius: 0 0 10px 10px; animation: talk .35s infinite alternate; }
@keyframes talk { to { height: 1%; } }
.s3 { background: linear-gradient(135deg, #0e7490, #1e1b4b 60%, #831843); }
.s3 .bars { position: absolute; left: 12%; right: 12%; bottom: 30%; height: 36%; display: flex; align-items: flex-end; gap: 8%; }
.s3 .bars i { flex: 1; background: linear-gradient(180deg, #a5f3fc, #22d3ee); border-radius: 8px 8px 0 0; animation: grow 3s ease-out infinite; transform-origin: bottom; }
.s3 .bars i:nth-child(1) { height: 35%; } .s3 .bars i:nth-child(2) { height: 55%; animation-delay: .1s; } .s3 .bars i:nth-child(3) { height: 78%; animation-delay: .2s; } .s3 .bars i:nth-child(4) { height: 100%; animation-delay: .3s; background: linear-gradient(180deg, #fbcfe8, #ec4899); }
@keyframes grow { 0% { transform: scaleY(.1); } 30%,100% { transform: scaleY(1); } }
.s4 { background: var(--grad); display: grid; place-items: center; }
.s4 .endcard { text-align: center; color: #07070f; font-family: var(--display); }
.s4 .endcard b { display: block; font-size: 30px; letter-spacing: -.02em; }
.s4 .endcard span { display: inline-block; margin-top: 12px; padding: 10px 18px; border-radius: 12px; background: #07070f; color: #fff; font-size: 14px; font-weight: 600; }
@keyframes floaty { 50% { transform: translateX(-50%) translateY(-10px) rotate(-3deg); } }
.caption { position: absolute; left: 8%; right: 8%; bottom: 14%; text-align: center; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.2; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.caption em { font-style: normal; color: #fde047; }
.s4 .caption { display: none; }
.hud { position: absolute; left: 14px; right: 14px; top: 46px; display: flex; gap: 4px; z-index: 4; }
.hud i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.hud i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; animation: hud 12s linear infinite; }
.hud i:nth-child(2)::after { animation-delay: 3s; } .hud i:nth-child(3)::after { animation-delay: 6s; } .hud i:nth-child(4)::after { animation-delay: 9s; }
@keyframes hud { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 25.01%, 100% { transform: scaleX(0); } }
.float-chip {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; font-size: 13px; font-weight: 600;
  background: rgba(16, 16, 32, .82); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #07070f; flex: none; }
.chip-a { left: -8%; top: 16%; }
.chip-b { right: -10%; bottom: 20%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .chip-a { left: 0; top: 6%; } .chip-b { right: 0; bottom: 8%; } }

/* ---------- Sections ---------- */
section { padding: 90px 0; position: relative; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.sec-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin: 12px 0 14px; }
.sec-head p { color: var(--muted); font-size: 18px; }
@media (max-width: 700px) { section { padding: 60px 0; } .sec-head { margin-bottom: 34px; } }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative;
}
.card.narrow { max-width: 520px; margin: 0 auto; }
.card h1 { font-size: 30px; margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step .num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; background: rgba(139,92,246,.15); color: #c4b5fd; border: 1px solid rgba(139,92,246,.35); margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.step .time { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--cyan); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.compare .card h3 { font-size: 20px; margin-bottom: 16px; }
.compare ul { list-style: none; display: grid; gap: 12px; }
.compare li { display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.compare li svg { flex: none; margin-top: 3px; }
.compare .us { border-color: rgba(139,92,246,.55); box-shadow: 0 0 0 1px rgba(139,92,246,.3), 0 20px 60px rgba(139,92,246,.18); }
.compare .us li { color: var(--text); }
.x { color: var(--red); } .ok { color: var(--green); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .compare .us { order: -1; } }

/* Ad set */
.adset { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ad-tile h4 { font-size: 18px; margin-top: 14px; }
.ad-tile p { color: var(--muted); font-size: 14.5px; }
.ad-phone { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.ad-phone b { font-family: var(--display); font-size: clamp(18px, 2vw, 24px); line-height: 1.15; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); position: relative; }
.ad-phone .ad-tag { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); }
.sw-a { background: radial-gradient(circle at 70% 25%, rgba(255,255,255,.25), transparent 40%), linear-gradient(160deg, #0e7490, #0f172a); }
.sw-b { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 40%), linear-gradient(160deg, #7c3aed, #1e1b4b); }
.sw-c { background: radial-gradient(circle at 60% 20%, rgba(255,255,255,.25), transparent 40%), linear-gradient(160deg, #db2777, #3b0764); }
.sw-d { background: var(--grad); align-items: center; justify-content: center; }
.sw-d b { color: #07070f; text-shadow: none; font-size: 54px; }
.sw-d .ad-tag { background: rgba(7,7,15,.8); }
@media (max-width: 860px) { .adset { grid-template-columns: 1fr 1fr; } }

/* Comparison */
.cmp { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.02); }
.cmp > div { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cmp .hd { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--muted); padding-top: 22px; padding-bottom: 18px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; }
.cmp .hd small { font-family: var(--font); font-weight: 500; font-size: 12.5px; color: var(--dim); }
.cmp .rl { color: var(--dim); font-weight: 600; font-size: 14px; }
.cmp .us { background: rgba(139,92,246,.1); color: var(--text); font-weight: 700; position: relative; }
.cmp .us.hd { color: var(--text); background: linear-gradient(180deg, rgba(139,92,246,.28), rgba(139,92,246,.1)); }
.cmp .us.hd .logo { font-size: 17px; }
.cmp .us .ic-ok { color: var(--green); flex: none; }
.cmp .ot { color: var(--muted); }
.cmp .last { border-bottom: 0; }
.cmp-mobile { display: none; }
@media (max-width: 860px) {
  .cmp { display: none; }
  .cmp-mobile { display: grid; gap: 12px; }
  .cmp-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
  .cmp-card .k { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
  .cmp-card .win { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; font-family: var(--display); font-weight: 700; font-size: 21px; }
  .cmp-card .win .by { font-family: var(--font); font-size: 12px; font-weight: 700; color: #07070f; background: var(--grad); padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; }
  .cmp-card .others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cmp-card .others div { font-size: 13px; color: var(--muted); line-height: 1.3; }
  .cmp-card .others span { display: block; font-size: 11.5px; color: var(--dim); margin-bottom: 2px; }
}

/* Ad set viewer (order page) */
.set-group { margin-bottom: 22px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.seg button { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.035); font-weight: 600; font-size: 14.5px; text-align: left; line-height: 1.25; }
.seg button small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.seg button.sel { background: linear-gradient(#15152a, #15152a) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.vchip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--line-2); color: var(--muted); }
.vchip.done { color: #6ee7b7; border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }
.vchip .spinner.sm { width: 12px; height: 12px; }
.test-tip { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(34,211,238,.07); border: 1px solid rgba(34,211,238,.28); color: #cffafe; font-size: 14.5px; margin: 22px 0 4px; }
.test-tip b { color: #fff; }

/* Styles gallery */
.styles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.style-tile { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.style-tile .swatch { height: 170px; position: relative; overflow: hidden; }
.style-tile .meta { padding: 16px 18px; }
.style-tile h4 { font-size: 18px; }
.style-tile p { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .styles-grid { grid-template-columns: 1fr 1fr; } .style-tile .swatch { height: 120px; } }
@media (max-width: 520px) { .styles-grid { grid-template-columns: 1fr; } }

.sw { position: absolute; inset: 0; }
.sw-realistic { background: radial-gradient(circle at 60% 45%, #e2e8f0 0 12%, transparent 13%), radial-gradient(circle at 60% 45%, rgba(255,255,255,.25), transparent 40%), linear-gradient(180deg, #334155, #0f172a); }
.sw-realistic::after { content: ""; position: absolute; left: 22%; bottom: 0; width: 22%; height: 62%; border-radius: 40% 40% 0 0; background: linear-gradient(180deg, #cbd5e1, #64748b); }
.sw-cinematic { background: linear-gradient(180deg, #000 0 14%, transparent 14% 86%, #000 86%), radial-gradient(ellipse at 70% 50%, rgba(232,200,114,.7), transparent 45%), linear-gradient(90deg, #0b0b10, #3f2e12); }
.sw-cinematic::after { content: "TRAILER"; position: absolute; left: 10%; top: 42%; font-family: var(--display); letter-spacing: .5em; color: #f5f5f4; font-size: 14px; font-weight: 700; }
.sw-animated { background: #7c3aed; }
.sw-animated::before { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: #facc15; border: 5px solid #0f172a; left: 14%; top: 22%; animation: bounce 1.6s infinite; }
.sw-animated::after { content: ""; position: absolute; width: 110px; height: 70px; border-radius: 18px; background: #22d3ee; border: 5px solid #0f172a; right: 14%; bottom: 16%; transform: rotate(8deg); }
@keyframes bounce { 50% { transform: translateY(-14px) scale(1.04, .96); } }
.sw-ugc { background: linear-gradient(160deg, #fde68a, #f97316 60%, #be123c); }
.sw-ugc::after { content: "wait for it…"; position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); background: #fff; color: #111827; font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.sw-minimal { background: #f4f4f5; }
.sw-minimal::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; transform: translate(-50%, -58%) rotate(45deg); border-radius: 16px; background: #6366f1; box-shadow: 0 30px 30px -10px rgba(24,24,27,.25); }
.sw-minimal::after { content: "Less, but better."; position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; color: #18181b; font-family: var(--display); font-weight: 600; }
.sw-luxury { background: radial-gradient(ellipse at 30% 20%, rgba(201,169,110,.45), transparent 50%), linear-gradient(135deg, #0a0a0a, #1c1917); }
.sw-luxury::after { content: "LUXE"; position: absolute; inset: 0; display: grid; place-items: center; font-family: Georgia, serif; letter-spacing: .6em; color: #c9a96e; font-size: 22px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 26px 22px; }
.price-card.popular { border-color: transparent; background: linear-gradient(180deg, rgba(20,20,40,.96), rgba(14,14,28,.96)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 24px 70px rgba(139,92,246,.28); }
.badge-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #07070f; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.price-card .len { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--cyan); }
.price-card h3 { font-size: 22px; margin: 6px 0 8px; }
.price-card .amt { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -.03em; margin: 8px 0 2px; }
.price-card .amt small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card .tag { color: var(--muted); font-size: 14px; min-height: 42px; }
.price-card ul { list-style: none; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 14.5px; flex: 1; }
.price-card li { display: flex; gap: 9px; }
.price-card li svg { color: var(--green); flex: none; margin-top: 3px; }
@media (max-width: 1060px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }
.includes { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--muted); font-size: 14.5px; }
.includes span { display: inline-flex; gap: 8px; align-items: center; }
.includes svg { color: var(--cyan); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* Final CTA */
.final { text-align: center; }
.final .card { padding: 60px 24px; background: radial-gradient(600px 300px at 50% 0%, rgba(139,92,246,.3), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.final h2 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 14px; }
.final p { color: var(--muted); font-size: 18px; margin-bottom: 30px; }

.footer { border-top: 1px solid var(--line); padding: 36px 20px 50px; text-align: center; }
.footer .links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 14px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Sticky mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; transform: translateY(140%); transition: transform .3s; }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
}

/* ---------- Builder overlay ---------- */
.builder { position: fixed; inset: 0; z-index: 60; display: none; background: rgba(4, 4, 10, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.builder.open { display: flex; align-items: stretch; justify-content: center; }
.b-panel {
  width: 100%; max-width: 860px; margin: 3vh 16px; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, #11111f, #0b0b16); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  animation: rise .35s cubic-bezier(.2,.9,.3,1);
}
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.b-top { padding: 18px 22px 0; }
.b-row { display: flex; align-items: center; gap: 12px; }
.b-row .logo { font-size: 15px; }
.b-close { margin-left: auto; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); }
.b-close:hover { color: var(--text); background: var(--panel); }
.b-progress { display: flex; gap: 6px; margin: 16px 0 0; }
.b-progress i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; position: relative; }
.b-progress i.on::after { content: ""; position: absolute; inset: 0; background: var(--grad); }
.b-steplabel { font-size: 13px; color: var(--muted); margin-top: 10px; }
.b-body { flex: 1; overflow-y: auto; padding: 22px 22px 28px; -webkit-overflow-scrolling: touch; }
.b-body h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 6px; }
.b-body .sub { color: var(--muted); margin-bottom: 24px; }
.b-foot { display: flex; gap: 12px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); background: rgba(7,7,15,.6); }
.b-foot .spacer { flex: 1; }
.b-foot .price-pill { font-size: 14px; color: var(--muted); }
.b-foot .price-pill b { color: var(--text); font-family: var(--display); font-size: 18px; }
@media (max-width: 640px) {
  .b-panel { margin: 0; border-radius: 0; max-width: none; border: 0; }
  .b-foot { padding: 12px 14px; gap: 10px; }
  .b-foot .price-pill { display: none; }
  .b-foot .spacer { display: none; }
  .b-foot #b-back { flex: none; padding: 14px 18px; }
  .b-foot #b-next { flex: 1; white-space: normal; line-height: 1.2; padding: 12px 16px; }
  .summary .row .k { width: 78px; }
}

.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.field .opt { color: var(--dim); font-weight: 500; font-size: 13px; margin-left: 6px; }
.field .help { color: var(--dim); font-size: 13px; margin-top: 6px; }
.input, textarea.input, select.input {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  transition: border-color .2s, background .2s; font-size: 16px; min-height: 50px;
}
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--violet); background: rgba(139,92,246,.07); box-shadow: 0 0 0 4px rgba(139,92,246,.15); }
.input::placeholder { color: #5f6288; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.counter { float: right; font-weight: 500; font-size: 12px; color: var(--dim); }

.choices { display: grid; gap: 12px; }
.choices.c2 { grid-template-columns: 1fr 1fr; }
.choices.c3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .choices.c3 { grid-template-columns: 1fr 1fr; } .choices.c2.stack { grid-template-columns: 1fr; } }
.choice {
  text-align: left; border: 1px solid var(--line-2); background: rgba(255,255,255,.035); border-radius: 16px; padding: 16px; position: relative;
  transition: border-color .15s, background .15s, transform .15s;
}
.choice:hover { border-color: rgba(255,255,255,.3); }
.choice.sel { border-color: transparent; background: linear-gradient(#15152a, #15152a) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.choice.sel::after { content: "✓"; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #07070f; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.choice b { display: block; font-size: 16px; }
.choice span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.choice .pr { font-family: var(--display); font-size: 22px; font-weight: 700; margin-top: 8px; color: var(--text); }
.choice .pop { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #07070f; background: var(--grad); padding: 3px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.choice.style-choice { padding: 0; overflow: hidden; }
.choice.style-choice .swatch { height: 78px; position: relative; overflow: hidden; }
.choice.style-choice .swatch .sw::before, .choice.style-choice .swatch .sw::after { transform-origin: center; }
.choice.style-choice .txt { padding: 12px 14px; }
.choice.style-choice.sel::after { top: 8px; right: 8px; }
.choice.style-choice .sw-cinematic::after, .choice.style-choice .sw-minimal::after, .choice.style-choice .sw-ugc::after { font-size: 11px; }
.choice.style-choice .sw-animated::before { width: 40px; height: 40px; border-width: 3px; }
.choice.style-choice .sw-animated::after { width: 50px; height: 32px; border-width: 3px; }
.choice.style-choice .sw-minimal::before { width: 30px; height: 30px; border-radius: 8px; }
.choice.style-choice .sw-luxury::after { font-size: 14px; }
.choice.style-choice .sw-realistic::after { height: 70%; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.035); font-size: 15px; font-weight: 500; min-height: 44px; }
.pill:hover { border-color: rgba(255,255,255,.3); }
.pill.sel { background: var(--grad); color: #07070f; border-color: transparent; font-weight: 700; }
.pill.small { padding: 7px 12px; font-size: 13.5px; min-height: 36px; }

.dropzone {
  border: 1.5px dashed rgba(255,255,255,.22); border-radius: 16px; padding: 20px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s;
}
.field > label.dropzone { font-weight: 400; font-size: 15px; margin: 0; }
.field > label.check { display: flex; font-weight: 400; font-size: 14.5px; margin: 0; }
.dropzone:hover, .dropzone.drag { border-color: var(--cyan); background: rgba(34,211,238,.06); }
.dropzone b { color: var(--text); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--line-2); background: #111; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { gap: 12px; }
.thumb-wrap { display: flex; flex-direction: column; gap: 6px; width: 112px; }
.thumb-wrap .thumb { width: 112px; height: 112px; }
select.mini { width: 100%; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line-2); background: #14142a; font-size: 12.5px; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.75); color: #fff; font-size: 14px; line-height: 1; }
.thumb .up { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); }

.color-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.color-row input[type=color] { width: 50px; height: 50px; border-radius: 12px; border: 1px solid var(--line-2); background: none; padding: 4px; cursor: pointer; }

.error-box { display: none; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); color: #fecaca; font-size: 15px; }
.error-box.show { display: block; }

.almost {
  border-radius: 20px; padding: 24px; margin-bottom: 22px; position: relative; overflow: hidden;
  background: radial-gradient(500px 200px at 0% 0%, rgba(34,211,238,.18), transparent 70%), radial-gradient(500px 240px at 100% 100%, rgba(236,72,153,.16), transparent 70%), rgba(255,255,255,.04);
  border: 1px solid rgba(139,92,246,.4);
}
.almost h3 { font-size: 24px; margin-bottom: 8px; }
.almost p { color: #d6d8f7; }
.summary { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 22px; }
.summary .row { display: flex; gap: 14px; padding: 12px 16px; background: rgba(255,255,255,.025); font-size: 14.5px; }
.summary .row .k { width: clamp(72px, 22vw, 110px); flex: none; color: var(--dim); }
.summary .row .v { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.summary .row button { color: var(--cyan); font-size: 13px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: #8b5cf6; flex: none; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--dim); font-size: 13px; margin-top: 12px; }
.fold summary { cursor: pointer; color: var(--cyan); font-weight: 600; font-size: 15px; margin-bottom: 14px; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }

/* ---------- App shells (order / studio / legal) ---------- */
.shell { max-width: 1180px; margin: 0 auto; padding: 36px 20px 80px; }
.shell.center { min-height: 70vh; display: grid; place-items: center; }
.loading { min-height: 50vh; display: grid; place-items: center; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--violet); animation: spin 0.9s linear infinite; display: inline-block; }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 20px; margin: 26px 0 8px; }
.legal p { color: #cfd1ef; margin-bottom: 10px; }
.legal a { color: var(--cyan); }

.order-wrap { max-width: 860px; margin: 0 auto; }
.order-head h1 { font-size: clamp(28px, 4.4vw, 42px); margin: 10px 0; }
.stage-list { list-style: none; display: grid; gap: 4px; margin: 26px 0; }
.stage { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; color: var(--dim); }
.stage .ic { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); display: grid; place-items: center; flex: none; font-size: 14px; font-weight: 800; }
.stage.done { color: var(--text); }
.stage.done .ic { background: var(--green); border-color: var(--green); color: #07070f; }
.stage.now { color: var(--text); background: rgba(139,92,246,.1); }
.stage.now .ic { border-color: var(--violet); border-top-color: transparent; animation: spin 1s linear infinite; }
.bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 10px; transition: width .8s ease; }
.videos { display: grid; gap: 22px; margin: 24px 0; }
.video-card video { width: 100%; border-radius: 16px; background: #000; max-height: 72vh; }
.video-card .vc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.video-card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.video-card.portrait video { max-width: 380px; margin: 0 auto; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; background: rgba(255,255,255,.08); color: var(--muted); white-space: nowrap; }
.status-pill.green { background: rgba(52,211,153,.14); color: #6ee7b7; }
.status-pill.violet { background: rgba(139,92,246,.16); color: #c4b5fd; }
.status-pill.amber { background: rgba(251,191,36,.14); color: #fcd34d; }
.status-pill.red { background: rgba(248,113,113,.14); color: #fca5a5; }
.status-pill.cyan { background: rgba(34,211,238,.14); color: #a5f3fc; }
.note { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* ---------- Studio ---------- */
.studio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat .k { color: var(--muted); font-size: 13px; }
.stat .v { font-family: var(--display); font-size: 30px; font-weight: 700; margin-top: 4px; }
@media (max-width: 800px) { .studio-grid { grid-template-columns: 1fr 1fr; } }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toggle { display: inline-flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; font-weight: 600; font-size: 15px; }
.toggle .sw2 { width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.15); position: relative; transition: background .2s; flex: none; }
.toggle .sw2::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle.on .sw2 { background: var(--green); }
.toggle.on .sw2::after { transform: translateX(18px); }
.setup { display: grid; gap: 8px; }
.setup .item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.setup .item:last-child { border: 0; }
.setup .dotc { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--dim); }
.setup .dotc.ok { background: var(--green); box-shadow: 0 0 10px var(--green); }
.setup .dotc.bad { background: var(--red); }
.setup .dotc.warn { background: var(--amber); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; color: var(--dim); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: rgba(255,255,255,.03); }
.table-wrap { overflow-x: auto; }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.drawer { position: fixed; inset: 0; z-index: 70; background: rgba(4,4,10,.7); display: none; justify-content: flex-end; }
.drawer.open { display: flex; }
.drawer .panel { width: min(760px, 100%); height: 100%; overflow-y: auto; background: #0d0d19; border-left: 1px solid var(--line-2); padding: 24px; animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; font-size: 14.5px; }
.kv .k { color: var(--dim); }
.kv .v { overflow-wrap: anywhere; white-space: pre-wrap; }
.prompt-box { width: 100%; min-height: 220px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.5; }
.events { list-style: none; font-size: 13.5px; display: grid; gap: 6px; }
.events li { display: flex; gap: 10px; color: var(--muted); }
.events time { color: var(--dim); flex: none; width: 128px; }
.media-row { display: flex; gap: 10px; flex-wrap: wrap; }
.media-row img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-2); }
.hsep { height: 1px; background: var(--line); margin: 22px 0; }
.toast { opacity: 0; visibility: hidden; position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120px); background: #1b1b33; border: 1px solid var(--line-2); padding: 14px 20px; border-radius: 14px; z-index: 90; transition: transform .3s; box-shadow: var(--shadow); font-weight: 600; max-width: calc(100vw - 32px); }
.toast.show { transform: translateX(-50%); opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .scene:nth-child(1) { opacity: 1; }
}
