/* QuickManager website. One stylesheet for every page, so the three pages
   cannot drift apart the way three inline <style> blocks did. */

:root {
  --bg: #0a0f1d;
  --bg-2: #0d1426;
  --panel: #121a2f;
  --panel-2: #172039;
  --line: #233052;
  --line-soft: #1b2644;
  --text: #eef2fa;
  --soft: #c3cce0;
  --muted: #8d9abb;
  --gold: #f5b31a;
  --gold-soft: rgba(245, 179, 26, 0.12);
  --blue: #5b93ff;
  --blue-soft: rgba(91, 147, 255, 0.12);
  --green: #34d399;
  --red: #f87171;
  --radius: 14px;
  --max: 1180px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(245, 179, 26, 0.3); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
}
.lede { font-size: 1.15rem; color: var(--soft); line-height: 1.65; }
.muted { color: var(--muted); }
.accent { color: var(--gold); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 29, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--blue); font-weight: 800; }
.ver-pill {
  font-size: 0.72rem; font-weight: 700; color: var(--gold);
  background: var(--gold-soft); border: 1px solid rgba(245, 179, 26, 0.35);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.ver-pill:hover { text-decoration: none; background: rgba(245, 179, 26, 0.2); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--soft); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav .btn { margin-left: 6px; }
@media (max-width: 880px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem; padding: 12px 20px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: #10131c; }
.btn-gold:hover { background: #ffc233; }
.btn-line { background: transparent; color: var(--text); border-color: var(--line); }
.btn-line:hover { border-color: var(--muted); }
.btn-sm { padding: 8px 14px; font-size: 0.86rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 380px at 20% 20%, rgba(91, 147, 255, 0.16), transparent 70%),
    radial-gradient(520px 340px at 85% 10%, rgba(245, 179, 26, 0.10), transparent 70%);
}
.hero .wrap { position: relative; }
.hero-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-copy .lede { margin: 22px auto 0; max-width: 640px; }
.new-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--soft); font-size: 0.88rem; font-weight: 500;
}
.new-pill:hover { text-decoration: none; border-color: var(--muted); }
.new-pill span { background: var(--gold); color: #10131c; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; }
.store-row { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.store-row img { height: 52px; width: auto; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin-top: 22px; color: var(--muted); font-size: 0.88rem; }
.trust span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }
.hero-shot { margin: 56px auto 0; max-width: 1120px; }

/* ---------- screenshot frames ---------- */
.frame {
  border-radius: var(--radius); overflow: hidden; background: #0b101d;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.frame .bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #0f1628; border-bottom: 1px solid var(--line-soft); }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #2b3656; display: block; }
.frame .bar em { margin-left: 12px; font-style: normal; font-size: 0.75rem; color: var(--muted); }
.frame img { width: 100%; height: auto; }
.glow { position: relative; }
.glow::after {
  content: ""; position: absolute; inset: 8% 6% -6% 6%; z-index: -1; filter: blur(60px);
  background: linear-gradient(90deg, rgba(91, 147, 255, 0.35), rgba(245, 179, 26, 0.22));
  opacity: 0.55;
}

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section.tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.head { max-width: 820px; margin-bottom: 52px; }
.head .lede { max-width: 700px; }
.head.center .lede { margin-left: auto; margin-right: auto; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { margin-top: 12px; }
.head .lede { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split.flip { grid-template-columns: 1.15fr 1fr; }
.split.flip > :first-child { order: 2; }
.split h2 { margin-top: 12px; }
.split .lede { margin-top: 18px; }
@media (max-width: 960px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
}

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(52, 211, 153, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2334d399' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- autosub modes ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.mode { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.mode .tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.mode p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.tag-grey { background: rgba(141, 154, 187, 0.14); color: var(--soft); }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-red { background: rgba(248, 113, 113, 0.14); color: var(--red); }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }

.callout {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  color: var(--soft); font-size: 0.95rem;
}
.callout strong { color: var(--text); }

/* ---------- stacked shots ---------- */
.stack { position: relative; padding-bottom: 12%; }
.stack .back { width: 88%; }
.stack .front { position: absolute; width: 56%; right: 0; bottom: 0; }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color 0.2s, transform 0.2s; }
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; border-color: #34446f; transform: translateY(-2px); }
.card .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; background: var(--blue-soft); color: var(--blue); }
.card .ico svg { width: 22px; height: 22px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.more { text-align: center; margin-top: 40px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.plan.pro { border-color: rgba(245, 179, 26, 0.55); background: linear-gradient(180deg, rgba(245, 179, 26, 0.06), var(--panel) 40%); }
.plan .name { font-weight: 700; color: var(--soft); }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 4px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .ticks { margin-top: 20px; }

/* ---------- setup ---------- */
.setup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .setup { grid-template-columns: 1fr; } }
.setup .card h3 { margin-bottom: 4px; }
.setup ol { margin: 16px 0 0; padding-left: 20px; color: var(--soft); display: grid; gap: 10px; font-size: 0.95rem; }
.setup ol li::marker { color: var(--gold); font-weight: 700; }
.setup code { font-size: 0.85em; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--gold); }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 300; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 22px; }

/* ---------- privacy ---------- */
.privacy { max-width: 780px; margin: 0 auto; color: var(--soft); }
.privacy h3 { margin: 34px 0 10px; font-size: 1.1rem; }
.privacy p, .privacy li { color: var(--muted); }
.privacy p + p { margin-top: 12px; }
.privacy ul { padding-left: 20px; display: grid; gap: 14px; }
.privacy strong { color: var(--text); }
.privacy .updated { font-size: 0.85rem; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line-soft); padding: 48px 0 40px; color: var(--muted); font-size: 0.9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.foot .links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.foot .links a { color: var(--soft); }
.foot .fine { width: 100%; font-size: 0.82rem; color: var(--muted); padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- features page ---------- */
.page-head { padding: 72px 0 36px; }
.page-head .lede { margin-top: 16px; max-width: 680px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { font-size: 0.88rem; color: var(--soft); border: 1px solid var(--line); background: var(--panel); padding: 7px 14px; border-radius: 999px; }
.jump a:hover { text-decoration: none; border-color: var(--muted); color: var(--text); }
.group { padding: 56px 0; border-top: 1px solid var(--line-soft); }
.group-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.group-top .where { font-size: 0.85rem; color: var(--muted); }
.group > .wrap > .lede { margin-top: 10px; max-width: 700px; font-size: 1.05rem; }
.group .frame { margin-top: 30px; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; margin-top: 30px; }
@media (max-width: 760px) { .feats { grid-template-columns: 1fr; } }
.feat { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.feat h3 { font-size: 1rem; }
.feat p { color: var(--muted); margin-top: 6px; font-size: 0.94rem; }
.new-tag { display: inline-block; vertical-align: 2px; margin-left: 8px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; color: #10131c; background: var(--gold); padding: 2px 7px; border-radius: 999px; }

/* ---------- changelog page ---------- */
.notepad { max-width: 860px; margin: 0 auto 90px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0c1222; box-shadow: var(--shadow); }
.notepad .bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #10182c; border-bottom: 1px solid var(--line-soft); }
.notepad .bar i { width: 11px; height: 11px; border-radius: 50%; background: #2b3656; display: block; }
.notepad .bar em { margin-left: 12px; font-style: normal; font-size: 0.8rem; color: var(--muted); font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; }
.notepad .body { padding: 34px 40px 40px; font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 0.9rem; line-height: 1.75; color: var(--soft); }
.notepad .release + .release { margin-top: 42px; padding-top: 34px; border-top: 1px dashed var(--line); }
.notepad .release h2 { font-family: inherit; font-size: 1.05rem; letter-spacing: 0; color: var(--gold); }
.notepad .release h2 .latest { margin-left: 10px; font-size: 0.7rem; color: #10131c; background: var(--gold); border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
.notepad .release pre { margin: 14px 0 0; white-space: pre-wrap; word-wrap: break-word; font: inherit; }
.notepad .release pre b { color: var(--text); font-weight: 600; }
@media (max-width: 620px) { .notepad .body { padding: 24px 20px; font-size: 0.82rem; } }

/* ---------- small screens ---------- */
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 44px; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .modes { margin-top: 40px; }
  .split[style] { margin-top: 64px !important; }
  .stack { padding-bottom: 18%; }
}
