/* naditor.com: warm dark studio + saffron accent (tokens from frontend/src/index.css) */
@font-face {
  font-family: 'Unbounded';
  src: url('/static/unbounded.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --bg: #0e0c09;
  --bg-2: #13110d;
  --panel: #18150f;
  --panel-2: #201c15;
  --line: #2c271e;
  --line-2: #3a3428;
  --text: #f3eee4;
  --muted: #aba290;
  --dim: #80776a;
  --accent: #FFC53D;
  --accent-2: #FFA41B;
  --accent-grad: linear-gradient(90deg, #FFC53D, #FFA41B);
  --accent-soft: #FFC53D22;
  --accent-line: #FFC53D55;
  --accent-glow: #FFB02E3d;
  --accent-tint: #FFC53D14;
  --on-accent: #1B1405;
  --ok: #3dd68c;
  --warn: #ff8a4c;
  --err: #ff5a64;
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Unbounded', var(--font);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: #FFC53D55; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.hidden { display: none !important; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 6px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(34px, 6vw, 68px); }
h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: 18px; font-weight: 700; }
.page h1 { font-size: clamp(28px, 4.4vw, 44px); }
.grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 18px; max-width: 680px; margin: -4px 0 32px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(14, 12, 9, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang-btn { background: transparent; border: 0; color: var(--muted); font: 600 13px var(--font); padding: 4px 11px; border-radius: 999px; cursor: pointer; }
.lang-btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  font: 600 15px var(--font); cursor: pointer; white-space: nowrap; transition: filter .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: var(--accent-grad); border-color: transparent; color: var(--on-accent); }
.btn.primary:hover:not(:disabled) { filter: brightness(1.06); box-shadow: 0 6px 28px var(--accent-glow); }
.btn.ghost { background: transparent; }
.btn.big { height: 54px; padding: 0 30px; font-size: 17px; }
.btn.wide { width: 100%; }
.btn:disabled { cursor: not-allowed; background: var(--panel-2); color: var(--muted); border: 1px dashed var(--line-2); box-shadow: none; }
.price-tag { padding-left: 10px; margin-left: 2px; border-left: 1px solid rgba(27, 20, 5, .3); }
.buy-form { margin: 0; display: inline-block; }
.price-card .buy-form { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px -10% auto auto; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(closest-side, #FFB02E33, transparent 70%); pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lead { font-size: 19px; color: #d9d1c2; max-width: 600px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { color: var(--dim); font-size: 14px; margin-top: 18px; }

.hero-art { position: relative; display: flex; justify-content: center; }
.phone {
  width: 270px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 10px; background: #050403;
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 6px #1a1610, 0 0 90px #FFB02E22;
  transform: rotate(3deg);
}
.phone-screen {
  position: relative; height: 100%; border-radius: 29px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 35%, #4a3a22 0%, #2a2116 45%, #15110b 100%);
}
.ph-title {
  position: absolute; top: 46px; left: 14px; right: 14px; text-align: center; font: 800 15px/1.2 var(--display);
  color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.ph-face { position: absolute; left: 50%; bottom: 0; width: 190px; height: 290px; transform: translateX(-50%); }
.ph-head { position: absolute; left: 50%; top: 40px; width: 86px; height: 104px; transform: translateX(-50%); border-radius: 50% 50% 46% 46%; background: linear-gradient(160deg, #c89a72, #8a6246); }
.ph-body { position: absolute; left: 50%; bottom: -30px; width: 190px; height: 160px; transform: translateX(-50%); border-radius: 90px 90px 0 0; background: linear-gradient(160deg, #3c3e52, #23242f); }
.ph-phrase {
  position: absolute; top: 132px; left: 50%; transform: translateX(-50%) rotate(-3deg); white-space: nowrap;
  background: var(--accent-grad); color: var(--on-accent); font: 800 13px var(--font); padding: 6px 12px; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}
.ph-card {
  position: absolute; left: 12px; top: 176px; display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; width: 150px;
  background: rgba(14, 12, 9, .86); border: 1px solid var(--accent-line); border-radius: 12px; font-size: 11px; color: #e9e2d4;
}
.ph-card b { color: var(--accent); font-size: 12px; }
.ph-subs { position: absolute; bottom: 74px; left: 0; right: 0; text-align: center; font: 800 18px var(--font); color: #fff; text-shadow: 0 2px 8px #000; }
.ph-subs .hl { color: var(--accent); }
.ph-bar { position: absolute; left: 16px; right: 16px; bottom: 24px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.ph-bar span { display: block; width: 62%; height: 100%; border-radius: 4px; background: var(--accent-grad); }
.chip {
  position: absolute; padding: 8px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.chip-a { top: 12%; left: 2%; color: var(--accent); }
.chip-b { top: 48%; right: 0; }
.chip-c { bottom: 10%; left: 8%; color: #3fcfbf; }

/* ---------- bands ---------- */
.band { padding: 80px 0; }
.band.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.page { padding: 64px 0 90px; min-height: 60vh; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step p { color: var(--muted); margin: 0; }
.num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 16px;
  background: var(--accent-grad); color: var(--on-accent); font: 800 18px var(--display);
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card h3 { font-size: 16px; }
.card .ico {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  background: var(--panel-2); border: 1px solid var(--line-2); font-weight: 800; color: var(--text);
}
.card.ai { background: linear-gradient(180deg, var(--accent-tint), var(--panel) 60%); border-color: var(--accent-line); }
.card.ai .ico { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel.ok { border-color: #3dd68c44; background: linear-gradient(180deg, #3dd68c10, var(--panel) 60%); }
.panel .small { color: var(--dim); margin: 14px 0 0; }
ul.ticks, ul.dots { list-style: none; padding: 0; margin: 0; }
ul.ticks li, ul.dots li { position: relative; padding-left: 30px; margin: 10px 0; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
ul.dots li::before { content: "✦"; position: absolute; left: 2px; top: 0; color: var(--accent); }
ol.list { padding-left: 22px; margin: 0; }
ol.list li { margin: 8px 0; color: #d9d1c2; }

.reqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 18px; }
.req { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.req p { margin: 0; color: var(--muted); }
.req.center, .small.center { color: var(--dim); }

/* ---------- pricing ---------- */
.price-card {
  max-width: 560px; margin: 0 auto; padding: 34px; border-radius: 24px; background: var(--panel);
  border: 1px solid var(--accent-line); box-shadow: 0 0 0 1px #00000040, 0 30px 90px #FFB02E1a;
}
.price-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.price-head img { border-radius: 14px; }
.price-head h2 { margin: 0; font-size: 26px; }
.price-head p { margin: 2px 0 0; }
.price-amount { margin-left: auto; font: 800 40px var(--display); background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card ul { margin: 8px 0 26px; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 24px; color: var(--accent); transition: transform .15s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- success / download ---------- */
.state { margin-bottom: 30px; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin 1s linear infinite; margin-bottom: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.keybox { background: var(--panel); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 22px; margin: 26px 0 36px; }
.keybox label { display: block; font-weight: 600; margin-bottom: 10px; }
.keyrow { display: flex; gap: 10px; }
.key {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: 600 17px ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .03em;
}
.key:focus { outline: none; border-color: var(--accent); }
.keyrow .btn { height: 50px; }
.warn { color: var(--warn); margin: 14px 0 0; font-size: 15px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 14px; }
.dl {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; color: var(--text);
  background: var(--panel); border: 1px solid var(--line-2); transition: border-color .15s, transform .15s;
}
.dl::before { content: "⬇"; color: var(--accent); font-weight: 800; font-size: 18px; }
.dl b { font-size: 17px; }
.dl span { color: var(--muted); font-size: 14px; }
.dl:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.dl.off { opacity: .45; pointer-events: none; }
.dl.off::before { content: "…"; color: var(--dim); }
.page h2 { font-size: 24px; margin-top: 40px; }
.page .two { margin-top: 18px; }

.legal h2 { font-size: 20px; margin-top: 30px; }
.legal p { color: #d9d1c2; }
.draft { background: #ff8a4c1a; border: 1px solid #ff8a4c66; color: var(--warn); border-radius: 12px; padding: 12px 16px; font-size: 14px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 50px; background: var(--bg-2); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 30px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; font: 700 16px var(--display); }
.foot-brand img { border-radius: 7px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-end; }
.foot-nav a { color: var(--muted); font-size: 15px; }
.foot-note, .foot-copy { margin: 0; color: var(--dim); font-size: 14px; }
.foot-copy { text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { margin-top: 10px; }
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 720px) {
  .steps, .two, .reqs, .dl-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
  .hero { padding: 40px 0 30px; }
  .lead { font-size: 17px; }
  .keyrow { flex-direction: column; }
  .keyrow .key { flex: none; width: 100%; font-size: 15px; }
  .price-card { padding: 24px; }
  .price-amount { font-size: 30px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-nav { justify-content: flex-start; }
  .foot-copy { text-align: left; }
  .phone { width: 230px; }
  .chip-b { right: 2%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation-duration: 3s; }
  .card, .dl, .btn { transition: none; }
}
