/* ───────────────────────────────────────────────────────────
   Adsbot Lens — Pricing page styles
   Extends the Lens design language (lens/lens.css + landing/landing.css).
   ─────────────────────────────────────────────────────────── */

/* ── Pricing hero ── */
.price-hero { padding: 72px 0 0; position: relative; overflow: hidden; }
.price-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 46% at 50% -10%, rgba(70,163,170,.10), transparent 70%),
    linear-gradient(180deg, var(--teal-soft) 0%, var(--bg) 52%);
}
.price-hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(66% 50% at 50% 0%, #000 30%, transparent 76%);
          mask-image: radial-gradient(66% 50% at 50% 0%, #000 30%, transparent 76%);
}
.price-hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.price-hero-copy .h1 { margin: 20px 0 0; }
.price-hero-copy .lede { margin: 18px auto 0; max-width: 580px; }

/* ── Billing toggle ── */
.billing-toggle { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; }
.bt-switch {
  position: relative; display: inline-flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-pill); padding: 4px; box-shadow: var(--shadow-xs);
}
.bt-switch button {
  position: relative; z-index: 1; border: none; background: transparent; cursor: pointer;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--fg-muted);
  padding: 8px 18px; border-radius: var(--r-pill); transition: color .18s;
}
.bt-switch button.active { color: var(--fg-strong); }
.bt-glider {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px;
  border-radius: var(--r-pill); background: var(--bg-subtle);
  box-shadow: var(--shadow-xs); transition: transform .24s cubic-bezier(.4,0,.2,1), width .24s;
}
.bt-save {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--teal-700);
}
.bt-save svg { display: block; }

/* ── Main pricing card ── */
.price-card-wrap { max-width: 560px; margin: 56px auto 0; }
.price-card {
  position: relative; background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), 0 40px 80px -48px rgba(28,26,26,.22);
  overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
}
.price-card-head { padding: 34px 38px 28px; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pc-plan { font-size: 15px; font-weight: 700; color: var(--fg-strong); letter-spacing: -0.01em; }
.pc-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-soft); border: 1px solid var(--teal-200);
  border-radius: var(--r-pill); padding: 5px 11px;
}
.pc-price { display: flex; align-items: flex-end; gap: 10px; margin-top: 22px; }
.pc-amount {
  font-size: 58px; font-weight: 800; color: var(--fg-strong);
  letter-spacing: -0.035em; line-height: .9; font-variant-numeric: tabular-nums;
}
.pc-amount .cur { font-size: 30px; font-weight: 700; vertical-align: top; margin-right: 1px; }
.pc-per { font-size: 14px; color: var(--fg-subtle); font-weight: 500; padding-bottom: 6px; }
.pc-per b { color: var(--fg); font-weight: 700; }
.pc-billed { margin-top: 12px; font-size: 13px; color: var(--fg-subtle); min-height: 18px; }
.pc-credits {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--bg-muted); border: 1px solid var(--hairline);
}
.pc-credits svg { color: var(--teal-600); flex-shrink: 0; }
.pc-credits .ct { font-size: 13.5px; color: var(--fg); }
.pc-credits .ct b { color: var(--fg-strong); font-weight: 700; }

.price-card-body { padding: 6px 38px 34px; }
.pc-feat-label {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--fg-faint); padding: 16px 0 14px; border-top: 1px solid var(--hairline);
}
.pc-feats { display: grid; gap: 13px; margin: 0 0 28px; }
.pc-feat { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--fg); }
.pc-feat .ck {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--teal-soft); display: grid; place-items: center; color: var(--teal-600);
}
.pc-feat.hl { font-weight: 600; color: var(--fg-strong); }
.pc-feat b { font-weight: 700; }
.pc-actions { display: grid; gap: 10px; }
.pc-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }
.pc-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-actions-row .btn { padding: 12px 16px; font-size: 14px; }
.pc-trial-cap { text-align: center; font-size: 12.5px; color: var(--fg-subtle); }
.pc-trial-details { margin: 0; }
.pc-trial-group {
  border: 1px solid var(--teal-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pc-trial-cta.btn {
  width: 100%; justify-content: center;
  border: none; border-radius: 0;
  background: var(--teal-soft); color: var(--teal-700);
  border-bottom: 1px solid var(--teal-200);
}
.pc-trial-cta.btn:hover { background: var(--teal-100); color: var(--teal-800); }
.pc-trial-group .faq-item { border: none; border-radius: 0; box-shadow: none; }
.pc-trial-group .faq-item[open] { box-shadow: none; }
.pc-trial-details > summary { cursor: default; pointer-events: none; justify-content: flex-start; }
.pc-trial-details summary { padding: 15px 20px; font-size: 14.5px; }
.pc-trial-body { padding: 0 20px 18px; }
.pc-trial-body p {
  margin: 0 0 10px; font-size: 13.5px; color: var(--fg-muted); line-height: 1.5;
  padding-left: 16px; position: relative;
}
.pc-trial-body p::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--teal-400);
}
.pc-trial-note {
  text-align: center; font-size: 12.5px; color: var(--fg-subtle);
}
.pc-trust {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin-top: 22px; font-size: 12.5px; color: var(--fg-subtle);
}
.pc-trust .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.pc-trust svg { color: var(--teal-500); vertical-align: -2px; }

/* ── Credit top-up section ── */
.topup { padding: 88px 0 84px; }
.topup-head { max-width: 620px; margin: 0 auto; text-align: center; }
.topup-head .h2 { margin: 12px 0 0; }
.topup-head .lede { margin: 14px auto 0; max-width: 540px; }
.topup-explain {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--bg-muted); border: 1px solid var(--border);
  font-size: 13px; color: var(--fg-muted);
}
.topup-explain svg { color: var(--teal-600); flex-shrink: 0; }
.topup-explain b { color: var(--fg-strong); font-weight: 700; }

.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; max-width: 920px; margin-inline: auto; }
@media (max-width: 760px){ .bundle-grid { grid-template-columns: 1fr; max-width: 440px; } }
.bundle {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-xs);
  transition: box-shadow .18s, transform .18s, border-color .18s; text-align: left;
}
.bundle:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal-200); }
.bundle.best { border-color: var(--teal-300); box-shadow: var(--shadow-md); }
.bundle-best-tag {
  position: absolute; top: -11px; left: 26px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: var(--teal-500); border-radius: var(--r-pill); padding: 4px 11px;
  box-shadow: var(--shadow-teal);
}
.bundle-credits {
  font-size: 30px; font-weight: 800; color: var(--fg-strong);
  letter-spacing: -0.025em; line-height: 1; font-variant-numeric: tabular-nums;
}
.bundle-credits span { font-size: 14px; font-weight: 600; color: var(--fg-subtle); margin-left: 5px; letter-spacing: 0; }
.bundle-price { margin-top: 14px; font-size: 22px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.02em; }
.bundle-rate { margin-top: 4px; font-size: 12.5px; color: var(--fg-faint); }
.bundle-rate b { color: var(--teal-700); font-weight: 700; }
.bundle .btn { width: 100%; justify-content: center; margin-top: 22px; }

/* ── FAQ accordion ── */
.faq { padding: 84px 0; background: var(--bg-muted); border-block: 1px solid var(--hairline); }
.faq-head { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.faq-head .h2 { margin: 12px 0 0; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.faq-item[open] { border-color: var(--teal-200); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 600; color: var(--fg-strong);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-ic {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-subtle); display: grid; place-items: center; color: var(--fg-muted);
  transition: transform .24s ease, background .18s, color .18s;
}
.faq-item[open] .faq-q-ic { transform: rotate(45deg); background: var(--teal-soft); color: var(--teal-600); }
.faq-a { padding: 0 22px 22px; font-size: 14.5px; color: var(--fg-muted); line-height: 1.6; max-width: 600px; }
.faq-a a { color: var(--teal-600); font-weight: 600; }

/* ── Bottom CTA banner ── */
.price-cta-band { padding: 84px 0; }
.price-cta {
  background: var(--navy-950); color: #fff; border-radius: var(--r-xl);
  padding: 60px 56px; text-align: center; position: relative; overflow: hidden;
}
.price-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(58% 92% at 50% 118%, rgba(70,163,170,.32), transparent 60%);
}
.price-cta > * { position: relative; }
.price-cta .h2 { color: #fff; }
.price-cta p { color: rgba(255,255,255,.66); font-size: 17px; margin: 16px auto 0; max-width: 480px; }
.price-cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.price-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.price-cta .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.price-cta-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); }
