/* from page-remote-commands.php */
/* ══ BATCH 5 — DARK HERO + LIGHT BODY ══ b5- hero classes, b4- body reuse */

/* ── DARK HERO BASE ── */
.b5-hero {
  position: relative; overflow: hidden; padding: 88px 0 104px;
}
.b5-hero-grid {
  max-width: 1080px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 420px;
  align-items: center; gap: 56px; position: relative; z-index: 1;
}
.b5-eyebrow-dark {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 50px; padding: 5px 16px; margin-bottom: 14px;
  font-size: .71rem; font-weight: 800; letter-spacing: 1.3px;
  text-transform: uppercase;
}
.b5-h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  font-weight: 800; line-height: 1.08;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  margin: 0 0 20px;
}
.b5-h1 .hl {
  -webkit-text-fill-color: transparent !important;
  background-clip: text; -webkit-background-clip: text;
}
.b5-sub {
  font-size: 1.02rem; line-height: 1.8;
  color: rgba(255,255,255,1) !important;
  margin: 0 0 28px; max-width: 520px;
}
.b5-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.b5-btn-solid {
  display: inline-flex; align-items: center; gap: 9px;
  color: #fff; font-weight: 700; font-size: .97rem;
  padding: 15px 32px; border-radius: 12px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.b5-btn-solid:hover { transform: translateY(-2px); color: #fff; }
.b5-btn-ghost-dark {
  display: inline-flex; align-items: center; gap: 9px;
  border: 2px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,1); background: rgba(255,255,255,.14);
  font-weight: 600; font-size: .97rem; padding: 13px 28px;
  border-radius: 12px; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.b5-btn-ghost-dark:hover {
  border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.22);
  color: #fff;
}
.b5-pills-dark { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.b5-pill-dark {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 50px; padding: 5px 12px; font-size: .78rem; font-weight: 700;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
}
/* ── DARK GLASS CARD ── */
.b5-glass {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 56px rgba(0,0,0,.35);
}
.b5-glass-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.b5-gdots { display: flex; gap: 5px; }
.b5-gdots span { width: 9px; height: 9px; border-radius: 50%; }
.b5-glbl { font-size: .71rem; font-weight: 600; color: rgba(255,255,255,.4); margin-left: 5px; }
.b5-live {
  margin-left: auto; font-size: .65rem; font-weight: 800;
  border-radius: 50px; padding: 3px 9px;
  display: flex; align-items: center; gap: 4px;
}
.b5-live::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  animation: b5blink 2s infinite;
}
@keyframes b5blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.b5-live-g { background: rgba(34,197,94,.2); border: 1px solid rgba(34,197,94,.3); color: #86efac; }
.b5-live-g::before { background: #22c55e; }
.b5-live-b { background: rgba(99,102,241,.2); border: 1px solid rgba(99,102,241,.3); color: #a5b4fc; }
.b5-live-b::before { background: #6366f1; }
/* Glass stat row */
.b5-gstat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 12px; }
.b5-gstat {
  border-radius: 9px; padding: 11px 8px; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.b5-gstat-n { font-family: 'Bricolage Grotesque',sans-serif; font-size: 1.1rem; font-weight: 800; color: #fff; line-height: 1; }
.b5-gstat-l { font-size: .6rem; font-weight: 600; color: rgba(255,255,255,.45); margin-top: 2px; }
/* Glass log rows */
.b5-glog-rows { display: flex; flex-direction: column; gap: 7px; }
.b5-glog-row {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px; padding: 9px 11px;
}
.b5-glog-ico {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.b5-glog-body { flex: 1; min-width: 0; }
.b5-glog-app { font-size: .67rem; font-weight: 700; color: rgba(255,255,255,.4); }
.b5-glog-txt { font-size: .76rem; color: rgba(255,255,255,.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b5-glog-tag { font-size: .62rem; font-weight: 700; padding: 2px 7px; border-radius: 50px; flex-shrink: 0; }
.dg { background: rgba(34,197,94,.2); color: #86efac; border: 1px solid rgba(34,197,94,.25); }
.db { background: rgba(99,102,241,.2); color: #a5b4fc; border: 1px solid rgba(99,102,241,.25); }
.da { background: rgba(251,191,36,.2); color: #fcd34d; border: 1px solid rgba(251,191,36,.25); }
.dr { background: rgba(239,68,68,.2); color: #fca5a5; border: 1px solid rgba(239,68,68,.25); }
.dt { background: rgba(20,184,166,.2); color: #5eead4; border: 1px solid rgba(20,184,166,.25); }
.dp { background: rgba(168,85,247,.2); color: #d8b4fe; border: 1px solid rgba(168,85,247,.25); }

/* ══ SHARED BODY SECTIONS (light) ══ — same as b4- but redeclared for b5 files */
.b5-wrap    { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.b5-section { padding: 88px 0; position: relative; overflow: hidden; }
.b5-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 50px;
  padding: 5px 16px; margin-bottom: 14px; font-size: .71rem; font-weight: 800;
  letter-spacing: 1.3px; text-transform: uppercase;
}
.b5-hdr { text-align: center; margin-bottom: 56px; }
.b5-hdr h2 { font-family: 'Bricolage Grotesque',sans-serif; font-size: clamp(1.9rem,2.8vw,2.5rem); font-weight: 800; color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; margin: 0 0 14px; }
.b5-hdr p  { font-size: .97rem; line-height: 1.74; color: #475569; max-width: 580px; margin: 0 auto; }
.b5-what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; position: relative; z-index: 1; }
.b5-what-left h2 { font-family: 'Bricolage Grotesque',sans-serif; font-size: clamp(1.7rem,2.5vw,2.2rem); font-weight: 800; color: #0f172a; margin: 0 0 16px; }
.b5-what-left p  { font-size: .95rem; color: #475569; line-height: 1.8; margin: 0 0 14px; }
.b5-warn { background: linear-gradient(135deg,#fffbeb,#fef9c3); border: 1.5px solid #fde68a; border-radius: 12px; padding: 15px 18px; margin-top: 18px; display: flex; gap: 11px; align-items: flex-start; }
.b5-warn-t { font-size: .84rem; color: #78350f; line-height: 1.65; }
.b5-warn-t strong { color: #451a03; }
.b5-sm-cards { display: flex; flex-direction: column; gap: 12px; }
.b5-sm-card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 13px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; transition: border-color .2s, box-shadow .2s; }
.b5-sm-card:hover { border-color: #bfdbfe; box-shadow: 0 4px 14px rgba(37,99,235,.1); }
.b5-sm-ico { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.b5-sm-card h4 { font-family: 'Bricolage Grotesque',sans-serif; font-size: .93rem; font-weight: 800; color: #0f172a; margin: 0 0 3px; }
.b5-sm-card p  { font-size: .83rem; color: #475569; line-height: 1.6; margin: 0; }
.b5-use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; z-index: 1; }
.b5-use-card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 20px; padding: 30px; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.b5-use-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 20px 20px 0 0; }
.b5u-blue::before   { background: linear-gradient(90deg,#2563eb,#7c3aed); }
.b5u-teal::before   { background: linear-gradient(90deg,#0d9488,#22c55e); }
.b5u-orange::before { background: linear-gradient(90deg,#f97316,#f59e0b); }
.b5u-purple::before { background: linear-gradient(90deg,#7c3aed,#ec4899); }
.b5u-green::before  { background: linear-gradient(90deg,#22c55e,#0d9488); }
.b5u-red::before    { background: linear-gradient(90deg,#ef4444,#f97316); }
.b5-use-card:hover { transform: translateY(-4px); border-color: transparent; }
.b5u-blue:hover   { box-shadow: 0 14px 38px rgba(37,99,235,.14); }
.b5u-teal:hover   { box-shadow: 0 14px 38px rgba(13,148,136,.12); }
.b5u-orange:hover { box-shadow: 0 14px 38px rgba(249,115,22,.12); }
.b5u-purple:hover { box-shadow: 0 14px 38px rgba(124,58,237,.12); }
.b5u-green:hover  { box-shadow: 0 14px 38px rgba(34,197,94,.12); }
.b5u-red:hover    { box-shadow: 0 14px 38px rgba(239,68,68,.12); }
.b5-use-ico { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.b5u-blue   .b5-use-ico { background: linear-gradient(135deg,#dbeafe,#ede9fe); }
.b5u-teal   .b5-use-ico { background: linear-gradient(135deg,#ccfbf1,#dcfce7); }
.b5u-orange .b5-use-ico { background: linear-gradient(135deg,#fef3c7,#ffedd5); }
.b5u-purple .b5-use-ico { background: linear-gradient(135deg,#ede9fe,#fce7f3); }
.b5u-green  .b5-use-ico { background: linear-gradient(135deg,#dcfce7,#ccfbf1); }
.b5u-red    .b5-use-ico { background: linear-gradient(135deg,#fee2e2,#ffedd5); }
.b5-use-card h3 { font-family: 'Bricolage Grotesque',sans-serif; font-size: 1.03rem; font-weight: 800; color: #0f172a; margin: 0 0 9px; }
.b5-use-card > p { font-size: .88rem; color: #475569; line-height: 1.72; margin: 0 0 16px; }
.b5-checks { display: flex; flex-direction: column; gap: 7px; }
.b5-check  { display: flex; align-items: flex-start; gap: 8px; font-size: .83rem; color: #334155; }
.b5-check svg { flex-shrink: 0; margin-top: 1px; }
.b5-bens-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; position: relative; z-index: 1; }
.b5-ben { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 16px; padding: 26px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.b5-ben:hover { border-color: #bfdbfe; box-shadow: 0 8px 28px rgba(37,99,235,.1); transform: translateY(-3px); }
.b5-ben-ico { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.b5-ben h3 { font-family: 'Bricolage Grotesque',sans-serif; font-size: .97rem; font-weight: 800; color: #0f172a; margin: 0 0 7px; }
.b5-ben p  { font-size: .86rem; color: #475569; line-height: 1.7; margin: 0; }
.b5-law-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 22px; position: relative; z-index: 1; }
.b5-law-card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 15px; padding: 24px; text-align: center; }
.b5-law-ico  { width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
.b5-law-card h4 { font-family: 'Bricolage Grotesque',sans-serif; font-size: .95rem; font-weight: 800; color: #0f172a; margin: 0 0 7px; }
.b5-law-card p  { font-size: .84rem; color: #475569; line-height: 1.65; margin: 0; }
.b5-big-warn { background: linear-gradient(135deg,#fffbeb,#fef9c3); border: 1.5px solid #fde68a; border-radius: 13px; padding: 17px 22px; display: flex; gap: 13px; align-items: flex-start; position: relative; z-index: 1; }
.b5-big-warn-t { font-size: .87rem; color: #78350f; line-height: 1.67; }
.b5-big-warn-t strong { color: #451a03; }
.b5-faq-list { display: flex; flex-direction: column; gap: 9px; max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }
.b5-faq-item { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 13px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.b5-faq-item.open { border-color: #bfdbfe; box-shadow: 0 4px 18px rgba(37,99,235,.1); }
.b5-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 19px; background: none; border: none; cursor: pointer; text-align: left; gap: 12px; transition: background .15s; }
.b5-faq-q:hover { background: #f8faff; }
.b5-faq-q-t { font-size: .91rem; font-weight: 700; color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; line-height: 1.4; }
.b5-faq-arr { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #f1f5f9; color: #64748b; display: flex; align-items: center; justify-content: center; transition: transform .3s, background .2s; }
.b5-faq-item.open .b5-faq-arr { transform: rotate(180deg); background: linear-gradient(135deg,#2563eb,#7c3aed); color: #fff; }
.b5-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s; padding: 0 19px; }
.b5-faq-item.open .b5-faq-a { max-height: 400px; padding: 0 19px 15px; }
.b5-faq-a p { font-size: .9rem; color: #475569 !important; line-height: 1.75; margin: 0; }
/* CTA */
.b5-cta { position: relative; overflow: hidden; }
.b5-cta-inner { text-align: center; position: relative; z-index: 1; }
.b5-cta-inner h2 { font-family: 'Bricolage Grotesque',sans-serif; font-size: clamp(1.9rem,3vw,2.7rem); font-weight: 800; color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; margin: 0 0 14px; }
.b5-cta-inner p  { font-size: 1rem; color: #475569 !important; max-width: 520px; margin: 0 auto 30px; line-height: 1.76; }
.b5-cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.b5-cta-micro { font-size: .79rem; color: #94a3b8; }
.b5-btn-cta { display: inline-flex; align-items: center; gap: 9px; background: linear-gradient(135deg,#2563eb,#1d4ed8); color: #fff; font-weight: 700; font-size: .97rem; padding: 15px 32px; border-radius: 12px; text-decoration: none; box-shadow: 0 6px 24px rgba(37,99,235,.35); transition: transform .2s,box-shadow .2s; }
.b5-btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,99,235,.45); color: #fff; }
.b5-btn-ghost-cta { display: inline-flex; align-items: center; gap: 9px; border: 2px solid #bfdbfe; color: #1d4ed8; background: #eff6ff; font-weight: 600; font-size: .97rem; padding: 13px 28px; border-radius: 12px; text-decoration: none; transition: border-color .2s, background .2s; }
.b5-btn-ghost-cta:hover { border-color: #2563eb; background: #dbeafe; color: #1e40af; }
/* fp-light overrides */
html body.fp-light .b5-hdr h2,html body.fp-light .b5-what-left h2,html body.fp-light .b5-cta-inner h2 { color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; }
html body.fp-light .b5-use-card h3,html body.fp-light .b5-ben h3,html body.fp-light .b5-sm-card h4,html body.fp-light .b5-law-card h4 { color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; }
html body.fp-light .b5-hdr p,html body.fp-light .b5-sub,html body.fp-light .b5-what-left p,html body.fp-light .b5-sm-card p,html body.fp-light .b5-use-card>p,html body.fp-light .b5-check,html body.fp-light .b5-ben p,html body.fp-light .b5-law-card p,html body.fp-light .b5-faq-a p,html body.fp-light .b5-cta-inner p { color: #475569 !important; }
html body.fp-light .b5-faq-q-t { color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; }
html body.fp-light .b5-h1 { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body.fp-light .b5-h1 .hl { -webkit-text-fill-color: transparent !important; }
html body.fp-light .b5-sm-card,html body.fp-light .b5-use-card,html body.fp-light .b5-ben,html body.fp-light .b5-law-card,html body.fp-light .b5-faq-item { background: #ffffff !important; }
/* BG utility */
.b5-white  { background: #fff !important; }
.b5-slate  { background: linear-gradient(180deg,#f8fafc,#fff) !important; }
.b5-blue   { background: linear-gradient(180deg,#eff6ff,#fff) !important; }
.b5-purple { background: linear-gradient(180deg,#f5f3ff,#fff) !important; }
.b5-amber  { background: linear-gradient(180deg,#fffbeb,#fff) !important; }
body.fp-light .b5-white  { background: #fff !important; }
body.fp-light .b5-slate  { background: linear-gradient(180deg,#f8fafc,#fff) !important; }
body.fp-light .b5-blue   { background: linear-gradient(180deg,#eff6ff,#fff) !important; }
body.fp-light .b5-purple { background: linear-gradient(180deg,#f5f3ff,#fff) !important; }
body.fp-light .b5-amber  { background: linear-gradient(180deg,#fffbeb,#fff) !important; }
/* Responsive */
@media(max-width:1024px){.b5-hero-grid,.b5-what-grid{grid-template-columns:1fr;}.b5-glass{display:none;}.b5-law-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:768px){.b5-use-grid{grid-template-columns:1fr;}.b5-bens-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:640px){.b5-bens-grid,.b5-law-grid{grid-template-columns:1fr;}.b5-wrap,.b5-hero-grid{padding:0 20px;}.b5-section{padding:72px 0;}}

.pg-hero { background: linear-gradient(135deg,#0f172a 0%,#1a0a2e 50%,#0d1629 100%) !important; }
body.fp-light .pg-hero { background: linear-gradient(135deg,#0f172a 0%,#1a0a2e 50%,#0d1629 100%) !important; }
.pg-hero::before { content:''; position:absolute; inset:0; pointer-events:none; background: radial-gradient(ellipse 700px 500px at 90% 10%,rgba(139,92,246,.28) 0%,transparent 60%), radial-gradient(ellipse 500px 400px at 5% 90%,rgba(99,102,241,.18) 0%,transparent 55%); }
.pg-ew { background:rgba(139,92,246,.15); border:1px solid rgba(139,92,246,.3); color:#d8b4fe; }
.pg-h1 .hl { background: linear-gradient(135deg,#a78bfa,#c084fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent !important; }
.pg-btn { background: linear-gradient(135deg,#7c3aed,#6d28d9); box-shadow:0 6px 24px rgba(124,58,237,.4); }
.pg-btn:hover { box-shadow:0 10px 32px rgba(124,58,237,.4); }
.pg-cta { background: linear-gradient(135deg,#f5f3ff,#eff6ff,#fff) !important; border-top:1px solid #e2e8f0; }
body.fp-light .pg-cta { background: linear-gradient(135deg,#f5f3ff,#eff6ff,#fff) !important; }
.pg-cta::before { content:''; position:absolute; inset:0; pointer-events:none; background: radial-gradient(ellipse 600px 400px at 20% 50%,rgba(237,233,254,.7) 0%,transparent 55%),radial-gradient(ellipse 500px 400px at 80% 50%,rgba(219,234,254,.5) 0%,transparent 55%); }

/* ── Hero fp-light overrides — must come after fp-light block ── */
html body.fp-light .b5-hero .b5-sub {
  color: rgba(255,255,255,1) !important;
}

html body.fp-light .b5-hero .b5-btn-ghost-dark {
  color: rgba(255,255,255,1) !important;
  border: 2px solid rgba(255,255,255,.45) !important;
  background: rgba(255,255,255,.14) !important;
}
html body.fp-light .b5-hero .b5-btn-ghost-dark:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,.65) !important;
  background: rgba(255,255,255,.22) !important;
}

/* CTA heading fix — beat light-theme.css [class*="-cta-inner"] h2 white rule */
html body.fp-light .b5-cta-inner h2 { color:#0f172a !important; -webkit-text-fill-color:#0f172a !important; }
html body.fp-light .b5-cta-inner p  { color:#475569 !important; -webkit-text-fill-color:#475569 !important; }

/* ── Breadcrumb bar ── */
.tos-bc-bar { background:#fff; border-bottom:1px solid #f1f5f9; padding:10px 0; }
.tos-bc-bar nav { max-width:1080px; margin:0 auto; padding:0 32px; }
.tos-bc-bar ol { display:inline-flex; align-items:center; gap:6px; font-size:.78rem; color:#94a3b8; list-style:none; padding:0; margin:0; flex-wrap:wrap; }
.tos-bc-bar ol li a { color:#2563eb; text-decoration:none; font-weight:500; transition:color .15s; }
.tos-bc-bar ol li a:hover { color:#1d4ed8; }
.tos-bc-bar ol li.bc-sep { color:#cbd5e1; }
.tos-bc-bar ol li.bc-cur { color:#0f172a; font-weight:600; }
@media(max-width:640px){ .tos-bc-bar nav { padding:0 20px; } .tos-bc-bar ol { font-size:.73rem; } }
