/* MAMBA PACS homepage v4
   Product hierarchy: RIS-PACS core -> clinical care -> operations. */

.home-v4 {
  --home-ink: #08131d;
  --home-ink-2: #0d1d2b;
  --home-ink-3: #132c3e;
  --home-blue: #2d9cdb;
  --home-cyan: #71d2ff;
  --home-mint: #5de0a5;
  --home-paper: #f4f8fb;
  --home-line: rgba(8, 19, 29, .11);
  --home-line-dark: rgba(255, 255, 255, .13);
  --home-shadow: 0 30px 80px rgba(5, 16, 26, .16);
  background: #fff;
  padding-top: 88px;
  overflow-x: clip;
}

.home-v4 .mamba-navbar {
  background: rgba(6, 16, 25, .91);
  min-height: 88px;
}

.home-v4 .brand-logo {
  width: auto;
  height: 58px;
  max-width: 270px;
}

.home-v4 .navbar .nav-link {
  font-size: .92rem;
  padding-inline: .7rem !important;
}

.home-v4 .nav-demo {
  min-width: 118px;
  justify-content: center;
}

.mamba-command-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: clamp(5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 6.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(45, 156, 219, .28), transparent 28%),
    radial-gradient(circle at 28% 82%, rgba(93, 224, 165, .09), transparent 30%),
    linear-gradient(135deg, #06111a 0%, #0a1a27 48%, #102d40 100%);
  overflow: hidden;
}

.mamba-command-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 72%, transparent 100%);
}

.mamba-command-hero::after {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  right: -18rem;
  bottom: -20rem;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(113, 210, 255, .18);
  box-shadow: 0 0 0 5rem rgba(113, 210, 255, .025), 0 0 0 10rem rgba(113, 210, 255, .02);
}

.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.5rem;
  color: #cfefff;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-eyebrow > span {
  width: 2.6rem;
  height: 1px;
  background: var(--home-mint);
  box-shadow: 0 0 12px rgba(93, 224, 165, .65);
}

.command-title {
  max-width: 760px;
  margin: 0 0 1.5rem;
  font-size: clamp(3.25rem, 5.6vw, 6.15rem);
  font-weight: 950;
  line-height: .93;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.command-title em {
  display: block;
  color: var(--home-cyan);
  font-style: normal;
}

.command-lead {
  max-width: 700px;
  margin-bottom: 2rem;
  color: rgba(235, 246, 252, .8);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2rem;
}

.home-v4 .hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .44rem .72rem;
  color: rgba(235, 246, 252, .78);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 760;
}

.hero-trust span::before {
  content: "";
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--home-mint);
}

.command-center {
  position: relative;
  padding: .75rem;
  color: #eaf7ff;
  background: rgba(5, 16, 25, .88);
  border: 1px solid rgba(177, 226, 250, .22);
  border-radius: 1.75rem;
  box-shadow: 0 48px 100px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255,255,255,.08);
  transform: perspective(1300px) rotateY(-3deg) rotateX(1deg);
}

.command-center::before {
  content: "";
  position: absolute;
  inset: -22px 14% auto;
  height: 30px;
  z-index: -1;
  background: rgba(45, 156, 219, .34);
  filter: blur(28px);
}

.command-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem .85rem 1rem;
}

.command-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.command-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--home-blue), #194e71);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: .75rem;
  font-weight: 950;
}

.command-brand strong,
.command-brand small {
  display: block;
}

.command-brand strong { font-size: .9rem; }
.command-brand small { color: rgba(235,246,252,.5); font-size: .68rem; }

.live-status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(235,246,252,.7);
  font-size: .7rem;
  font-weight: 800;
}

.live-status i {
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--home-mint);
  box-shadow: 0 0 0 .25rem rgba(93,224,165,.12), 0 0 16px rgba(93,224,165,.55);
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(190px, .78fr) minmax(250px, 1.22fr);
  gap: .7rem;
}

.queue-panel,
.viewer-panel {
  min-width: 0;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.2rem;
}

.queue-panel { padding: .75rem; }

.panel-heading,
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin-bottom: .65rem;
  color: rgba(235,246,252,.56);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.panel-heading strong {
  display: grid;
  place-items: center;
  min-width: 1.55rem;
  height: 1.55rem;
  color: #fff;
  background: rgba(45,156,219,.2);
  border-radius: .5rem;
}

.study-row {
  display: grid;
  grid-template-columns: 2rem minmax(0,1fr) auto;
  align-items: center;
  gap: .55rem;
  padding: .63rem .55rem;
  margin-bottom: .45rem;
  background: rgba(255,255,255,.035);
  border: 1px solid transparent;
  border-radius: .8rem;
}

.study-row:last-child { margin-bottom: 0; }
.study-row.is-urgent { background: rgba(255, 108, 124, .07); border-color: rgba(255, 108, 124, .16); }

.study-row .modality {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--home-cyan);
  background: rgba(45,156,219,.12);
  border-radius: .65rem;
  font-size: .66rem;
  font-weight: 950;
}

.study-row strong,
.study-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.study-row strong { font-size: .74rem; }
.study-row small { color: rgba(235,246,252,.43); font-size: .6rem; }
.study-row b { color: rgba(235,246,252,.4); font-size: .58rem; font-weight: 700; }

.viewer-panel { padding: .75rem; }

.viewer-toolbar div { display: flex; gap: .3rem; }
.viewer-toolbar i { width: .42rem; height: .42rem; border-radius: 50%; background: rgba(255,255,255,.22); }

.scan-stage {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 48%, rgba(174, 226, 249, .15), transparent 22%),
    linear-gradient(135deg, #02080d, #091923 70%, #07121a);
  border: 1px solid rgba(113,210,255,.11);
  border-radius: 1rem;
}

.scan-stage::before,
.scan-stage::after {
  content: "";
  position: absolute;
  inset: 14% 18%;
  border: 1px solid rgba(113,210,255,.13);
  border-radius: 46% 54% 50% 50%;
  transform: rotate(-12deg);
}

.scan-stage::after { inset: 25% 30%; border-radius: 50%; opacity: .6; transform: rotate(16deg); }

.scan-ring,
.scan-focus,
.scan-axis { position: absolute; display: block; }
.scan-ring { border-radius: 50%; border: 2px solid rgba(113,210,255,.25); }
.ring-one { width: 48%; aspect-ratio: 1; left: 26%; top: 14%; border-left-color: var(--home-blue); transform: rotate(24deg); }
.ring-two { width: 28%; aspect-ratio: 1; left: 36%; top: 29%; border-right-color: var(--home-mint); transform: rotate(-20deg); }
.scan-focus { width: 9%; aspect-ratio: 1; left: 47%; top: 42%; border-radius: 50%; background: rgba(113,210,255,.18); box-shadow: 0 0 24px rgba(113,210,255,.28); }
.scan-axis { background: rgba(255,255,255,.07); }
.axis-x { left: 8%; right: 8%; height: 1px; top: 50%; }
.axis-y { top: 8%; bottom: 8%; width: 1px; left: 50%; }

.report-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  padding-top: .7rem;
  color: rgba(235,246,252,.54);
  font-size: .61rem;
  font-weight: 750;
}

.report-progress div { height: .28rem; overflow: hidden; background: rgba(255,255,255,.08); border-radius: 999px; }
.report-progress div i { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, var(--home-blue), var(--home-mint)); }
.report-progress strong { color: var(--home-cyan); }

.module-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .4rem;
  padding-top: .7rem;
}

.module-rail span {
  padding: .58rem .35rem;
  overflow: hidden;
  color: rgba(235,246,252,.46);
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: .7rem;
  font-size: .58rem;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-rail span.is-active { color: #fff; background: rgba(45,156,219,.17); border-color: rgba(45,156,219,.28); }

.proof-ribbon {
  color: #dceef8;
  background: #08131d;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid > div {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 82px;
  padding: 1rem 1.25rem;
  border-right: 1px solid rgba(255,255,255,.08);
}

.proof-grid > div:first-child { border-left: 1px solid rgba(255,255,255,.08); }
.proof-grid strong { color: var(--home-blue); font-size: .72rem; letter-spacing: .08em; }
.proof-grid span { font-size: .85rem; font-weight: 760; }

.home-v4 .section-intro.centered { max-width: 860px; margin: 0 auto 3.25rem; text-align: center; }
.home-v4 .section-intro.centered .section-subtitle { margin-inline: auto; }
.home-v4 .section-title { color: var(--home-ink); }
.home-v4 .section-subtitle { color: #617284; line-height: 1.65; }

.journey-section { background: #fff; }

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
}

.journey-track::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 2.05rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(45,156,219,.08), rgba(45,156,219,.6), rgba(93,224,165,.35));
}

.journey-track article {
  position: relative;
  z-index: 1;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(8,19,29,.06);
}

.journey-track article > span {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: 1.2rem;
  color: #fff;
  background: var(--home-ink);
  border-radius: .58rem;
  font-size: .64rem;
  font-weight: 900;
  box-shadow: 0 0 0 .4rem #fff;
}

.journey-track article:nth-child(5) > span { background: var(--home-blue); }
.journey-track strong { display: block; margin-bottom: .5rem; color: var(--home-ink); font-size: .96rem; }
.journey-track p { margin: 0; color: #6d7d8b; font-size: .84rem; line-height: 1.5; }

.journey-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--home-paper);
  border: 1px solid var(--home-line);
  border-radius: 1.25rem;
}

.journey-cta p { margin: 0; color: #5d6e7d; }
.journey-cta strong { color: var(--home-ink); }
.journey-cta a, .text-link { color: #167db7; font-weight: 850; white-space: nowrap; }

.platform-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(45,156,219,.14), transparent 24%),
    var(--home-paper);
}

.platform-explorer {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8,19,29,.1);
  border-radius: 1.75rem;
  box-shadow: var(--home-shadow);
}

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  background: var(--home-ink);
}

.platform-tabs button {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 72px;
  padding: 1rem 1.25rem;
  color: rgba(235,246,252,.58);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.08);
  font-weight: 850;
  text-align: left;
}

.platform-tabs button:last-child { border-right: 0; }
.platform-tabs button span { color: rgba(113,210,255,.66); font-size: .68rem; letter-spacing: .08em; }
.platform-tabs button:hover { color: #fff; background: rgba(255,255,255,.035); }
.platform-tabs button:focus-visible { outline: 3px solid var(--home-cyan); outline-offset: -3px; }
.platform-tabs button.active { color: #fff; background: linear-gradient(135deg, rgba(45,156,219,.24), rgba(93,224,165,.08)); box-shadow: inset 0 -3px 0 var(--home-cyan); }

.platform-panel {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.45fr);
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.platform-summary {
  padding-right: 1rem;
  border-right: 1px solid var(--home-line);
}

.layer-code {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: .4rem .62rem;
  color: #167db7;
  background: rgba(45,156,219,.1);
  border: 1px solid rgba(45,156,219,.18);
  border-radius: .65rem;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .1em;
}

.platform-summary h3 {
  margin-bottom: 1rem;
  color: var(--home-ink);
  font-size: clamp(1.65rem, 2.4vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -.04em;
}

.platform-summary p { color: #667788; line-height: 1.65; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .75rem;
}

.capability-grid article {
  min-height: 116px;
  padding: 1.15rem;
  background: var(--home-paper);
  border: 1px solid rgba(8,19,29,.075);
  border-radius: 1rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.capability-grid article:hover { transform: translateY(-3px); background: #fff; border-color: rgba(45,156,219,.3); }
.capability-grid strong { display: block; margin-bottom: .35rem; color: var(--home-ink); font-size: .95rem; }
.capability-grid span { display: block; color: #687988; font-size: .82rem; line-height: 1.48; }

.roles-section { background: #fff; }
.roles-section .section-intro { max-width: 780px; margin-bottom: 2.6rem; }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
}

.role-card {
  position: relative;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
  overflow: hidden;
  background: var(--home-paper);
  border: 1px solid var(--home-line);
  border-radius: 1.35rem;
}

.role-card::after {
  content: "";
  position: absolute;
  width: 11rem;
  height: 11rem;
  right: -6rem;
  bottom: -6rem;
  border: 1px solid rgba(45,156,219,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(45,156,219,.025);
}

.role-card.featured { color: #fff; background: linear-gradient(145deg, var(--home-ink), #153b52); border-color: transparent; box-shadow: 0 24px 58px rgba(8,19,29,.22); }
.role-index { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; margin-bottom: auto; color: #147db7; background: #fff; border-radius: .8rem; font-size: .75rem; font-weight: 950; box-shadow: 0 12px 30px rgba(8,19,29,.08); }
.role-card.featured .role-index { color: #06111a; background: var(--home-mint); }
.role-card h3 { margin: 2.2rem 0 .65rem; color: var(--home-ink); font-weight: 950; }
.role-card p { color: #647586; line-height: 1.58; }
.role-card small { margin-top: auto; color: #167db7; font-size: .7rem; font-weight: 850; letter-spacing: .04em; }
.role-card.featured h3 { color: #fff; }
.role-card.featured p { color: rgba(235,246,252,.7); }
.role-card.featured small { color: var(--home-cyan); }

.difference-section { padding-top: 1rem; background: #fff; }

.difference-shell {
  padding: clamp(2rem, 5vw, 4.25rem);
  background:
    radial-gradient(circle at 12% 84%, rgba(45,156,219,.19), transparent 26%),
    linear-gradient(135deg, #08131d, #102b3d);
  border-radius: 2rem;
  box-shadow: var(--home-shadow);
}

.difference-shell .section-title { color: #fff; }
.difference-shell .section-subtitle { color: rgba(235,246,252,.66); }

.difference-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }

.difference-grid article {
  display: flex;
  gap: .85rem;
  min-height: 148px;
  padding: 1.15rem;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 1.1rem;
}

.difference-grid article > span { color: var(--home-mint); font-size: .66rem; font-weight: 950; letter-spacing: .06em; }
.difference-grid strong { display: block; margin-bottom: .4rem; color: #fff; font-size: .95rem; }
.difference-grid p { margin: 0; color: rgba(235,246,252,.58); font-size: .82rem; line-height: 1.52; }

.services-quiet { background: #fff; }

.specialized-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }

.specialized-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 1.3rem;
  color: var(--home-ink);
  background: var(--home-paper);
  border: 1px solid var(--home-line);
  border-radius: 1.2rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.specialized-card:hover { color: var(--home-ink); transform: translateY(-5px); border-color: rgba(45,156,219,.3); box-shadow: 0 18px 44px rgba(8,19,29,.1); }
.specialized-card > span { margin-bottom: auto; color: #1681bb; font-size: .68rem; font-weight: 950; }
.specialized-card strong { margin: 2rem 0 .45rem; font-size: 1.05rem; }
.specialized-card small { max-width: 90%; color: #687989; line-height: 1.45; }
.specialized-card b { position: absolute; right: 1.2rem; bottom: 1.2rem; color: #1681bb; }

.demo-cta-section {
  padding-top: 1rem;
  background: #fff;
}

.demo-cta-shell {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(93,224,165,.18), transparent 24%),
    linear-gradient(120deg, #0a1b28, #163c54);
  border-radius: 2rem;
  box-shadow: var(--home-shadow);
}

.cta-kicker { color: var(--home-mint); font-size: .72rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.demo-cta-shell h2 { max-width: 800px; margin: .75rem 0 1rem; font-size: clamp(2rem, 3.6vw, 3.7rem); font-weight: 950; line-height: 1.02; letter-spacing: -.05em; }
.demo-cta-shell p { max-width: 760px; margin: 0; color: rgba(235,246,252,.68); line-height: 1.62; }
.cta-actions { display: flex; flex-direction: column; gap: .75rem; min-width: 230px; }

.home-v4 .footer { background: #050d13; }
.footer-contact-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.footer-contact-pills a { padding: .4rem .65rem; color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: .75rem; }

.home-v4 .whatsapp-float { min-width: 136px; }
.wa-dot { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; color: #06120a; background: rgba(6,18,10,.12); border-radius: 50%; font-size: .57rem; font-weight: 950; }

.home-v4 .cookie-card {
  max-width: 760px;
  margin-inline: auto;
  padding: .8rem 1rem;
}

.home-v4 .cookie-card .row { --bs-gutter-y: .55rem; }
.home-v4 .cookie-card .small { font-size: .76rem; line-height: 1.4; }

.procedure-spotlight { background: #06111a; }
.procedure-spotlight-shell {
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #edf8fc;
  background:
    linear-gradient(rgba(73, 170, 219, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 170, 219, .045) 1px, transparent 1px),
    radial-gradient(circle at 86% 15%, rgba(38, 177, 237, .17), transparent 30%),
    linear-gradient(135deg, #091b28, #07131c);
  background-size: 44px 44px, 44px 44px, auto, auto;
  border: 1px solid rgba(103, 192, 233, .18);
  border-radius: 1.75rem;
}

.procedure-spotlight-shell .section-label {
  color: var(--home-mint);
}

.procedure-spotlight-shell .section-title {
  color: #f4fbff;
}

.procedure-spotlight-shell .section-subtitle {
  color: rgba(232, 246, 252, .78);
}

.procedure-feature-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.procedure-feature-row span {
  padding: .43rem .65rem;
  color: rgba(232, 246, 252, .7);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 750;
}

.procedure-mini-console {
  overflow: hidden;
  background: rgba(4, 14, 21, .78);
  border: 1px solid rgba(98, 191, 235, .26);
  border-radius: 1.3rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.procedure-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.procedure-mini-head strong { font-size: .78rem; }
.procedure-mini-head span { display: flex; align-items: center; gap: .4rem; color: var(--home-mint); font-size: .62rem; font-weight: 800; }
.procedure-mini-head i { width: .48rem; height: .48rem; background: var(--home-mint); border-radius: 50%; box-shadow: 0 0 0 .25rem rgba(91, 226, 190, .08); }
.procedure-mini-body { display: grid; grid-template-columns: 8rem 1fr; min-height: 280px; }

.procedure-mini-gallery {
  display: grid;
  align-content: start;
  gap: .55rem;
  padding: .8rem;
  border-right: 1px solid rgba(255,255,255,.08);
}

.procedure-mini-gallery b {
  display: grid;
  place-items: end start;
  min-height: 62px;
  padding: .45rem;
  color: var(--home-cyan);
  background: radial-gradient(circle at center, rgba(58, 185, 239, .19), transparent 25%), #0b1b27;
  border: 1px solid rgba(103, 191, 232, .15);
  border-radius: .65rem;
  font-size: .55rem;
}

.procedure-mini-stage {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(54, 159, 208, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 159, 208, .04) 1px, transparent 1px),
    radial-gradient(circle, rgba(43, 166, 224, .2), transparent 40%);
  background-size: 30px 30px, 30px 30px, auto;
}

.procedure-mini-stage::before,
.procedure-mini-stage::after,
.procedure-mini-stage i {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(65, 189, 242, .3);
  border-radius: 50%;
  content: "";
}

.procedure-mini-stage::after { width: 31%; border-color: rgba(91, 226, 190, .42); }
.procedure-mini-stage i:first-child { width: 62%; border-color: rgba(65, 189, 242, .12); }
.procedure-mini-stage i:nth-child(2) { width: 18%; border-color: rgba(91, 226, 190, .65); }
.procedure-mini-stage span { width: 1rem; height: 1rem; background: rgba(84, 211, 255, .6); border-radius: 50%; box-shadow: 0 0 1.8rem rgba(84, 211, 255, .74); }
.procedure-mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; padding: .7rem; border-top: 1px solid rgba(255,255,255,.08); }
.procedure-mini-steps span { padding: .5rem; color: rgba(236, 247, 252, .66); background: rgba(255,255,255,.03); border-radius: .45rem; font-size: .6rem; font-weight: 800; text-align: center; }
.procedure-mini-steps span:last-child { color: #05151d; background: linear-gradient(90deg, var(--home-cyan), var(--home-mint)); }

.access-section { background: #eef5f8; }
.access-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.access-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 1.7rem;
  background: #fff;
  border: 1px solid rgba(15, 44, 61, .1);
  border-radius: 1.2rem;
  box-shadow: 0 18px 48px rgba(13, 45, 63, .06);
}

.access-card-accent { color: #edf9fc; background: linear-gradient(150deg, #0b2534, #071620); border-color: rgba(56, 189, 248, .2); }
.access-code { color: #168bc2; font-size: .64rem; font-weight: 950; letter-spacing: .12em; }
.access-card-accent .access-code { color: var(--home-mint); }
.access-card h3 { margin: .85rem 0 .8rem; font-size: 1.55rem; font-weight: 900; letter-spacing: -.035em; }
.access-card p { color: #526574; line-height: 1.6; }
.access-card-accent p { color: rgba(235, 247, 252, .66); }
.access-card ul { display: grid; gap: .55rem; margin: .4rem 0 1.2rem; padding: 0; list-style: none; }
.access-card li { position: relative; padding-left: 1rem; color: #405463; font-size: .83rem; }
.access-card li::before { position: absolute; left: 0; color: #1aa7cc; content: "•"; }
.access-card-accent li { color: rgba(235, 247, 252, .74); }
.access-card > a { margin-top: auto; color: #087da9; font-size: .78rem; font-weight: 850; }
.access-card-accent > a { color: var(--home-mint); }

.depth-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
  overflow: hidden;
  background: #0b1e2a;
  border: 1px solid rgba(55, 142, 186, .18);
  border-radius: 1.2rem;
}

.depth-strip > div { min-height: 210px; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.08); }
.depth-strip > div:last-child { border-right: 0; }
.depth-strip span { color: var(--home-mint); font-size: .6rem; font-weight: 900; letter-spacing: .1em; }
.depth-strip strong { display: block; margin: .7rem 0; color: #f1f9fc; font-size: 1.05rem; }
.depth-strip p { margin: 0; color: rgba(231, 244, 250, .61); font-size: .81rem; line-height: 1.55; }

@media (max-width: 1399.98px) {
  .home-v4 .mamba-navbar { min-height: 82px; }
  .home-v4 { padding-top: 82px; }
  .home-v4 .brand-logo { height: 54px; max-width: 250px; }
  .home-v4 .navbar .nav-link { padding: .48rem .5rem !important; font-size: .81rem; }
  .home-v4 .nav-demo { width: auto; margin-top: 0; }
  .command-title { font-size: clamp(3rem, 5.6vw, 5rem); }
}

@media (max-width: 1199.98px) {
  .home-v4 .navbar-collapse { max-height: calc(100vh - 105px); overflow-y: auto; }
  .home-v4 .navbar .nav-link { padding: .6rem .75rem !important; font-size: .92rem; }
  .home-v4 .nav-demo { width: 100%; margin-top: .35rem; }
  .command-grid { grid-template-columns: minmax(165px,.72fr) minmax(220px,1.28fr); }
  .scan-stage { min-height: 220px; }
  .roles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .role-card { min-height: 285px; }
  .specialized-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (min-width: 1200px) and (max-width: 1399.98px), (min-width: 1200px) and (max-height: 850px) {
  .mamba-command-hero { padding: 2.7rem 0 3rem; }
  .product-eyebrow { margin-bottom: .85rem; }
  .command-title { margin-bottom: 1rem; font-size: clamp(3.15rem, 4.5vw, 4.25rem); line-height: .95; }
  .command-lead { margin-bottom: 1.15rem; font-size: 1rem; line-height: 1.48; }
  .hero-actions { margin-bottom: 1rem; }
  .hero-trust { gap: .4rem; }
  .hero-trust span { padding: .35rem .58rem; font-size: .7rem; }
  .command-center { transform: none; }
}

@media (max-width: 991.98px) {
  .mamba-command-hero { min-height: auto; padding-top: 5.5rem; }
  .hero-copy-col { text-align: center; }
  .command-title, .command-lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .command-center { max-width: 700px; margin: 1rem auto 0; transform: none; }
  .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .proof-grid > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .journey-track { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .journey-track::before { display: none; }
  .platform-panel { grid-template-columns: 1fr; }
  .platform-summary { padding-right: 0; padding-bottom: 1.5rem; border-right: 0; border-bottom: 1px solid var(--home-line); }
  .difference-grid { grid-template-columns: 1fr; }
  .demo-cta-shell { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; min-width: 0; }
  .access-grid { grid-template-columns: 1fr; }
  .access-card { min-height: auto; }
  .depth-strip { grid-template-columns: 1fr; }
  .depth-strip > div { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .depth-strip > div:last-child { border-bottom: 0; }
}

@media (max-width: 767.98px) {
  .home-v4 { padding-top: 76px; }
  .mamba-command-hero { padding-top: 4rem; }
  .command-title { font-size: clamp(2.7rem, 10.8vw, 4.2rem); line-height: .96; }
  .command-grid { grid-template-columns: 1fr; }
  .queue-panel { display: none; }
  .scan-stage { min-height: 260px; }
  .module-rail { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { min-height: 64px; border-right: 0; border-left: 1px solid rgba(255,255,255,.08); border-top: 1px solid rgba(255,255,255,.08); }
  .proof-grid > div:first-child { border-top: 0; }
  .journey-track { grid-template-columns: 1fr; }
  .journey-cta { align-items: flex-start; flex-direction: column; }
  .platform-tabs { grid-template-columns: 1fr; }
  .platform-tabs button { min-height: 58px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .platform-tabs button:last-child { border-bottom: 0; }
  .platform-tabs button.active { box-shadow: inset 3px 0 0 var(--home-cyan); }
  .capability-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 250px; }
  .specialized-grid { grid-template-columns: 1fr; }
  .specialized-card { min-height: 180px; }
  .cta-actions { flex-direction: column; }
  .procedure-mini-body { grid-template-columns: 1fr; }
  .procedure-mini-gallery { display: none; }
  .procedure-mini-stage { min-height: 250px; }
}

@media (max-width: 575.98px) {
  .home-v4 { padding-top: 70px; }
  .home-v4 .mamba-navbar { min-height: 70px; }
  .home-v4 .brand-logo { height: 44px; max-width: 205px; }
  .mamba-command-hero { padding: 3.1rem 0 3rem; }
  .hero-copy-col { text-align: left; }
  .product-eyebrow { align-items: flex-start; font-size: .66rem; letter-spacing: .08em; line-height: 1.4; }
  .product-eyebrow > span { width: 1.8rem; margin-top: .45rem; }
  .command-title { margin-bottom: 1.2rem; font-size: clamp(2.45rem, 12vw, 3.35rem); letter-spacing: -.055em; text-wrap: balance; }
  .command-title em { display: inline; }
  .command-lead { font-size: .98rem; line-height: 1.58; }
  .hero-actions, .hero-trust { justify-content: flex-start; }
  .hero-actions .btn { width: 100%; }
  .hero-trust span { font-size: .7rem; }
  .command-center { padding: .55rem; border-radius: 1.3rem; }
  .command-topbar { padding: .65rem .6rem .8rem; }
  .command-brand strong { font-size: .78rem; }
  .command-brand small { font-size: .59rem; }
  .live-status { font-size: .6rem; }
  .scan-stage { min-height: 210px; }
  .module-rail span { font-size: .52rem; }
  .home-v4 .section-intro.centered { text-align: left; }
  .platform-panel { padding: 1.2rem; }
  .platform-summary h3 { font-size: 1.7rem; }
  .difference-shell, .demo-cta-shell { border-radius: 1.35rem; }
  .difference-grid article { min-height: auto; }
  .demo-cta-shell h2 { font-size: 2rem; }
  .home-v4 .whatsapp-float { min-width: 3.35rem; }
  .home-v4 .whatsapp-float .wa-dot { display: grid; }
  .home-v4 .whatsapp-float > span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .command-center,
  .capability-grid article,
  .specialized-card { transform: none !important; transition: none !important; }
}
