/* ═══ PREMIUM HEADER & MOBILE NAVIGATION STYLES v3.0 ═══ */

:root {
  --sb-header-h-mobile: 66px;
  --header-bg-scrolled: rgba(7, 12, 26, 0.45);
  --header-blur-scrolled: 24px;
  --border-glow-scrolled: rgba(0, 229, 255, 0.12);
  --text-primary: rgba(240, 244, 250, 0.95);
  --text-muted: rgba(240, 244, 250, 0.65);
  --neon-cyan: #00E5FF;
  --neon-cyan-glow: rgba(0, 229, 255, 0.35);
  --neon-purple: #C026D3;
}

/* ── MAIN CONTAINER ── */
.sb-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: auto;
  padding: 24px clamp(24px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 8, 16, 0);
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── MOBILE: Force solid background from first paint (no scroll needed) ─ */
/* On desktop the transparent header over the hero looks premium.           */
/* On mobile Safari/Chrome the transparent header is INVISIBLE on dark bg. */
@media (max-width: 960px) {
  .sb-header {
    background: rgba(5, 9, 22, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 229, 255, 0.12) !important;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6) !important;
    height: var(--sb-header-h-mobile) !important;
    z-index: 99999 !important;
  }
}

.sb-header.scrolled {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(var(--header-blur-scrolled)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--header-blur-scrolled)) saturate(180%);
  border-bottom: 1px solid var(--border-glow-scrolled);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  padding: 12px clamp(24px, 4vw, 48px);
}

/* ── LOGO ── */
.sb-logo-link {
  display: flex;
  align-items: center;
  z-index: 10;
  position: relative;
  flex-shrink: 0;
}

.sb-logo-img {
  height: clamp(55px, 5vw, 75px) !important;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.1) contrast(1.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

.sb-header.scrolled .sb-logo-img {
  height: clamp(48px, 4vw, 55px) !important;
}

.sb-logo-img:hover {
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.25)) brightness(1.15) contrast(1.05);
}

/* ── LUXURIOUS DESKTOP NAVIGATION WORDS ── */
.sb-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  z-index: 50;
  position: relative;
  pointer-events: auto;
  transition: gap 0.3s ease;
}

.sb-nav > div,
.sb-nav > a {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(11px, 0.9vw, 12.5px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 50;
  position: relative;
  pointer-events: auto;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
}

.sb-nav > a:hover,
.sb-nav > div:hover {
  color: var(--neon-cyan) !important;
  border-bottom-color: rgba(0, 229, 255, 0.5);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.sb-nav > a.active {
  color: var(--neon-cyan) !important;
  border-bottom-color: var(--neon-cyan);
}

/* ── SOLUTIONS DROPDOWN MENU ── */
.sb-nav-dropdown-trigger {
  cursor: pointer;
}

.sb-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%) translateY(12px);
  padding-top: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 860px;
}

.sb-nav > div:hover .sb-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%) translateY(0);
}

.sb-dropdown-inner {
  background: rgba(8, 12, 24, 0.94);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.sb-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px;
  gap: 28px;
}

.sb-dropdown-col {
  display: flex;
  flex-direction: column;
}

.sb-dropdown-head {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.sb-dropdown-paths {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sb-dropdown-paths a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s ease;
  display: block;
  text-transform: none;
  letter-spacing: normal;
  padding: 0;
  cursor: pointer;
}

.sb-dropdown-paths a::after {
  display: none;
}

.sb-dropdown-paths a:hover {
  color: var(--neon-cyan) !important;
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
}

.sb-dropdown-footer {
  background: rgba(0, 229, 255, 0.02);
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  padding: 20px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sb-dropdown-footer-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.sb-dropdown-footer-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-cyan) !important;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: none;
  letter-spacing: normal;
}

.sb-dropdown-footer-link::after {
  display: none;
}

.sb-dropdown-footer-link:hover {
  color: #7ef1ff !important;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* ── HEADER RIGHT BUTTONS ── */
.sb-header-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  flex-shrink: 0;
}

/* ── LUXURIOUS TRUST BADGE ── */
.sb-trust-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.15) !important;
  border-radius: 30px;
  padding: 6px 14px !important;
  white-space: nowrap;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 0 10px rgba(0, 229, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.sb-trust-badge-header:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.3) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 0 15px rgba(0, 229, 255, 0.15);
}

/* ── LUXURIOUS REQUEST QUOTE CTA ── */
.sb-btn-secondary,
.sb-header-right .sb-btn-secondary {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06) 0%, rgba(0, 124, 140, 0.06) 100%) !important;
  border: 1px solid rgba(0, 229, 255, 0.22) !important;
  color: var(--neon-cyan) !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sb-btn-secondary:hover,
.sb-header-right .sb-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12) 0%, rgba(0, 124, 140, 0.15) 100%) !important;
  border-color: rgba(0, 229, 255, 0.5) !important;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.15), 0 0 10px rgba(0, 229, 255, 0.1) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* ── LUXURIOUS MUSIC BUTTON ── */
#sb-music-btn {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 30px !important;
  padding: 6px 14px !important;
  font-family: 'Satoshi', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

#sb-music-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 0 15px rgba(255, 255, 255, 0.05);
  transform: scale(1.02) !important;
}

#sb-music-btn.music-on {
  background: rgba(0, 229, 255, 0.04) !important;
  border-color: rgba(0, 229, 255, 0.15) !important;
  color: var(--neon-cyan) !important;
}

.sb-music-bars {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 10px;
  width: 11px;
}

.sb-music-bar {
  width: 2px;
  height: 100%;
  background-color: currentColor;
  transform-origin: bottom;
}

/* ── HAMBURGER TRIGGER ── */
.sb-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
  flex-shrink: 0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sb-hamburger:hover {
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.2);
}

.sb-ham-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.28s ease, opacity 0.28s ease, width 0.28s ease;
}

.sb-hamburger.active .sb-ham-line--1 {
  transform: translateY(6.5px) rotate(45deg);
}

.sb-hamburger.active .sb-ham-line--2 {
  opacity: 0;
  transform: scaleX(0);
}

.sb-hamburger.active .sb-ham-line--3 {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── RESPONSIVENESS AND SMALL SCREEN SCALING (14 inch screens & Tablets) ── */
@media (max-width: 1440px) {
  .sb-nav {
    gap: clamp(14px, 1.8vw, 24px);
  }
}

@media (max-width: 1200px) {
  .sb-header {
    padding: 20px clamp(20px, 3vw, 36px);
  }
  .sb-header.scrolled {
    padding: 10px clamp(20px, 3vw, 36px);
  }
  .sb-nav {
    gap: 16px;
  }
  .sb-nav > div,
  .sb-nav > a {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .sb-header-right {
    gap: 12px;
  }
  .sb-trust-badge-header {
    padding: 5px 12px !important;
  }
  .sb-btn-secondary,
  .sb-header-right .sb-btn-secondary {
    padding: 8px 18px !important;
  }
}

@media (max-width: 1080px) {
  /* Prevent overlap on 14-inch/13-inch displays by shrinking header size */
  .sb-nav {
    gap: 12px;
  }
  .sb-nav > div,
  .sb-nav > a {
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }
  .sb-trust-badge-header {
    display: none !important; /* Hide badge on medium screens to favor main links and CTA */
  }
}

@media (max-width: 960px) {
  .sb-nav,
  .sb-trust-badge-header,
  .sb-header-right > .sb-btn-secondary {
    display: none !important;
  }
  .sb-hamburger {
    display: flex !important;
  }
  .sb-header {
    height: var(--sb-header-h-mobile);
    padding: 0 16px !important;
    background: rgba(5, 9, 22, 0.97) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
  }
  .sb-logo-link {
    max-width: calc(100% - 60px) !important;
    overflow: hidden !important;
  }
  .sb-logo-img,
  .sb-header.scrolled .sb-logo-img {
    height: 44px !important;
    margin-left: 0 !important;
  }
}

/* ── MOBILE MENU DRAWER ── */
.sb-mob-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1099;
  background: rgba(5, 8, 16, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sb-mob-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.sb-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100vw);
  height: 100dvh;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  background: #060913;
  border-left: 1px solid rgba(0, 229, 255, 0.12);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.8);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.sb-mobile-menu.active {
  transform: translateX(0);
}

.sb-mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--sb-header-h-mobile);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.sb-mob-logo-link {
  display: flex;
  align-items: center;
}

.sb-mob-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.sb-mob-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.sb-mob-close:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--neon-cyan);
  border-color: rgba(0, 229, 255, 0.2);
}

.sb-mob-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  -webkit-overflow-scrolling: touch;
}

.sb-mob-top-link {
  display: block;
  padding: 14px 4px;
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(240, 244, 250, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.25s ease;
  text-decoration: none;
}

.sb-mob-top-link:hover,
.sb-mob-top-link.active {
  color: var(--neon-cyan);
}

.sb-mob-accordion-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.sb-mob-section-label {
  font-family: 'Satoshi', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  padding: 20px 4px 10px;
}

.sb-mob-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sb-mob-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  background: none;
  border: none;
  font-family: 'Satoshi', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(240, 244, 250, 0.75);
  cursor: pointer;
  text-align: left;
  transition: color 0.25s ease;
}

.sb-mob-accordion-trigger:hover,
.sb-mob-accordion-trigger.open {
  color: #ffffff;
}

.sb-mob-accordion-icon {
  flex-shrink: 0;
  color: var(--neon-cyan);
  transition: transform 0.25s ease;
}

.sb-mob-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
  overflow: hidden;
}

.sb-mob-accordion-body.open {
  grid-template-rows: 1fr;
}

.sb-mob-accordion-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-left: 12px;
}

.sb-mob-sub-link {
  display: block;
  padding: 10px 4px 10px 16px;
  font-family: 'Satoshi', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  border-left: 2px solid rgba(0, 229, 255, 0.1);
  margin-left: 4px;
  margin-bottom: 2px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.sb-mob-sub-link:hover,
.sb-mob-sub-link.active {
  color: var(--neon-cyan);
  border-left-color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.02);
}

.sb-mob-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
}

.sb-mob-primary-btn {
  display: block;
  background: linear-gradient(135deg, #00E5FF 0%, #007C8C 100%);
  color: #030810;
  font-family: 'Satoshi', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.sb-mob-primary-btn:hover {
  opacity: 0.9;
}

.sb-mob-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 6px;
  font-family: 'Satoshi', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.25s ease;
}

.sb-mob-wa-btn:hover {
  border-color: #25d366;
  color: #25d366;
  background: rgba(37, 211, 102, 0.05);
}

.sb-wa-sticky, .wa-float-btn {
  transition: opacity 0.3s ease, pointer-events 0s 0.3s !important;
}

