@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --surface: #161619;
  --surface-2: #1e1e22;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f4;
  --muted: #a1a1aa;
  --dim: #71717a;
  --lime: #d4ff3a;
  --lime-2: #e6ff8a;
  --lime-ink: #0a0a0b;
  --danger: #ff7a7a;
  --radius: 20px;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.02; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }

/* ---------- promo bar + nav ---------- */
.promo { background: var(--lime); color: var(--lime-ink); font-size: 13px; font-weight: 600; text-align: center; padding: 8px 12px; }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 11, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--lime); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 20px; height: 20px; }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 860px) { .nav-links { display: flex; } }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.15s, background 0.15s; }
.pill:hover { background: var(--lime-2); transform: translateY(-1px); }
.pill.ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 36px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -120px -20% auto; height: 620px; pointer-events: none; background: radial-gradient(45% 55% at 70% 30%, rgba(212, 255, 58, 0.13), transparent 70%), radial-gradient(35% 45% at 15% 10%, rgba(120, 90, 255, 0.10), transparent 70%); }
.hero-grid { position: relative; display: grid; gap: 32px; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-top: 24px; } }

.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

.hero h1 { font-size: clamp(38px, 9.5vw, 84px); margin: 18px 0 18px; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 26px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.stat { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; line-height: 1.35; color: var(--muted); }
.stat b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }

/* ---------- creation panel ---------- */
.panel { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); border-radius: 24px; padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 255, 58, 0.04); scroll-margin-top: 90px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel-title { font-weight: 700; font-size: 15px; white-space: nowrap; }
.model { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 5px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }

.drop { position: relative; display: grid; place-items: center; min-height: 250px; border-radius: 16px; background: var(--bg-2); border: 1.5px dashed var(--line-2); cursor: pointer; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; text-align: center; }
.drop:hover, .drop.drag { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(212, 255, 58, 0.08); }
.drop input { display: none; }
.drop-empty { padding: 24px; color: var(--muted); font-size: 14px; }
.drop-icon { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--lime); }
.drop-empty strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.drop img { width: 100%; height: 320px; object-fit: contain; background: #000; }
.drop .replace { position: absolute; top: 10px; right: 10px; }

.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.opt { padding: 9px 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.opt b { display: block; color: var(--text); font-size: 13px; font-weight: 600; }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--lime); border-color: var(--lime); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2.5px solid var(--lime-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--text); }

.generate { width: 100%; height: 58px; border: 0; border-radius: 16px; background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.15s; box-shadow: 0 10px 30px rgba(212, 255, 58, 0.18); }
.generate:hover { background: var(--lime-2); transform: translateY(-1px); box-shadow: 0 14px 40px rgba(212, 255, 58, 0.28); }
.generate:disabled { opacity: 0.6; cursor: progress; transform: none; }
.generate .price { padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.12); font-size: 14px; }

.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--dim); text-align: center; }
.error { color: var(--danger); font-size: 14px; margin: 10px 0 0; min-height: 1em; }
.notice { padding: 10px 12px; border-radius: 12px; margin-bottom: 12px; font-size: 14px; background: rgba(255, 122, 122, 0.08); border: 1px solid rgba(255, 122, 122, 0.25); color: #ffc2c2; }

/* ---------- sections ---------- */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 5vw, 44px); margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 420px; font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.tile { margin: 0; position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.75)); pointer-events: none; }
.tile .tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: rgba(10, 10, 11, 0.7); backdrop-filter: blur(6px); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tile .tag.after { background: var(--lime); color: var(--lime-ink); }
.tile .cap { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; font-family: var(--display); font-size: 12px; font-weight: 700; text-transform: uppercase; line-height: 1.25; }
.tile .cap small { display: block; font-family: var(--body); font-weight: 500; text-transform: none; color: var(--muted); font-size: 12px; }
.gallery-note { margin-top: 12px; font-size: 12px; color: var(--dim); }
.tile.pick { padding: 0; cursor: pointer; color: inherit; font: inherit; text-align: left; transition: border-color 0.2s, box-shadow 0.2s; }
.tile.pick:hover { border-color: var(--line-2); }
.tile.pick.selected { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(212, 255, 58, 0.25); }
.drop.small { min-height: 120px; margin-top: 10px; }
.drop.small img { height: 180px; }

.steps { display: grid; gap: 12px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.step { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step .num { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--lime); line-height: 1; }
.step h3 { margin: 16px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.perks { display: grid; gap: 12px; }
@media (min-width: 860px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.perk .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(212, 255, 58, 0.1); color: var(--lime); }
.perk b { display: block; margin-bottom: 2px; }
.perk span { color: var(--muted); font-size: 14px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 0 18px; }
details[open] { border-color: var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lime); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

.cta-band { margin: 8px 0 64px; padding: 44px 24px; border-radius: 28px; text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(212, 255, 58, 0.18), transparent 70%), var(--surface); border: 1px solid var(--line-2); }
.cta-band h2 { font-size: clamp(26px, 5.5vw, 52px); margin: 0 0 22px; }
.cta-band .pill { height: 52px; padding: 0 28px; font-size: 16px; }

footer.site { padding: 32px 0 110px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { text-decoration: none; color: var(--muted); }
footer.site a:hover { color: var(--text); }
@media (min-width: 860px) { footer.site { padding-bottom: 40px; } }

/* sticky mobile CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; }
.sticky-cta.show { display: block; }
.sticky-cta .generate { height: 54px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); }
@media (min-width: 980px) { .sticky-cta.show { display: none; } }

/* ---------- order page ---------- */
.order { max-width: 720px; margin: 0 auto; padding: 40px 0 80px; }
.order .panel { padding: 24px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; }
.progress div { font-size: 12px; color: var(--dim); }
.progress div::before { content: ""; display: block; height: 4px; border-radius: 4px; margin-bottom: 8px; background: var(--surface-2); }
.progress .done { color: var(--text); }
.progress .done::before { background: var(--lime); }
.progress .active { color: var(--text); }
.progress .active::before { background: linear-gradient(90deg, var(--lime), var(--surface-2)); background-size: 200% 100%; animation: flow 1.4s linear infinite; }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.state { text-align: center; padding: 26px 6px 10px; }
.state h1 { font-size: clamp(24px, 6vw, 38px); margin: 0 0 10px; }
.state p { color: var(--muted); margin: 0 auto 6px; max-width: 460px; }
.orb { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; background: conic-gradient(from 0deg, var(--lime), rgba(212, 255, 58, 0) 70%); animation: spin 1.1s linear infinite; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)); }
@keyframes spin { to { transform: rotate(360deg); } }
.result video { width: 100%; max-height: 70vh; border-radius: 16px; background: #000; margin: 6px 0 16px; }
.actions { display: grid; gap: 10px; }
@media (min-width: 560px) { .actions { grid-template-columns: 1fr 1fr; } }
.actions .pill { height: 52px; font-size: 15px; }

/* ---------- legal ---------- */
.legal { max-width: 780px; padding: 40px 0 60px; }
.legal h1 { font-size: clamp(28px, 6vw, 44px); margin: 0 0 6px; }
.legal h2 { font-size: 18px; margin: 34px 0 8px; font-family: var(--display); text-transform: uppercase; }
.legal p, .legal li { color: #d4d4d8; }
.legal a { color: var(--lime); }

/* cookie consent */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; max-width: 560px; margin: 0 auto; padding: 16px; display: grid; gap: 12px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); font-size: 14px; color: var(--muted); }
.consent p { margin: 0; }
.consent a { color: var(--text); }
.consent div { display: flex; gap: 10px; justify-content: flex-end; }
.consent button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-weight: 600; cursor: pointer; }
.consent button[data-v="yes"] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
