/* ==========================================================================
   Hero options M2–M4 (light brand-center family) · P2–P4 (white 3D family)
   Loads after hero-options-5.css. Reuses .hx-m__logo, .trustbar, .partners,
   .certs, .logos-strip from rounds 3–4.
   ========================================================================== */
.ctr { flex: 1; display: grid; justify-items: center; align-content: center; text-align: center; gap: 22px; padding-block: 16px 30px; position: relative; z-index: 2; }
.ctr .hx-title { font-size: clamp(38px, 1rem + 3.4vw, 64px); max-width: 18ch; }
.ctr .hx-lede { text-align: center; }
.ctr .hx-ctas, .ctr .partners, .ctr .certs { justify-content: center; }
.dotbg::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#CBD5E1 1.1px, transparent 1.3px); background-size: 24px 24px; mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 20%, transparent 75%); }
.rating-pill { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 8px 20px -14px rgba(15,23,42,.35); font: 500 14px/1.2 var(--f-body); color: #334155; }
.rating-pill .num { font-size: 22px; color: #0F172A; }
.rating-pill .stars .ico { width: 15px; height: 15px; }

/* ==========================================================================
   M2 — AURORA RING (white, blurred logo-gradient ring, floating partner chips)
   ========================================================================== */
.hx-m2 { background: #FFFFFF; }
.m2-ring { position: absolute; z-index: -1; left: 50%; top: 44%; width: min(860px, 110vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: conic-gradient(from 200deg, #9DB9F2, #8FD8F5, #9BE3C9, #B9E7A6, #9DB9F2); filter: blur(70px); opacity: .55; animation: spin 40s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%, #000 62%, transparent 66%); mask: radial-gradient(circle, transparent 38%, #000 40%, #000 62%, transparent 66%); }
.m2-ring-line { position: absolute; z-index: -1; left: 50%; top: 44%; width: min(700px, 92vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(15,23,42,.12); }
.m2-chip { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255,255,255,.82); border: 1px solid #E2E8F0; box-shadow: 0 14px 30px -18px rgba(15,23,42,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 600 13px/1.15 var(--f-body); color: #0F172A; animation: floaty var(--f, 7s) ease-in-out infinite; }
.m2-chip i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #F8FAFC; border: 1px solid #E2E8F0; }
.m2-chip img { max-width: 22px; max-height: 20px; object-fit: contain; }
.m2-chip small { display: block; font: 500 11px/1.2 var(--f-body); color: #64748B; }
@media (max-width: 1100px) { .m2-chip { display: none; } }

/* ==========================================================================
   M3 — PASTEL TILE WALL (soft mesh, faint logo tile grid, rating centre)
   ========================================================================== */
.hx-m3 { background: linear-gradient(180deg, #F5F9FF 0%, #F2FAF6 100%); }
.m3-tiles { position: absolute; inset: -40px; z-index: -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); grid-auto-rows: 120px; gap: 14px; padding: 20px; transform: rotate(-6deg) scale(1.1);
  mask-image: radial-gradient(ellipse 55% 50% at 50% 45%, transparent 30%, #000 75%); -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 45%, transparent 30%, #000 75%); }
.m3-tiles span { display: grid; place-items: center; border-radius: 22px; background: rgba(255,255,255,.75); border: 1px solid rgba(226,232,240,.9); box-shadow: 0 10px 24px -18px rgba(15,23,42,.3); }
.m3-tiles span:nth-child(4n+1) { background: rgba(219,234,254,.7); } .m3-tiles span:nth-child(5n+2) { background: rgba(209,250,229,.7); } .m3-tiles span:nth-child(7n+3) { background: rgba(224,242,254,.75); }
.m3-tiles img { width: 46%; max-height: 40%; object-fit: contain; opacity: .8; }
.m3-card { padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: rgba(255,255,255,.88); border: 1px solid #E2E8F0; box-shadow: 0 40px 80px -40px rgba(15,23,42,.35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; justify-items: center; gap: 20px; max-width: 860px; }

/* ==========================================================================
   M4 — SUNRISE ARC (white, big soft logo-gradient horizon arc)
   ========================================================================== */
.hx-m4 { background: #FFFFFF; }
.m4-arc { position: absolute; z-index: -2; left: 50%; bottom: -78vw; width: 150vw; height: 150vw; max-width: 2200px; max-height: 2200px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 30%), linear-gradient(90deg, #2B55A3, #0A9BE0 35%, #18B3A0 65%, #3DB54A); opacity: .16; }
.m4-arc2 { position: absolute; z-index: -1; left: 50%; bottom: -80vw; width: 150vw; height: 150vw; max-width: 2200px; max-height: 2200px; transform: translateX(-50%); border-radius: 50%; border-top: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #2B55A3, #0A9BE0, #18B3A0, #3DB54A) border-box; border: 3px solid transparent; opacity: .9; }
.m4-rays { position: absolute; z-index: -3; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 100%, rgba(10,155,224,.05) 0 4deg, transparent 4deg 12deg); }
.m4-mark { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(10,155,224,.08), 0 0 0 22px rgba(24,179,160,.05), 0 20px 40px -16px rgba(15,23,42,.35); }
.m4-mark img { width: 72%; }
.hx-m4 .trustbar { background: rgba(255,255,255,.95); }

/* ==========================================================================
   P2 — CUBE CLUSTER (white, CSS-3D isometric cubes with platform faces)
   ========================================================================== */
.hx-p2 { background: #FFFFFF; }
.cubes { position: relative; height: 520px; perspective: 1600px; }
.cubes__scene { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-40deg); }
.cube { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2); transform-style: preserve-3d; transform: translate3d(var(--x), var(--y), var(--z)); animation: bob var(--f, 6s) ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.cube > i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; backface-visibility: hidden; }
.cube > i img { width: 52%; max-height: 46%; object-fit: contain; }
.cube .f1 { transform: translateZ(calc(var(--s) / 2)); }
.cube .f2 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: #F1F5F9; }
.cube .f3 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: #F8FAFC; }
.cube .f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: #E2E8F0; }
.cube .f5 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube .f6 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: #CBD5E1; }
.cube--brand > i { background: linear-gradient(135deg, #1E4A9A, #0A7FC0 45%, #0B8A7B 75%, #2A8F3A); border-color: rgba(255,255,255,.35); }
.cube--brand .f2 { filter: brightness(.85); } .cube--brand .f4 { filter: brightness(.75); } .cube--brand .f3 { filter: brightness(1.1); }
.cube--brand .f1 img { width: 62%; max-height: 62%; background: #fff; border-radius: 50%; padding: 6%; }
.cubes__shadow { position: absolute; left: 50%; bottom: 40px; width: 70%; height: 60px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(15,23,42,.18), transparent 70%); filter: blur(8px); }
@media (max-width: 980px) { .cubes { height: 400px; } .cubes__scene { transform: rotateX(-24deg) rotateY(-40deg) scale(.75); } }

/* ==========================================================================
   P3 — CARD FAN (white, perspective fan of platform cards, spreads on hover)
   ========================================================================== */
.hx-p3 { background: linear-gradient(180deg, #FFFFFF, #F6F9FC); }
.fan { position: relative; height: 520px; perspective: 1400px; }
.fan__card { position: absolute; left: 50%; top: 50%; width: 230px; height: 300px; margin: -150px 0 0 -115px; border-radius: 22px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 30px 60px -30px rgba(15,23,42,.4);
  display: grid; grid-template-rows: 1fr auto; padding: 22px; transform-origin: 50% 120%; transform: rotate(var(--r)) translateY(var(--ty, 0)); transition: transform .7s var(--ease); }
.fan:hover .fan__card { transform: rotate(calc(var(--r) * 1.6)) translateY(var(--ty, 0)); }
.fan__card img { width: 60%; max-height: 70px; object-fit: contain; align-self: center; justify-self: center; }
.fan__card b { font: 700 18px/1.2 var(--f-display); color: #0F172A; letter-spacing: -.01em; }
.fan__card small { display: block; font: 500 13px/1.35 var(--f-body); color: #64748B; margin-top: 4px; }
.fan__card--brand { background: linear-gradient(150deg, #1E4A9A, #0A7FC0 45%, #0B8A7B 75%, #2A8F3A); border: 0; z-index: 5; }
.fan__card--brand b, .fan__card--brand small { color: #fff; } .fan__card--brand small { opacity: .85; }
.fan__card--brand img { width: 46%; background: #fff; border-radius: 50%; padding: 8%; max-height: none; }
@media (max-width: 980px) { .fan { height: 420px; } .fan__card { width: 180px; height: 240px; margin: -120px 0 0 -90px; } }

/* ==========================================================================
   P4 — GLASS PANES (white, layered glass panels in depth)
   ========================================================================== */
.hx-p4 { background: #FFFFFF; }
.hx-p4::after { content: ""; position: absolute; z-index: -1; right: -8%; top: 8%; width: 58%; height: 84%; background: radial-gradient(circle at 50% 50%, rgba(10,155,224,.16), rgba(61,181,74,.1) 45%, transparent 70%); filter: blur(10px); }
.panes { position: relative; height: 520px; perspective: 1500px; }
.panes__scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(8deg); }
.pane { position: absolute; left: 50%; top: 50%; width: 300px; height: 360px; margin: -180px 0 0 -150px; border-radius: 24px; padding: 22px; display: grid; align-content: space-between;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 30px 60px -30px rgba(15,23,42,.35), inset 0 0 0 1px rgba(15,23,42,.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translate3d(var(--x), var(--y), var(--z)); transition: transform .8s var(--ease); }
.panes:hover .pane { transform: translate3d(calc(var(--x) * 1.4), var(--y), calc(var(--z) * 1.3)); }
.pane small { font: 600 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.pane b { display: block; font: 700 22px/1.15 var(--f-display); color: #0F172A; letter-spacing: -.02em; margin-top: 6px; }
.pane img.pl { height: 34px; width: auto; max-width: 130px; object-fit: contain; object-position: left; }
.pane .bars2 { display: grid; gap: 8px; } .pane .bars2 i { height: 8px; border-radius: 4px; background: var(--grad); width: var(--w); opacity: .85; }
.pane--brand { background: linear-gradient(150deg, rgba(30,74,154,.95), rgba(10,127,192,.92) 45%, rgba(11,138,123,.92) 75%, rgba(42,143,58,.95)); border-color: rgba(255,255,255,.4); }
.pane--brand small, .pane--brand b { color: #fff; } .pane--brand small { opacity: .8; }
.pane--brand .mk { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.pane--brand .mk img { width: 72%; }
@media (max-width: 980px) { .panes { height: 440px; } .panes__scene { transform: rotateY(-20deg) rotateX(6deg) scale(.78); } }

/* Polish */
.m3-tiles { opacity: .55; mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, transparent 34%, #000 78%), linear-gradient(180deg, transparent 0, #000 140px); -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, transparent 34%, #000 78%); mask-composite: intersect; }
.hx-m3::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 0; background: linear-gradient(180deg, #F5F9FF, rgba(245,249,255,0)); pointer-events: none; }
.hx-m3 .hx-nav { z-index: 21; }
.m4-arc, .m4-arc2 { bottom: auto; top: calc(100% - 300px); }
.m4-arc2 { top: calc(100% - 306px); }
.m4-rays { opacity: .55; }
.fan__card img { margin-top: 8px; }
.pane { width: 250px; height: 330px; margin: -165px 0 0 -125px; }
.panes__scene { transform: rotateY(-22deg) rotateX(6deg) translateX(-30px); }
@media (max-width: 980px) { .panes__scene { transform: rotateY(-18deg) rotateX(6deg) scale(.62); } .fan__card { --r2: 1; } }
