/* =============================================================================
   BOOSTPANEL SMM THEME — MAIN STYLESHEET
   Design: Milky Glassmorphism
   Note: Google Fonts (Inter) is loaded via wp_enqueue_style in functions.php.
         Do NOT add @import here – it conflicts with WP minification plugins
         and causes the entire stylesheet to be ignored.
   ============================================================================= */

/* ─── Design Tokens (CSS Custom Properties) ──────────────────────────────── */
:root {
  /* Palette */
  --bp-primary:       #2563eb;
  --bp-primary-50:    rgba(37, 99, 235, 0.05);
  --bp-primary-10:    rgba(37, 99, 235, 0.10);
  --bp-primary-20:    rgba(37, 99, 235, 0.20);
  --bp-secondary:     #9333ea;
  --bp-success:       #16a34a;
  --bp-success-10:    rgba(22, 163, 74, 0.10);
  --bp-danger:        #dc2626;
  --bp-danger-10:     rgba(220, 38, 38, 0.10);
  --bp-warning:       #d97706;
  --bp-warning-10:    rgba(217, 119, 6, 0.10);

  /* Surface */
  --bp-bg:            #f8fafc;       /* slate-50  */
  --bp-glass-bg:      rgba(255,255,255, 0.40);
  --bp-glass-border:  rgba(255,255,255, 0.60);
  --bp-glass-edge:    rgba(255,255,255, 0.40); /* inset top/left highlight */

  /* Typography */
  --bp-text:          #0f172a;       /* slate-900 */
  --bp-text-muted:    #64748b;       /* slate-500 */
  --bp-text-subtle:   #94a3b8;       /* slate-400 */

  /* Blur / Radius */
  --bp-blur:          40px;          /* backdrop-blur-2xl */
  --bp-radius-sm:     0.75rem;       /* 12px */
  --bp-radius:        1.25rem;       /* 20px */
  --bp-radius-lg:     1.75rem;       /* 28px */
  --bp-radius-full:   9999px;

  /* Shadows */
  --bp-shadow-sm:     0 2px 12px rgba(0,0,0,0.06);
  --bp-shadow:        0 8px 32px rgba(0,0,0,0.08);
  --bp-shadow-lg:     0 20px 60px rgba(0,0,0,0.12);

  /* Spacing */
  --bp-section-gap:   7rem;          /* ≈ space-y-28 */
  --bp-max-w:         80rem;         /* max-w-7xl */
  --bp-px:            clamp(1rem, 4vw, 2rem);

  /* Transitions */
  --bp-ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --bp-reveal-dur:    1000ms;
}

/* ─── Dark-Mode Token Overrides ───────────────────────────────────────────── */
[data-theme="dark"] {
  --bp-bg:            #020617;       /* slate-950 */
  --bp-glass-bg:      rgba(15, 23, 42, 0.40);  /* slate-900/40 */
  --bp-glass-border:  rgba(255,255,255, 0.10);
  --bp-glass-edge:    rgba(255,255,255, 0.15);
  --bp-text:          #f1f5f9;       /* slate-100 */
  --bp-text-muted:    #94a3b8;
  --bp-text-subtle:   #64748b;
  --bp-shadow:        0 8px 32px rgba(0,0,0,0.40);
  --bp-shadow-lg:     0 20px 60px rgba(0,0,0,0.60);
}

/* ─── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Ensure [hidden] attribute always hides elements — prevents CSS display rules from overriding it */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bp-text);
  background-color: var(--bp-bg);
  overflow-x: hidden;
  transition: background-color 0.3s var(--bp-ease), color 0.3s var(--bp-ease);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ─── Background Decoration Layer ────────────────────────────────────────── */
.bp-bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Decorative Blobs */
.bp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.20;
}

.bp-blob--tl {     /* Top-Left  → Blue #2563eb */
  width:  min(700px, 60vw);
  height: min(700px, 60vw);
  top:    -15%;
  left:   -10%;
  background: #2563eb;
}

.bp-blob--br {     /* Bottom-Right → Purple #9333ea */
  width:  min(700px, 60vw);
  height: min(700px, 60vw);
  bottom: -15%;
  right:  -10%;
  background: #9333ea;
}

/* Bolt pattern overlay */
.bp-pattern {
  position: absolute;
  inset: 0;
  background-image: url('../images/bolt-pattern.svg');
  background-size: 180px 180px;
  background-repeat: repeat;
  opacity: 0.03;
}

[data-theme="dark"] .bp-pattern { filter: invert(1); }

/* ─── Layout ──────────────────────────────────────────────────────────────── */
.bp-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--bp-max-w);
  margin-inline: auto;
  padding-inline: var(--bp-px);
}

.bp-site-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ─── Glass Card Component ────────────────────────────────────────────────── */
.bp-glass {
  background:      var(--bp-glass-bg);
  backdrop-filter: blur(var(--bp-blur));
  -webkit-backdrop-filter: blur(var(--bp-blur));
  border:          1px solid var(--bp-glass-border);
  /* Edge highlight — 1px top + left inner light line */
  box-shadow:
    inset 1px 1px 0 var(--bp-glass-edge),
    var(--bp-shadow);
  border-radius: var(--bp-radius);
  overflow: hidden;
  transition: box-shadow 0.3s var(--bp-ease), transform 0.3s var(--bp-ease);
}

.bp-glass--lg   { border-radius: var(--bp-radius-lg); }
.bp-glass--sm   { border-radius: var(--bp-radius-sm); }
.bp-glass--pill { border-radius: var(--bp-radius-full); }

.bp-glass:hover {
  box-shadow:
    inset 1px 1px 0 var(--bp-glass-edge),
    var(--bp-shadow-lg);
}

/* ─── Gradient Utilities ──────────────────────────────────────────────────── */
.bp-grad-text {
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bp-grad-bg {
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--bp-radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.25s var(--bp-ease);
  position: relative;
  overflow: hidden;
}

/* Primary: gradient blue → purple */
.bp-btn--primary {
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}
.bp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.50);
}
.bp-btn--primary:active { transform: translateY(0); }

/* Ghost / outlined */
.bp-btn--ghost {
  background:  var(--bp-glass-bg);
  backdrop-filter: blur(var(--bp-blur));
  -webkit-backdrop-filter: blur(var(--bp-blur));
  border:  1px solid var(--bp-glass-border);
  color:   var(--bp-text);
  box-shadow: inset 1px 1px 0 var(--bp-glass-edge), var(--bp-shadow-sm);
}
.bp-btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: inset 1px 1px 0 var(--bp-glass-edge), var(--bp-shadow);
}

/* Icon inside button */
.bp-btn .bp-icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

/* Full-width variant */
.bp-btn--full { width: 100%; }

/* Small variant */
.bp-btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ─── Icon Sizes ──────────────────────────────────────────────────────────── */
.bp-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.bp-icon--sm  { width: 1rem;    height: 1rem;    }
.bp-icon--lg  { width: 1.5rem;  height: 1.5rem;  }
.bp-icon--xl  { width: 2rem;    height: 2rem;    }
.bp-icon--2xl { width: 2.5rem;  height: 2.5rem;  }
.bp-icon--7xl { width: 4.5rem;  height: 4.5rem;  }

/* ─── Badge ───────────────────────────────────────────────────────────────── */
.bp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  border-radius: var(--bp-radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  background: var(--bp-success-10);
  color: var(--bp-success);
  border: 1px solid rgba(22,163,74,0.25);
  width: fit-content;
}
.bp-badge .bp-icon { width: 0.875rem; height: 0.875rem; }

/* ─── Section Heading ─────────────────────────────────────────────────────── */
.bp-section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bp-primary);
  margin-bottom: 0.75rem;
}
.bp-section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--bp-text);
}
.bp-section-subtitle {
  font-size: 1.0625rem;
  color: var(--bp-text-muted);
  max-width: 44ch;
  line-height: 1.7;
  margin-top: 0.75rem;
}

/* ─── Reveal on Scroll ────────────────────────────────────────────────────── */
.bp-reveal {
  opacity: 0;
  transform: translateY(3rem); /* translate-y-12 */
  transition:
    opacity   var(--bp-reveal-dur) var(--bp-ease),
    transform var(--bp-reveal-dur) var(--bp-ease);
}
.bp-reveal.bp-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays for children */
.bp-reveal-stagger > *:nth-child(1) { transition-delay: 0ms;   }
.bp-reveal-stagger > *:nth-child(2) { transition-delay: 120ms; }
.bp-reveal-stagger > *:nth-child(3) { transition-delay: 240ms; }
.bp-reveal-stagger > *:nth-child(4) { transition-delay: 360ms; }
.bp-reveal-stagger > *:nth-child(5) { transition-delay: 480ms; }
.bp-reveal-stagger > *:nth-child(6) { transition-delay: 600ms; }

/* =============================================================================
   ORDERS-CLOSED GLOBAL BANNER
   ============================================================================= */
.bp-orders-closed-global {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  background: linear-gradient(90deg, #92400e 0%, #b45309 100%);
  color: #fef3c7;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  box-sizing: border-box;
  z-index: 200;
  position: relative;
}
.bp-orders-closed-global svg {
  flex-shrink: 0;
  opacity: .85;
}

/* =============================================================================
   HEADER
   ============================================================================= */
.bp-header-wrap {
  position: relative;
  width: 100%;
  z-index: 100;
  max-width: 1280px;
  margin: 0.75rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.bp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  background: var(--bp-glass-bg);
  backdrop-filter: blur(var(--bp-blur));
  -webkit-backdrop-filter: blur(var(--bp-blur));
  border: 1px solid var(--bp-glass-border);
  box-shadow: inset 1px 1px 0 var(--bp-glass-edge), 0 4px 32px rgba(0,0,0,.10);
  transition: all 0.3s var(--bp-ease);
}

@media (max-width: 900px) {
  .bp-header-wrap {
    margin: 0.5rem auto;
    padding: 0 0.5rem;
  }
  .bp-header {
    border-radius: 10px;
  }
}

/* Logo */
.bp-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: var(--bp-text);
  flex-shrink: 0;
}
.bp-logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
  color: #fff;
}
.bp-logo__icon .bp-icon { width: 1.125rem; height: 1.125rem; }
.bp-logo__text .bp-grad-text { display: inline; }

/* Primary Nav */
.bp-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.bp-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: var(--bp-radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bp-text-muted);
  transition: all 0.2s var(--bp-ease);
}
.bp-nav a:hover {
  color: var(--bp-text);
  background: rgba(37,99,235,0.08);
}

/* Header right cluster */
.bp-header__right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
  overflow: visible;
  min-width: 0;
}

/* Dark mode toggle */
.bp-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--bp-radius-full);
  color: var(--bp-text-muted);
  background: var(--bp-glass-bg);
  border: 1px solid var(--bp-glass-border);
  transition: all 0.2s var(--bp-ease);
  flex-shrink: 0;
}
.bp-theme-toggle:hover { color: var(--bp-text); background: rgba(37,99,235,0.08); }
.bp-theme-toggle .bp-icon { width: 1rem; height: 1rem; }

/* ── Currency Selector ── */
.bp-currency-selector {
  position: relative;
}
.bp-currency-btn {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.4rem;
  height: 2rem;
  background: var(--bp-glass-bg);
  border: 1px solid var(--bp-glass-border);
  border-radius: var(--bp-radius-full);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bp-text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.bp-currency-btn:hover { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.35); }
.bp-currency-flag { font-size: 0.9rem; line-height: 1; }
.bp-currency-sym  { font-size: 0.8125rem; font-weight: 700; }
.bp-currency-chevron { opacity: .55; transition: transform 0.2s; flex-shrink: 0; }
.bp-currency-btn[aria-expanded="true"] .bp-currency-chevron { transform: rotate(180deg); }

.bp-currency-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 240px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bp-glass-bg, rgba(255,255,255,0.96));
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--bp-glass-border);
  border-radius: var(--bp-radius, 0.75rem);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  padding: 0.375rem;
  z-index: 9999;
  display: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(100,116,139,.3) transparent;
}
.bp-currency-panel::-webkit-scrollbar { width: 5px; }
.bp-currency-panel::-webkit-scrollbar-thumb { background: rgba(100,116,139,.3); border-radius: 3px; }
.bp-currency-panel--open { display: block; animation: bpCurDrop 0.15s ease-out; }
@keyframes bpCurDrop {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.bp-currency-item {
  display: flex; align-items: center; gap: 0.5rem;
  width: 100%; text-align: left;
  padding: 0.45rem 0.625rem;
  border: none; background: transparent;
  border-radius: 0.5rem;
  font-family: inherit; font-size: 0.8125rem;
  color: var(--bp-text); cursor: pointer;
  transition: background 0.12s;
  white-space: nowrap;
}
.bp-currency-item:hover { background: rgba(37,99,235,0.08); }
.bp-currency-item--active { background: rgba(37,99,235,0.1); color: var(--bp-primary, #2563eb); font-weight: 600; }
.bp-currency-item__flag { font-size: 1rem; flex-shrink: 0; }
.bp-currency-item__sym  { font-weight: 700; width: 2rem; flex-shrink: 0; }
.bp-currency-item__label { overflow: hidden; text-overflow: ellipsis; }

[data-theme="dark"] .bp-currency-btn { background: rgba(30,41,59,.6); border-color: rgba(148,163,184,.18); }
[data-theme="dark"] .bp-currency-panel { background: rgba(15,23,42,.96); border-color: rgba(148,163,184,.15); }
[data-theme="dark"] .bp-currency-item:hover { background: rgba(37,99,235,.15); }
[data-theme="dark"] .bp-currency-item--active { background: rgba(37,99,235,.18); }

/* Hamburger (mobile only) */
.bp-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--bp-radius-full);
  color: var(--bp-text);
  background: var(--bp-glass-bg);
  border: 1px solid var(--bp-glass-border);
}
.bp-hamburger .bp-icon { width: 1.25rem; height: 1.25rem; }

/* ── User menu (logged-in header button + dropdown) ── */
.bp-user-menu {
  position: relative;
}
.bp-user-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 50%;
  background: var(--bp-glass-bg);
  border: 1px solid var(--bp-glass-border);
  color: var(--bp-text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s var(--bp-ease), border-color 0.2s var(--bp-ease);
  white-space: nowrap;
  text-decoration: none;
  overflow: hidden;
}
.bp-user-btn:hover { background: rgba(37,99,235,0.08); }
.bp-user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
}
.bp-user-name {
  display: none;
}
.bp-user-chevron {
  display: none;
}
/* Balance badge — always visible on desktop when SMM_Wallet is active */
.bp-user-balance {
  display: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22,163,74,.12);
  border: 1px solid rgba(22,163,74,.25);
  border-radius: 999px;
  padding: 0.125rem 0.5rem;
  white-space: nowrap;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .bp-user-balance {
  color: #4ade80;
  background: rgba(74,222,128,.12);
  border-color: rgba(74,222,128,.25);
}
@media (min-width: 640px) {
  .bp-user-btn {
    width: auto;
    height: auto;
    padding: 0.3rem 0.625rem 0.3rem 0.3rem;
    border-radius: 999px;
    gap: 0.5rem;
  }
  .bp-user-avatar {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
  }
  .bp-user-chevron { display: block; }
  .bp-user-balance { display: inline-flex; align-items: center; }
}

/* Dropdown panel */
.bp-user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 13rem;
  background: rgba(248, 250, 252, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bp-glass-border);
  border-radius: var(--bp-radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  margin-top: 0.5rem;
  padding: 0.375rem;
  z-index: 200;
}
[data-theme="dark"] .bp-user-dropdown {
  background: rgba(15, 23, 42, 0.97);
}
.bp-user-menu.bp-open .bp-user-dropdown { display: block; }
/* Invisible hover bridge fills the margin-top gap so the dropdown stays open */
.bp-user-dropdown::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}
.bp-user-dropdown__head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem 0.625rem;
}
.bp-user-dropdown__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.bp-user-dropdown__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bp-text);
  margin: 0;
  line-height: 1.25;
}
.bp-user-dropdown__identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.bp-user-dropdown__email {
  font-size: 0.75rem;
  color: var(--bp-text-muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 10rem;
}
.bp-user-dropdown__divider {
  height: 1px;
  background: var(--bp-glass-border);
  margin: 0.25rem 0;
}
.bp-user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border-radius: calc(var(--bp-radius-lg) - 4px);
  font-size: 0.875rem;
  color: var(--bp-text-muted);
  text-decoration: none;
  transition: background 0.15s var(--bp-ease), color 0.15s var(--bp-ease);
  white-space: nowrap;
}
.bp-user-dropdown__item:hover { background: rgba(37,99,235,0.08); color: var(--bp-text); }
.bp-user-dropdown__item svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.bp-user-dropdown__item--danger:hover { background: rgba(220,38,38,0.08); color: #dc2626; }

/* Mobile nav drawer */
.bp-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--bp-glass-border);
  margin-top: 0.5rem;
}
.bp-nav-mobile.bp-open { display: flex; }
.bp-nav-mobile a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: var(--bp-radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--bp-text-muted);
  transition: all 0.2s var(--bp-ease);
}
.bp-nav-mobile a:hover { color: var(--bp-text); background: rgba(37,99,235,0.08); }
.bp-mobile-cta { margin-top: 0.5rem; }

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.bp-hero {
  padding-top: 3rem;
  padding-bottom: var(--bp-section-gap);
}

.bp-hero__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* Hero Left (5 cols) */
.bp-hero__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bp-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem); /* text-6xl */
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--bp-text);
}

.bp-hero__subtitle {
  font-size: 1.0625rem;
  color: var(--bp-text-muted);
  max-width: 46ch;
  line-height: 1.75;
}

.bp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* Hero Right (7 cols) — Comparison Table */
.bp-hero__right {}

.bp-comparison {
  padding: 0;
  overflow: hidden;
}

.bp-comparison__header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0;
  padding: 1rem 1.5rem 0.75rem;
  border-bottom: 1px solid var(--bp-glass-border);
}

.bp-comparison__col-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bp-text-subtle);
  text-align: center;
  padding: 0.5rem 1rem;
  min-width: 90px;
}
.bp-comparison__col-label:first-child { text-align: left; min-width: auto; }

/* Highlighted "Us" column header */
.bp-comparison__col-ours {
  background: linear-gradient(180deg, rgba(37,99,235,0.12) 0%, rgba(147,51,234,0.08) 100%);
  border-radius: var(--bp-radius-sm) var(--bp-radius-sm) 0 0;
}
.bp-comparison__col-ours span {
  font-size: 0.875rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Table body */
.bp-comparison__body { padding: 0.5rem 1.5rem 1.25rem; }

.bp-comparison__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(100,116,139,0.10);
}
.bp-comparison__row:last-child { border-bottom: none; }

.bp-comparison__feature {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bp-text);
}

.bp-comparison__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding-block: 0.25rem;
}
.bp-comparison__cell--ours {
  background: rgba(37,99,235,0.04);
  border-radius: 0;
}

/* Check / X / Dash bubbles */
.bp-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.bp-status .bp-icon { width: 1rem; height: 1rem; }
.bp-status--check { background: var(--bp-success-10); color: var(--bp-success); }
.bp-status--x     { background: var(--bp-danger-10);  color: var(--bp-danger);  }
.bp-status--dash  { background: var(--bp-warning-10); color: var(--bp-warning); }

/* =============================================================================
   PREVIEW SECTION
   ============================================================================= */
.bp-preview {
  padding-block: var(--bp-section-gap);
}

.bp-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* Image panel — rotated */
.bp-preview__image-wrap {
  position: relative;
  transform: rotate(-2deg);
  transition: transform 0.5s var(--bp-ease);
  will-change: transform;
}
.bp-preview__image-wrap:hover { transform: rotate(0deg); }

.bp-preview__image {
  width: 100%;
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
}

/* CSS mock dashboard */
.bp-mock-dashboard {
  background: #0f172a;
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bp-mock-dashboard__topbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bp-mock-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.bp-mock-dot--red  { background: #ef4444; }
.bp-mock-dot--yel  { background: #f59e0b; }
.bp-mock-dot--grn  { background: #22c55e; }
.bp-mock-dashboard__title { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-left: 0.5rem; }

.bp-mock-dashboard__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
  flex: 1;
}
.bp-mock-chart {
  background: rgba(37,99,235,0.1);
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bp-mock-chart-label { font-size: 0.625rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em; }
.bp-mock-bars { display: flex; align-items: flex-end; gap: 0.3rem; height: 50px; }
.bp-mock-bar {
  flex: 1;
  border-radius: 0.25rem 0.25rem 0 0;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  opacity: 0.8;
}
.bp-mock-sidebar { display: flex; flex-direction: column; gap: 0.5rem; }
.bp-mock-stat-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.5rem;
  padding: 0.625rem;
  flex: 1;
}
.bp-mock-stat-val { font-size: 0.875rem; font-weight: 700; color: rgba(255,255,255,0.8); }
.bp-mock-stat-lbl { font-size: 0.5625rem; color: rgba(255,255,255,0.35); text-transform: uppercase; }
.bp-mock-footer { display: flex; gap: 0.5rem; }
.bp-mock-pill {
  height: 0.4rem;
  border-radius: 99px;
  flex: 1;
  background: rgba(255,255,255,0.08);
}
.bp-mock-pill--1 { flex: 3; background: linear-gradient(90deg, #2563eb, #9333ea); }
.bp-mock-pill--2 { flex: 2; background: rgba(255,255,255,0.12); }

/* Trust stats 2×2 grid */
.bp-preview__stats { display: flex; flex-direction: column; gap: 1.5rem; }

.bp-preview__stats-head { margin-bottom: 0.5rem; }

.bp-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.bp-trust-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.bp-trust-card__icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.bp-trust-card__value {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bp-trust-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bp-text-muted);
}
.bp-trust-card__sublabel {
  font-size: 0.75rem;
  color: var(--bp-text-subtle);
}

/* =============================================================================
   BENEFIT CARDS — HORIZONTAL SCROLL
   ============================================================================= */
.bp-benefits { padding-block: var(--bp-section-gap); }

.bp-benefits__head { text-align: center; margin-bottom: 3rem; }
.bp-benefits__head .bp-section-subtitle { margin-inline: auto; }

/* Slider wrapper — positions the prev/next buttons relative to the track */
.bp-benefits__slider-wrap {
  position: relative;
}

/* Prev / Next arrow buttons */
.bp-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 99px;
  border: 1px solid var(--bp-glass-border);
  background: var(--bp-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), inset 1px 1px 0 var(--bp-glass-edge);
  color: var(--bp-text);
  cursor: pointer;
  transition: background 0.2s var(--bp-ease), transform 0.2s var(--bp-ease), opacity 0.2s;
}
.bp-slider-btn:hover {
  background: rgba(37,99,235,0.15);
  transform: translateY(-50%) scale(1.08);
}
.bp-slider-btn:active {
  transform: translateY(-50%) scale(0.96);
}
.bp-slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.bp-slider-btn svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.bp-slider-btn--prev { left: 0.5rem; }
.bp-slider-btn--next { right: 0.5rem; }

.bp-benefits__track-wrap {
  overflow-x: auto;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar across all browsers */
  scrollbar-width: none;
  padding-block: 1rem;
  /* Extend to full width by negating container padding */
  margin-inline: calc(-1 * var(--bp-px));
  padding-inline: var(--bp-px);
}
.bp-benefits__track-wrap:active { cursor: grabbing; }
.bp-benefits__track-wrap::-webkit-scrollbar { display: none; }

.bp-benefits__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-bottom: 0.5rem;
}

/* Individual benefit card — 50/50 split */
.bp-benefit-card {
  min-width: 400px;
  max-width: 460px;
  display: flex;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s var(--bp-ease);
}
.bp-benefit-card:hover { transform: translateY(-4px); }

/* Left half — colored emoji bg */
.bp-benefit-card__left {
  width: 50%;
  flex-shrink: 0;
  background: var(--bp-primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  font-size: 4.5rem; /* 7xl emoji */
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.bp-benefit-card__left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.15;
}
.bp-benefit-card__emoji { position: relative; z-index: 1; }

/* Right half — text content */
.bp-benefit-card__right {
  width: 50%;
  flex-shrink: 0;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.625rem;
}
.bp-benefit-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--bp-text);
  line-height: 1.25;
}
.bp-benefit-card__desc {
  font-size: 0.875rem;
  color: var(--bp-text-muted);
  line-height: 1.65;
}

/* Card left-half color variants */
.bp-benefit-card--blue   .bp-benefit-card__left { background: rgba(37,99,235,0.10); }
.bp-benefit-card--purple .bp-benefit-card__left { background: rgba(147,51,234,0.10); }
.bp-benefit-card--green  .bp-benefit-card__left { background: rgba(22,163,74,0.10);  }
.bp-benefit-card--amber  .bp-benefit-card__left { background: rgba(217,119,6,0.10);  }
.bp-benefit-card--rose   .bp-benefit-card__left { background: rgba(225,29,72,0.10);  }
.bp-benefit-card--cyan   .bp-benefit-card__left { background: rgba(6,182,212,0.10);  }

/* =============================================================================
   PROCESS GUIDE
   ============================================================================= */
.bp-process { padding-block: var(--bp-section-gap); }

.bp-process__head { text-align: center; margin-bottom: 3.5rem; }
.bp-process__head .bp-section-subtitle { margin-inline: auto; }

.bp-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bp-process-card {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  position: relative;
  overflow: visible;
}

/* Large faded background number: 01, 02, 03 */
.bp-process-card__number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

/* 16×16 / 4rem Icon box */
.bp-process-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--bp-radius);
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(147,51,234,0.12));
  border: 1px solid var(--bp-glass-border);
  color: var(--bp-primary);
  transition: transform 0.4s var(--bp-ease);
  flex-shrink: 0;
}
.bp-process-card:hover .bp-process-card__icon-wrap {
  transform: rotate(12deg);
}
.bp-process-card__icon-wrap .bp-icon { width: 2rem; height: 2rem; }

.bp-process-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bp-text);
  line-height: 1.3;
}
.bp-process-card__desc {
  font-size: 0.875rem;
  color: var(--bp-text-muted);
  line-height: 1.7;
}

/* Connector arrow between step cards */
.bp-process__grid::before {
  content: none; /* handled per-card with CSS pseudo */
}

/* =============================================================================
   PAYMENT GATEWAYS
   ============================================================================= */
.bp-payments { padding-block: var(--bp-section-gap); }

.bp-payments__head { text-align: center; margin-bottom: 3rem; }
.bp-payments__head .bp-section-subtitle { margin-inline: auto; }

.bp-payments__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.bp-payment-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1.5rem 2rem;
  min-width: 7rem;
  border-radius: var(--bp-radius-lg);
  transition: transform 0.25s var(--bp-ease), box-shadow 0.25s var(--bp-ease);
}
.bp-payment-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.15);
}

.bp-payment-tile__icon {
  font-size: 2.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp-payment-tile__icon img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 0.5rem;
}

.bp-payment-tile__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bp-text-muted);
  text-align: center;
  white-space: nowrap;
}

/* Trust badge row */
.bp-payments__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}
.bp-payments__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bp-text-muted);
}
.bp-payments__trust-icon {
  width: 1rem;
  height: 1rem;
  color: var(--bp-primary);
  flex-shrink: 0;
}
.bp-payments__trust-icon--green { color: #16a34a; }

/* =============================================================================
   FOOTER  (two-section: top brand+columns | bottom copyright)
   ============================================================================= */
.bp-footer {
  border-top: 1px solid var(--bp-glass-border);
  position: relative;
  z-index: 1;          /* sit above page backgrounds, never below them */
}

/* ── Top row: brand + link columns ── */
.bp-footer__top {
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
  padding-block: 3rem;
  flex-wrap: wrap;
}

/* Brand block */
.bp-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 8rem;
  flex-shrink: 0;
}
.bp-footer__brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: var(--bp-radius-sm, 0.75rem);
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
  color: #fff;
  padding: 0.5625rem;
  flex-shrink: 0;
}
.bp-footer__brand-icon .bp-icon { width: 1.375rem; height: 1.375rem; }
.bp-footer__logo-img {
  width: 2.625rem;
  height: 2.625rem;
  object-fit: contain;
  border-radius: var(--bp-radius-sm, 0.75rem);
}
.bp-footer__brand-name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--bp-text);
}

/* Column grid */
.bp-footer__cols {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  flex: 1;
}
.bp-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 8rem;
}
.bp-footer__col-title {
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bp-text);
  opacity: 0.45;
  margin: 0;
}
.bp-footer__col-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Link item */
.bp-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--bp-text-subtle);
  text-decoration: none;
  transition: color 0.2s var(--bp-ease);
}
.bp-footer__link:hover { color: var(--bp-text); }
.bp-footer__link-emoji { font-size: 1rem; line-height: 1; }

/* Button item */
.bp-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3125rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid var(--bp-glass-border);
  background: var(--bp-glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bp-text);
  text-decoration: none;
  transition: all 0.2s var(--bp-ease);
}
.bp-footer__btn:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.25);
  color: var(--bp-primary);
  transform: translateY(-1px);
}
.bp-footer__btn-icon {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  border-radius: 2px;
}
.bp-footer__btn-emoji { font-size: 1rem; line-height: 1; }

/* ── Bottom row: copyright ── */
.bp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 1.125rem;
  border-top: 1px solid var(--bp-glass-border);
}
.bp-footer__copy {
  font-size: 0.8125rem;
  color: var(--bp-text-subtle);
  text-align: center;
}

/* =============================================================================
   AUTH — FULL-PAGE PORTAL
   ============================================================================= */

/* Page background tokens */
:root               { --bp-auth-page-bg: #f8fafc; } /* slate-50  */
[data-theme="dark"] { --bp-auth-page-bg: #020617; } /* slate-950 */

/* Full-page wrapper */
#bp-auth-view {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow: hidden;            /* NEVER show scrollbar while inactive */
  background: var(--bp-auth-page-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--bp-ease);
}
#bp-auth-view.bp-auth-view--active {
  opacity: 1;
  pointer-events: all;
  overflow-y: auto;            /* scroll only when the view is open */
}

/* Dedicated auth pages (page-login.php / page-signup.php) —
   make the auth view always visible and prevent body from scrolling. */
.bp-auth-page-body {
  overflow: hidden;
}
.bp-auth-page-body #bp-auth-view {
  opacity: 1;
  pointer-events: all;
  overflow-y: auto;
}

/* Decorative background container (fixed so it doesn't scroll with card) */
.bp-auth-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Colour blobs */
.bp-auth-blob {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(140px);
}
.bp-auth-blob--tl { top: -220px; left: -220px; background: #3b82f6; opacity: 0.20; }
.bp-auth-blob--br { bottom: -220px; right: -220px; background: #a855f7; opacity: 0.20; }

/* Repeating bolt tile pattern — ±12 deg alternating, offset half-tile */
.bp-auth-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath transform='rotate(12 40 40)' d='M46 8L14 46h22L24 72 66 34H44z' fill='%23000'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath transform='rotate(-12 40 40)' d='M46 8L14 46h22L24 72 66 34H44z' fill='%23000'/%3E%3C/svg%3E");
  background-size: 80px 80px, 80px 80px;
  background-position: 0 0, 40px 40px;
  opacity: 0.045;
}
[data-theme="dark"] .bp-auth-pattern {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath transform='rotate(12 40 40)' d='M46 8L14 46h22L24 72 66 34H44z' fill='%23fff'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath transform='rotate(-12 40 40)' d='M46 8L14 46h22L24 72 66 34H44z' fill='%23fff'/%3E%3C/svg%3E");
  opacity: 0.04;
}

/* ── Page scaffold ── */
.bp-auth-page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  /* horizontal padding handled by header/main separately */
}

/* Auth page header — kept in CSS for backward compat but hidden in template */
.bp-auth-page-header { display: none; }
.bp-auth-page-header--legacy {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
  padding-inline: var(--bp-px);
  /* subtle glass strip so it reads over both blobs and card */
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
[data-theme="dark"] .bp-auth-page-header {
  background: rgba(2,6,23,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand / back-to-landing button */
.bp-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}
.bp-auth-brand:hover { opacity: 0.75; }
.bp-auth-brand__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--bp-radius-sm);
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
  color: #fff;
  padding: 0.5rem;
  flex-shrink: 0;
}
.bp-auth-brand__icon .bp-icon { width: 1.25rem; height: 1.25rem; }
.bp-auth-brand__name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--bp-text);
}

/* Theme toggle — 48 × 48 glass circle */
.bp-auth-theme-btn {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  border-radius: 50%;
  border: 1px solid var(--bp-glass-border);
  background: var(--bp-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 1px 1px 0 var(--bp-glass-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bp-text);
  transition: transform 0.2s var(--bp-ease);
}
.bp-auth-theme-btn:hover { transform: scale(1.06); }
.bp-auth-theme-btn .bp-icon { width: 1.125rem; height: 1.125rem; }

/* Vertically centred main area — no fixed header above it any more */
.bp-auth-page-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 3rem;
}

/* ── The Card ── */
.bp-auth-card {
  width: 100%;
  max-width: 32rem;                       /* max-w-lg  */
  border-radius: 3.5rem;                  /* ≈ 56px    */
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;   /* necessary for .bp-auth-card__close absolute positioning */
  /* Light glass */
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.60);
  box-shadow: 0 40px 100px rgba(0,0,0,0.10), inset 1px 1px 0 rgba(255,255,255,0.50);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transition: opacity 0.2s var(--bp-ease), transform 0.2s var(--bp-ease);
}
[data-theme="dark"] .bp-auth-card {
  /* Dark glass */
  background: rgba(15, 23, 42, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 40px 100px rgba(0,0,0,0.50), inset 1px 1px 0 rgba(255,255,255,0.08);
}

/* ── Close (×) button — top-right of card ── */
.bp-auth-card__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--bp-glass-border);
  background: var(--bp-glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 1px 1px 0 var(--bp-glass-edge);
  cursor: pointer;
  color: var(--bp-text-muted, rgba(15,23,42,0.55));
  transition: background 0.2s var(--bp-ease), border-color 0.2s, color 0.2s, transform 0.15s;
  z-index: 2;
  padding: 0;
}
.bp-auth-card__close:hover {
  background: rgba(220,38,38,0.10);
  border-color: rgba(220,38,38,0.25);
  color: #dc2626;
  transform: scale(1.08);
}
.bp-auth-card__close:active { transform: scale(0.93); }
.bp-auth-card__close svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Floating fingerprint icon */
.bp-auth-card__icon-wrap { display: flex; justify-content: center; }
.bp-auth-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 2rem;
  background: var(--bp-glass-bg);
  border: 1px solid var(--bp-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 1px 1px 0 var(--bp-glass-edge);
  color: var(--bp-primary);
  animation: bp-float 4s ease-in-out infinite;
}
.bp-auth-card__icon svg { width: 2.75rem; height: 2.75rem; }
@keyframes bp-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Card title cluster */
.bp-auth-card__head { text-align: center; }
.bp-auth-card__subtitle {
  font-size: 0.625rem;     /* 10px */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--bp-text);
  opacity: 0.40;
  margin-bottom: 0.375rem;
}
.bp-auth-card__title {
  font-size: 2.25rem;      /* ~text-4xl */
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--bp-text);
  line-height: 1.1;
}

/* Social login buttons */
.bp-auth-social { display: flex; flex-direction: column; gap: 0.625rem; }
.bp-auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--bp-glass-border);
  background: var(--bp-glass-bg);
  backdrop-filter: blur(var(--bp-blur));
  -webkit-backdrop-filter: blur(var(--bp-blur));
  color: var(--bp-text);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--bp-ease);
  box-shadow: inset 1px 1px 0 var(--bp-glass-edge);
}
.bp-auth-social-btn:hover  { transform: scale(1.02); box-shadow: 0 4px 20px rgba(0,0,0,0.12), inset 1px 1px 0 var(--bp-glass-edge); }
.bp-auth-social-btn:active { transform: scale(0.95); }
.bp-auth-social-btn__icon  { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* Icon-only social row layout */
.bp-auth-social--icon-row { flex-direction: row; justify-content: center; gap: 0.75rem; }
.bp-auth-social-btn--icon {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
}
.bp-auth-social-btn--icon .bp-auth-social-btn__icon { width: 1.5rem; height: 1.5rem; }

/* OR divider */
.bp-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--bp-text);
  opacity: 0.35;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.bp-auth-divider::before,
.bp-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--bp-glass-border); }

/* Auth state panels (display-none + fade+slide transition) */
.bp-auth-state {
  display: none;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--bp-ease), transform 0.3s var(--bp-ease);
}
.bp-auth-state.bp-auth-state--active  { display: flex; }
.bp-auth-state.bp-auth-state--visible { opacity: 1; transform: translateY(0); }

/* Form layout helpers */
.bp-auth-form-inner { display: flex; flex-direction: column; gap: 1rem; }
.bp-auth-form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.bp-auth-form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.bp-auth-label-row  { display: flex; align-items: baseline; justify-content: space-between; }

/* Labels — small-caps style */
.bp-auth-label {
  font-size: 0.6875rem;   /* ≈ text-[11px] */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bp-text);
  opacity: 0.40;
}

/* Inputs */
.bp-auth-input-wrap { position: relative; }
.bp-auth-input {
  width: 100%;
  padding: 1rem 1.5rem;
  padding-right: 3rem;
  border-radius: 1rem;     /* rounded-2xl */
  border: 1.5px solid var(--bp-glass-border);
  background: rgba(0, 0, 0, 0.05);   /* bg-black/5 */
  font-size: 0.9375rem;
  color: var(--bp-text);
  outline: none;
  transition: all 0.2s var(--bp-ease);
}
[data-theme="dark"] .bp-auth-input { background: rgba(255, 255, 255, 0.05); } /* bg-white/5 */
.bp-auth-input::placeholder { color: var(--bp-text-subtle); }
.bp-auth-input:focus {
  background: #ffffff;
  border-color: #2563eb;
  transform: scale(0.99);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
[data-theme="dark"] .bp-auth-input:focus { background: #0f172a; } /* slate-900 */
.bp-auth-input--no-icon { padding-right: 1.5rem; }

/* Password eye toggle */
.bp-auth-pw-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: var(--bp-text-subtle);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
  transition: color 0.2s;
}
.bp-auth-pw-toggle:hover { color: var(--bp-text); }
.bp-auth-pw-toggle .bp-icon { width: 1.125rem; height: 1.125rem; }

/* Inline links (Forgot / switch state) */
.bp-auth-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bp-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s;
}
.bp-auth-link:hover { color: var(--bp-secondary); text-decoration: underline; }

/* Hint text (below input) */
.bp-auth-hint { font-size: 0.8rem; color: var(--bp-text-muted); margin-top: 0.25rem; }

/* Submit button */
.bp-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  margin-top: 0.25rem;
  border-radius: 1rem;
  border: none;
  background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--bp-ease);
  box-shadow: 0 4px 24px rgba(37,99,235,0.35);
}
.bp-auth-submit:hover  { transform: scale(1.02); box-shadow: 0 8px 32px rgba(37,99,235,0.45); }
.bp-auth-submit:active { transform: scale(0.95); }
.bp-auth-submit .bp-icon { width: 1.125rem; height: 1.125rem; }

/* Switch-state footer row */
.bp-auth-switch { text-align: center; font-size: 0.875rem; color: var(--bp-text-muted); }

/* System-status footer bar */
.bp-auth-page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  padding: 1.5rem var(--bp-px);
  width: 100%;
}
.bp-auth-sys-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.625rem;    /* text-[10px] */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bp-text-muted);
}
.bp-auth-sys-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; flex-shrink: 0; }
.bp-auth-sys-dot--green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }

/* Card switching fade (title + outgoing state) */
.bp-auth-card--switching {
  opacity: 0;
  transform: translateY(-6px);
}

/* =============================================================================
   LANDING VIEW (wrapper)
   ============================================================================= */
#bp-landing-view { position: relative; z-index: 1; }

/* Sections */
.bp-sections { display: flex; flex-direction: column; gap: 0; }

/* Mobile card adjustments */
@media (max-width: 640px) {
  .bp-auth-card { border-radius: 1.75rem; padding: 2rem 1.5rem; }
  .bp-auth-form-row { grid-template-columns: 1fr; }
  .bp-auth-card__title { font-size: 1.75rem; }
}


/* =============================================================================
   CUSTOMIZER CONTROLS — Repeater
   ============================================================================= */
.bp-repeater-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }

.bp-repeater-item {
  border: 1px solid #c5c5c5;
  border-radius: 4px;
  background: #fff;
}
.bp-repeater-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  cursor: pointer;
  background: #f5f5f5;
  border-radius: 4px 4px 0 0;
}
.bp-repeater-item__title { font-size: 12px; font-weight: 600; }
.bp-repeater-item__actions { display: flex; gap: 6px; }
.bp-repeater-item__body { padding: 10px; display: none; }
.bp-repeater-item.expanded .bp-repeater-item__body { display: block; }
.bp-repeater-item.expanded .bp-repeater-item__header { border-radius: 4px 4px 0 0; }
.bp-repeater-add-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.bp-repeater-add-btn:hover { background: #1d4ed8; }
.bp-repeater-field { margin-bottom: 8px; }
.bp-repeater-field label { display: block; font-size: 11px; color: #555; margin-bottom: 3px; }
.bp-repeater-field input,
.bp-repeater-field textarea,
.bp-repeater-field select {
  width: 100%;
  padding: 5px 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 12px;
}
.bp-repeater-field textarea { resize: vertical; min-height: 60px; }
.bp-repeater-item-delete { background: #ef4444; color: #fff; border: none; border-radius: 3px; padding: 2px 7px; font-size: 11px; cursor: pointer; }
.bp-repeater-item-toggle { background: #e5e7eb; border: none; border-radius: 3px; padding: 2px 7px; font-size: 11px; cursor: pointer; }
.bp-image-upload-wrap { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.bp-image-preview { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; border: 1px solid #ddd; display: none; }
.bp-image-preview.has-image { display: block; }
.bp-image-select-btn { background: #2563eb; color: #fff; border: none; border-radius: 3px; padding: 5px 10px; font-size: 11px; cursor: pointer; }
.bp-image-remove-btn { background: #e5e7eb; color: #333; border: none; border-radius: 3px; padding: 5px 8px; font-size: 11px; cursor: pointer; display: none; }
.bp-image-remove-btn.visible { display: inline-block; }

/* =============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* Medium → two cols but smaller text */
@media (max-width: 1024px) {
  .bp-hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .bp-hero__left { max-width: 600px; margin-inline: auto; text-align: center; align-items: center; }
  .bp-hero__actions { justify-content: center; }
  .bp-preview__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .bp-process__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --bp-section-gap: 4.5rem; }

  .bp-header-wrap { width: 100%; }
  .bp-header { padding: 0.625rem 0.75rem; border-radius: 0; }
  .bp-nav { display: none; }
  /* hamburger removed — user menu + auth buttons cover all mobile nav needs */

  /* Keep all header-right buttons visible and contained */
  .bp-header__right {
    gap: 0.25rem;
    flex-shrink: 0;
    overflow: visible;
  }
  /* Shrink currency button on very small screens */
  .bp-currency-btn {
    padding: 0.2rem 0.3rem;
    font-size: 0.75rem;
    height: 1.875rem;
  }
  .bp-currency-sym { display: none; } /* show flag only on tiny screens */
  .bp-currency-panel { right: -10px; width: 210px; }

  /* Align logo and right group */
  .bp-header { display: flex; align-items: center; justify-content: space-between; }
  .bp-logo__text span { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  
  .bp-hero { padding-top: 3rem; }
  .bp-hero__title { font-size: 2.25rem; }

  .bp-benefit-card { min-width: 300px; max-width: 340px; }
  .bp-benefit-card__left { font-size: 3rem; }
  .bp-benefit-card__right { padding: 1.25rem 1rem; }

  .bp-process__grid { grid-template-columns: 1fr; }
  .bp-trust-grid { grid-template-columns: 1fr 1fr; }
  
  .bp-comparison__col-label { min-width: 70px; font-size: 0.7rem; }
  .bp-comparison__cell { min-width: 70px; }

  .bp-footer__top { flex-direction: column; gap: 2rem; }
  .bp-footer__cols { gap: 1.75rem; }
  .bp-footer__brand { align-items: center; }

  .bp-btn--full-sm { width: 100%; }
  .bp-hero__actions { flex-direction: column; width: 100%; }
  .bp-hero__actions .bp-btn { width: 100%; justify-content: center; }
}

/* Very small screens */
@media (max-width: 380px) {
  .bp-benefit-card { min-width: 270px; flex-direction: column; }
  .bp-benefit-card__left, .bp-benefit-card__right { width: 100%; }
  .bp-benefit-card__left { padding: 1.5rem; font-size: 2.5rem; }
}

/* =============================================================================
   PRINT
   ============================================================================= */
@media print {
  .bp-header-wrap, .bp-theme-toggle, #bp-auth-view { display: none !important; }
  .bp-bg-layer { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ════════════════════════════════════════════════════
   AUTH — Forgot Password multi-step OTP flow
════════════════════════════════════════════════════ */

/* Hide all steps by default */
.bp-forgot-step {
    display: none;
}
/* Show only the active step */
.bp-forgot-step--active {
    display: block;
    animation: bp-step-in .22s ease both;
}
@keyframes bp-step-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0);  }
}

/* Hint text inside the OTP step */
.bp-auth-step-hint {
    font-size: .8125rem;
    color: var(--bp-text-muted, #6b7280);
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* OTP code input — large centered digits */
.bp-auth-input--otp {
    letter-spacing: .6rem;
    font-size: 1.625rem;
    font-weight: 700;
    text-align: center;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-variant-numeric: tabular-nums;
}

/* Forgot Password link below login button */
.bp-auth-forgot-link {
    margin-top: .625rem;
    text-align: center;
    font-size: .8125rem;
}

/* Sign-up row below the separator — space-between layout */
.bp-auth-switch--signup-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: .8125rem;
}
.bp-auth-switch--signup-row span {
    color: var(--bp-text-muted, #6b7280);
}
.bp-auth-link--highlight {
    font-weight: 600;
    color: var(--bp-primary, #2563eb) !important;
}
.bp-auth-link--highlight:hover {
    text-decoration: underline;
}

/* (Ghost button — see .bp-btn--ghost definition in base button section above) */

/* ════════════════════════════════════════════════════
   SIGNUP — OTP email verification & helper classes
════════════════════════════════════════════════════ */

/* OTP section panel (appears below email after Send Code click) */
.bp-signup-otp-section {
    margin: .75rem 0;
    padding: .875rem 1rem 1rem;
    border-radius: .75rem;
    border: 1px solid var(--bp-glass-border, rgba(255,255,255,.12));
    background: var(--bp-glass-bg, rgba(255,255,255,.04));
    animation: bp-step-in .22s ease both;
}

/* Countdown row */
.bp-signup-otp-countdown-row {
    font-size: .8125rem;
    color: var(--bp-text-muted, #6b7280);
    margin: .375rem 0 0;
    display: flex;
    align-items: center;
    gap: .375rem;
}

/* Countdown number (bold, colored) */
.bp-otp-countdown {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--bp-primary, #2563eb);
    letter-spacing: .02em;
}
.bp-otp-countdown--expired {
    color: #dc2626;
    animation: none;
}

/* Verified tick badge — appears on right side of email input */
.bp-auth-verified-tick {
    position: absolute;
    right: .625rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    flex-shrink: 0;
    animation: bp-pop-in .2s cubic-bezier(.34,1.56,.64,1) both;
    pointer-events: none;
}
@keyframes bp-pop-in {
    from { transform: translateY(-50%) scale(.3); opacity: 0; }
    to   { transform: translateY(-50%) scale(1);  opacity: 1; }
}

/* Username availability hints */
.bp-auth-hint--success { color: #16a34a; font-size: .8125rem; margin-top: .3rem; }
.bp-auth-hint--error   { color: #dc2626; font-size: .8125rem; margin-top: .3rem; }

/* Input invalid state */
.bp-auth-input--invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220,38,38,.15) !important;
}

/* =============================================================================
   PUBLIC SERVICES PAGE (page-services.php)
   ============================================================================= */
.bp-services-body { background: var(--bp-bg); }

.bp-svc-page {
    min-height: 100vh;
    padding-top: 0;
}

.bp-svc-hero {
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(139,92,246,.06));
    border-bottom: 1px solid var(--bp-glass-border);
}
.bp-svc-hero__inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.bp-svc-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--bp-text);
    margin: 0;
}
.bp-svc-hero__sub {
    font-size: 1.0625rem;
    color: var(--bp-text-muted);
    margin: 0;
    max-width: 46ch;
}

.bp-svc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bp-svc-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.bp-svc-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.bp-svc-search-wrap { flex-shrink: 0; width: 100%; }
.bp-svc-search-bar {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: var(--bp-glass-bg);
    border: 2px solid var(--bp-primary);
    border-radius: var(--bp-radius-full);
    box-shadow: 0 4px 20px rgba(37,99,235,.15);
    overflow: hidden;
    transition: box-shadow .2s var(--bp-ease);
}
.bp-svc-search-bar:focus-within {
    box-shadow: 0 4px 24px rgba(37,99,235,.30);
}
.bp-svc-search-ico {
    position: absolute;
    left: 1rem;
    width: 1.125rem;
    height: 1.125rem;
    color: var(--bp-primary);
    pointer-events: none;
    flex-shrink: 0;
}
.bp-svc-search {
    flex: 1;
    height: 3.125rem;
    padding: 0 1rem 0 2.75rem;
    background: transparent;
    border: none;
    color: var(--bp-text);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    min-width: 0;
}
.bp-svc-search::placeholder { font-weight: 500; color: var(--bp-text-muted); }
.bp-svc-search-btn {
    flex-shrink: 0;
    height: 3.125rem;
    padding: 0 1.5rem;
    background: var(--bp-primary);
    color: #fff;
    font-size: .9375rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    letter-spacing: .01em;
    transition: background .2s var(--bp-ease);
    white-space: nowrap;
}
.bp-svc-search-btn:hover { background: color-mix(in srgb, var(--bp-primary) 85%, #000); }

.bp-svc-table-wrap {
    overflow-x: auto;
    border-radius: var(--bp-radius-lg);
    border: 1px solid var(--bp-glass-border);
    background: var(--bp-glass-bg);
    backdrop-filter: blur(var(--bp-blur));
    -webkit-backdrop-filter: blur(var(--bp-blur));
}
.bp-svc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.bp-svc-table thead tr {
    border-bottom: 1px solid var(--bp-glass-border);
}
.bp-svc-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bp-text-muted);
    white-space: nowrap;
}
.bp-svc-table td {
    padding: 0.75rem 1rem;
    color: var(--bp-text);
    border-bottom: 1px solid var(--bp-glass-border);
}
.bp-svc-table tbody tr:last-child td { border-bottom: none; }
.bp-svc-table tbody tr:hover td { background: rgba(37,99,235,.04); }
.bp-svc-table__id { color: var(--bp-text-muted); font-size: .8125rem; }
.bp-svc-table__name { font-weight: 500; }
.bp-svc-table__rate { font-weight: 600; color: var(--bp-primary); }

.bp-svc-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--bp-text-muted);
    font-size: 1rem;
}

.bp-svc-cta {
    margin-top: 1rem;
    padding: 2.5rem 2rem;
    border-radius: var(--bp-radius-xl);
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-secondary));
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.bp-svc-cta__text {
    font-size: 1.0625rem;
    font-weight: 500;
    margin: 0;
    max-width: 46ch;
}
.bp-svc-cta .bp-btn--primary {
    background: #fff;
    color: var(--bp-primary);
}
.bp-svc-cta .bp-btn--primary:hover {
    background: rgba(255,255,255,.9);
}

@media (max-width: 600px) {
    .bp-svc-filters { flex-direction: column; align-items: flex-start; }
    .bp-svc-search { width: 100%; min-width: 0; }
    .bp-svc-table th, .bp-svc-table td { padding: .5rem .75rem; }
}

/* ═══════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
═══════════════════════════════════════════════════════ */
.bp-scroll-top {
    position: fixed;
    bottom: 5rem;
    right: 1.25rem;
    z-index: 3000;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: var(--bp-primary);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: opacity .25s, transform .25s;
}
.bp-scroll-top.bp-scroll-top--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.bp-scroll-top:hover { filter: brightness(1.1); }

/* ═══════════════════════════════════════════════════════
   FLOATING CHAT FAB
═══════════════════════════════════════════════════════ */
.bp-chat-fab {
    position: fixed;
    bottom: 8.5rem;
    right: 1.25rem;
    z-index: 3000;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent, #7c3aed));
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    transition: transform .2s, box-shadow .2s;
}
.bp-chat-fab:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.bp-chat-fab-badge {
    position: absolute;
    top: 0; right: 0;
    width: 1rem; height: 1rem;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: .625rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bp-surface, #fff);
}

/* ═══════════════════════════════════════════════════════
   CHAT WINDOW (floating popup)
═══════════════════════════════════════════════════════ */
.bp-chat-window {
    position: fixed;
    bottom: 12.5rem;
    right: 1.25rem;
    z-index: 2999;
    width: 340px;
    max-height: 520px;
    border-radius: 1rem;
    background: var(--bp-surface, #fff);
    box-shadow: 0 12px 40px rgba(0,0,0,.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--bp-border, rgba(255,255,255,.12));
    animation: bp-chat-in .2s ease;
}
@keyframes bp-chat-in {
    from { opacity:0; transform: scale(.95) translateY(10px); }
    to   { opacity:1; transform: scale(1)  translateY(0); }
}
.bp-chat-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent, #7c3aed));
    color: #fff;
}
.bp-chat-window-admin { display: flex; align-items: center; gap: .625rem; }
.bp-chat-window-avatar {
    width: 2.25rem; height: 2.25rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.4);
    flex-shrink: 0;
}
.bp-chat-window-avatar--placeholder {
    width: 2.25rem; height: 2.25rem;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.bp-chat-window-info { display: flex; flex-direction: column; gap: .125rem; }
.bp-chat-window-info strong { font-size: .875rem; }
.bp-chat-online { display: flex; align-items: center; gap: .3rem; font-size: .7rem; opacity: .9; }
.bp-chat-online-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #22c55e; }
.bp-chat-online--offline .bp-chat-online-dot { background: #9ca3af; }
.bp-chat-online--busy    .bp-chat-online-dot { background: #eab308; }
.bp-chat-window-close {
    background: none; border: none; color: rgba(255,255,255,.8);
    cursor: pointer; padding: .25rem; border-radius: .25rem;
    transition: color .15s; display: flex;
}
.bp-chat-window-close:hover { color: #fff; }
/* Window tabs */
.bp-chat-window-tabs {
    display: flex;
    border-bottom: 1px solid var(--bp-border, rgba(255,255,255,.1));
    background: var(--bp-surface-raised, rgba(255,255,255,.05));
    flex-shrink: 0;
}
.bp-chat-window-tab {
    flex: 1; padding: .5rem; border: none; background: none;
    color: var(--bp-text-muted, #94a3b8); font-size: .75rem; font-weight: 500;
    cursor: pointer; transition: color .15s, border-bottom .15s;
    border-bottom: 2px solid transparent;
}
.bp-chat-window-tab--active {
    color: var(--bp-primary);
    border-bottom-color: var(--bp-primary);
}
/* Window body */
.bp-chat-window-body { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.bp-chat-window-body--hidden { display: none; }
.bp-chat-window-msgs {
    flex: 1; overflow-y: auto; padding: .75rem;
    display: flex; flex-direction: column; gap: .5rem;
    min-height: 0;
    max-height: 280px;
}
.bp-chat-window-empty { text-align: center; font-size: .8125rem; color: var(--bp-text-muted, #94a3b8); padding: 2rem 1rem; }
/* Chat messages */
.bp-win-msg { max-width: 78%; padding: .5rem .75rem; border-radius: .75rem; font-size: .8125rem; line-height: 1.45; }
.bp-win-msg--admin { align-self: flex-start; background: var(--bp-glass-bg, rgba(255,255,255,.07)); border: 1px solid var(--bp-border, rgba(255,255,255,.1)); border-bottom-left-radius: .2rem; }
.bp-win-msg--user   { align-self: flex-end;  background: var(--bp-primary); color: #fff; border-bottom-right-radius: .2rem; }
.bp-win-msg time   { display: block; font-size: .625rem; opacity: .55; margin-top: .2rem; }
/* Input bar */
.bp-chat-window-input {
    display: flex; align-items: center; gap: .5rem;
    padding: .5rem .75rem;
    border-top: 1px solid var(--bp-border, rgba(255,255,255,.1));
    background: var(--bp-surface, #fff);
    flex-shrink: 0;
}
.bp-win-chat-textarea {
    flex: 1; resize: none; border: none; background: none;
    color: #111827; font-size: .8125rem; outline: none;
    padding: .25rem 0; max-height: 80px; overflow-y: auto;
    font-family: inherit;
}
[data-theme="dark"] .bp-win-chat-textarea { color: #f1f5f9; }
.bp-win-media-btn {
    cursor: pointer; color: var(--bp-text-muted, #94a3b8);
    display: flex; padding: .2rem;
    transition: color .15s; flex-shrink: 0;
}
.bp-win-media-btn:hover { color: var(--bp-primary); }
.bp-win-send-btn {
    width: 2rem; height: 2rem; border-radius: 50%; border: none;
    background: var(--bp-primary); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: filter .15s;
}
.bp-win-send-btn:hover { filter: brightness(1.1); }

/* ═══════════════════════════════════════════════════════
   LIVE CHAT PANEL (inside Support tab)
═══════════════════════════════════════════════════════ */
.bp-livechat-wrap {
    border-radius: .75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 480px;
}
.bp-chat-header {
    display: flex; align-items: center; gap: .75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent, #7c3aed));
    color: #fff;
}
.bp-chat-admin-avatar {
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    object-fit: cover; border: 2px solid rgba(255,255,255,.4); flex-shrink: 0;
}
.bp-chat-admin-avatar--placeholder {
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; flex-shrink: 0;
}
.bp-chat-header-info { display: flex; flex-direction: column; gap: .2rem; }
.bp-chat-header-title { font-size: 1rem; font-weight: 600; }
.bp-chat-status { display: flex; align-items: center; gap: .375rem; font-size: .78rem; opacity: .9; }
.bp-chat-status-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #22c55e; }
.bp-chat-status--offline .bp-chat-status-dot { background: #9ca3af; }
.bp-chat-status--busy    .bp-chat-status-dot { background: #eab308; }
.bp-chat-tabs {
    display: flex;
    border-bottom: 1px solid var(--bp-border, rgba(255,255,255,.1));
    background: var(--bp-surface-raised, rgba(255,255,255,.04));
}
.bp-chat-tab {
    flex: 1; padding: .625rem; border: none; background: none;
    color: var(--bp-text-muted, #94a3b8); font-size: .8125rem; font-weight: 500;
    cursor: pointer; border-bottom: 2px solid transparent; transition: color .15s, border-bottom .15s;
}
.bp-chat-tab--active { color: var(--bp-primary); border-bottom-color: var(--bp-primary); }
.bp-chat-panel { display: flex; flex-direction: column; flex: 1; }
.bp-chat-panel--hidden { display: none; }
.bp-chat-messages {
    flex: 1; overflow-y: auto; padding: 1rem 1.25rem;
    display: flex; flex-direction: column; gap: .75rem;
    max-height: 320px; min-height: 180px;
}
.bp-chat-empty { text-align: center; color: var(--bp-text-muted, #94a3b8); font-size: .875rem; padding: 2rem 1rem; }
.bp-chat-msg { max-width: 72%; padding: .625rem .875rem; border-radius: .875rem; font-size: .875rem; line-height: 1.5; }
.bp-chat-msg--admin { align-self: flex-start; background: var(--bp-glass-bg, rgba(255,255,255,.07)); border: 1px solid var(--bp-border, rgba(255,255,255,.1)); border-bottom-left-radius: .2rem; }
.bp-chat-msg--user  { align-self: flex-end; background: var(--bp-primary); color: #fff; border-bottom-right-radius: .2rem; }
.bp-chat-msg time   { display: block; font-size: .6875rem; opacity: .55; margin-top: .25rem; }
.bp-chat-input-bar {
    display: flex; align-items: center; gap: .625rem;
    padding: .75rem 1.25rem;
    border-top: 1px solid var(--bp-border, rgba(255,255,255,.1));
}
.bp-chat-textarea {
    flex: 1; resize: none; border: 1px solid var(--bp-border, rgba(255,255,255,.1));
    border-radius: .625rem; padding: .5rem .75rem;
    background: var(--bp-glass-bg, rgba(255,255,255,.06));
    color: #111827; font-size: .875rem; outline: none; font-family: inherit;
    max-height: 80px; overflow-y: auto;
    transition: border-color .2s;
}
[data-theme="dark"] .bp-chat-textarea { color: #f1f5f9; }
.bp-chat-textarea:focus { border-color: var(--bp-primary); }
.bp-chat-media-btn {
    cursor: pointer; color: var(--bp-text-muted, #94a3b8);
    display: flex; padding: .3rem;
    transition: color .15s; flex-shrink: 0;
}
.bp-chat-media-btn:hover { color: var(--bp-primary); }
.bp-chat-send-btn {
    width: 2.25rem; height: 2.25rem; border-radius: 50%; border: none;
    background: var(--bp-primary); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: filter .15s;
}
.bp-chat-send-btn:hover { filter: brightness(1.1); }

/* Deposit notice (no methods configured) */
.bp-deposit-nomethod {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--bp-text-muted, #94a3b8);
}
.bp-deposit-nomethod span { font-size: 2rem; display: block; margin-bottom: .75rem; }
.bp-deposit-nomethod p { margin: 0; font-size: .9375rem; }

@media (max-width: 480px) {
    .bp-chat-window { right: .5rem; width: calc(100vw - 1rem); bottom: 10rem; }
    .bp-chat-fab { bottom: 7rem; }
    .bp-scroll-top { bottom: 4rem; }
}
