/*
  Be Positive V10 — cinematic site skin
  Applied only to the original public pages. The 3D bulb homepage does not load
  this file and therefore remains exactly as it was in V9.
*/

:root {
  --bp-night: #041923;
  --bp-night-2: #072b3d;
  --bp-night-3: #0a425b;
  --bp-cyan-v10: #16c0f3;
  --bp-cyan-soft-v10: #91eaff;
  --bp-page-v10: #edf4f6;
  --bp-card-v10: #ffffff;
  --bp-ink-v10: #163047;
}

html { background: var(--bp-night); }
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(22, 192, 243, .08), transparent 26%),
    var(--bp-page-v10) !important;
}

/* ---------- React site header: match the cinematic homepage ---------- */
#root > div > header {
  border-bottom: 1px solid rgba(139, 229, 250, .13) !important;
  background: rgba(3, 20, 30, .95) !important;
  box-shadow: 0 12px 38px rgba(0, 15, 24, .18);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

#root > div > header > div:first-child {
  height: 72px !important;
}

#root > div > header > div:first-child > a img {
  width: clamp(136px, 14vw, 153px) !important;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .16));
}

#root > div > header nav.hidden {
  gap: 2px !important;
  padding: 5px !important;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 12px 30px rgba(0,0,0,.13);
}

#root > div > header nav.hidden a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(221, 242, 248, .76) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1;
  white-space: nowrap;
}

#root > div > header nav.hidden a:hover,
#root > div > header nav.hidden a.text-primary {
  background: rgba(255, 255, 255, .085);
  color: #ffffff !important;
}

#root > div > header nav.hidden a.bg-primary {
  min-height: 36px;
  margin-left: 3px;
  padding: 0 16px !important;
  background: var(--bp-cyan-v10) !important;
  color: #062130 !important;
  box-shadow: 0 8px 22px rgba(22, 192, 243, .16) !important;
}

#root > div > header nav.hidden a.bg-primary:hover {
  background: #5bddff !important;
  transform: none !important;
}

#root > div > header button[aria-label="Toggle menu"] {
  color: #eaf9fd !important;
}

/* React mobile drawer */
#root > div > header nav.md\:hidden {
  border-bottom: 1px solid rgba(139, 229, 250, .12) !important;
  background: rgba(3, 20, 30, .985) !important;
  box-shadow: 0 24px 44px rgba(0, 14, 23, .24);
}

#root > div > header nav.md\:hidden a {
  color: rgba(226, 245, 250, .82) !important;
  font-size: .96rem !important;
}

#root > div > header nav.md\:hidden a.text-primary {
  color: var(--bp-cyan-soft-v10) !important;
}

/* ---------- Original pages: deeper hero, softer continuation ---------- */
#root main {
  background:
    radial-gradient(circle at 88% 4%, rgba(22, 192, 243, .08), transparent 21%),
    linear-gradient(180deg, #e9f2f5 0%, #f7fafb 34%, #edf4f6 100%);
}

#root main > section:first-child {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(139, 229, 250, .12);
  background:
    radial-gradient(circle at 85% 18%, rgba(22, 192, 243, .25), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(247, 167, 25, .08), transparent 24%),
    linear-gradient(137deg, #031722 0%, #062b3d 58%, #084a66 100%) !important;
}

#root main > section:first-child::before {
  content: "";
  position: absolute;
  inset: -45% -10%;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 32%, rgba(160, 239, 255, .055) 37%, transparent 43%),
    linear-gradient(72deg, transparent 56%, rgba(255, 255, 255, .035) 62%, transparent 68%);
}

#root main > section:first-child > * {
  position: relative;
  z-index: 1;
}

#root main > section:first-child h1,
#root main > section:first-child h2,
#root main > section:first-child h3,
#root main > section:first-child .text-primary-foreground {
  color: #ffffff !important;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .14);
}

#root main > section:first-child p,
#root main > section:first-child .text-muted-foreground {
  color: rgba(220, 241, 247, .77) !important;
}

#root main > section:first-child .text-primary,
#root main > section:first-child .text-accent,
#root main > section:first-child .text-secondary-foreground {
  color: var(--bp-cyan-soft-v10) !important;
}

#root main > section:first-child .bg-primary\/20,
#root main > section:first-child .bg-accent\/10,
#root main > section:first-child .bg-secondary\/10,
#root main > section:first-child .bg-muted,
#root main > section:first-child [class*="bg-muted/"] {
  border: 1px solid rgba(145, 234, 255, .13);
  background: rgba(255, 255, 255, .075) !important;
  color: #bcefff !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

#root main > section:first-child img {
  box-shadow: 0 28px 78px rgba(0, 8, 14, .31) !important;
}

/* Slightly more designed continuation without compromising readability */
#root main section:not(:first-child) .bg-background,
#root main section:not(:first-child).bg-background,
#root main section:not(:first-child) .bg-card {
  border-color: rgba(33, 112, 143, .14) !important;
}

#root main .glow-card,
#root main [class*="rounded-3xl"][class*="border"] {
  box-shadow: 0 16px 38px rgba(12, 65, 88, .07);
}

#root main .glow-card:hover,
#root main [class*="rounded-3xl"][class*="border"]:hover {
  box-shadow: 0 22px 48px rgba(10, 87, 120, .12);
}

#root main section:nth-child(even) {
  background-color: rgba(235, 246, 249, .72);
}

#root main input,
#root main textarea,
#root main select {
  border-color: rgba(26, 101, 132, .23) !important;
  background: rgba(255, 255, 255, .94) !important;
}

/* ---------- React footer ---------- */
#root > div > footer {
  border-top: 1px solid rgba(139, 229, 250, .12) !important;
  background:
    radial-gradient(circle at 84% 8%, rgba(22, 192, 243, .10), transparent 28%),
    linear-gradient(145deg, #031722, #06293a) !important;
  color: #d9eef4 !important;
}

#root > div > footer h3,
#root > div > footer strong {
  color: #ffffff !important;
}

#root > div > footer p,
#root > div > footer a,
#root > div > footer .text-muted-foreground {
  color: rgba(211, 234, 241, .72) !important;
}

#root > div > footer a:hover {
  color: var(--bp-cyan-soft-v10) !important;
}

#root > div > footer [class*="border-t"] {
  border-color: rgba(139, 229, 250, .12) !important;
}

/* ---------- Standalone employers and testimonial fallbacks ---------- */
.bp-business-header,
.bp-testimonials-header {
  border-bottom-color: rgba(139, 229, 250, .13) !important;
  background: rgba(3, 20, 30, .96) !important;
  box-shadow: 0 12px 38px rgba(0, 15, 24, .18);
}

.bp-business-nav,
.bp-testimonials-nav {
  min-height: 72px !important;
}

.bp-business-brand,
.bp-testimonials-brand {
  color: #ffffff !important;
  font-size: 1.22rem !important;
}

.bp-business-nav nav,
.bp-testimonials-nav nav {
  gap: 2px !important;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}

.bp-business-nav nav a,
.bp-testimonials-nav nav a {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(221, 242, 248, .76) !important;
  font-size: 13px !important;
}

.bp-business-nav nav a:hover,
.bp-business-nav nav a[aria-current="page"],
.bp-testimonials-nav nav a:hover,
.bp-testimonials-nav nav a[aria-current="page"] {
  background: rgba(255,255,255,.085);
  color: #ffffff !important;
}

.bp-business-nav .bp-business-nav__cta,
.bp-testimonials-nav .bp-testimonials-cta {
  margin-left: 3px;
  background: var(--bp-cyan-v10) !important;
  color: #062130 !important;
}

.bp-business-hero,
.bp-testimonials-hero {
  border-bottom: 1px solid rgba(139, 229, 250, .12);
  background:
    radial-gradient(circle at 84% 18%, rgba(22,192,243,.25), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(247,167,25,.08), transparent 24%),
    linear-gradient(137deg, #031722, #062b3d 58%, #084a66) !important;
}

.bp-business-hero h1,
.bp-testimonials-hero h1 {
  color: #ffffff !important;
}

.bp-business-hero p,
.bp-testimonials-hero p,
.bp-business-hero .bp-business-lead,
.bp-testimonials-hero .bp-testimonials-lead {
  color: rgba(220, 241, 247, .78) !important;
}

.bp-business-hero .bp-business-eyebrow,
.bp-testimonials-hero .bp-testimonials-eyebrow {
  color: var(--bp-cyan-soft-v10) !important;
}

.bp-business-callout,
.bp-testimonials-stat {
  border-color: rgba(145,234,255,.18) !important;
  background: rgba(255,255,255,.08) !important;
  box-shadow: 0 24px 65px rgba(0,10,18,.24) !important;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.bp-business-callout blockquote,
.bp-business-callout__label,
.bp-testimonials-stat strong {
  color: #ffffff !important;
}

.bp-business-callout > p:last-child,
.bp-testimonials-stat span {
  color: rgba(220, 241, 247, .72) !important;
}

.bp-business-footer,
.bp-testimonials-footer {
  border-top: 1px solid rgba(139,229,250,.12);
  background: linear-gradient(145deg, #031722, #06293a) !important;
}

@media (max-width: 900px) {
  #root > div > header > div:first-child { height: 66px !important; }
  #root > div > header > div:first-child > a img { width: 136px !important; }

  .bp-business-nav nav,
  .bp-testimonials-nav nav {
    border-radius: 18px;
  }
}

@media (max-width: 620px) {
  .bp-business-header,
  .bp-testimonials-header { position: relative !important; }
  .bp-business-nav nav,
  .bp-testimonials-nav nav {
    padding: 8px;
    background: rgba(255,255,255,.04);
  }
  .bp-business-nav nav a,
  .bp-testimonials-nav nav a {
    min-height: 34px;
    font-size: 12px !important;
  }
}
