/* Unkillable QR — design system */
:root {
  --bg: #0b0b0d;
  --bg-raised: #131316;
  --bg-input: #1a1a1f;
  --border: #26262c;
  --border-strong: #3a3a44;
  --text: #f2f2f0;
  --text-dim: #a3a3ad;
  --text-faint: #6b6b76;
  --accent: #ff5c1c;
  --accent-hot: #ff7a45;
  --accent-soft: rgba(255, 92, 28, 0.12);
  --ok: #3ddc84;
  --warn: #ffcc4d;
  --danger: #ff4d5e;
  --radius: 14px;
  --radius-sm: 9px;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent-hot); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); font-size: 17px; }
.logo:hover { text-decoration: none; }
.logo svg { flex: 0 0 auto; }
.logo .qr { color: var(--accent); }
nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a { color: var(--text-dim); font-size: 14.5px; font-weight: 500; }
nav.main a:hover { color: var(--text); text-decoration: none; }
.pro-pill {
  font-size: 12px; font-weight: 700; font-family: var(--mono);
  background: var(--accent-soft); color: var(--accent-hot);
  border: 1px solid rgba(255, 92, 28, 0.35);
  padding: 3px 10px; border-radius: 99px; letter-spacing: 0.04em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; border-radius: var(--radius-sm);
  padding: 12px 22px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: var(--sans); line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #16090280; color: #1a0d04; }
.btn-primary:hover { background: var(--accent-hot); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-faint); text-decoration: none; }
.btn-small { padding: 8px 14px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 72px 0 30px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 130%;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(255, 92, 28, 0.13), transparent 70%);
  pointer-events: none;
}
.hero .kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-hot); font-weight: 600;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 68px); line-height: 1.03; letter-spacing: -0.035em;
  font-weight: 800; margin: 18px auto 20px; max-width: 800px;
}
.hero h1 .dead { color: var(--text-faint); text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 4px; }
.hero .sub { font-size: 19px; color: var(--text-dim); max-width: 640px; margin: 0 auto 14px; }
.hero .sub strong { color: var(--text); }
.trustline { font-size: 13.5px; color: var(--text-faint); font-family: var(--mono); margin-top: 18px; }
.trustline b { color: var(--ok); font-weight: 600; }

/* Studio */
.studio { padding: 34px 0 80px; }
.studio-card {
  background: var(--bg-raised); border: 1px solid var(--border); border-radius: 20px;
  display: grid; grid-template-columns: 1fr 380px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.controls { padding: 28px; border-right: 1px solid var(--border); min-width: 0; }
.preview-pane {
  padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}
.qr-stage {
  width: 300px; height: 300px; border-radius: var(--radius);
  background: #fff; display: flex; align-items: center; justify-content: center;
  padding: 14px; position: relative;
}
.qr-stage canvas, .qr-stage svg { max-width: 100%; max-height: 100%; }
.scan-note { font-size: 12.5px; color: var(--text-faint); font-family: var(--mono); text-align: center; }
.scan-note.bad { color: var(--warn); }
.dl-row { display: flex; gap: 10px; width: 100%; }
.dl-row .btn { flex: 1; }

/* Tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.tab {
  font-size: 13.5px; font-weight: 600; color: var(--text-dim); background: transparent;
  border: 1px solid var(--border); border-radius: 99px; padding: 7px 15px; cursor: pointer;
  font-family: var(--sans);
}
.tab:hover { color: var(--text); border-color: var(--border-strong); }
.tab.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Fields */
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 7px; }
.field input[type="text"], .field input[type="url"], .field input[type="email"], .field input[type="tel"],
.field input[type="password"], .field textarea, .field select {
  width: 100%; background: var(--bg-input); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 15px; font-family: var(--sans); outline: none;
}
.field textarea { resize: vertical; min-height: 74px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 12px; color: var(--text-faint); margin-top: 5px; }

.style-section { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 20px; }
.style-section h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-faint); font-weight: 700; margin-bottom: 14px; font-family: var(--mono); }
.swatch-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.color-field { display: flex; align-items: center; gap: 8px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 12px 6px 6px; }
.color-field input[type="color"] { width: 34px; height: 34px; border: none; background: none; cursor: pointer; padding: 0; border-radius: 7px; }
.color-field span { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.pill-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-opt {
  font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 8px; cursor: pointer;
  background: var(--bg-input); color: var(--text-dim); border: 1px solid var(--border); font-family: var(--sans);
}
.pill-opt.active { border-color: var(--accent); color: var(--accent-hot); background: var(--accent-soft); }
.pill-opt:hover { border-color: var(--border-strong); }

.lock {
  display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800;
  font-family: var(--mono); color: var(--accent-hot); background: var(--accent-soft);
  border-radius: 5px; padding: 2px 7px; letter-spacing: 0.06em; vertical-align: 2px;
  border: 1px solid rgba(255,92,28,0.3); cursor: pointer;
}
body.pro .lock { display: none; }
body.pro .pro-only-hidden { display: none; }

/* Sections */
section.band { padding: 84px 0; border-top: 1px solid var(--border); }
.band h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; font-weight: 800; line-height: 1.12; margin-bottom: 14px; }
.band .lede { color: var(--text-dim); font-size: 17.5px; max-width: 640px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.info-card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.info-card .ic { font-size: 22px; margin-bottom: 12px; display: block; }
.info-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.info-card p { font-size: 14.5px; color: var(--text-dim); }

/* Compare table */
.compare { margin-top: 42px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--bg-raised); }
.compare th, .compare td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.compare th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.compare td:first-child { color: var(--text-dim); }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--danger); font-weight: 700; }
.compare .col-us { background: rgba(255, 92, 28, 0.05); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 42px; max-width: 780px; }
.price-card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 70px -24px rgba(255, 92, 28, 0.35); }
.price-card .plan { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; }
.price-card.featured .plan { color: var(--accent-hot); }
.price-card .amount { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; margin: 10px 0 2px; }
.price-card .amount small { font-size: 15px; color: var(--text-faint); font-weight: 600; letter-spacing: 0; }
.price-card .forever { font-size: 13.5px; color: var(--text-dim); margin-bottom: 22px; }
.price-card ul { list-style: none; margin: 0 0 26px; flex: 1; }
.price-card li { font-size: 14.5px; color: var(--text-dim); padding: 7px 0 7px 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }
.price-card li.dim { color: var(--text-faint); }
.price-card li.dim::before { content: "—"; color: var(--text-faint); }
.guarantee { font-size: 13px; color: var(--text-faint); text-align: center; margin-top: 10px; }

/* FAQ */
.faq { max-width: 760px; margin-top: 42px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-raised); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 17px 20px; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-faint); font-size: 20px; font-weight: 400; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 20px 18px; color: var(--text-dim); font-size: 14.5px; }
.faq .a a { font-weight: 600; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 44px 0 60px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
footer.site .fcol { font-size: 13.5px; color: var(--text-faint); max-width: 420px; }
footer.site .fcol .logo { margin-bottom: 10px; font-size: 15px; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site nav a { color: var(--text-dim); font-size: 13.5px; }

/* Toast + modal */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-raised); color: var(--text); border: 1px solid var(--border-strong);
  border-radius: 99px; padding: 11px 22px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 100; white-space: nowrap;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.66); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 90; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal { background: var(--bg-raised); border: 1px solid var(--border-strong); border-radius: 18px; padding: 30px; max-width: 470px; width: 100%; }
.modal h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.modal p { font-size: 14.5px; color: var(--text-dim); margin-bottom: 16px; }
.modal .close-x { float: right; background: none; border: none; color: var(--text-faint); font-size: 22px; cursor: pointer; line-height: 1; }

/* Unlock page */
.unlock-page { max-width: 560px; margin: 70px auto; padding: 0 20px; text-align: center; }
.unlock-page .big { font-size: 54px; margin-bottom: 6px; }
.unlock-page h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.unlock-page p { color: var(--text-dim); margin-bottom: 18px; }
.license-box {
  font-family: var(--mono); font-size: 15px; background: var(--bg-input); border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm); padding: 16px; margin: 20px 0; word-break: break-all; color: var(--ok);
}
.legal-page { max-width: 720px; margin: 60px auto 90px; padding: 0 20px; }
.legal-page h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.legal-page .updated { color: var(--text-faint); font-size: 13.5px; font-family: var(--mono); margin-bottom: 34px; }
.legal-page h2 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; letter-spacing: -0.01em; }
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 15px; }
.legal-page ul { padding-left: 22px; margin: 10px 0; }

@media (max-width: 900px) {
  .studio-card { grid-template-columns: 1fr; }
  .controls { border-right: none; border-bottom: 1px solid var(--border); }
  .cols-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  nav.main a.hide-m { display: none; }
  .hero { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .toast { transition: none; }
}
