:root { --bg: #020617; --card: #0a1636; --text: #eef4ff; --muted: #94a8d6; --accent: #1fb8ff; --accent2: #5fd4ff; --blue: #1e6bff; --line: #1c3470; --field: #050d26; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at top, #0b2a7a 0%, #061238 35%, var(--bg) 75%); color: var(--text); font: 16px/1.5 system-ui, sans-serif; min-height: 100vh; }
header { padding: 16px; font-size: 22px; max-width: 1040px; margin: 0 auto; }
header a { color: inherit; text-decoration: none; }
main { max-width: 560px; margin: 0 auto; padding: 0 16px 40px; }
.hero { text-align: center; }
.hero h1 { font-size: 30px; line-height: 1.2; margin: 8px 0; }
.hero p { color: var(--muted); }
.card { border: 1px solid var(--line); background: linear-gradient(180deg, #0d1c45, var(--card)); border-radius: 18px; padding: 20px; box-shadow: 0 10px 40px #0006; }
.step { display: block; font-weight: 700; margin: 18px 0 8px; }
.drop { display: flex; align-items: center; justify-content: center; border: 2px dashed var(--accent2); border-radius: 14px; min-height: 160px; cursor: pointer; overflow: hidden; color: var(--muted); }
.drop img { max-height: 260px; max-width: 100%; }
input#theme { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--text); font-size: 16px; }
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.chips button { padding: 10px 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--text); cursor: pointer; font-weight: 700; }
.chips button small { display: block; font-weight: 400; color: var(--muted); }
.chips button.on { background: linear-gradient(135deg, var(--blue), var(--accent)); color: #fff; border-color: var(--accent); }
.chips button.on small { color: #e6f6ff; }
.consent { display: flex; gap: 8px; margin: 18px 0; font-size: 13px; color: var(--muted); }
button#go, .btn { display: block; width: 100%; padding: 15px; border: 0; border-radius: 12px; background: linear-gradient(90deg, var(--blue), var(--accent)); color: #fff; font-size: 18px; box-shadow: 0 6px 24px #1e6bff55; font-weight: 800; cursor: pointer; text-align: center; text-decoration: none; margin-top: 12px; }
button#go:disabled { opacity: .5; }
.err { color: #ff8a8a; }
.small { font-size: 13px; color: var(--muted); }
.bar { height: 10px; background: var(--field); border-radius: 5px; overflow: hidden; margin: 16px 0; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s; }
video { width: 100%; border-radius: 12px; margin-top: 12px; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 20px; }
@media (max-width: 420px) { .chips { grid-template-columns: repeat(3, 1fr); } }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img { height: 92px; }
@media (max-width: 760px) { .logo img { height: 62px; } }
.logo span { font: 800 20px/1 Outfit, system-ui, sans-serif; letter-spacing: 3px; color: var(--accent); text-shadow: 0 0 12px #1fb8ff99; }
h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; font-weight: 800; }
.hero h1 { color: #fff; } .hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
header { display: flex; justify-content: space-between; align-items: center; }
.account { font-size: 14px; display: flex; gap: 12px; align-items: center; }
.account a, .small a, .err a { color: var(--accent2); }
.credits { background: linear-gradient(90deg, var(--blue), var(--accent)); color: #fff; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
textarea, input#hero, .modal input { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--text); font: inherit; resize: vertical; }
.modal input { margin: 6px 0; }
.mini { font-size: 13px; color: var(--muted); }
.btn.ghost { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.scenes { padding-left: 0; list-style: none; }
.scenes li { background: var(--field); border-radius: 12px; padding: 10px; margin: 10px 0; }
.scenes textarea { margin-top: 6px; background: #030a1f; }
.pack { margin-top: 20px; text-align: center; }
.pack .big { font-size: 20px; }
.pack table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.pack th, .pack td { padding: 6px; border-bottom: 1px solid var(--line); }
.pack th { color: var(--muted); font-weight: 400; }
.modal { position: fixed; inset: 0; background: #000a; display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 10; }
.modal[hidden] { display: none; }
.modal .card { width: 100%; max-width: 400px; }
.center { text-align: center; }
.spinner { width: 46px; height: 46px; border: 5px solid var(--line); border-top-color: var(--accent); border-radius: 50%; margin: 10px auto; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; padding: 0; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--muted); }
.steps li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.steps li.ok { color: var(--text); }
.steps li.ok i { background: #3ecf8e; border-color: #3ecf8e; }
.steps li.run { color: var(--accent); font-weight: 700; }
.steps li.run i { border-color: var(--accent); border-top-color: transparent; animation: spin 1s linear infinite; }

/* landing */
main.wide { max-width: 1040px; }
.hero { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: center; text-align: left; padding: 10px 0 30px; }
.hero h1 { font-size: 42px; line-height: 1.1; }
.hero .cta { display: inline-block; width: auto; padding: 14px 28px; }
.phone { border-radius: 26px; overflow: hidden; border: 3px solid #2a4fa8; box-shadow: 0 0 40px #1e6bff66; aspect-ratio: 9/16; background: #000; }
.phone video { width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; display: block; }
.section { margin: 50px 0; text-align: center; }
.section h2 { font-size: 30px; margin-bottom: 6px; }
.section > p { color: var(--muted); max-width: 640px; margin: 0 auto 24px; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; max-width: 620px; margin: 0 auto; }
.ba figure { margin: 0; } .ba img { width: 100%; border-radius: 16px; border: 2px solid var(--line); aspect-ratio: 9/14; object-fit: cover; }
.ba figcaption { margin-top: 6px; font-weight: 700; } .ba .arrow { font-size: 34px; color: var(--accent); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 .card { text-align: left; } .steps3 b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--accent)); margin-bottom: 8px; }
.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 20px; justify-content: center; }
.samples p { margin: 8px 0 0; font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.features .card h3 { margin: 4px 0; font-size: 18px; } .features .card p { margin: 0; color: var(--muted); font-size: 14px; }
.mascot { width: 160px; display: block; margin: 0 auto -10px; filter: drop-shadow(0 0 20px #1e6bff88); }
#create { scroll-margin-top: 20px; }
#create .card, .pack { max-width: 560px; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; } .hero .phone { max-width: 260px; margin: 0 auto; }
  .hero h1 { font-size: 32px; } .steps3, .features { grid-template-columns: 1fr; }
  .samples { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--field); padding: 5px; border-radius: 12px; }
.tabs button { padding: 11px 6px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.tabs button.on { background: linear-gradient(135deg, var(--blue), var(--accent)); color: #fff; }
.result-img { width: 100%; border-radius: 12px; margin-top: 12px; }
[hidden] { display: none !important; }
header { gap: 20px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; opacity: .85; }
.nav a:hover { color: var(--accent); opacity: 1; }
.account { gap: 10px; }
.account a.btn-login, .account a.btn-signup { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.account a.btn-login { color: var(--text); border: 1.5px solid var(--accent); background: #0b1d4d88; }
.account a.btn-signup { color: #fff; background: linear-gradient(90deg, var(--blue), var(--accent)); box-shadow: 0 4px 18px #1e6bff66; }
.account a:hover { transform: translateY(-1px); box-shadow: 0 6px 22px #1fb8ff66; }
.faq { max-width: 720px; margin-left: auto; margin-right: auto; text-align: left; }
.faq h2 { text-align: center; }
.faq details { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
section[id] { scroll-margin-top: 20px; }
html { scroll-behavior: smooth; }
@media (max-width: 760px) { .nav { display: none; } .account a.btn-login, .account a.btn-signup { padding: 7px 12px; font-size: 13px; } }
/* pages + dashboards */
.nav a.on { color: var(--accent); opacity: 1; }
a.credits { text-decoration: none; }
footer a { color: var(--muted); }
.cta-band { padding: 10px 0 30px; }
body.app header { max-width: none; border-bottom: 1px solid var(--line); background: #020617cc; position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
body.app .logo img { height: 62px; }
.layout { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 95px); }
.layout aside { border-right: 1px solid var(--line); background: #040d2a; }
.side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; }
.side a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; }
.side a span { width: 22px; text-align: center; }
.side a:hover { background: #0b1d4d; color: var(--text); }
.side a.on { background: linear-gradient(90deg, #1e6bff33, #1fb8ff22); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.panel { padding: 24px 32px 60px; max-width: 1100px; width: 100%; }
.panel h1 { font-size: 28px; margin: 4px 0 18px; }
.panel .card { margin-bottom: 16px; }
.panel #f { max-width: 620px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stats .card { margin: 0; padding: 16px; } .stats small { color: var(--muted); display: block; } .stats b { font-size: 24px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 8px; border-bottom: 1px solid #13254f; vertical-align: top; }
.table a { color: var(--accent2); }
.table tr.click { cursor: pointer; } .table tr.click:hover td { background: #0b1d4d; }
.tag { font-size: 11px; background: var(--blue); color: #fff; padding: 2px 7px; border-radius: 10px; }
.st-done { color: #3ecf8e; } .st-failed { color: #ff8a8a; } .st-working, .st-paid { color: var(--accent); }
.search { width: 100%; max-width: 360px; padding: 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--text); margin-bottom: 14px; font: inherit; }
.row { display: flex; gap: 10px; } .row input { flex: 1; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--text); font: inherit; } .row .btn { width: auto; margin: 0; padding: 12px 22px; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 8px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.fields input { padding: 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--text); font: inherit; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.item { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); padding: 10px; }
.item img, .item video, .item .ph { width: 100%; aspect-ratio: 9/14; object-fit: cover; border-radius: 10px; background: var(--field); margin: 0 0 6px; }
.item .ph { display: grid; place-items: center; font-size: 34px; }
.item small { color: var(--muted); }
@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
  .layout aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .side { position: static; flex-direction: row; overflow-x: auto; padding: 8px; }
  .side a { white-space: nowrap; padding: 9px 12px; }
  .panel { padding: 18px 16px 50px; }
  body.app .logo img { height: 48px; }
}
.banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-around; gap: 16px; flex-wrap: wrap;
  padding: 50px 20px 26px; margin: 4px 0 18px; border-radius: 18px; border: 1px solid #2f6bff;
  background: radial-gradient(circle at 20% 0%, #1fb8ff55, transparent 55%), linear-gradient(135deg, #0b2a7a, #1e6bff 60%, #1fb8ff);
  box-shadow: 0 10px 40px #1e6bff55, inset 0 1px 0 #ffffff40; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, #ffffff22 50%, transparent 60%); pointer-events: none; }
.ribbon { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: #fff; color: #0b2a7a; font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; }
.banner-credits, .banner-price { display: flex; flex-direction: column; align-items: center; color: #fff; }
.banner-credits b { font: 800 54px/1 Outfit, sans-serif; text-shadow: 0 4px 20px #0006; }
.banner-credits span { font-weight: 700; letter-spacing: 3px; text-transform: uppercase; opacity: .9; }
.banner-price b { font: 800 44px/1 Outfit, sans-serif; background: #ffffff; color: #0b2a7a; padding: 8px 22px; border-radius: 14px; box-shadow: 0 6px 20px #0004; }
.banner-price span { margin-top: 8px; font-size: 13px; opacity: .9; }
.sample { position: relative; }
.flag { position: absolute; top: 10px; left: -4px; z-index: 2; background: linear-gradient(135deg, #ff2d55, #e0002a); color: #fff; font: 700 10px/1 Outfit, sans-serif; letter-spacing: .4px; text-transform: uppercase; padding: 4px 7px; border-radius: 4px 8px 8px 0; box-shadow: 0 4px 14px #ff2d5588; }
.flag::after { content: ""; position: absolute; left: 0; bottom: -4px; border-top: 4px solid #8a0019; border-left: 4px solid transparent; }
