/* =========================================================
   MyGleeo Pediatrician Page CSS — Option B (Dark Hero + Light Body)
   Brand colors pulled from your logo:
     Blue  : #205080
     Coral : #E06050
     Slate : #506070 / #706070 / #A06060 (supporting)
   Fully isolated under .mg-peds (safe inside main.css)
   ========================================================= */

.mg-peds {
  /* ---------- brand tokens ---------- */
  --mg-brandBlue: #205080;
  --mg-brandCoral: #e06050;

  --mg-slate1: #0b1220; /* hero base */
  --mg-slate2: #0f1a2e; /* hero surface */
  --mg-ink: #0a1220; /* light sections text */

  --mg-radius: 18px;
  --mg-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  --mg-shadow2: 0 12px 30px rgba(10, 18, 32, 0.1);

  --mg-font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";

  font-family: var(--mg-font);
  color: rgba(255, 255, 255, 0.92);
  background: #ffffff; /* body default becomes light because sections below set their own bg */
}

/* Prevent bleed */
.mg-peds * {
  box-sizing: border-box;
}
.mg-peds a {
  color: inherit;
  text-decoration: none;
}
.mg-peds a:hover {
  text-decoration: none;
}
.mg-peds img {
  max-width: 100%;
  height: auto;
  display: block;
}
.mg-peds .mg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mg-peds .mg-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.mg-peds .mg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* =========================================================
     DARK TOP AREA (Topbar + Header + Hero)
     ========================================================= */

/* Top bar */
.mg-peds .mg-topbar {
  background: rgba(11, 18, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: -8px -8px -1px -8px;
}
.mg-peds .mg-topbar-row {
  padding: 10px 0;
}
.mg-peds .mg-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mg-peds .mg-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.mg-peds .mg-topbar-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}
.mg-peds .mg-topbar-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}
.mg-peds .mg-topbar-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mg-peds .mg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(32, 80, 128, 0.18);
  border: 1px solid rgba(32, 80, 128, 0.3);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}
.mg-peds .mg-dot {
  opacity: 0.8;
}

/* Header */
.mg-peds .mg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0px -8px -1px -8px;
}
.mg-peds .mg-header-row {
  padding: 14px 0;
}

.mg-peds .mg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mg-peds .mg-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--mg-brandCoral),
    var(--mg-brandBlue)
  );
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}
.mg-peds .mg-brand-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.mg-peds .mg-brand-text strong {
  font-size: 16px;
  letter-spacing: 0.2px;
}
.mg-peds .mg-muted {
  color: rgba(10, 18, 32, 0.66);
} /* dark area default */

.mg-peds .mg-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mg-peds .mg-nav a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 8px;
  border-radius: 10px;
}
.mg-peds .mg-nav a:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

/* Buttons */
.mg-peds .mg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border 120ms ease,
    opacity 120ms ease;
  user-select: none;
}
.mg-peds .mg-btn:hover {
  transform: translateY(-1px);
}
.mg-peds .mg-btn:active {
  transform: translateY(0px);
}
.mg-peds .mg-btn-lg {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
}
.mg-peds .mg-btn-full {
  width: 100%;
}

.mg-peds .mg-btn-primary {
  background: linear-gradient(
    135deg,
    rgba(32, 80, 128, 1),
    rgba(32, 80, 128, 0.88)
  );
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(32, 80, 128, 0.35);
  box-shadow: 0 14px 35px rgba(32, 80, 128, 0.22);
}
.mg-peds .mg-btn-primary:hover {
  opacity: 0.98;
}

.mg-peds .mg-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}
.mg-peds .mg-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* Mobile nav */
.mg-peds .mg-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.mg-peds .mg-nav-toggle-bars {
  display: block;
  width: 18px;
  height: 12px;
  position: relative;
}
.mg-peds .mg-nav-toggle-bars::before,
.mg-peds .mg-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
}
.mg-peds .mg-nav-toggle-bars::before {
  top: 2px;
}
.mg-peds .mg-nav-toggle-bars::after {
  bottom: 2px;
}

/* Mobile nav: default closed */
.mg-peds .mg-nav {
  display: none;
}

/* Open state */
.mg-peds .mg-nav.is-open {
  display: flex; /* or block; depending on your layout */
  flex-direction: column; /* ensures vertical menu */
  gap: 10px;
}

/* Ensure button shows on mobile */
@media (max-width: 991px) {
  .mg-peds .mg-nav-toggle {
    display: inline-flex;
  }
}

/* Ensure desktop nav shows normally */
@media (min-width: 992px) {
  .mg-peds .mg-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .mg-peds .mg-nav-toggle {
    display: none;
  }
}

/* Hero (dark) */
.mg-peds .mg-hero {
  padding: 26px 0 26px 0;
  background: radial-gradient(
      1200px 600px at 15% 10%,
      rgba(32, 80, 128, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 85% 15%,
      rgba(224, 96, 80, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #070b14 0%, #0b1220 35%, #070b14 100%);
  margin: 0px -8px 0px -8px;
}
.mg-peds .mg-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}
.mg-peds .mg-kicker {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.mg-peds .mg-hero h1 {
  margin: 14px 0 10px 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: rgba(255, 255, 255, 0.96);
}
.mg-peds .mg-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
  max-width: 56ch;
}
.mg-peds .mg-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.mg-peds .mg-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 46px;
}
.mg-peds .mg-stat {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
.mg-peds .mg-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
}
.mg-peds .mg-stat-lbl {
  font-size: 12.5px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
}

/* Hero media card */
.mg-peds .mg-hero-card {
  border-radius: calc(var(--mg-radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow: var(--mg-shadow);
  overflow: hidden;
}
.mg-peds .mg-hero-card-top {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 16px 0 16px;
}
.mg-peds .mg-hero-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(32, 80, 128, 0.16);
  border: 1px solid rgba(32, 80, 128, 0.28);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
}
.mg-peds .mg-pill-soft {
  background: rgba(224, 96, 80, 0.14);
  border-color: rgba(224, 96, 80, 0.24);
}

.mg-peds .mg-hero-visual {
  padding: 16px;
}
.mg-peds .mg-device {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 18, 32, 0.8);
  overflow: hidden;
}
.mg-peds .mg-device-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mg-peds .mg-device-title {
  margin-left: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

.mg-peds .mg-dot-red {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 120, 120, 0.9);
}
.mg-peds .mg-dot-yellow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 210, 120, 0.9);
}
.mg-peds .mg-dot-green {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(120, 255, 190, 0.9);
}

.mg-peds .mg-device-body {
  padding: 12px;
}
.mg-peds .mg-device-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.mg-peds .mg-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}
.mg-peds .mg-device-panel {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}
.mg-peds .mg-mini-title {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}
.mg-peds .mg-mini-bars {
  display: grid;
  gap: 8px;
}
.mg-peds .mg-mini-bar {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(32, 80, 128, 0.95),
    rgba(224, 96, 80, 0.9)
  );
  opacity: 0.95;
}
.mg-peds .mg-mini-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
}

.mg-peds .mg-hero-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mg-peds .mg-checklist {
  display: grid;
  gap: 6px;
}
.mg-peds .mg-check {
  position: relative;
  padding-left: 20px;
  font-size: 12.8px;
  color: rgba(255, 255, 255, 0.72);
}
.mg-peds .mg-check::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: rgba(32, 80, 128, 0.95);
  box-shadow: 0 8px 20px rgba(32, 80, 128, 0.22);
}
.mg-peds .mg-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}
.mg-peds .mg-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Strip stays light (Option B) */
.mg-peds .mg-strip {
  padding: 18px 0;
  background: #ffffff;
}
.mg-peds .mg-strip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.mg-peds .mg-strip-item {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--mg-shadow2);
}
.mg-peds .mg-strip-title {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
}
.mg-peds .mg-strip-sub {
  margin-top: 4px;
  font-size: 12.8px;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
     LIGHT BODY SECTIONS (Option B)
     ========================================================= */

.mg-peds .mg-section {
  padding: 44px 0;
  background: #ffffff;
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-section-alt {
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  border-top: 1px solid rgba(10, 18, 32, 0.06);
  border-bottom: 1px solid rgba(10, 18, 32, 0.06);
  color: rgba(10, 18, 32, 0.92);
}

.mg-peds .mg-section-head {
  margin-bottom: 18px;
}
.mg-peds .mg-section-head h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 0 0 8px 0;
  letter-spacing: -0.2px;
  color: rgba(10, 18, 32, 0.94);
}
.mg-peds .mg-subhead {
  margin: 0;
  max-width: 100ch;
  color: rgba(10, 18, 32, 0.66);
  line-height: 1.6;
}

/* Cards / panels / blocks on light */
.mg-peds .mg-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mg-peds .mg-card {
  padding: 18px;
  border-radius: var(--mg-radius);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  box-shadow: var(--mg-shadow2);
}
.mg-peds .mg-card-icon {
  width: 52px;
  height: 52px;
  color: rgba(224, 96, 80, 0.9);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(32, 80, 128, 0.08);
  border: 1px solid rgba(32, 80, 128, 0.14);
  margin-bottom: 10px;
}
.mg-peds .mg-card h3 {
  margin: 0 0 8px 0;
  font-size: 16.5px;
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-card-text {
  margin: 0;
  color: rgba(10, 18, 32, 0.66);
  line-height: 1.6;
}

/* Lists on light */
.mg-peds .mg-list {
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: rgba(10, 18, 32, 0.66);
  line-height: 1.7;
  font-size: 14px;
}
.mg-peds .mg-list-tight {
  font-size: 13.5px;
}
.mg-peds .mg-list li {
  margin: 4px 0;
}

.mg-peds .mg-list-check {
  list-style: none;
  padding-left: 0;
}
.mg-peds .mg-list-check li {
  position: relative;
  padding-left: 22px;
}
.mg-peds .mg-list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 5px;
  background: rgba(32, 80, 128, 0.92);
}

/* Steps */
.mg-peds .mg-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.mg-peds .mg-step {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--mg-radius);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  box-shadow: var(--mg-shadow2);
}
.mg-peds .mg-step-no {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 80, 128, 0.1);
  border: 1px solid rgba(32, 80, 128, 0.18);
  color: rgba(10, 18, 32, 0.92);
  font-weight: 900;
}
.mg-peds .mg-step-body h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-step-body p {
  margin: 0;
  color: rgba(10, 18, 32, 0.66);
  line-height: 1.6;
  font-size: 13.8px;
}

/* Split panels */
.mg-peds .mg-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.mg-peds .mg-panel {
  padding: 16px;
  border-radius: var(--mg-radius);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  box-shadow: var(--mg-shadow2);
}

/* Pricing */
.mg-peds .mg-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.mg-peds .mg-price-card {
  padding: 18px;
  border-radius: calc(var(--mg-radius) + 2px);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  box-shadow: var(--mg-shadow2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mg-peds .mg-highlight {
  border-color: rgba(32, 80, 128, 0.22);
  background: linear-gradient(180deg, rgba(32, 80, 128, 0.08), #ffffff 55%);
}
.mg-peds .mg-price-top h3 {
  margin: 0;
  font-size: 17px;
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-price-sub {
  margin: 6px 0 10px 0;
  color: rgba(10, 18, 32, 0.66);
  font-size: 13.5px;
}
.mg-peds .mg-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mg-peds .mg-price-val {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-price-unit {
  color: rgba(10, 18, 32, 0.62);
  font-size: 13px;
}
.mg-peds .mg-price-note {
  margin-top: 6px;
  color: rgba(10, 18, 32, 0.54);
  font-size: 12.5px;
}

/* Override buttons on light sections (so primary stays brand and readable) */
.mg-peds .mg-section .mg-btn-primary,
.mg-peds .mg-section-alt .mg-btn-primary {
  background: linear-gradient(
    135deg,
    rgba(32, 80, 128, 1),
    rgba(32, 80, 128, 0.92)
  );
  color: #ffffff;
  border-color: rgba(32, 80, 128, 0.28);
}
.mg-peds .mg-section .mg-btn-ghost,
.mg-peds .mg-section-alt .mg-btn-ghost {
  background: rgba(10, 18, 32, 0.04);
  border-color: rgba(10, 18, 32, 0.1);
  color: rgba(10, 18, 32, 0.86);
}
.mg-peds .mg-section .mg-btn-ghost:hover,
.mg-peds .mg-section-alt .mg-btn-ghost:hover {
  background: rgba(10, 18, 32, 0.06);
}

/* ROI */
.mg-peds .mg-roi {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 14px;
}
.mg-peds .mg-roi-card {
  padding: 18px;
  border-radius: var(--mg-radius);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  box-shadow: var(--mg-shadow2);
}
.mg-peds .mg-roi-card h3 {
  margin: 0 0 12px 0;
  color: rgba(10, 18, 32, 0.92);
}

.mg-peds .mg-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mg-peds .mg-label {
  display: grid;
  gap: 6px;
  font-size: 12.8px;
  color: rgba(10, 18, 32, 0.66);
}
.mg-peds .mg-input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(10, 18, 32, 0.12);
  background: #ffffff;
  color: rgba(10, 18, 32, 0.92);
  outline: none;
}
.mg-peds .mg-input:focus {
  border-color: rgba(32, 80, 128, 0.45);
  box-shadow: 0 0 0 4px rgba(32, 80, 128, 0.12);
}
.mg-peds .mg-textarea {
  resize: vertical;
  min-height: 110px;
}

.mg-peds .mg-roi-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.mg-peds .mg-roi-metric {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: rgba(32, 80, 128, 0.04);
}
.mg-peds .mg-roi-title {
  font-size: 12.5px;
  color: rgba(10, 18, 32, 0.62);
}
.mg-peds .mg-roi-value {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 900;
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-roi-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Tags */
.mg-peds .mg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.mg-peds .mg-tag {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: rgba(10, 18, 32, 0.03);
  font-size: 12.5px;
  color: rgba(10, 18, 32, 0.7);
}
.mg-peds .mg-divider {
  height: 1px;
  background: rgba(10, 18, 32, 0.08);
  margin: 14px 0;
}

/* Leadership */
.mg-peds .mg-leaders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.mg-peds .mg-leader {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--mg-radius);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  box-shadow: var(--mg-shadow2);
}
.mg-peds .mg-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(224, 96, 80, 0.85),
    rgba(32, 80, 128, 0.35)
  );
  border: 1px solid rgba(10, 18, 32, 0.1);
}
.mg-peds .mg-avatar-2 {
  background: linear-gradient(
    135deg,
    rgba(32, 80, 128, 0.85),
    rgba(224, 96, 80, 0.35)
  );
}
.mg-peds .mg-leader h3 {
  margin: 0 0 4px 0;
  color: rgba(10, 18, 32, 0.92);
}

/* FAQ */
.mg-peds .mg-faq {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.mg-peds .mg-faq-item {
  border-radius: var(--mg-radius);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  padding: 12px 14px;
  box-shadow: var(--mg-shadow2);
}
.mg-peds .mg-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-faq-item summary::-webkit-details-marker {
  display: none;
}
.mg-peds .mg-faq-body {
  margin-top: 10px;
  color: rgba(10, 18, 32, 0.66);
  line-height: 1.65;
  font-size: 13.8px;
}

/* CTA (light but branded) */
.mg-peds .mg-cta {
  padding: 46px 0;
  background: radial-gradient(
      900px 450px at 20% 10%,
      rgba(32, 80, 128, 0.1),
      transparent 60%
    ),
    radial-gradient(
      800px 450px at 85% 35%,
      rgba(224, 96, 80, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, #ffffff, #f7fafc);
  border-top: 1px solid rgba(10, 18, 32, 0.06);
  border-bottom: 1px solid rgba(10, 18, 32, 0.06);
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: start;
}
.mg-peds .mg-cta-lead {
  margin-top: 8px;
  color: rgba(10, 18, 32, 0.66);
}
.mg-peds .mg-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.mg-peds .mg-cta-box {
  padding: 16px;
  border-radius: var(--mg-radius);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  box-shadow: var(--mg-shadow2);
}
.mg-peds .mg-cta-box-title {
  font-weight: 900;
  margin-bottom: 10px;
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-ol {
  margin: 0;
  padding-left: 18px;
  color: rgba(10, 18, 32, 0.66);
  line-height: 1.7;
}

/* Contact */
.mg-peds .mg-contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 14px;
}
.mg-peds .mg-form {
  padding: 18px;
  border-radius: var(--mg-radius);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  box-shadow: var(--mg-shadow2);
}
.mg-peds .mg-span-2 {
  grid-column: span 2;
}
.mg-peds .mg-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.mg-peds .mg-form-msg {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(10, 18, 32, 0.66);
}
.mg-peds .mg-contact-card {
  padding: 18px;
  border-radius: var(--mg-radius);
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #ffffff;
  box-shadow: var(--mg-shadow2);
}
.mg-peds .mg-contact-title {
  font-weight: 900;
  margin-bottom: 10px;
  color: rgba(10, 18, 32, 0.92);
}
.mg-peds .mg-contact-line {
  color: rgba(10, 18, 32, 0.68);
  margin: 8px 0;
}
.mg-peds .mg-contact-line a {
  color: var(--mg-brandBlue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.mg-peds .mg-footer {
  padding: 22px 0;
  border-top: 1px solid rgba(10, 18, 32, 0.06);
  background: #ffffff;
  color: rgba(10, 18, 32, 0.86);
}
.mg-peds .mg-footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.mg-peds .mg-footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.mg-peds .mg-footer-links a {
  color: rgba(10, 18, 32, 0.66);
  font-size: 13px;
}
.mg-peds .mg-footer-links a:hover {
  color: rgba(10, 18, 32, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mg-peds .mg-fine {
  color: rgba(10, 18, 32, 0.55);
  font-size: 12.5px;
  line-height: 1.5;
}

/* =========================================================
     OPTIONAL: Logo image sizing helpers (use your attached PNGs)
     Example: <img class="mg-logo" src="assets/gleeo-health-1024.png" alt="Gleeo Health">
     ========================================================= */
.mg-peds .mg-logo {
  height: 38px;
  width: auto;
  display: block;
}
.mg-peds .mg-logo-lg {
  height: 60px;
  width: auto;
  display: block;
}
.mg-peds .mg-favicon {
  height: 18px;
  width: 18px;
  border-radius: 6px;
}

/* =========================================================
     Responsive
     ========================================================= */
@media (max-width: 980px) {
  .mg-peds .mg-hero-grid {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .mg-peds .mg-strip-row {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-cards-3 {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-steps {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-split {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-pricing {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-roi {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-roi-results {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-leaders {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-cta-inner {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .mg-peds .mg-nav-toggle {
    display: inline-flex;
  }
  .mg-peds .mg-nav {
    position: absolute;
    right: 20px;
    left: 20px;
    top: 66px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 18, 32, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  }
  .mg-peds .mg-nav.mg-open {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mg-peds .mg-nav a {
    padding: 10px 10px;
  }
}
/* =========================================================
   PREMIUM Recognition & IP Section (₹50L SaaS look)
   Fully isolated under .mg-peds
   Requires Font Awesome for icons (optional)
   ========================================================= */

.mg-peds .mg-recog {
  padding: 70px 0;
  background: #ffffff;
}
.mg-peds .mg-recog-alt {
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  border-top: 1px solid rgba(10, 18, 32, 0.06);
  border-bottom: 1px solid rgba(10, 18, 32, 0.06);
  color: rgba(10, 18, 32, 0.92);
}

.mg-peds .mg-recog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.mg-peds .mg-recog-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.3px;
  color: rgba(10, 18, 32, 0.94);
}

.mg-peds .mg-recog-sub {
  margin: 10px 0 0 0;
  max-width: 72ch;
  color: rgba(10, 18, 32, 0.66);
  line-height: 1.6;
  font-size: 14.5px;
}

.mg-peds .mg-recog-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mg-peds .mg-recog-badge {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: rgba(32, 80, 128, 0.04);
  color: rgba(10, 18, 32, 0.74);
  font-size: 12.5px;
  white-space: nowrap;
}

/* Grid */
.mg-peds .mg-recog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Card */
.mg-peds .mg-recog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(10, 18, 32, 0.1);
  box-shadow: 0 14px 40px rgba(10, 18, 32, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease,
    border-color 160ms ease;
  text-decoration: none;
}

.mg-peds .mg-recog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(10, 18, 32, 0.1);
  border-color: rgba(32, 80, 128, 0.18);
}

/* Top row */
.mg-peds .mg-recog-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mg-peds .mg-recog-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 80, 128, 0.08);
  border: 1px solid rgba(32, 80, 128, 0.14);
  flex: 0 0 auto;
}

.mg-peds .mg-recog-icon i {
  font-size: 18px;
  color: #205080;
}

.mg-peds .mg-recog-kicker {
  font-size: 12px;
  color: rgba(10, 18, 32, 0.58);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.mg-peds .mg-recog-name {
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 800;
  color: rgba(10, 18, 32, 0.92);
}

/* Thumbnail window (uniform look) */
.mg-peds .mg-recog-thumb {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(10, 18, 32, 0.1);
  background: #f7fafc;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mg-peds .mg-recog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes all thumbs consistent */
  object-position: top; /* best for articles */
  display: block;
  filter: saturate(0.95);
}

/* Footer row */
.mg-peds .mg-recog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.mg-peds .mg-recog-note {
  font-size: 12.8px;
  color: rgba(10, 18, 32, 0.62);
}

.mg-peds .mg-recog-view {
  font-size: 12.8px;
  color: #205080;
  font-weight: 700;
}

/* Fine print */
.mg-peds .mg-recog-fine {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(10, 18, 32, 0.55);
}

/* Responsive */
@media (max-width: 1100px) {
  .mg-peds .mg-recog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .mg-peds .mg-recog-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Leadership Section – Premium Photo Version
   ========================================================= */

.mg-peds .mg-leaders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.mg-peds .mg-leader {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(10, 18, 32, 0.08);
  box-shadow: 0 12px 35px rgba(10, 18, 32, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mg-peds .mg-leader:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(10, 18, 32, 0.08);
}

/* Photo container */
.mg-peds .mg-leader-photo {
  flex: 0 0 110px;
  width: 110px;
  height: 160px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 18, 32, 0.08);
  background: #f7fafc;
}

.mg-peds .mg-leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Body */
.mg-peds .mg-leader-body h3 {
  margin: 0 0 6px 0;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: #0a1220;
}

.mg-peds .mg-leader-body .mg-muted {
  font-size: 14px;
  margin-bottom: 12px;
  color: rgba(10, 18, 32, 0.6);
}

.mg-peds .mg-card-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(10, 18, 32, 0.7);
}

/* Responsive */
@media (max-width: 900px) {
  .mg-peds .mg-leaders {
    grid-template-columns: 1fr;
  }

  .mg-peds .mg-leader {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mg-peds .mg-leader-photo {
    width: 120px;
    height: 120px;
  }
}

/* =========================================================
   Get Started Section (Onboarding Flow)
   Fully isolated under .mg-peds
   ========================================================= */

.mg-peds .mg-start {
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  border-top: 1px solid rgba(10, 18, 32, 0.06);
  border-bottom: 1px solid rgba(10, 18, 32, 0.06);
  color: rgba(10, 18, 32, 0.92);
}

.mg-peds .mg-start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.mg-peds .mg-start-step {
  padding: 32px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(10, 18, 32, 0.08);
  box-shadow: 0 12px 35px rgba(10, 18, 32, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mg-peds .mg-start-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(10, 18, 32, 0.08);
}

.mg-peds .mg-start-number {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #205080;
  margin-bottom: 14px;
}

.mg-peds .mg-start-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0a1220;
}

.mg-peds .mg-start-step .mg-card-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(10, 18, 32, 0.7);
}

/* Footer area */
.mg-peds .mg-start-footer {
  margin-top: 50px;
  text-align: center;
}

.mg-peds .mg-start-note {
  font-size: 14px;
  color: rgba(10, 18, 32, 0.6);
  margin-bottom: 20px;
}

.mg-peds .mg-start-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .mg-peds .mg-start-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Soft Fade + Lift Animation (Isolated)
   ========================================================= */

.mg-peds .mg-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

.mg-peds .mg-animate.mg-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: slightly smoother number emphasis */
.mg-peds .mg-start-number {
  transition: color 300ms ease;
}

.mg-peds .mg-start-step.mg-in-view .mg-start-number {
  color: #205080;
}
/* =========================================================
   Join Now Section
   ========================================================= */

.mg-peds .mg-join {
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  border-top: 1px solid rgba(10, 18, 32, 0.06);
  border-bottom: 1px solid rgba(10, 18, 32, 0.06);
  color: rgba(10, 18, 32, 0.92);
}

.mg-peds .mg-join-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.mg-peds .mg-join-left h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.mg-peds .mg-join-benefits {
  margin-top: 24px;
  padding-left: 18px;
  color: rgba(10, 18, 32, 0.7);
  line-height: 1.7;
}

.mg-peds .mg-join-card {
  background: #ffffff;
  padding: 36px;
  border-radius: 20px;
  border: 1px solid rgba(10, 18, 32, 0.08);
  box-shadow: 0 18px 45px rgba(10, 18, 32, 0.06);
  height: 300px;
}

.mg-peds .mg-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.mg-peds .mg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mg-peds .mg-span-2 {
  grid-column: span 2;
}

.mg-peds .mg-field label {
  font-size: 13px;
  color: rgba(10, 18, 32, 0.6);
}

.mg-peds .mg-field input,
.mg-peds .mg-field textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(10, 18, 32, 0.1);
  font-size: 14px;
  transition: all 0.2s ease;
}

.mg-peds .mg-field input:focus,
.mg-peds .mg-field textarea:focus {
  outline: none;
  border-color: #205080;
  box-shadow: 0 0 0 3px rgba(32, 80, 128, 0.12);
}

.mg-peds .mg-btn-full {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  margin-top: 50px;
}

.mg-peds .mg-form-message {
  margin-top: 14px;
  font-size: 14px;
  color: #205080;
}

.mg-peds .mg-join-alt {
  margin-top: 50px;
  font-size: 14px;
  color: rgba(10, 18, 32, 0.6);
  text-align: center;
}

.mg-peds .mg-wa-link {
  color: #25d366;
  font-weight: 600;
  margin-left: 6px;
  text-decoration: none;
}

.mg-peds .mg-wa-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .mg-peds .mg-join-wrap {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Premium Enterprise Footer
   ========================================================= */
.mg-peds .mg-footer-brand {
  width: 100px;
}
.mg-peds .mg-footer {
  padding: 70px 0 30px 0;
  background: #ffffff;
  border-top: 1px solid rgba(10, 18, 32, 0.08);
}

.mg-peds .mg-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.mg-peds .mg-footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: #0a1220;
}

.mg-peds .mg-footer-col p {
  margin: 8px 0;
  font-size: 14px;
  color: rgba(10, 18, 32, 0.65);
}

.mg-peds .mg-footer-col a {
  color: rgba(10, 18, 32, 0.7);
  text-decoration: none;
}

.mg-peds .mg-footer-col a:hover {
  color: #205080;
}

.mg-peds .mg-footer-text {
  font-size: 14px;
  color: rgba(10, 18, 32, 0.65);
  margin-top: 12px;
  max-width: 280px;
}

.mg-peds .mg-footer-wa {
  color: #25d366 !important;
  font-weight: 600;
}

.mg-peds .mg-footer-bottom {
  border-top: 1px solid rgba(10, 18, 32, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.mg-peds .mg-footer-bottom p {
  font-size: 13px;
  color: rgba(10, 18, 32, 0.55);
}

.mg-peds .mg-footer-fine {
  font-size: 12px;
  color: rgba(10, 18, 32, 0.5);
}

/* Responsive */

@media (max-width: 900px) {
  .mg-peds .mg-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .mg-peds .mg-footer-grid {
    grid-template-columns: 1fr;
  }

  .mg-peds .mg-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/*------*/
.mg-peds .mg-apps-premium {
  position: relative;
  overflow: hidden;
}

.mg-peds .mg-apps-premium .mg-apps-shell {
  margin-top: 22px;
  border-radius: 28px;
  padding: 34px;
  background: radial-gradient(
      900px 520px at 15% 10%,
      rgba(40, 80, 140, 0.18),
      transparent 60%
    ),
    radial-gradient(
      720px 480px at 90% 30%,
      rgba(35, 170, 150, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(10, 15, 25, 0.03), rgba(10, 15, 25, 0));
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.mg-peds .mg-apps-premium .mg-apps-grid {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 22px;
  align-items: stretch;
}

/* Cards */
.mg-peds .mg-apps-premium .mg-app-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 260ms ease, box-shadow 260ms ease,
    border-color 260ms ease;
}

.mg-peds .mg-apps-premium .mg-app-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(40, 80, 140, 0.22),
    rgba(35, 170, 150, 0.1)
  );
  opacity: 0;
  z-index: 0;
  transition: opacity 260ms ease;
}

.mg-peds .mg-apps-premium .mg-app-card > * {
  position: relative;
  z-index: 1;
}

.mg-peds .mg-apps-premium .mg-app-notelogin {
  margin-top: 10px;
  margin-bottom: 0px;
}

.mg-peds .mg-apps-premium .mg-app-note {
  margin-top: 10px;
}

.mg-peds .mg-apps-premium .mg-app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.16);
  border-color: rgba(40, 80, 140, 0.22);
}

.mg-peds .mg-apps-premium .mg-app-card:hover::before {
  opacity: 1;
}

/* Badge + titles */
.mg-peds .mg-apps-premium .mg-app-card-top {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.mg-peds .mg-apps-premium .mg-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(40, 80, 140, 0.1);
  color: #16325e;
  font-weight: 800;
  width: fit-content;
}

.mg-peds .mg-apps-premium .mg-app-badge-soft {
  background: rgba(35, 170, 150, 0.1);
  color: #0b3b35;
}

.mg-peds .mg-apps-premium .mg-app-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
}

.mg-peds .mg-apps-premium .mg-app-sub {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.62);
}

.mg-peds .mg-apps-premium .mg-app-desc {
  margin: 12px 0 16px;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.55;
}

/* Features */
.mg-peds .mg-apps-premium .mg-app-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.mg-peds .mg-apps-premium .mg-app-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(15, 23, 42, 0.84);
}

.mg-peds .mg-apps-premium .mg-app-features i {
  margin-top: 2px;
  color: #28508c;
}

/* Store buttons */
.mg-peds .mg-apps-premium .mg-store-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.mg-peds .mg-apps-premium .mg-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f6f8fc;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease,
    border-color 180ms ease;
}

.mg-peds .mg-apps-premium .mg-store-btn:hover {
  transform: translateY(-2px);
  background: rgba(40, 80, 140, 0.1);
  border-color: rgba(40, 80, 140, 0.22);
}

/* Bridge */
.mg-peds .mg-apps-premium .mg-app-bridge {
  border-radius: 22px;
  padding: 22px 14px;
  display: grid;
  align-items: center;
  justify-items: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.6)
  );
  border: 1px dashed rgba(40, 80, 140, 0.3);
}

.mg-peds .mg-apps-premium .mg-bridge-line {
  width: 2px;
  height: 64px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(40, 80, 140, 0.85),
    transparent
  );
}

.mg-peds .mg-apps-premium .mg-bridge-core {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.mg-peds .mg-apps-premium .mg-bridge-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(40, 80, 140, 0.12);
  display: grid;
  place-items: center;
  color: #28508c;
}

.mg-peds .mg-apps-premium .mg-bridge-text {
  font-weight: 900;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.72);
  text-align: center;
}

.mg-peds .mg-apps-premium .mg-bridge-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.mg-peds .mg-apps-premium .mg-bridge-chip {
  font-size: 12px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.7);
  background: rgba(40, 80, 140, 0.08);
  border: 1px solid rgba(40, 80, 140, 0.14);
  padding: 7px 10px;
  border-radius: 999px;
}

/* Animation: soft fade + lift + stagger */
.mg-peds .mg-apps-premium .mg-reveal {
  opacity: 1;
  transform: none;
}

.mg-peds .mg-apps-premium .mg-reveal.mg-inview {
  opacity: 1;
  transform: translateY(0);
}
.mg-peds .mg-apps-premium .mg-app-card.mg-inview {
  transition-delay: 60ms;
}
.mg-peds .mg-apps-premium .mg-app-bridge.mg-inview {
  transition-delay: 120ms;
}
.mg-peds .mg-apps-premium .mg-app-card:last-child.mg-inview {
  transition-delay: 180ms;
}

@media (max-width: 1100px) {
  .mg-peds .mg-apps-premium .mg-apps-grid {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-apps-premium .mg-app-bridge {
    display: none;
  }
  .mg-peds .mg-apps-premium .mg-apps-shell {
    padding: 22px;
  }
}
/* =========================================================
   APPS (Premium) — Light Medical Enterprise Aesthetic
   Scoped to: .mg-peds .mg-apps-premium
   ========================================================= */

.mg-peds .mg-apps-premium {
  position: relative;
  overflow: hidden;
}

/* Premium shell: soft clinical background */
.mg-peds .mg-apps-premium .mg-apps-shell {
  margin-top: 22px;
  border-radius: 28px;
  padding: 34px;
  background: radial-gradient(
      900px 520px at 12% 8%,
      rgba(33, 74, 128, 0.1),
      transparent 60%
    ),
    radial-gradient(
      720px 520px at 92% 18%,
      rgba(18, 170, 150, 0.08),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(15, 23, 42, 0.03), rgba(15, 23, 42, 0));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.06);
}

/* Top 3 columns */
.mg-peds .mg-apps-premium .mg-apps-topgrid {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 22px;
  align-items: stretch;
}

/* Cards */
.mg-peds .mg-apps-premium .mg-app-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 18px 70px rgba(15, 23, 42, 0.08);
  position: relative;
}

/* Kicker row */
.mg-peds .mg-apps-premium .mg-app-kicker {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.mg-peds .mg-apps-premium .mg-app-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(33, 74, 128, 0.1);
  color: #12325e;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(33, 74, 128, 0.16);
}

.mg-peds .mg-apps-premium .mg-app-pill--mint {
  background: rgba(18, 170, 150, 0.1);
  color: #0b3b35;
  border-color: rgba(18, 170, 150, 0.16);
}

.mg-peds .mg-apps-premium .mg-app-meta {
  color: rgba(15, 23, 42, 0.62);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
}

.mg-peds .mg-apps-premium .mg-app-h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: #0f172a;
}

.mg-peds .mg-apps-premium .mg-app-p {
  margin: 0 0 14px;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.55;
}

/* Screenshot frame (use CROPPED images, no phone chrome) */
.mg-peds .mg-apps-premium .mg-shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  margin: 12px 0 16px;
}

.mg-peds .mg-apps-premium .mg-shot--wide {
  min-height: 220px;
}

.mg-peds .mg-apps-premium .mg-shot--tight {
  min-height: 180px;
}

.mg-peds .mg-apps-premium .mg-shot-img {
  display: block;
  width: 100%;
  height: auto;
}

/* subtle fade to hide any remaining edges */
.mg-peds .mg-apps-premium .mg-shot-fade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(
      380px 220px at 22% 12%,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.55) 65%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35));
  opacity: 0.55;
}

/* Feature list */
.mg-peds .mg-apps-premium .mg-app-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}

.mg-peds .mg-apps-premium .mg-app-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.86);
  font-weight: 650;
}

.mg-peds .mg-apps-premium .mg-app-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 8px;
  background: rgba(33, 74, 128, 0.85);
}

.mg-peds .mg-apps-premium .mg-app-panel:nth-child(1) .mg-app-list li::before {
  background: rgba(33, 74, 128, 0.85);
}
.mg-peds .mg-apps-premium .mg-app-panel:nth-child(3) .mg-app-list li::before {
  background: rgba(18, 170, 150, 0.85);
}

/* Notes (tips) */
.mg-peds .mg-apps-premium .mg-app-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.72);
  font-weight: 700;
  line-height: 1.45;
}

/* Store buttons */
.mg-peds .mg-apps-premium .mg-store-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mg-peds .mg-apps-premium .mg-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f6f8fc;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease,
    border-color 180ms ease;
}

.mg-peds .mg-apps-premium .mg-store-btn:hover {
  transform: translateY(-2px);
  background: rgba(33, 74, 128, 0.1);
  border-color: rgba(33, 74, 128, 0.2);
}

/* Bridge column */
.mg-peds .mg-apps-premium .mg-bridge {
  border-radius: 22px;
  padding: 22px 14px;
  display: grid;
  align-items: center;
  justify-items: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.6)
  );
  border: 1px dashed rgba(33, 74, 128, 0.28);
}

.mg-peds .mg-apps-premium .mg-bridge-line {
  width: 2px;
  height: 64px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(33, 74, 128, 0.7),
    transparent
  );
}

.mg-peds .mg-apps-premium .mg-bridge-core {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.mg-peds .mg-apps-premium .mg-bridge-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(33, 74, 128, 0.12);
  display: grid;
  place-items: center;
  color: rgba(33, 74, 128, 0.95);
  font-weight: 900;
}

.mg-peds .mg-apps-premium .mg-bridge-text {
  font-weight: 900;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.72);
  text-align: center;
}

.mg-peds .mg-apps-premium .mg-bridge-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.mg-peds .mg-apps-premium .mg-bridge-chip {
  font-size: 12px;
  font-weight: 850;
  color: rgba(15, 23, 42, 0.7);
  background: rgba(33, 74, 128, 0.08);
  border: 1px solid rgba(33, 74, 128, 0.12);
  padding: 7px 10px;
  border-radius: 999px;
}

/* Row 2 */
.mg-peds .mg-apps-premium .mg-apps-subgrid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mg-peds .mg-apps-premium .mg-subcard {
  background: #ffffff;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 16px 60px rgba(15, 23, 42, 0.06);
}

.mg-peds .mg-apps-premium .mg-subheadrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mg-peds .mg-apps-premium .mg-subtitle {
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.mg-peds .mg-apps-premium .mg-subhint {
  font-weight: 750;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.58);
}

/* Responsive */
@media (max-width: 1100px) {
  .mg-peds .mg-apps-premium .mg-apps-topgrid {
    grid-template-columns: 1fr;
  }
  .mg-peds .mg-apps-premium .mg-bridge {
    display: none;
  }
  .mg-peds .mg-apps-premium .mg-apps-shell {
    padding: 22px;
  }
}

@media (max-width: 800px) {
  .mg-peds .mg-apps-premium .mg-apps-subgrid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Premium Proof (Graphs) — Fully isolated styles
   Scope: .mg-prx (safe to paste into style-pedia.css)
   ========================================================= */

.mg-prx {
  --prx-ink: #0b1220;
  --prx-muted: rgba(11, 18, 32, 0.68);
  --prx-line: rgba(11, 18, 32, 0.1);
  --prx-soft: rgba(11, 18, 32, 0.05);

  --prx-card: #ffffff;
  --prx-shadow: 0 18px 60px rgba(10, 18, 32, 0.1);

  --prx-radius: 22px;
  --prx-radius2: 18px;

  --prx-accent: #28508c;
  --prx-accent2: #23aa96;
}

.mg-prx .mg-section-head h2 {
  letter-spacing: -0.2px;
}

.mg-prx .mg-section-head .mg-subhead {
  max-width: 900px;
}

/* Tip row */
.mg-prx .mg-prx-tip {
  margin: 18px auto 26px;
  max-width: 1111px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(40, 80, 140, 0.06),
    rgba(35, 170, 150, 0.04)
  );
  border: 1px solid var(--prx-line);
}

.mg-prx .mg-prx-tip-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--prx-accent);
  background: rgba(40, 80, 140, 0.1);
}

.mg-prx .mg-prx-tip-text {
  color: var(--prx-muted);
  line-height: 1.5;
}
.mg-prx .mg-prx-tip-text strong {
  color: var(--prx-ink);
}

/* Grid layout */
.mg-prx .mg-prx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.mg-prx .mg-prx-card {
  background: var(--prx-card);
  border: 1px solid var(--prx-line);
  border-radius: var(--prx-radius);
  box-shadow: var(--prx-shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.mg-prx .mg-prx-card-wide {
  grid-column: 1 / -1;
}

/* Header */
.mg-prx .mg-prx-card-head h3 {
  margin: 0 0 6px 0;
  color: var(--prx-ink);
  font-size: 20px;
  letter-spacing: -0.2px;
}
.mg-prx .mg-prx-card-head p {
  margin: 0 0 12px 0;
  color: var(--prx-muted);
  line-height: 1.45;
  max-width: 70ch;
}

/* Frame */
.mg-prx .mg-prx-frame {
  border-radius: var(--prx-radius2);
  border: 1px solid var(--prx-line);
  background: radial-gradient(
      900px 320px at 20% 0%,
      rgba(40, 80, 140, 0.1),
      transparent 60%
    ),
    radial-gradient(
      900px 320px at 90% 30%,
      rgba(35, 170, 150, 0.08),
      transparent 55%
    ),
    #fbfcff;
  padding: 14px;
}

.mg-prx .mg-prx-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Wide heatmap frame: keep elegant aspect without feeling too tall */
.mg-prx .mg-prx-frame-wide {
  padding: 14px;
}

/* Micro row */
.mg-prx .mg-prx-micro {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mg-prx .mg-prx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--prx-line);
  background: rgba(40, 80, 140, 0.06);
  color: rgba(11, 18, 32, 0.82);
  font-weight: 800;
  font-size: 13px;
}

.mg-prx .mg-prx-pill-soft {
  background: rgba(35, 170, 150, 0.06);
}

.mg-prx .mg-prx-note {
  color: rgba(11, 18, 32, 0.55);
  font-size: 13px;
  margin-left: auto;
}

/* Hover affordance for zoom */
.mg-prx .mg-prx-frame[data-zoom="true"] {
  cursor: zoom-in;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.mg-prx .mg-prx-frame[data-zoom="true"]:hover {
  transform: translateY(-2px);
}

/* Reveal animation (optional) */
.mg-prx .mg-reveal {
  opacity: 1;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.mg-prx .mg-reveal.mg-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Modal */
.mg-prx .mg-prx-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.mg-prx .mg-prx-modal.is-open {
  display: block;
}

.mg-prx .mg-prx-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.55);
  backdrop-filter: blur(4px);
}

.mg-prx .mg-prx-modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 120px rgba(10, 18, 32, 0.35);
  padding: 14px;
}

.mg-prx .mg-prx-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--prx-line);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
}

.mg-prx .mg-prx-modal-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--prx-line);
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 980px) {
  .mg-prx .mg-prx-grid {
    grid-template-columns: 1fr;
  }
  .mg-prx .mg-prx-note {
    margin-left: 0;
    width: 100%;
  }
}
