/* BB VPN — shared look for the public pages.
   One header, one footer, one set of buttons and cards, so the site reads as one
   product. Page-specific styles stay in each page. No framework, and no web
   fonts beyond the two the site already used. */

:root {
  --gold: #FFC907;
  --navy: #0A0E2A;
  --navy-2: #131836;
  --navy-3: #1B2148;
  --pink: #FF3A8A;
  --cyan: #00E0FF;
  --red: #E61E50;
  --green: #37D67A;
  --text: #E8ECFF;
  --muted: #9AA3C7;
  --border: rgba(154, 163, 199, 0.18);
  --radius: 18px;
  --wrap: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* The browser hides [hidden] with its own stylesheet, which ANY author rule with a
   display value beats: a hidden .bb-btn (inline-flex) or a row inside a flex list
   stayed on screen. Pages toggle `hidden` meaning gone, so make it mean gone. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  color: var(--text);
  font-family: 'Baloo 2', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 58, 138, 0.12), transparent 42%),
    radial-gradient(circle at 85% 100%, rgba(0, 224, 255, 0.09), transparent 46%),
    var(--navy);
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.bb-skip { position: absolute; left: -9999px; }
.bb-skip:focus { left: 16px; top: 12px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 10; }

/* ── header ─────────────────────────────────────────────────────────────── */
.bb-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 14, 42, 0.85);
}
.bb-header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  flex-wrap: wrap;
}
.bb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font-family: 'Lilita One', system-ui, sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
}
.bb-brand picture { display: inline-flex; }
.bb-brand img { width: 44px; height: auto; }
.bb-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.bb-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.bb-nav a:hover, .bb-nav a[aria-current="page"] { color: var(--gold); background: rgba(255, 201, 7, 0.08); }
.bb-nav a.bb-nav-account { color: var(--navy); background: var(--gold); font-weight: 700; }
.bb-nav a.bb-nav-account:hover { background: #ffd84a; color: var(--navy); }

/* ── layout ─────────────────────────────────────────────────────────────── */
.bb-main { flex: 1; width: 100%; }
.bb-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.bb-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
/* padding-block, not the shorthand: a section is usually also .bb-wrap or
   .bb-narrow, and "padding: 48px 0" would zero their side gutter. */
.bb-section { padding-block: 48px; }
.bb-section + .bb-section { padding-top: 8px; }

h1, h2, h3 { font-family: 'Lilita One', system-ui, sans-serif; letter-spacing: 0.5px; line-height: 1.15; font-weight: 400; }
h1 { color: var(--gold); font-size: clamp(34px, 7vw, 56px); }
h2 { color: var(--gold); font-size: clamp(26px, 5vw, 34px); margin-bottom: 16px; }
h3 { color: var(--cyan); font-size: 22px; }
p { margin-bottom: 12px; }
.bb-lead { font-size: 19px; max-width: 640px; }
h1 + .bb-lead { margin-top: 12px; }
.bb-muted { color: var(--muted); }
.bb-small { font-size: 14px; }

/* ── buttons ────────────────────────────────────────────────────────────── */
.bb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}
.bb-btn-primary { color: #fff; background: linear-gradient(135deg, var(--pink), var(--red)); box-shadow: 0 8px 24px rgba(255, 58, 138, 0.28); }
.bb-btn-ghost { color: var(--cyan); background: transparent; border-color: var(--cyan); }
.bb-btn:hover { filter: brightness(1.06); }

/* ── cards ──────────────────────────────────────────────────────────────── */
.bb-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bb-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.bb-card.featured { border-color: rgba(255, 201, 7, 0.45); }
.bb-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  vertical-align: middle;
}
.bb-price { font-size: 18px; margin: 12px 0 4px; }
.bb-price strong { color: var(--gold); font-family: 'Lilita One', system-ui, sans-serif; font-size: 28px; font-weight: 400; }
.bb-list { padding-left: 20px; margin: 12px 0; }
.bb-list li { margin-bottom: 6px; }

/* ── steps, faq ─────────────────────────────────────────────────────────── */
.bb-steps { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.bb-steps li { background: var(--navy-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 18px 60px; position: relative; counter-increment: step; }
.bb-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Lilita One', system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-faq details { background: var(--navy-2); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.bb-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; min-height: 48px; }
.bb-faq details > div { padding: 0 18px 14px; color: var(--text); }

/* ── footer ─────────────────────────────────────────────────────────────── */
.bb-footer { border-top: 1px solid var(--border); margin-top: 48px; }
.bb-footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 24px 20px 32px; color: var(--muted); font-size: 14px; }
.bb-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 10px; }
.bb-footer a { color: var(--cyan); text-decoration: none; }
.bb-footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .bb-header-inner { padding: 10px 14px; }
  .bb-nav a { padding: 8px 10px; font-size: 14px; }
  .bb-wrap, .bb-narrow { padding: 0 16px; }
  .bb-section { padding-block: 32px; }
  .bb-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
