/* BatchGPT — landing page · theme: Obsidian Precision (Premium Light)
   Matches the extension: white surfaces, #131313 primary, #0071E3 accents. */

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --surface-3: #ececf0;

  --line: #e8e8ed;
  --line-2: #d2d2d7;

  --text: #131313;
  --text-2: #6e6e73;
  --text-3: #aeaeb2;

  --accent: #0071e3;
  --accent-grad: linear-gradient(135deg, #3a8dff 0%, #0a63e8 100%);
  --accent-wash: rgba(0, 113, 227, 0.08);
  --accent-ring: rgba(0, 113, 227, 0.35);

  --primary: #131313;
  --primary-2: #2c2c2e;

  --ok: #1f8a3d;
  --ok-wash: rgba(31, 138, 61, 0.1);
  --danger: #d70015;
  --wa: #25d366;

  --r: 14px;
  --r-sm: 10px;
  --shadow-1: 0 1px 2px rgba(19, 19, 19, 0.05);
  --shadow-2: 0 24px 60px -24px rgba(19, 19, 19, 0.28);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }

/* Content must NEVER be gated on JS — see the note in site.js. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 750; }
h3 { font-size: 17.5px; font-weight: 700; }
.center { text-align: center; }
.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 84px 22px; }
.wrap.narrow { max-width: 840px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.sub { color: var(--text-2); margin: 12px auto 0; max-width: 580px; }
code {
  background: var(--surface-3);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 13.5px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  color: var(--text);
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 650; font-size: 15px; padding: 12px 22px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  cursor: pointer; transition: all 0.15s var(--ease); white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: var(--text-2); }
.btn.primary {
  background: var(--accent-grad); border-color: transparent; color: #fff;
  box-shadow: 0 8px 22px -8px rgba(10, 99, 232, 0.6);
}
.btn.primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 28px -8px rgba(10, 99, 232, 0.7);
  border-color: transparent;
}
.btn.ghost { background: transparent; color: var(--text-2); border-color: var(--line-2); }
.btn.ghost:hover { color: var(--text); border-color: var(--primary); background: var(--surface); }
.btn.lg { padding: 14px 28px; font-size: 16px; }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.full { width: 100%; margin-top: 20px; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 13px 22px; max-width: var(--max); margin: 0 auto;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav.solid {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  max-width: none; padding-inline: max(22px, calc((100vw - var(--max)) / 2));
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.nav-brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; color: var(--text-2); font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* ── hero ── */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 54px 22px 90px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -14% -30% auto -30%; height: 560px; z-index: -1;
  background: radial-gradient(50% 55% at 50% 38%, rgba(0, 113, 227, 0.09), transparent 70%);
  pointer-events: none;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line-2);
  color: var(--text-2); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
  box-shadow: var(--shadow-1);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero h1 { font-size: clamp(38px, 6vw, 58px); font-weight: 800; }
.lede { color: var(--text-2); font-size: 17.5px; margin: 20px 0 28px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-note { color: var(--text-3); font-size: 13px; margin: 14px 0 0; max-width: 460px; }
.hero-facts {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-2); font-size: 14px;
}

/* entrance polish — CSS only, `backwards` so nothing can stay hidden */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 0.55s var(--ease) backwards; }
.hero-copy > *:nth-child(2) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.25s; }
.hero-shot { animation: rise 0.7s var(--ease) 0.12s backwards; }

/* ── product mockup (matches the real extension) ── */
.hero-shot { display: flex; justify-content: center; }
.panel {
  width: 100%; max-width: 340px; background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-2);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.panel-top {
  display: flex; align-items: center; gap: 9px; padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.panel-logo {
  width: 24px; height: 24px; border-radius: 7px; background: var(--primary);
  display: grid; place-items: center; font-size: 12px; color: #fff;
}
.panel-name { font-weight: 800; font-size: 14px; color: var(--text); letter-spacing: -0.01em; }
.panel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-left: auto; box-shadow: 0 0 0 3px var(--ok-wash); }
.panel-body { padding: 14px; }
.p-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-2);
  margin: 14px 0 8px; display: flex; align-items: center; justify-content: space-between;
}
.p-label:first-child { margin-top: 0; }
.p-chip {
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2);
  padding: 2px 9px; border-radius: 999px; font-size: 10px; letter-spacing: 0;
}
.p-editor {
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
  padding: 9px; display: grid; grid-template-columns: 16px 1fr; gap: 3px 8px;
  font-size: 10.5px; line-height: 1.5;
}
.p-editor .ln { color: var(--text-3); text-align: right; }
.p-editor .tx { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-ratios { display: flex; gap: 4px; }
.p-ratios .r {
  flex: 1; border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px;
  padding: 6px 2px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 700; color: var(--text-2);
}
.p-ratios .r.on { border-color: var(--primary); color: #fff; background: var(--primary); }
.p-ratios .b { border: 1.3px solid currentColor; border-radius: 2px; display: block; }
.b1 { width: 12px; height: 12px; } .b2 { width: 8px; height: 14px; } .b3 { width: 15px; height: 8px; }
.b4 { width: 10px; height: 13px; } .b5 { width: 14px; height: 10px; }
.q {
  display: flex; align-items: center; gap: 8px; padding: 8px 9px; margin-bottom: 5px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-size: 10.5px;
}
.q.live { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.15); }
.qi { width: 17px; height: 17px; border-radius: 5px; background: var(--surface-3); color: var(--text-2);
      display: grid; place-items: center; font-size: 9px; font-weight: 700; flex-shrink: 0; }
.qi.on { background: var(--accent); color: #fff; }
.qt { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.qs { color: var(--text-3); font-weight: 650; flex-shrink: 0; }
.qs.ok { color: var(--ok); }
.qs.run { color: var(--accent); }
.p-bar { display: flex; align-items: center; gap: 9px; margin: 12px 0 10px; font-size: 10.5px; color: var(--text-2); }
.p-bar .track { flex: 1; height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.p-bar .fill { display: block; height: 100%; width: 17%; border-radius: 999px; background: var(--accent-grad); }
.p-btn {
  background: var(--accent-grad); color: #fff; text-align: center; font-weight: 750; font-size: 13px;
  padding: 11px; border-radius: 9px; box-shadow: 0 6px 18px -8px rgba(10, 99, 232, 0.7);
}

/* ── compare ── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 38px; text-align: left; }
.cmp { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--bg); }
.cmp.good {
  border-color: rgba(0, 113, 227, 0.35);
  background: linear-gradient(180deg, var(--accent-wash), transparent 65%), var(--surface);
  box-shadow: var(--shadow-1);
}
.cmp-head { font-weight: 750; font-size: 16px; margin-bottom: 14px; }
.cmp ul { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.cmp li { margin-bottom: 9px; }
.cmp.good li::marker { color: var(--accent); }
.cmp b { color: var(--text); }

/* ── steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow-1);
}
.step-n {
  width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 15px;
}
.step p { color: var(--text-2); margin: 9px 0 0; font-size: 15px; }

/* ── features ── */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; transition: all 0.15s var(--ease);
}
.feat:hover { border-color: var(--line-2); background: var(--surface); box-shadow: var(--shadow-1); }
.fi { font-size: 24px; margin-bottom: 12px; }
.feat p { color: var(--text-2); font-size: 14.5px; margin: 8px 0 0; }

/* ── setup guide ── */
.setup { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 22px; margin-top: 44px; align-items: start; }
.setup-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.setup-steps li {
  display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-1);
}
.s-n {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.setup-steps p { color: var(--text-2); font-size: 14.5px; margin: 7px 0 0; }
.setup-steps .btn { margin-top: 14px; }
.setup-side {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px; position: sticky; top: 84px;
  box-shadow: var(--shadow-1);
}
.setup-side ul { list-style: none; margin: 14px 0 4px; padding: 0; }
.setup-side li {
  color: var(--text-2); font-size: 14px; padding: 9px 0;
  border-top: 1px solid var(--line); line-height: 1.5;
}
.setup-side li:first-child { border-top: 0; padding-top: 0; }
.setup-side b, .setup-side i { color: var(--text); }

/* ── pricing ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 24px; position: relative; box-shadow: var(--shadow-1);
}
.plan.best {
  border-color: rgba(0, 113, 227, 0.45);
  background: linear-gradient(180deg, var(--accent-wash), transparent 55%), var(--surface);
  box-shadow: 0 24px 54px -26px rgba(10, 99, 232, 0.45);
}
.tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent-grad); color: #fff; font-size: 11.5px; font-weight: 750;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--text-2); }
.plan-price { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 4px; }
.plan-price .usd { font-size: 16px; font-weight: 600; color: var(--text-3); }
.plan-per { color: var(--text-3); font-size: 13.5px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan li { color: var(--text-2); font-size: 14.5px; padding: 7px 0; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: 0; }
.note { color: var(--text-2); font-size: 14px; margin-top: 30px; }
.note b { color: var(--text); }

/* ── faq ── */
.faq { margin-top: 38px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  margin-bottom: 10px; overflow: hidden; transition: all 0.15s var(--ease);
}
.faq summary {
  cursor: pointer; padding: 17px 20px; font-weight: 650; font-size: 15.5px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: 20px; font-weight: 400;
  flex-shrink: 0; transition: transform 0.2s var(--ease);
}
.faq details[open] { border-color: var(--line-2); background: var(--surface); box-shadow: var(--shadow-1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-2); padding: 0 20px 18px; margin: 0; font-size: 15px; }

/* ── final ── */
.final { padding-top: 0; }
.final-card {
  border: 1px solid rgba(0, 113, 227, 0.35); border-radius: 20px; padding: 52px 30px;
  text-align: center;
  background: radial-gradient(70% 130% at 50% 0%, var(--accent-wash), transparent 70%), var(--surface);
  box-shadow: var(--shadow-1);
}
.final-card p { color: var(--text-2); margin: 14px 0 28px; }

/* ── footer ── */
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding-block: 40px 24px; }
.foot-note { color: var(--text-2); font-size: 14px; margin: 10px 0 0; }
.foot-links { display: flex; gap: 22px; color: var(--text-2); font-size: 14.5px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }
.disclaimer {
  max-width: var(--max); margin: 0 auto; padding: 0 22px 34px;
  color: var(--text-3); font-size: 12.5px; line-height: 1.6;
}

/* ── floating whatsapp ── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.15s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }

/* ── mobile sticky download bar ── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; padding: 11px 10px; font-size: 14px; }

/* ── responsive ── */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-bottom: 70px; }
  .hero-shot { order: -1; }
  .panel { transform: none; max-width: 320px; }
  .steps, .feats, .plans { grid-template-columns: 1fr 1fr; }
  .setup { grid-template-columns: 1fr; }
  .setup-side { position: static; }
  .nav-links { display: none; }
}
@media (max-width: 660px) {
  .wrap { padding: 60px 18px; }
  .compare, .steps, .feats, .plans { grid-template-columns: 1fr; }
  .plan.best { order: -1; }
  .hero-cta .btn { flex: 1; }
  .foot-in { flex-direction: column; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
  .wa-float { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
