/* AdMind design system - premium B2B, dark, attention-blue. */
:root {
  --bg: #070b16;
  --bg-2: #0c1122;
  --panel: #0e1424;
  --panel-2: #131b30;
  --line: #1f2942;
  --txt: #eaf0ff;
  --txt-dim: #9aa7c7;
  --txt-mut: #8a97bb;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --cyan: #22d3ee;
  --hot: #ff5470;
  --warm: #ffb020;
  --good: #34d399;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--txt);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(34,211,238,.10), transparent 55%),
    var(--bg);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--cyan); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 750; }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--txt-dim); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; color: var(--cyan); }
.muted { color: var(--txt-mut); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(12px);
  background: rgba(7,11,22,.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 19px; color: var(--txt); }
.brand .dot { width: 22px; height: 22px; border-radius: 7px;
  background: conic-gradient(from 210deg, var(--blue), var(--cyan), var(--hot), var(--blue)); box-shadow: 0 0 20px rgba(59,130,246,.5); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--txt-dim); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--txt); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 12px;
  color: #05122b; background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: 0 10px 30px -8px rgba(59,130,246,.6); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(59,130,246,.75); color: #05122b; }
.btn.ghost { background: transparent; color: var(--txt); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--blue); color: var(--txt); }
.btn.lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* surfaces */
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--txt-dim); font-size: 13px; font-weight: 600; }

/* hero */
.hero { padding: 76px 0 40px; }
.hero h1 span { background: linear-gradient(120deg, var(--blue-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.trust { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--txt-mut); font-size: 13px; font-weight: 600; }

/* grid */
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.c3, .grid.c2 { grid-template-columns: 1fr; } .nav-links a:not(.btn) { display: none; } }
.card { padding: 22px; }
.card h3 { font-size: 19px; }
.card p { color: var(--txt-dim); margin: 0; }

/* pricing */
.price-tag { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.price-tag small { font-size: 16px; font-weight: 600; color: var(--txt-mut); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; }
.plan li { padding: 8px 0 8px 26px; position: relative; color: var(--txt-dim); border-top: 1px solid rgba(255,255,255,.04); }
.plan li:before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.plan.pro { border-color: rgba(59,130,246,.5); box-shadow: 0 0 0 1px rgba(59,130,246,.25), var(--shadow); }
.badge-pop { position: absolute; top: -12px; right: 18px; }

/* section */
.section { padding: 56px 0; }
.section .head { max-width: 680px; margin-bottom: 30px; }

/* footer */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0; color: var(--txt-mut); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---- scan app ---- */
.app { padding: 34px 22px 60px; }
.uploader { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 30px; text-align: center;
  transition: border-color .15s ease, background .15s ease; cursor: pointer; background: rgba(255,255,255,.01); }
.uploader.drag { border-color: var(--blue); background: rgba(59,130,246,.06); }
.uploader input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.uploader { position: relative; display: block; }
.uploader:focus-within { border-color: var(--blue-2); outline: 3px solid var(--blue-2); outline-offset: 3px; }
textarea.copy-in { width: 100%; min-height: 130px; resize: vertical; background: var(--bg); color: var(--txt);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font: inherit; font-size: 15px; }
textarea.copy-in:focus, input.txt:focus { outline: 3px solid var(--blue-2); outline-offset: 2px; border-color: var(--blue-2); }
input.txt { width: 100%; background: var(--bg); color: var(--txt); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; font: inherit; font-size: 15px; }
.field-label { font-size: 13px; font-weight: 700; color: var(--txt-dim); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .08em; }

/* report */
.report { display: none; }
.report.show { display: block; }
.report-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .report-grid { grid-template-columns: 1fr; } }

/* attention canvas */
.creative-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.creative-wrap img { display: block; width: 100%; height: auto; }
.creative-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hotmark { position: absolute; border: 2px solid var(--cyan); border-radius: 8px; box-shadow: 0 0 0 2px rgba(0,0,0,.35);
  font-size: 11px; font-weight: 800; color: #06121f; }
.hotmark span { position: absolute; top: -10px; left: -2px; background: var(--cyan); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }

/* score ring */
.score-ring { display: flex; align-items: center; gap: 18px; }
.ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  background: conic-gradient(var(--blue-2) calc(var(--p)*1%), rgba(255,255,255,.06) 0); }
.ring b { width: 76px; height: 76px; border-radius: 50%; background: var(--panel); display: grid; place-items: center;
  font-size: 26px; font-weight: 800; }
.verdict { font-weight: 800; letter-spacing: .04em; font-size: 14px; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.v-WEAK { background: rgba(255,84,112,.15); color: var(--hot); }
.v-OK { background: rgba(255,176,32,.15); color: var(--warm); }
.v-STRONG { background: rgba(52,211,153,.15); color: var(--good); }
.v-ELITE { background: rgba(34,211,238,.15); color: var(--cyan); }

/* meters */
.meter { margin: 10px 0; }
.meter .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--txt-dim); margin-bottom: 5px; }
.meter .bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.meter .bar i { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.stat { display: flex; align-items: baseline; gap: 8px; }
.stat b { font-size: 30px; font-weight: 800; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.kv .k { color: var(--txt-mut); }
.fix { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; background: rgba(255,255,255,.01); }
.fix b { color: var(--blue-2); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(59,130,246,.12); color: var(--blue-2); font-size: 12px; font-weight: 700; margin: 3px 4px 0 0; }
.variant { border-left: 3px solid var(--blue); padding: 8px 0 8px 14px; margin: 12px 0; }
.variant .lbl { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }

.err { border: 1px solid rgba(255,84,112,.4); background: rgba(255,84,112,.08); color: #ffd0d8;
  padding: 12px 16px; border-radius: var(--radius-sm); margin: 14px 0; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%;
  display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.watermark { font-size: 12px; color: var(--txt-mut); text-align: right; margin-top: 10px; }

/* accessibility + legal (2026-09-11) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
.form-note { font-size: 13px; color: var(--txt-dim); margin: 12px 0 0; max-width: 720px; }
.form-note a { text-decoration: underline; }
.field-label label, label.field-label { display: block; }
.footer .legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer .legal-links a { color: var(--txt-dim); text-decoration: underline; }
.footer .legal-links a:hover { color: var(--txt); }
.footer .fine { width: 100%; font-size: 13px; }
.legal-page { padding: 40px 0 20px; max-width: 780px; }
.legal-page h1 { font-size: clamp(30px, 5vw, 44px); }
.legal-page h2 { font-size: 22px; margin-top: 30px; }
.legal-page p, .legal-page li { color: var(--txt-dim); }
.legal-page a { text-decoration: underline; }
.legal-page address { font-style: normal; line-height: 1.7; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); color: var(--txt); }
.soon { font-size: 14px; color: var(--txt-dim); margin: 0; }
.nav-links a.btn, .nav-links a.btn:hover { color: #05122b; }
