/* ==============================================================
   GENIUS HOST · BLACK FRIDAY PAGE
   Loaded after assets/css/style.css; only adds what this page needs.
   Uses the site's dark-glass surface, green brand colours and the
   unified page background. Gold (#ffd24a) is the one campaign accent.
   01 Hero + term shortcut     05 Plan cards (term switch, totals)
   02 Hero illustration        06 Comparison helpers
   03 Countdown                07 "How the discount works"
   04 Hosting tabs + controls  08 Responsive
   ============================================================== */
:root {
  --bf-gold: #ffd24a;
  --bf-gold-deep: #f2b12b;
  --bf-glass-border: rgba(255, 255, 255, .14);
  --bf-glass:
    radial-gradient(620px 320px at 50% -12%, rgba(17, 157, 58, .22), transparent 70%),
    linear-gradient(165deg, rgba(22, 40, 62, .75) 0%, rgba(14, 28, 46, .75) 55%, rgba(12, 36, 34, .75) 100%);
  --bf-shadow: 0 24px 60px rgba(3, 8, 20, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* ---------- 01 · HERO ---------- */
.bf-hero { padding-bottom: 64px; }
.bf-hero .eyebrow { border-color: rgba(255, 210, 74, .5); color: #ffe7a0; }
.bf-hero .eyebrow-dot { background: var(--bf-gold); box-shadow: 0 0 0 4px rgba(255, 210, 74, .18); }
.bf-hero h1 em { display: block; }
.bf-hero .hero-lead { max-width: 560px; }

.bf-ladder-wrap { margin: 6px 0 26px; max-width: 560px; }
.bf-ladder-title { display: block; margin-bottom: 10px; color: #b8c6d6; font-size: .8rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.bf-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bf-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--bf-glass-border);
  background: rgba(255, 255, 255, .05);
  color: #dbe6f1;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.bf-step:hover { border-color: rgba(111, 224, 143, .55); transform: translateY(-2px); }
.bf-step:focus-visible { outline: 3px solid rgba(111, 224, 143, .6); outline-offset: 2px; }
.bf-step-term { font-size: .85rem; font-weight: 700; color: #b8c6d6; }
.bf-step-off { font-size: 1.6rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.bf-step-off small { font-size: .8rem; font-weight: 800; letter-spacing: 0; color: #9de5b0; margin-left: 3px; }
.bf-step-meter { width: 100%; height: 5px; margin-top: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bf-step-meter span { display: block; height: 100%; width: var(--m); border-radius: inherit; background: linear-gradient(90deg, #0d7e2e, #4fd478); }
.bf-step[aria-pressed="true"] { border-color: #4fd478; background: linear-gradient(165deg, rgba(17, 157, 58, .3), rgba(17, 157, 58, .08)); box-shadow: 0 14px 34px rgba(17, 157, 58, .25); }
.bf-step[aria-pressed="true"] .bf-step-term { color: #fff; }
.bf-step-best { position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--bf-gold); color: #2b1f00; font-size: .66rem; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.bf-ladder-note { min-height: 1.2em; margin: 10px 0 0; color: #9de5b0; font-size: .85rem; font-weight: 600; }

.bf-hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: #c9d7e3; font-size: .9rem; font-weight: 600; }
.bf-hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.bf-hero-proof i { color: #6fe08f; }

/* ---------- 02 · HERO ILLUSTRATION ---------- */
.bf-hero-visual { position: relative; max-width: 560px; margin: 0 auto; }
.bf-hero-art { display: block; width: 100%; height: auto; overflow: visible; }

/* ---------- 03 · COUNTDOWN ---------- */
/* room between the countdown panel and the trust strip's top hairline */
.bf-countdown-section { padding: 0 0 36px; }
@media (max-width: 767.98px) { .bf-countdown-section { padding-bottom: 28px; } }
.bf-countdown {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px 40px;
  align-items: center;
  padding: 26px 32px;
  border-radius: 24px;
  border: 1px solid var(--bf-glass-border);
  background: var(--bf-glass);
  box-shadow: var(--bf-shadow);
  overflow: hidden;
}
.bf-countdown::after { content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--bf-gold), transparent); }
.bf-cd-kicker { display: inline-flex; align-items: center; gap: 8px; color: #ffe7a0; font-size: .74rem; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }
.bf-cd-kicker i { color: var(--bf-gold); }
.bf-cd-dates { margin: 6px 0 4px; color: #fff; font-size: 1.15rem; font-weight: 800; }
.bf-cd-status { margin: 0; color: #c9d7e3; font-size: .92rem; }
.bf-cd-label { margin-bottom: 10px; color: #b8c6d6; font-size: .8rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; text-align: center; }
.bf-cd-tiles { display: grid; grid-template-columns: repeat(4, 76px); gap: 10px; }
.bf-cd-tile { padding: 12px 6px 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(6, 14, 28, .55); text-align: center; }
.bf-cd-tile b { display: block; color: #fff; font-size: 1.9rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bf-cd-tile small { display: block; margin-top: 6px; color: #9fb0c4; font-size: .7rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
[data-sale="live"] .bf-cd-tile { border-color: rgba(111, 224, 143, .35); }

/* ---------- 04 · HOSTING TABS + CONTROLS ---------- */
.bf-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto 26px; }
.bf-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--bf-glass-border);
  background: rgba(255, 255, 255, .04);
  color: #dbe6f1;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.bf-tab:hover { color: #fff; border-color: rgba(111, 224, 143, .5); }
.bf-tab:focus-visible { outline: 3px solid rgba(111, 224, 143, .6); outline-offset: 3px; }
.bf-tab .icon-glow { flex: 0 0 52px; }
.bf-tab b { display: block; color: #fff; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.bf-tab small { display: block; margin-top: 2px; color: #b8c6d6; font-size: .86rem; line-height: 1.4; }
.bf-tab-check { margin-left: auto; flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: transparent; font-size: .95rem; transition: all .2s ease; }
.bf-tab.active { border-color: #4fd478; background: var(--bf-glass); box-shadow: 0 18px 44px rgba(17, 157, 58, .22), inset 0 1px 0 rgba(255, 255, 255, .08); }
.bf-tab.active .bf-tab-check { border-color: #4fd478; background: var(--gh-brand-dark, #0d7e2e); color: #fff; }

.bf-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; margin: 0 auto 36px; }
.bf-controls .currency-switch { margin: 0; flex-basis: 100%; }
.bf-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; color: #b8c6d6; font-size: .85rem; font-weight: 700; }
.bf-legend li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 210, 74, .3); background: rgba(255, 210, 74, .07); color: #ffe7a0; }
.bf-legend li b { color: #fff; }

.bf-panel-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.bf-panel-head h3 { margin: 0 0 6px; color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; }
.bf-panel-head p { margin: 0; color: #c9d7e3; }

/* ---------- 05 · PLAN CARDS ---------- */
.bf-card .discount { background: linear-gradient(135deg, var(--bf-gold), var(--bf-gold-deep)); color: #2b1f00; border: 0; }
.bf-card .discount i { color: #b4400f; }

/* The term switch itself (.term-switch) is shared and lives in assets/css/style.css */

.bf-card .price-was { margin: 8px 0 0; }
.bf-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .14); font-size: .82rem; }
.bf-total .billed { color: #c9d7e3; font-weight: 600; }
.bf-saved { padding: 3px 10px; border-radius: 999px; background: rgba(255, 210, 74, .14); color: #ffe7a0; font-weight: 800; white-space: nowrap; }

/* ---------- 06 · COMPARISON ---------- */
.bf-compare { margin-top: 64px; }
.bf-compare .section-heading { margin-bottom: 28px; }
.cmp .bf-row-deal th, .cmp .bf-row-deal td { color: #ffe7a0; }

/* ---------- 07 · HOW THE DISCOUNT WORKS ---------- */
.bf-how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: bf-step; }
.bf-how-step {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: 20px;
  border: 1px solid var(--bf-glass-border);
  background: rgba(255, 255, 255, .045);
}
.bf-how-step::before {
  counter-increment: bf-step;
  content: counter(bf-step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255, 255, 255, .12);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.bf-how-step h3 { margin: 16px 0 8px; color: #fff; font-size: 1.1rem; font-weight: 800; }
.bf-how-step p { margin: 0; color: #c9d7e3; font-size: .92rem; line-height: 1.6; }
.bf-how-terms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bf-how-terms span { padding: 4px 10px; border-radius: 999px; background: rgba(17, 157, 58, .18); border: 1px solid rgba(111, 224, 143, .35); color: #9de5b0; font-size: .78rem; font-weight: 800; }

.bf-example {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 26px;
  border-radius: 20px;
  border: 1px solid var(--bf-glass-border);
  background: var(--bf-glass);
  box-shadow: var(--bf-shadow);
  overflow: hidden;
}
.bf-example > div { padding: 22px 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.bf-example > div:first-child { border-left: 0; }
.bf-example .bf-ex-term { color: #b8c6d6; font-size: .8rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.bf-example .bf-ex-price { margin: 6px 0 2px; color: #fff; font-size: 1.9rem; font-weight: 900; letter-spacing: -.03em; }
.bf-example .bf-ex-price small { color: #c9d7e3; font-size: .9rem; font-weight: 700; letter-spacing: 0; }
.bf-example .bf-ex-note { color: #9de5b0; font-size: .85rem; font-weight: 700; }
.bf-example .bf-ex-best { background: linear-gradient(165deg, rgba(17, 157, 58, .25), rgba(17, 157, 58, .05)); }
.bf-example-caption { margin: 12px 0 0; color: #8fa0b6; font-size: .8rem; text-align: center; }

/* Sale ended: keep the page readable, quieten the campaign accents */
.sale-ended .bf-ladder-wrap, .sale-ended .bf-legend { opacity: .55; }
/* Notice above the plans before the sale starts / after it ends (black-friday.js) */
.bf-sale-note { max-width: 760px; margin: 0 auto 24px; padding: 12px 18px; border-radius: 14px; text-align: center; font-weight: 600; color: #ffe2a8; background: rgba(245, 179, 1, .1); border: 1px solid rgba(245, 179, 1, .4); }

/* ---------- 07b · PROMO ALERTS SIGNUP ---------- */
/* Form parts (.nl-form, .nl-input, .nl-btn, .nl-consent, .nl-status, .nl-captcha) come from style.css */
.bf-promo-section { padding: 8px 0 40px; }
.bf-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 460px);
  gap: 20px 40px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
  border: 1px solid var(--bf-glass-border);
  background: var(--bf-glass);
  box-shadow: var(--bf-shadow);
  overflow: hidden;
}
.bf-promo::after { content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--bf-gold), transparent); }
.bf-promo-kicker { display: inline-flex; align-items: center; gap: 8px; color: #ffe7a0; font-size: .74rem; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }
.bf-promo-kicker i { color: var(--bf-gold); }
.bf-promo h2 { margin: 6px 0 6px; color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.01em; }
.bf-promo-copy p { margin: 0; color: #c9d7e3; font-size: .95rem; }
.bf-promo-body { min-width: 0; }
.bf-promo .nl-note { margin: 8px 0 0; color: #8fa0b6; font-size: .78rem; }
.bf-promo .nl-note a { color: #c9d7e3; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 991.98px) {
  .bf-promo { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .bf-promo { padding: 22px 16px; }
  .bf-promo-section { padding-bottom: 28px; }
}

/* ---------- 08 · RESPONSIVE ---------- */
@media (max-width: 1199.98px) {
  .bf-how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  .bf-hero-visual { margin-top: 40px; max-width: 520px; }
  .bf-countdown { grid-template-columns: 1fr; text-align: center; }
  .bf-cd-tiles { justify-content: center; }
}
@media (max-width: 767.98px) {
  .bf-tabs { grid-template-columns: 1fr; gap: 10px; }
  .bf-tab { padding: 14px 16px; }
  .bf-tab .icon-glow { flex-basis: 44px; width: 44px; height: 44px; }
  .bf-example { grid-template-columns: 1fr; }
  .bf-example > div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .bf-example > div:first-child { border-top: 0; }
}
@media (max-width: 575.98px) {
  .bf-ladder { gap: 8px; }
  .bf-step { padding: 12px 10px 13px; }
  .bf-step-off { font-size: 1.35rem; }
  .bf-countdown { padding: 22px 16px; }
  .bf-cd-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .bf-cd-tile b { font-size: 1.5rem; }
  .bf-how-grid { grid-template-columns: 1fr; }
  .bf-controls { flex-direction: column; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-step, .bf-tab { transition: none; }
}
