:root {
  --cx-primary: #f52f6e;
  --cx-primary-rgb: 245, 47, 110;
  --cx-gradient-from-color: #f52f6e;
  --cx-gradient-to-color: #f42aa3;
  --cx-link-color: #f52f6e;
  --cx-link-hover-color: #e60b51;
}
.btn-primary {
  --cx-btn-bg: #f52f6e; --cx-btn-border-color: #f52f6e;
  --cx-btn-hover-bg: #f20c55; --cx-btn-active-bg: #f20c55;
  --cx-btn-hover-border-color: #f20c55; --cx-btn-active-border-color: #f20c55;
}
.btn-outline-primary {
  --cx-btn-color: #f52f6e; --cx-btn-border-color: rgba(245,47,110,.4);
  --cx-btn-hover-bg: #f52f6e; --cx-btn-active-bg: #f52f6e;
}
.accordion { --cx-accordion-active-color: #f52f6e; }

/* ── Hero ── */
.gb-hero { background: #0e0c12; position: relative; overflow: hidden; }
.gb-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,47,110,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,47,110,.05) 1px, transparent 1px);
  background-size: 72px 72px; pointer-events: none;
}
.gb-hero-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 420px;
  background: radial-gradient(ellipse, rgba(245,47,110,.15) 0%, transparent 68%);
  pointer-events: none;
}

/* ── Add-on chips ── */
.gb-addon-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.1rem; border: 1px solid rgba(0,0,0,.09);
  border-radius: 8px; background: #fff;
  transition: border-color .18s, box-shadow .18s;
  font-size: .95rem;
}
.gb-addon-chip .fw-semibold { font-size: .95rem; }
.gb-addon-chip .text-primary.fw-bold { font-size: .9rem; }
.gb-addon-chip:hover {
  border-color: rgba(245,47,110,.3);
  box-shadow: 0 4px 16px rgba(245,47,110,.07);
}

/* ── Why tiles ── */
.gb-why-tile {
  padding: 1.6rem 1.75rem; border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; background: rgba(255,255,255,.05); height: 100%;
}
.gb-why-tile-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(245,47,110,.12); display: flex; align-items: center; justify-content: center;
  color: #f52f6e; font-size: 1.5rem; margin-bottom: 1rem; flex-shrink: 0;
}
.gb-why-tile-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.gb-why-tile-desc  { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.6; margin: 0; }

/* ── Portfolio browser ── */
.gb-browser {
  background: #0f0e14; border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; overflow: hidden; box-shadow: 0 20px 56px rgba(0,0,0,.5);
}
.gb-browser-bar {
  background: #1a1921; padding: .55rem .9rem;
  display: flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.gb-dot { width: 10px; height: 10px; border-radius: 50%; }
.gb-preview-hero {
  height: 90px;
  background: linear-gradient(135deg, rgba(245,47,110,.15), rgba(245,47,110,.04));
  display: flex; align-items: center; padding: 0 1rem;
}
.gb-preview-body { padding: .8rem; }
.gb-preview-row { height: 13px; background: rgba(255,255,255,.05); border-radius: 2px; margin-bottom: .4rem; }
.gb-preview-row.short { width: 55%; }
.gb-preview-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .4rem; margin-top: .6rem; }
.gb-preview-card { height: 36px; background: rgba(255,255,255,.04); border-radius: 2px; }

/* ── Accordion on dark ── */
.accordion-dark .accordion-button { background: transparent; color: rgba(255,255,255,.85); box-shadow: none; }
.accordion-dark .accordion-button:not(.collapsed) { color: #f52f6e; background: transparent; }
.accordion-dark .accordion-button::after { filter: brightness(0) invert(1); }
.accordion-dark .accordion-button:not(.collapsed)::after { filter: brightness(0) saturate(100%) invert(29%) sepia(90%) saturate(2000%) hue-rotate(315deg); }
.accordion-dark .accordion-item { border-color: rgba(255,255,255,.1) !important; background: transparent; }
.accordion-dark .accordion-body { color: rgba(255,255,255,.45); }

/* ════════════════════════════════════════
   PRICING CALCULATOR
════════════════════════════════════════ */

.gb-calc-section { background: #f4f5f8; }

/* Selector rows */
.gb-select-group { margin-bottom: 1.5rem; }
.gb-select-group-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #999; margin-bottom: .6rem;
  display: flex; align-items: center; gap: .6rem;
}
.gb-select-group-label::after {
  content: ''; flex: 1; height: 1px; background: rgba(0,0,0,.1);
}

.gb-option {
  position: relative; margin-bottom: .5rem;
}
.gb-option input { position: absolute; opacity: 0; width: 0; height: 0; }

.gb-option-label {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1rem; border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 8px; background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  user-select: none;
}
.gb-option-label:hover { border-color: rgba(245,47,110,.3); background: #fff; }

.gb-option input:checked + .gb-option-label {
  border-color: #f52f6e;
  background: rgba(245,47,110,.04);
  box-shadow: 0 0 0 3px rgba(245,47,110,.08);
}

.gb-option-indicator {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-right: .75rem; transition: all .15s;
}
.gb-option-indicator.square { border-radius: 4px; }
.gb-option input:checked + .gb-option-label .gb-option-indicator {
  background: #f52f6e; border-color: #f52f6e;
}
.gb-option input:checked + .gb-option-label .gb-option-indicator::after {
  content: '';
  width: 6px; height: 6px; background: #fff; border-radius: 50%;
}
.gb-option input[type=checkbox]:checked + .gb-option-label .gb-option-indicator::after {
  width: 9px; height: 7px; background: none; border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}

.gb-option-name { font-weight: 600; font-size: .9rem; color: #1a1a2e; flex: 1; }
.gb-option-desc { font-size: .75rem; color: #888; margin-top: .1rem; }
.gb-option-price { font-weight: 800; font-size: .9rem; color: #f52f6e; white-space: nowrap; margin-left: .75rem; }
.gb-option-price::after,
.gb-addon-chip .text-nowrap::after,
.gb-hero-price::after {
  content: "*"; vertical-align: super; font-size: .6em;
  font-weight: 700; margin-left: 1px; opacity: .75;
}
.gb-price-note {
  font-size: .78rem; color: #888; margin-top: .75rem;
}

/* Included/locked option */
.gb-option-included .gb-option-label {
  border-color: rgba(12,206,107,.3); background: rgba(12,206,107,.04);
  cursor: default;
}
.gb-option-included .gb-option-indicator {
  background: #0cce6b; border-color: #0cce6b;
}
.gb-option-included .gb-option-indicator::after {
  content: '';
  width: 9px; height: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.gb-included-badge {
  font-size: .67rem; font-weight: 700; letter-spacing: .08em;
  background: rgba(12,206,107,.15); color: #0cce6b;
  padding: .15rem .5rem; border-radius: 100px; margin-left: .5rem;
}

/* ── Calculator card ── */
.gb-calc-card {
  background: #fff; border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
}
.gb-calc-header {
  background: #0e0c12; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.gb-calc-body { padding: 1.5rem; }

.gb-invoice-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .55rem 0; font-size: .88rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.gb-invoice-row:last-child { border-bottom: none; }
.gb-invoice-row.dimmed { opacity: .35; }
.gb-invoice-row .label { color: #555; }
.gb-invoice-row .val { font-weight: 700; color: #1a1a2e; }
.gb-invoice-row .val.monthly { color: #f52f6e; }

.gb-totals {
  background: #f9f9fb; border-radius: 8px;
  padding: 1rem 1.1rem; margin: 1rem 0;
}
.gb-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .35rem 0; font-size: .85rem;
}
.gb-total-row.main {
  font-size: 1rem; font-weight: 900; padding-top: .6rem;
  border-top: 1.5px solid rgba(0,0,0,.1); margin-top: .35rem;
}
.gb-total-row .t-label { color: #666; }
.gb-total-row .t-val { font-weight: 700; color: #1a1a2e; }
.gb-total-row.main .t-val { color: #f52f6e; font-size: 1.3rem; }

/* Revenue estimator */
.gb-meter-box {
  background: linear-gradient(135deg, #0e0c12, #1a1921);
  border-radius: 10px; padding: 1.25rem; margin-top: 1rem;
}
.gb-meter-track {
  height: 10px; border-radius: 99px;
  background: rgba(255,255,255,.1); overflow: hidden; margin: .75rem 0 .5rem;
}
.gb-meter-fill {
  height: 100%; border-radius: 99px; width: 0%;
  transition: width .45s cubic-bezier(.4,0,.2,1), background-color .45s;
  background: #ccc;
}
.gb-meter-label {
  font-size: .82rem; font-weight: 700; letter-spacing: .03em;
  transition: color .3s;
}
.gb-meter-desc {
  font-size: .75rem; color: rgba(255,255,255,.38); margin-top: .2rem; line-height: 1.4;
}
.gb-meter-ticks {
  display: flex; justify-content: space-between;
  padding: 0 1px; margin-bottom: .15rem;
}
.gb-meter-ticks span { font-size: .6rem; color: rgba(255,255,255,.2); }

/* Animated number */
.gb-num { display: inline-block; transition: all .2s; }

/* Sticky wrapper */
.gb-calc-sticky { position: sticky; top: 88px; }

@media (max-width: 991px) {
  .gb-calc-sticky { position: static; }
}

/* ── Business tool sub-group ── */
.gb-sub-group-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(0,0,0,.35); padding: .5rem 0 .25rem; margin-top: .25rem;
}
.gb-sub-group-divider {
  border-top: 1px dashed rgba(0,0,0,.1); margin: .75rem 0;
}

/* ── Care plan — green selection ── */
.gb-careplan-group .gb-option input:checked + .gb-option-label {
  border-color: #0cce6b;
  background: rgba(12,206,107,.04);
  box-shadow: 0 0 0 3px rgba(12,206,107,.1);
}
.gb-careplan-group .gb-option input:checked + .gb-option-label .gb-option-indicator {
  background: #0cce6b; border-color: #0cce6b;
}
.gb-careplan-group .gb-option-price { color: #0cce6b; }

/* ── Static brand card grid ── */
.gb-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.gb-brand-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.5rem; border-radius: 14px;
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.gb-brand-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
  background: rgba(245,47,110,.09); display: flex; align-items: center; justify-content: center;
  color: #f52f6e; font-size: 1.3rem; margin-top: .1rem;
}
.gb-brand-item-title { font-weight: 700; font-size: 1rem; color: #1a1a2e; margin-bottom: .3rem; }
.gb-brand-item-desc { font-size: .82rem; color: #777; line-height: 1.55; margin-bottom: .5rem; }

/* ── Hub & spoke diagram ── */
.gb-hub-wrap {
  position: relative; width: 320px; height: 320px; max-width: 100%;
  margin: 0 auto;
}
.gb-hub-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
}
.gb-hub-line {
  stroke: rgba(0,0,0,.12); stroke-width: 1.5; stroke-dasharray: 5 4;
  transition: stroke .45s ease, stroke-width .45s ease, stroke-dasharray .45s ease;
}
.gb-hub-line.active {
  stroke: #0cce6b; stroke-width: 2.5; stroke-dasharray: none;
  filter: drop-shadow(0 0 3px rgba(12,206,107,.45));
}
.gb-hub-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a44 100%);
  display: flex; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 0 0 10px rgba(245,47,110,.07), 0 0 0 20px rgba(245,47,110,.03);
  z-index: 3;
}
.gb-hub-center-text {
  font-size: .72rem; font-weight: 900; color: #fff;
  letter-spacing: .04em; line-height: 1.25; text-transform: uppercase;
}
.gb-hub-center-text em { color: #f52f6e; font-style: normal; }
.gb-hub-node {
  position: absolute; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  cursor: default; z-index: 3;
  transition: opacity .4s ease, filter .4s ease;
  opacity: .28; filter: grayscale(40%);
}
.gb-hub-node.gb-card-active { opacity: 1; filter: none; }
.gb-hub-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: #f0f0f5; border: 2px solid rgba(0,0,0,.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #ccc;
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}
.gb-hub-node.gb-card-active .gb-hub-icon {
  background: rgba(12,206,107,.1); border-color: rgba(12,206,107,.35);
  color: #0cce6b; box-shadow: 0 0 18px rgba(12,206,107,.22);
}
.gb-hub-label {
  font-size: .6rem; font-weight: 700; text-align: center;
  color: #ccc; line-height: 1.25; max-width: 64px;
  transition: color .4s;
}
.gb-hub-node.gb-card-active .gb-hub-label { color: #1a1a2e; }

/* ── Badge strip under hub ── */
.gb-brand-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: .2rem .6rem; border-radius: 20px;
  cursor: pointer; border: none; transition: opacity .15s, box-shadow .15s;
}
.gb-brand-badge:hover { opacity: .8; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.gb-brand-badge.included { background: rgba(12,206,107,.12); color: #0cce6b; }
.gb-brand-badge.addon    { background: rgba(245,47,110,.1);  color: #f52f6e; }
.gb-brand-badge.partial  { background: rgba(12,206,107,.12); color: #0cce6b; }

/* ── Popover tweaks ── */
.gb-info-pop { min-width: 230px; }
.gb-info-pop-row { display:flex; justify-content:space-between; align-items:center; gap:.75rem; padding:.35rem 0; }
.gb-info-pop-row + .gb-info-pop-row { border-top: 1px solid rgba(0,0,0,.07); }
.gb-info-pop-name { font-size:.82rem; color:#333; }
.gb-info-pop-price { font-size:.82rem; font-weight:700; color:#f52f6e; white-space:nowrap; text-align:right; }
.gb-info-pop-note  { font-size:.68rem; color:#aaa; font-weight:400; }

/* ── Package inquiry modal ── */
.gb-pkg-summary {
  background: #f8f9fc; border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.gb-pkg-summary-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #aaa; margin-bottom: .6rem;
}
.gb-pkg-line {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: .5rem; padding: .2rem 0; font-size: .88rem;
}
.gb-pkg-line + .gb-pkg-line { border-top: 1px solid rgba(0,0,0,.06); }
.gb-pkg-line-label { color: #444; }
.gb-pkg-line-price { font-weight: 700; color: #1a1a2e; white-space: nowrap; }
.gb-pkg-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: .75rem; padding-top: .75rem;
  border-top: 2px solid rgba(245,47,110,.2);
}
.gb-pkg-total-label { font-size: .8rem; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: .05em; }
.gb-pkg-total-val   { font-size: 1.1rem; font-weight: 900; color: #f52f6e; }
#modal-pkg-success  { display: none; }

/* ── Keep navbar dark when stuck/scrolled on this page ── */
.navbar-stuck {
  background-color: #0e0c12 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.45) !important;
}
.navbar-stuck .nav-link {
  color: rgba(255,255,255,.75) !important;
}
.navbar-stuck .nav-link:hover {
  color: #fff !important;
}
.navbar-stuck .nav-link.active {
  color: #f52f6e !important;
}
