/*
Theme Name: BitBeam for Divi
Theme URI: https://bitbeam.space
Author: BitBeam
Author URI: https://bitbeam.space
Description: BitBeam brand child theme for Divi — the memory layer for digital businesses. Applies BitBeam colors, fonts, and visual identity to the Divi theme.
Template: Divi
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bitbeam-divi
Tags: child-theme, divi, bitbeam, light, responsive
*/

/* ================================================================
   BITBEAM BRAND TOKENS — from docs/brand/BITBEAM_BRAND_SYSTEM.md
   Source: bitbeam-website Next.js canonical design
   ================================================================ */

:root {
  /* Brand colors — from icon.svg */
  --bb-blue: #0066cc;
  --bb-cyan: #00ccff;
  --bb-mint: #00ffcc;

  /* UI colors */
  --bb-primary: #6366f1;
  --bb-secondary: #8b5cf6;
  --bb-accent: #06b6d4;

  /* Surfaces */
  --bb-bg: #ffffff;
  --bb-surface: #f8fafc;
  --bb-surface-2: #f1f5f9;
  --bb-border: #e2e8f0;

  /* Text */
  --bb-text: #1e293b;
  --bb-text-dim: #64748b;
  --bb-text-light: #94a3b8;

  /* Semantic */
  --bb-success: #10b981;
  --bb-warning: #f59e0b;
  --bb-danger: #ef4444;

  /* Gradients */
  --bb-gradient-brand: linear-gradient(135deg, #0066cc 0%, #00ccff 50%, #00ffcc 100%);
  --bb-gradient-hero: linear-gradient(135deg, #e0f2fe 0%, #ffffff 50%, #ecfeff 100%);
  --bb-gradient-footer: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --bb-gradient-button: linear-gradient(135deg, #0066cc 0%, #00ccff 100%);
}

/* ================================================================
   FONTS — self-hosted Inter (from beijaflore-wp)
   ================================================================ */

@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}
@font-face{font-family:"Inter Fallback";src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}

body,
h1, h2, h3, h4, h5, h6,
.et_pb_module,
.et_pb_button {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* ================================================================
   DIVI OVERRIDES — apply BitBeam brand to Divi
   ================================================================ */

/* Primary color */
a, .et_pb_button, .et_pb_module a {
  color: var(--bb-blue);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--bb-text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Body text */
body {
  color: var(--bb-text);
  background: var(--bb-bg);
  line-height: 1.6;
}

/* ================================================================
   DIVI BUTTONS — BitBeam gradient
   ================================================================ */

.et_pb_button {
  background: var(--bb-gradient-button) !important;
  color: white !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0.75rem 1.75rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  box-shadow: 0 0 25px rgba(0, 204, 255, 0.25) !important;
  transition: all 0.2s !important;
}

.et_pb_button:hover {
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(0, 204, 255, 0.35) !important;
}

/* Secondary/outline button */
.et_pb_button.bb-btn-secondary {
  background: white !important;
  color: var(--bb-blue) !important;
  border: 2px solid var(--bb-blue) !important;
  box-shadow: none !important;
}

.et_pb_button.bb-btn-secondary:hover {
  background: #eff6ff !important;
}

/* ================================================================
   DIVI SECTIONS — BitBeam surfaces
   ================================================================ */

.et_pb_section {
  background: var(--bb-bg);
}

.et_pb_section.bb-hero-section {
  background: transparent !important;
  padding: 0 !important;
}

.et_pb_section.bb-hero-section .et_pb_row {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.et_pb_section.bb-hero-section .et_pb_column_4_4 {
  width: 100% !important;
  padding: 0 !important;
}

.et_pb_section_0 {
  background: var(--bb-gradient-hero) !important;
}

/* Dark section (for footer) */
.et_pb_section.bb-dark {
  background: var(--bb-gradient-footer) !important;
  color: #e2e8f0 !important;
}

.et_pb_section.bb-dark h1,
.et_pb_section.bb-dark h2,
.et_pb_section.bb-dark h3,
.et_pb_section.bb-dark h4 {
  color: white !important;
}

.et_pb_section.bb-dark a {
  color: var(--bb-cyan) !important;
}

/* ================================================================
   DIVI CARDS — BitBeam card style
   ================================================================ */

.et_pb_column .et_pb_module {
  border-radius: 16px;
}

.bb-card {
  background: white !important;
  border: 1px solid var(--bb-border) !important;
  border-radius: 16px !important;
  padding: 1.75rem !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s !important;
}

.bb-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border-color: var(--bb-cyan) !important;
}

/* ================================================================
   GRADIENT TEXT — BitBeam signature
   ================================================================ */

.bb-gradient-text {
  background: var(--bb-gradient-brand) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ================================================================
   PROOF CARDS — for the "Verified system" section
   ================================================================ */

.bb-proof-card {
  background: white !important;
  border: 1px solid var(--bb-border) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s !important;
}

.bb-proof-card:hover {
  border-color: var(--bb-success) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.bb-proof-card .bb-check {
  color: var(--bb-success);
  font-size: 1.5rem;
  font-weight: 700;
}

.bb-proof-card.bb-highlight {
  border: 2px solid var(--bb-success) !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, rgba(0, 255, 204, 0.04) 100%) !important;
}

/* ================================================================
   ARCHITECTURE DIAGRAM
   ================================================================ */

.bb-arch-layer {
  background: white;
  border: 1px solid var(--bb-border);
  border-radius: 16px;
  padding: 1.25rem 2rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.bb-arch-layer.bb-core {
  border: 2px solid var(--bb-cyan);
  background: linear-gradient(135deg, rgba(0, 204, 255, 0.05) 0%, rgba(0, 255, 204, 0.05) 100%);
  box-shadow: 0 0 25px rgba(0, 204, 255, 0.25);
}

.bb-arch-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bb-text-dim);
  margin-bottom: 0.75rem;
}

.bb-arch-core .bb-arch-label {
  background: var(--bb-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bb-arch-items span {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--bb-text);
  background: var(--bb-surface);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--bb-border);
  margin: 0.25rem;
}

.bb-arch-core .bb-arch-items span {
  border-color: rgba(0, 204, 255, 0.3);
  background: rgba(0, 204, 255, 0.08);
  color: var(--bb-blue);
}

/* ================================================================
   HEADER — compact 66px, brand lockup + nav + CTA
   ================================================================ */

#main-header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bb-border);
  box-shadow: none !important;
  min-height: 66px !important;
  max-height: 66px !important;
  line-height: 1 !important;
}

/* Override Divi's data-height-onload */
#main-header[data-height-onload] {
  height: 66px !important;
  max-height: 66px !important;
}

#main-header .container {
  min-height: 66px !important;
  max-height: 66px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* Nav area */
#et-top-navigation {
  height: 66px !important;
  display: flex !important;
  align-items: center !important;
  padding-left: 20px !important;
}

#top-menu li a {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--bb-text-dim) !important;
  padding: 0 12px !important;
  line-height: 66px !important;
  transition: color 0.2s !important;
}

#top-menu li a:hover {
  color: var(--bb-blue) !important;
}

/* CTA button in nav */
#top-menu li.bb-nav-cta a {
  background: var(--bb-gradient-button) !important;
  color: white !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  margin-left: 8px !important;
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.2) !important;
  transition: all 0.2s !important;
}

#top-menu li.bb-nav-cta a:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(0, 204, 255, 0.35) !important;
  color: white !important;
}

#top-menu li.bb-nav-signin a {
  color: var(--bb-blue) !important;
  font-weight: 600 !important;
}

/* Remove WooCommerce cart icon and Divi search from header */
.et-cart-info,
#et_top_search {
  display: none !important;
}

/* ================================================================
   LOGO — animated SVG brand lockup
   SVG viewBox: 56x52 (tight crop, 2-4px optical padding)
   ================================================================ */

.et_header_style_left .logo_container {
  position: absolute;
  height: 66px !important;
  width: auto;
  display: flex !important;
  align-items: center !important;
}

.logo_container > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  height: 66px !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.logo_container #logo.bb-logo-svg,
.et_pb_svg_logo #logo.bb-logo-svg,
.et_header_style_left #logo.bb-logo-svg {
  width: 32px !important;
  height: 30px !important;
  max-height: none !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 32px;
  object-fit: contain;
  background: transparent !important;
  display: inline-block !important;
  float: none !important;
  vertical-align: middle !important;
  -webkit-transform: none !important;
  transform: none !important;
}

.bb-site-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--bb-text);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle !important;
}

@media (max-width: 980px) {
  #et-top-navigation {
    height: 66px !important;
  }
  #top-menu li a {
    line-height: 66px !important;
  }
  /* Mobile menu — Divi uses .et_mobile_menu, not #top-menu */
  .et_mobile_menu li a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--bb-text-dim) !important;
    padding: 10px 15px !important;
    line-height: 1.4 !important;
    transition: color 0.2s !important;
  }
  .et_mobile_menu li a:hover {
    color: var(--bb-blue) !important;
  }
  .et_mobile_menu li.bb-nav-cta a {
    background: var(--bb-gradient-button) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin: 8px 15px !important;
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.2) !important;
  }
  .et_mobile_menu li.bb-nav-signin a {
    color: var(--bb-blue) !important;
    font-weight: 600 !important;
  }
  /* Mobile menu toggle button */
  .et_mobile_menu_menu_bar a {
    color: var(--bb-blue) !important;
  }
}

@media (max-width: 480px) {
  .logo_container #logo.bb-logo-svg,
  .et_pb_svg_logo #logo.bb-logo-svg,
  .et_header_style_left #logo.bb-logo-svg {
    width: 26px !important;
    height: 24px !important;
    flex: 0 0 26px;
  }
  .bb-site-title {
    font-size: 1.15rem;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .bb-logo-svg animate {
    display: none;
  }
}

/* ================================================================
   FOOTER — dark slate
   ================================================================ */

#main-footer {
  background: var(--bb-gradient-footer) !important;
  color: #94a3b8 !important;
}

#main-footer h4 {
  color: white !important;
}

#main-footer a {
  color: #94a3b8 !important;
}

#main-footer a:hover {
  color: white !important;
}

#footer-bottom {
  background: rgba(0, 0, 0, 0.2) !important;
}

/* ================================================================
   SSO LOGIN PAGE — BitBeam branded
   ================================================================ */

body.login {
  background: var(--bb-gradient-hero) !important;
}

.login h1 a {
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  text-indent: 0 !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  background: var(--bb-gradient-brand) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.login form {
  border-radius: 16px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid var(--bb-border) !important;
}

.login .button-primary {
  background: var(--bb-gradient-button) !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 0 25px rgba(0, 204, 255, 0.25) !important;
}

.bitbeam-sso-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--bb-text-dim);
}

.bitbeam-sso-footer a {
  color: var(--bb-blue);
  font-weight: 600;
}

/* ================================================================
   BADGES
   ================================================================ */

.bb-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bb-badge-proven {
  background: rgba(16, 185, 129, 0.1);
  color: var(--bb-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bb-badge-verified {
  background: rgba(6, 182, 212, 0.1);
  color: var(--bb-accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 980px) {
  .bb-arch-layer {
    min-width: 100% !important;
    padding: 1rem !important;
  }
}

@media (max-width: 640px) {
  .bb-arch-items span {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
}

/* ================================================================
   HOMEPAGE — bitbeam-website light design
   ================================================================ */

/* Hide default Divi footer on homepage — front-page.php has its own footer. */
body.home #main-footer,
body.home #footer-bottom {
  display: none !important;
}

.bb-home-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .bb-home-container {
    padding: 0 1.5rem;
  }
}

/* Hero */
.bb-home-hero {
  background: var(--bb-gradient-hero);
  padding: 6rem 0 7rem;
  text-align: center;
}

.bb-home-hero .bb-badge {
  background: #dbeafe;
  color: var(--bb-blue);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.bb-home-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  background: var(--bb-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bb-home-hero p {
  font-size: 1.25rem;
  color: var(--bb-text-dim);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.bb-home-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .bb-home-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .bb-home-hero-actions .et_pb_button {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

.bb-home-hero-actions .et_pb_button {
  display: inline-flex;
  align-items: center;
}

.bb-home-hero-actions .et_pb_button::after {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7l5 5m0 0l-5 5m5-5H6'/%3E%3C/svg%3E");
  background-size: contain;
}

/* Sections */
.bb-home-section {
  padding: 5rem 0;
}

.bb-home-section.bg-light {
  background: #f8fafc;
}

.bb-home-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.bb-home-section-title h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--bb-text);
}

.bb-home-section-title p {
  color: var(--bb-text-dim);
  font-size: 1.125rem;
  max-width: 672px;
  margin: 0 auto;
}

/* Grids */
.bb-home-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .bb-home-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bb-home-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.bb-home-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.bb-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--bb-cyan);
}

.bb-home-card-icon {
  width: 3rem;
  height: 3rem;
  color: var(--bb-blue);
  margin-bottom: 1rem;
}

.bb-home-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--bb-text);
}

.bb-home-card p {
  color: var(--bb-text-dim);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.bb-home-card code {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #1e293b;
  margin: 0 0 0.75rem;
}

.bb-home-card .et_pb_button {
  margin-top: auto;
}

/* Pricing */
.bb-home-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .bb-home-pricing {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bb-home-pricing-card {
  background: #ffffff;
  border: 1px solid var(--bb-border);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.bb-home-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bb-home-pricing-card.highlight {
  border: 2px solid var(--bb-blue);
  box-shadow: 0 10px 15px -3px rgba(0, 102, 204, 0.15);
}

.bb-home-pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.bb-home-pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--bb-text);
}

.bb-home-pricing-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--bb-text-dim);
}

.bb-home-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.bb-home-pricing-card li {
  color: var(--bb-text-dim);
  padding: 0.35rem 0;
}

.bb-home-pricing-card li::before {
  content: '✓';
  color: var(--bb-success);
  font-weight: 700;
  margin-right: 0.5rem;
}

.bb-home-pricing-card .et_pb_button {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Footer */
.bb-home-footer {
  background: var(--bb-gradient-footer);
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

.bb-home-footer h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.bb-home-footer a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  font-size: 0.875rem;
}

.bb-home-footer a:hover {
  color: #ffffff;
}

.bb-home-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .bb-home-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.bb-home-footer-brand svg {
  width: 100%;
  height: auto;
  display: block;
}

.bb-home-footer-brand p {
  font-size: 0.875rem;
  max-width: 320px;
}

.bb-home-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.bb-home-footer-bottom a {
  display: inline;
  color: #cbd5e1;
}

.bb-home-footer-bottom a:hover {
  color: #ffffff;
}

/* ================================================================
   WOOCOMMERCE — BitBeam brand styling for commerce pages
   Checkout, Cart, Shop, My Account
   ================================================================ */

/* WooCommerce pages use a wider container */
.woocommerce-page #main-content .container,
.woocommerce-page #main-content .et_pb_row {
  max-width: 1280px !important;
}

/* --- Shop / Product Archive --- */

.woocommerce ul.products li.product {
  background: var(--bb-surface);
  border: 1px solid var(--bb-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  color: var(--bb-text);
}

.woocommerce ul.products li.product .price {
  color: var(--bb-blue) !important;
  font-weight: 700;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--bb-gradient-button) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.5rem !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 0.95rem !important;
  transition: opacity 0.2s, box-shadow 0.2s !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25) !important;
}

/* --- Cart Page --- */

.woocommerce-cart table.cart {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--bb-border);
}

.woocommerce-cart table.cart th {
  background: var(--bb-surface-2);
  color: var(--bb-text);
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
}

.woocommerce-cart table.cart td {
  border-top: 1px solid var(--bb-border);
}

.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce .cart-collaterals .cross-sells h2 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
  color: var(--bb-text);
}

/* --- Checkout Page --- */

.woocommerce-checkout .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
}

.woocommerce-checkout h1,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
  color: var(--bb-text);
}

.woocommerce-checkout .form-row label {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  color: var(--bb-text-dim);
  font-size: 0.9rem;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  border: 1px solid var(--bb-border) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  background: var(--bb-bg) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: var(--bb-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1) !important;
}

/* Checkout order review table */
.woocommerce-checkout-review-order-table {
  border: 1px solid var(--bb-border) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.woocommerce-checkout-review-order-table th {
  background: var(--bb-surface-2) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
}

.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total th {
  font-weight: 700;
  font-size: 1.1rem;
}

/* Place order button */
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  background: var(--bb-gradient-button) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 1rem 2rem !important;
  width: 100% !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  transition: opacity 0.2s, box-shadow 0.2s !important;
}

.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover {
  opacity: 0.9;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3) !important;
}

/* Payment method labels */
.woocommerce-checkout #payment ul.payment_methods li label {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  color: var(--bb-text);
}

/* Stripe specific — style the card element container */
.wc-stripe-upe-element,
.wc-stripe-upe-fields-container {
  border: 1px solid var(--bb-border);
  border-radius: 8px;
  padding: 0.75rem;
  background: var(--bb-bg);
}

/* --- My Account --- */

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  font-family: 'Inter', sans-serif !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--bb-blue);
  font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--bb-blue);
}

/* --- Notices / Messages --- */

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  border-top-color: var(--bb-blue) !important;
  background: rgba(0, 102, 204, 0.05) !important;
  font-family: 'Inter', sans-serif !important;
}

.woocommerce .woocommerce-error {
  border-top-color: var(--bb-danger) !important;
  background: rgba(239, 68, 68, 0.05) !important;
  font-family: 'Inter', sans-serif !important;
}

/* --- Breadcrumbs --- */

.woocommerce .woocommerce-breadcrumb {
  font-family: 'Inter', sans-serif !important;
  color: var(--bb-text-dim) !important;
  font-size: 0.875rem !important;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--bb-blue) !important;
}

/* --- Product page --- */

.woocommerce div.product .product_title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
  color: var(--bb-text);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--bb-blue) !important;
  font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bb-blue) !important;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .woocommerce-checkout .woocommerce {
    padding: 0 1rem;
  }

  .woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
  }
}

/* ================================================================
   PILOT HOMEPAGE — launch-quality layout corrections
   ================================================================ */

/* Divi owns the header markup; the child theme only controls its finish. */
#main-header .container {
    width: min(92%, 1180px) !important;
    max-width: 1180px !important;
    position: relative !important;
}

.et_header_style_left .logo_container {
    position: static !important;
    flex: 0 0 auto !important;
}

#et-top-navigation {
    margin-left: auto !important;
    padding-left: 32px !important;
}

#top-menu {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
}

#top-menu > li {
    padding-right: 0 !important;
}

/* The banner now sits in the document flow immediately below the header. */
#bb-pilot-banner {
    min-height: 40px;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

body.home #main-content,
body.home article.et_pb_post,
body.home .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

body.home .entry-content::after {
    content: '';
    display: table;
    clear: both;
}

body.home .et_pb_section:not(:first-child) {
    padding: 84px 0 !important;
}

body.home .et_pb_section:nth-child(even) {
    background: #f7fafc !important;
}

body.home .et_pb_section .et_pb_row {
    width: min(90%, 1120px) !important;
    max-width: 1120px !important;
}

body.home .et_pb_section h2 {
    font-size: clamp(1.9rem, 3vw, 2.65rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 0.65rem !important;
}

body.home .et_pb_section h2 + p {
    color: var(--bb-text-dim) !important;
    font-size: 1.05rem !important;
}

/* Give the capability cards a consistent commercial grid. */
body.home .et_pb_section_1 .et_pb_row:nth-child(2),
body.home .et_pb_section_2 .et_pb_row:nth-child(2) {
    display: flex !important;
    align-items: stretch !important;
    gap: 24px !important;
}

body.home .et_pb_section_1 .et_pb_row:nth-child(2) .et_pb_column,
body.home .et_pb_section_2 .et_pb_row:nth-child(2) .et_pb_column {
    width: calc((100% - 48px) / 3) !important;
    margin-right: 0 !important;
}

body.home .bb-capability-card {
    min-height: 290px !important;
    padding: 30px !important;
    border-color: #dbe4ee !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06) !important;
}

body.home .bb-capability-card-icon {
    width: 44px !important;
    height: 44px !important;
    padding: 10px !important;
    border-radius: 12px !important;
    background: rgba(0, 102, 204, 0.08) !important;
}

/* Planned prices are previews, not unstyled checkout offers. */
body.home .et_pb_section_2 .et_pb_column {
    background: #fff !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 18px !important;
    padding: 30px !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06) !important;
}

body.home .et_pb_section_2 .et_pb_column h3 {
    font-size: 1.3rem !important;
    margin-bottom: 14px !important;
}

body.home .et_pb_section_2 .et_pb_column strong {
    display: inline-block !important;
    color: var(--bb-blue) !important;
    font-size: 1.05rem !important;
    margin-bottom: 14px !important;
}

body.home .et_pb_section_2 .et_pb_column ul {
    margin: 4px 0 22px !important;
    padding-left: 20px !important;
}

body.home .et_pb_section_2 .et_pb_column em {
    display: inline-flex !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: #eef6ff !important;
    color: #0759a8 !important;
    font-style: normal !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

body.home .et_pb_section_3 {
    background: linear-gradient(135deg, #0f172a, #153b64) !important;
    color: #d8e4ef !important;
    text-align: center !important;
}

body.home .et_pb_section_3 h2 {
    color: #fff !important;
}

body.home .et_pb_section_3 p {
    max-width: 760px !important;
    margin: 0 auto !important;
    color: #c2d3e3 !important;
}

@media (max-width: 980px) {
    #top-menu {
        display: none !important;
    }

    #et-top-navigation {
        padding-left: 0 !important;
    }

    body.home .et_pb_section:not(:first-child) {
        padding: 64px 0 !important;
    }

    body.home .et_pb_section_1 .et_pb_row:nth-child(2),
    body.home .et_pb_section_2 .et_pb_row:nth-child(2) {
        flex-wrap: wrap !important;
    }

    body.home .et_pb_section_1 .et_pb_row:nth-child(2) .et_pb_column,
    body.home .et_pb_section_2 .et_pb_row:nth-child(2) .et_pb_column {
        width: calc(50% - 12px) !important;
    }
}

@media (max-width: 767px) {
    #bb-pilot-banner {
        min-height: 54px;
    }

    .bb-site-title {
        font-size: 1.1rem !important;
    }

    body.home .et_pb_section:not(:first-child) {
        padding: 48px 0 !important;
    }

    body.home .et_pb_section_1 .et_pb_row:nth-child(2),
    body.home .et_pb_section_2 .et_pb_row:nth-child(2) {
        display: block !important;
    }

    body.home .et_pb_section_1 .et_pb_row:nth-child(2) .et_pb_column,
    body.home .et_pb_section_2 .et_pb_row:nth-child(2) .et_pb_column {
        width: 100% !important;
        margin: 0 0 18px !important;
    }

    body.home .bb-capability-card {
        min-height: 0 !important;
    }
}

/* (logo styles moved to header section above) */

/* ================================================================
   FULL-WIDTH PAGE LAYOUT — remove right sidebar on all BitBeam pages
   ================================================================ */

/* Hide sidebar on all pages (not posts, not WooCommerce) */
body.page-template-default:not(.home) #sidebar,
body.page:not(.home) #sidebar,
body.page-template:not(.home) #left-sidebar,
body.page-template:not(.home) #sidebar {
    display: none !important;
}

/* Make main content full width when sidebar is hidden */
body.page:not(.home) #left-area,
body.page-template-default:not(.home) #left-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-right: 0 !important;
}

body.page:not(.home) #main-content .container,
body.page:not(.home) #main-content .et_pb_row {
    max-width: 1280px !important;
}

/* ================================================================
   HERO BANNER — SVG containment and overflow control
   ================================================================ */

/* Prevent horizontal overflow from hero sections */
body {
    overflow-x: hidden;
}

/* Hero banner SVG arrows — contain size */
.bitbeam-hero-cta svg,
.bb-hero-banner-cta svg,
.bitbeam-hero svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    max-width: 1.25rem !important;
    max-height: 1.25rem !important;
    flex-shrink: 0 !important;
}

/* Hero banner — contain the gradient background */
.bitbeam-hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: var(--bb-gradient-hero);
}

/* Hero background gradient — contained */
.bitbeam-hero-bg {
    position: absolute;
    inset: -5rem;
    background: linear-gradient(135deg, rgba(0,102,204,0.15) 0%, rgba(0,204,255,0.1) 50%, rgba(0,255,204,0.1) 100%);
    z-index: 0;
}

.bitbeam-hero-dots {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at 2px 2px, var(--bb-blue) 1.5px, transparent 0);
    background-size: 24px 24px;
    animation: wave 20s ease-in-out infinite;
}

/* Hero content — above background */
.bitbeam-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 4rem 1.5rem;
}

.bitbeam-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.bitbeam-hero-text {
    max-width: 640px;
}

/* Hero bottom fade */
.bitbeam-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, var(--bb-bg), transparent);
    z-index: 0;
}

/* Hero title */
.bitbeam-hero h1,
.bitbeam-hero-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.15 !important;
    margin: 0 0 1rem !important;
    font-weight: 800 !important;
    color: var(--bb-text) !important;
    letter-spacing: -0.02em !important;
}

/* Hero description */
.bitbeam-hero p,
.bitbeam-hero-description {
    font-size: 1.125rem !important;
    line-height: 1.6 !important;
    margin: 0 0 2rem !important;
    max-width: 640px;
    color: var(--bb-text-dim) !important;
}

/* Hero CTA buttons */
.bitbeam-hero .bitbeam-hero-cta,
.bitbeam-hero .bb-hero-banner-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
    margin-right: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Primary CTA — gradient */
.bitbeam-hero .bitbeam-hero-cta:first-of-type,
.bitbeam-hero .bb-hero-banner-cta:first-of-type {
    background: var(--bb-gradient-button) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.2) !important;
}

/* Secondary CTA — outline */
.bitbeam-hero .bitbeam-hero-cta-secondary,
.bitbeam-hero .bb-hero-banner-cta:last-of-type {
    background: transparent !important;
    color: var(--bb-text) !important;
    border: 1px solid var(--bb-border) !important;
    box-shadow: none !important;
}

/* ================================================================
   CAPABILITY CARD — icon and typography containment
   ================================================================ */

.bb-capability-card {
    background: white !important;
    border: 1px solid var(--bb-border) !important;
    border-radius: 1rem !important;
    padding: 1.75rem !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.bb-capability-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--bb-cyan) !important;
}

/* Icon — contained size */
.bb-capability-card-icon {
    width: 3rem !important;
    height: 3rem !important;
    max-width: 3rem !important;
    max-height: 3rem !important;
    color: var(--bb-blue) !important;
    margin-bottom: 1rem !important;
    flex-shrink: 0 !important;
}

.bb-capability-card-icon svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 3rem !important;
    max-height: 3rem !important;
}

/* Title */
.bb-capability-card h3,
.bb-capability-card .bb-capability-card-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin: 0 0 0.5rem !important;
    color: var(--bb-text) !important;
}

/* Description */
.bb-capability-card p,
.bb-capability-card .bb-capability-card-description {
    color: var(--bb-text-dim) !important;
    margin: 0 0 1rem !important;
    line-height: 1.6 !important;
    flex-grow: 1 !important;
}

/* CTA */
.bb-capability-card-cta {
    display: inline-flex !important;
    align-items: center !important;
    color: var(--bb-blue) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    margin-top: auto !important;
}

.bb-capability-card-cta:hover {
    color: var(--bb-cyan) !important;
}

/* ================================================================
   DIVI SECTION OVERFLOW — prevent horizontal scroll
   ================================================================ */

.et_pb_section {
    overflow-x: hidden;
}

.et_pb_row {
    max-width: 1280px !important;
}

/* Full-width sections should not add padding */
.et_pb_section_fullwidth .et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* ================================================================
   HEADER CLEANUP — remove stray Divi elements
   ================================================================ */

/* Remove secondary menu / top bar */
#top-header,
#et-secondary-nav,
#et-info,
#et-secondary-menu {
    display: none !important;
}

/* Remove search icon */
#et_top_search,
.et-search-form {
    display: none !important;
}

/* Remove select nav fallback */
#et-top-navigation select {
    display: none !important;
}

/* ================================================================
   PAGE TITLE — suppress on Divi builder pages
   ================================================================ */

/* Hide the WordPress-generated page title on Divi pages */
body.page:not(.home) h1.entry-title {
    display: none !important;
}

/* Hide the page title container if Divi wraps it */
body.page:not(.home) .entry-content h1:first-child {
    /* Only hide if it's the auto-generated title, not content h1 */
}

/* ================================================================
   RESPONSIVE — tablet and mobile fixes
   ================================================================ */

@media (max-width: 980px) {
    /* Hero — smaller text on tablet */
    .bitbeam-hero h1,
    .bitbeam-hero-title {
        font-size: 2rem !important;
    }
    .bitbeam-hero p,
    .bitbeam-hero-description {
        font-size: 1rem !important;
    }
    /* Capability cards — 2 columns on tablet */
    .et_pb_row .et_pb_column_1_3 {
        width: 50% !important;
    }
}

@media (max-width: 767px) {
    /* Hero — single column on mobile */
    .bitbeam-hero {
        min-height: 400px !important;
    }
    .bitbeam-hero-content {
        padding: 2rem 1rem !important;
    }
    .bitbeam-hero h1,
    .bitbeam-hero-title {
        font-size: 1.75rem !important;
    }
    /* Capability cards — 1 column on mobile */
    .et_pb_row .et_pb_column_1_3,
    .et_pb_row .et_pb_column_1_2 {
        width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
    /* CTA buttons — stack vertically on mobile */
    .bitbeam-hero .bitbeam-hero-cta,
    .bitbeam-hero .bb-hero-banner-cta {
        display: flex !important;
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 480px) {
    .bitbeam-hero h1,
    .bitbeam-hero-title {
        font-size: 1.5rem !important;
    }
    .bitbeam-hero p,
    .bitbeam-hero-description {
        font-size: 0.95rem !important;
    }
}

/* ================================================================
   PILOT MODE BANNER
   ================================================================ */

#bb-pilot-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px;
    background: linear-gradient(90deg, #0066cc 0%, #00ccff 100%);
    color: #fff;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    z-index: 99999;
    position: relative;
}

.bb-pilot-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bb-pilot-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bb-pilot-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
}

.bb-pilot-link:hover {
    color: #fff;
    opacity: 0.85;
}

@media (max-width: 768px) {
    #bb-pilot-banner {
        flex-wrap: wrap;
        gap: 6px;
        padding: 6px 12px;
        font-size: 12px;
    }
    .bb-pilot-text {
        white-space: normal;
        flex-basis: 100%;
        order: 3;
    }
    .bb-pilot-badge {
        order: 1;
    }
    .bb-pilot-link {
        order: 2;
    }
}
