/* ===== Cutover Console — hero visual override ===== */
.product-hero__visual{
  aspect-ratio:auto !important;
  max-width:60rem !important;
  margin:0 0 0 auto !important;
  padding:0 !important;
}
.product-hero__visual-frame,
.product-hero__visual-main,
.product-hero__visual-icon,
.product-hero__chip{display:none !important}

.mg{
  position:relative;
  background:#fff;
  border-radius:1.8rem;
  overflow:hidden;
  box-shadow:
    0 30px 60px -20px rgba(3,41,82,.18),
    0 18px 36px -18px rgba(3,41,82,.12),
    0 0 0 1px rgba(3,41,82,.06);
}
.mg::before{
  content:"";position:absolute;
  inset:-3rem -2rem -3rem -2rem;
  background:radial-gradient(ellipse at center,rgba(46,97,255,.16) 0%,transparent 60%);
  filter:blur(40px);
  z-index:-1;
}

.mg__bar{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.1rem 1.6rem;
  background:linear-gradient(180deg,#F5F7FB 0%,#EEF2F8 100%);
  border-bottom:1px solid rgba(3,41,82,.06);
}
.mg__bar-l{display:flex;align-items:center;gap:.7rem}
.mg__bar-icon{
  width:2.2rem;height:2.2rem;border-radius:.5rem;
  background:rgba(46,97,255,.1);color:var(--blue);
  display:grid;place-items:center;flex-shrink:0;
}
.mg__bar-icon svg{width:1.3rem;height:1.3rem;stroke-width:2.5}
.mg__bar-title{font-size:1.2rem;font-weight:700;color:var(--navy-900)}
.mg__bar-sub{font-size:.92rem;color:var(--slate-500);font-weight:500;margin-left:.3rem}
.mg__phase{
  display:inline-flex;align-items:center;gap:.35rem;
  padding:.25rem .7rem;
  background:rgba(46,97,255,.1);color:var(--blue);
  border-radius:99rem;font-size:.85rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.05em;
}
.mg__phase::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--blue);animation:mgPulse 1.6s ease-in-out infinite}
@keyframes mgPulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(46,97,255,.5)}50%{opacity:.8;box-shadow:0 0 0 .4rem rgba(46,97,255,0)}}

/* Phase tracker */
.mg__steps{
  display:flex;align-items:center;justify-content:space-between;gap:.3rem;
  padding:1rem 1.6rem;
  border-bottom:1px solid rgba(3,41,82,.06);
  background:#fff;
}
.mg-step{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:.3rem;
  position:relative;
}
.mg-step + .mg-step::before{
  content:"";position:absolute;top:.7rem;left:-50%;right:50%;
  height:.15rem;background:rgba(3,41,82,.08);z-index:0;
}
.mg-step.is-done + .mg-step.is-done::before,
.mg-step.is-done + .mg-step.is-active::before{background:var(--success)}
.mg-step-circ{
  width:1.5rem;height:1.5rem;border-radius:50%;
  background:rgba(3,41,82,.08);
  display:grid;place-items:center;
  position:relative;z-index:1;color:rgba(3,41,82,.4);
}
.mg-step-circ svg{width:.85rem;height:.85rem;stroke-width:3}
.mg-step.is-done .mg-step-circ{background:var(--success);color:#fff}
.mg-step.is-active .mg-step-circ{background:var(--blue);color:#fff;box-shadow:0 0 0 .3rem rgba(46,97,255,.18)}
.mg-step-lbl{font-size:.85rem;font-weight:600;color:var(--navy-900);text-align:center}
.mg-step:not(.is-done):not(.is-active) .mg-step-lbl{color:var(--slate-400);font-weight:500}

/* Legacy → Modern split */
.mg__split{
  display:grid;grid-template-columns:1fr auto 1fr;gap:0;
  padding:1.2rem 1.6rem;
  border-bottom:1px solid rgba(3,41,82,.06);
  align-items:stretch;
}
.mg-side{
  padding:1rem 1.2rem;border-radius:.8rem;
  border:1px solid rgba(3,41,82,.08);
}
.mg-side--old{
  background:linear-gradient(180deg,#F1F4F8 0%,#E9EDF3 100%);
  color:var(--slate-500);
}
.mg-side--new{
  background:linear-gradient(180deg,rgba(46,97,255,.06) 0%,rgba(46,97,255,.02) 100%);
  border-color:rgba(46,97,255,.2);
}
.mg-side-l{
  font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  display:flex;align-items:center;gap:.4rem;margin-bottom:.6rem;
}
.mg-side--old .mg-side-l{color:rgba(3,41,82,.5)}
.mg-side--old .mg-side-l::before{content:"";width:.4rem;height:.4rem;border-radius:50%;background:rgba(3,41,82,.3)}
.mg-side--new .mg-side-l{color:var(--blue)}
.mg-side--new .mg-side-l::before{content:"";width:.4rem;height:.4rem;border-radius:50%;background:var(--success);animation:mgPulse 1.6s ease-in-out infinite}
.mg-side-t{font-size:1.15rem;font-weight:700;color:var(--navy-900);line-height:1.2;margin-bottom:.2rem}
.mg-side--old .mg-side-t{color:var(--slate-600);text-decoration:line-through;text-decoration-color:rgba(227,51,51,.4);text-decoration-thickness:1.5px}
.mg-side-d{font-size:.85rem;color:var(--slate-500);line-height:1.4}
.mg-side-meta{
  display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.6rem;
}
.mg-side-tag{
  font-size:.7rem;font-weight:700;padding:.15rem .5rem;border-radius:.25rem;
  background:rgba(3,41,82,.08);color:var(--slate-500);
  font-family:'SF Mono','Consolas',monospace;letter-spacing:.02em;
}
.mg-side--new .mg-side-tag{background:rgba(46,97,255,.1);color:var(--blue)}

.mg-arrow{
  display:grid;place-items:center;
  padding:0 1rem;
}
.mg-arrow-circ{
  width:3rem;height:3rem;border-radius:50%;
  background:linear-gradient(135deg,#2e61ff,#5b8aff);
  color:#fff;display:grid;place-items:center;
  box-shadow:0 .6rem 1.4rem rgba(46,97,255,.35);
  position:relative;
}
.mg-arrow-circ svg{width:1.4rem;height:1.4rem;stroke-width:2.5}
.mg-arrow-circ::after{
  content:"migrate";position:absolute;top:calc(100% + .4rem);left:50%;transform:translateX(-50%);
  font-size:.7rem;font-weight:700;color:var(--blue);
  text-transform:uppercase;letter-spacing:.06em;
}

/* Module migration progress */
.mg__mods{padding:1.2rem 1.6rem;border-bottom:1px solid rgba(3,41,82,.06)}
.mg__mods-t{
  font-size:.78rem;font-weight:700;color:var(--slate-500);
  text-transform:uppercase;letter-spacing:.06em;margin-bottom:.7rem;
  display:flex;align-items:center;justify-content:space-between;
}
.mg__mods-t-r{font-size:.78rem;color:var(--slate-500);font-weight:500;text-transform:none;letter-spacing:0}
.mg-mod{
  display:grid;grid-template-columns:1.8rem 1fr 6rem auto;gap:.7rem;align-items:center;
  padding:.4rem 0;font-size:.95rem;
}
.mg-mod + .mg-mod{border-top:1px solid rgba(3,41,82,.04)}
.mg-mod-i{
  width:1.4rem;height:1.4rem;border-radius:50%;
  display:grid;place-items:center;flex-shrink:0;
}
.mg-mod-i svg{width:.85rem;height:.85rem;stroke-width:3}
.mg-mod--done .mg-mod-i{background:var(--success);color:#fff}
.mg-mod--prog .mg-mod-i{background:rgba(46,97,255,.18);color:var(--blue)}
.mg-mod--queue .mg-mod-i{background:rgba(3,41,82,.08);color:var(--slate-400)}
.mg-mod-name{font-weight:600;color:var(--navy-900);font-size:.95rem}
.mg-mod--queue .mg-mod-name{color:var(--slate-400);font-weight:500}
.mg-bar{height:.5rem;background:rgba(3,41,82,.06);border-radius:99rem;overflow:hidden}
.mg-bar-fill{height:100%;border-radius:99rem;background:var(--success)}
.mg-mod--prog .mg-bar-fill{background:linear-gradient(90deg,#2e61ff,#5b8aff)}
.mg-mod-pct{font-size:.85rem;font-weight:700;color:var(--navy-900);text-align:right;font-family:'SF Mono','Consolas',monospace;min-width:3rem}
.mg-mod--queue .mg-mod-pct{color:var(--slate-400);font-weight:500}

/* Reconciliation & safety footer */
.mg__foot{
  display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;
  padding:.95rem 1.6rem;
  background:#F7F9FD;
  border-top:1px solid rgba(3,41,82,.06);
}
.mg__recon{
  display:flex;flex-direction:column;gap:.15rem;
}
.mg__recon-l{font-size:.7rem;font-weight:700;color:var(--slate-500);text-transform:uppercase;letter-spacing:.05em}
.mg__recon-v{
  font-size:.95rem;font-weight:700;color:var(--navy-900);
  font-family:'SF Mono','Consolas',monospace;
}
.mg__recon-v .ok{color:var(--success);margin-left:.3rem}
.mg__pills{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}
.mg__pill{
  display:inline-flex;align-items:center;gap:.3rem;
  padding:.25rem .7rem;
  background:rgba(14,171,110,.1);color:var(--success);
  border-radius:99rem;font-size:.78rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.04em;
}
.mg__pill svg{width:.9rem;height:.9rem;stroke-width:3}

@media (max-width:991px){
  .product-hero__visual{max-width:60rem !important;margin:0 auto !important}
}
@media (max-width:600px){
  .mg__bar,.mg__steps,.mg__split,.mg__mods,.mg__foot{padding-left:1.2rem;padding-right:1.2rem}
  .mg__split{grid-template-columns:1fr;gap:.7rem}
  .mg-arrow{transform:rotate(90deg);padding:.2rem 0}
  .mg-step-lbl{font-size:.72rem}
  .mg__foot{grid-template-columns:1fr;text-align:left}
  .mg__pills{justify-content:flex-start}
}

@media (max-width:600px){.product-hero__visual{display:none}}

.product-hero__visual{max-width:100% !important;margin:2.4rem auto 0 !important}
