/*----------------------------------------
   Premium layer for the pages linked from homepage cards
   (/ai, /technology, /security, /innovation + the six service pages).
   Glassmorphism + soft neumorphism, built on magic-ui.css.
   magic-ui.js injects .mx-amb, .mx-hero-grid, .mx-orb-rings, beams.
----------------------------------------*/

:root {
  --pp-neu-dark: rgba(150, 168, 200, 0.36);
  --pp-neu-light: rgba(255, 255, 255, 0.95);
  --pp-ink: #0f1535;
}

/* =========================================================
   Section eyebrows -> frosted pill with shimmering text
   ========================================================= */
.main-wrapper .section .section-title .sub-title,
.main-wrapper .ai-eyebrow,
.main-wrapper .mxtech-eyebrow,
.main-wrapper .mxsec-eyebrow,
.main-wrapper .mxinno-eyebrow {
  /* No isolation: the ::before pill (z -1) must sit below this element's own
     text-clipped gradient background, not above it. */
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px !important;
  border-radius: 999px;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #005de0 0%, #7c3aed 30%, #0ea5e9 50%, #005de0 70%, #7c3aed 100%) !important;
  background-size: 250% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent;
  border: 0 !important;
  box-shadow: none !important;
  /* Anything that makes this a stacking context would put the ::before pill above the text. */
  z-index: auto !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  mix-blend-mode: normal !important;
  animation: pp-text-shimmer 4s linear infinite;
}

.main-wrapper .section .section-title .sub-title::before,
.main-wrapper .ai-eyebrow::before,
.main-wrapper .mxtech-eyebrow::before,
.main-wrapper .mxsec-eyebrow::before,
.main-wrapper .mxinno-eyebrow::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(0, 93, 224, 0.16);
  box-shadow: 6px 6px 16px var(--pp-neu-dark), -6px -6px 16px var(--pp-neu-light), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
}

/* Eyebrows on dark sections */
.main-wrapper .mxtech-sub-title-light,
.main-wrapper .mxsec-sub-title-light,
.main-wrapper .mxinno-sub-title-light {
  background: linear-gradient(100deg, #54d6eb, #a78bfa, #54d6eb) !important;
  background-size: 250% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent;
  animation: pp-text-shimmer 4s linear infinite;
}

/* Dark-section titles: the platform CSS sets white with a single class,
   which the theme's ".section-title .title" color outranks. */
.main-wrapper .section [class*="-title-light"]:not([class*="sub-title"]) {
  color: #ffffff !important;
}

.main-wrapper .section .section-title .sub-title[class*="-sub-title-light"] {
  background: linear-gradient(100deg, #54d6eb, #a78bfa, #54d6eb) !important;
  background-size: 250% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.main-wrapper .section .section-title .sub-title[class*="-sub-title-light"]::before {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(84, 214, 235, 0.35);
  box-shadow: 0 0 24px -6px rgba(84, 214, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@keyframes pp-text-shimmer {
  to { background-position: 250% 0; }
}

/* =========================================================
   Ambient layer for light sections (injected .mx-amb)
   ========================================================= */
.mx-amb-host {
  position: relative;
  overflow: hidden;
}

.mx-amb {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mx-amb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 93, 224, 0.16) 1.1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 45%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 45%, #000 15%, transparent 78%);
  animation: pp-dots 22s linear infinite;
}

@keyframes pp-dots {
  to { background-position: 24px 24px; }
}

.mx-amb i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}

.mx-amb i:nth-child(1) {
  width: 440px;
  height: 440px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, rgba(84, 214, 235, 0.45), transparent 65%);
  animation: pp-orb-a 15s ease-in-out infinite alternate;
}

.mx-amb i:nth-child(2) {
  width: 480px;
  height: 480px;
  bottom: -180px;
  right: -160px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.32), transparent 65%);
  animation: pp-orb-b 18s ease-in-out infinite alternate;
}

.mx-amb.alt i:nth-child(1) {
  left: auto;
  right: -140px;
}

.mx-amb.alt i:nth-child(2) {
  right: auto;
  left: -160px;
}

@keyframes pp-orb-a {
  to { transform: translate(200px, 120px) scale(1.2); }
}

@keyframes pp-orb-b {
  to { transform: translate(-220px, -100px) scale(1.15); }
}

/* =========================================================
   Platform heroes
   ========================================================= */
.mx-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 93, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 93, 224, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 78%);
  animation: mx-grid-drift-48 16s linear infinite;
}

@keyframes mx-grid-drift-48 {
  to { background-position: 48px 48px, 48px 48px; }
}

.main-wrapper .ai-copilot-window,
.main-wrapper .mxtech-code-window {
  position: relative;
  animation: pp-float 7s ease-in-out infinite;
  box-shadow: 0 40px 80px -30px rgba(0, 61, 224, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
}

@keyframes pp-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-0.6deg); }
}

/* Blinking caret at the end of the code mock */
.main-wrapper .mxtech-code-body::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 16px;
  margin-left: 4px;
  vertical-align: -3px;
  background: #54d6eb;
  box-shadow: 0 0 10px rgba(84, 214, 235, 0.9);
  animation: pp-caret 1s steps(1) infinite;
}

@keyframes pp-caret {
  50% { opacity: 0; }
}

/* =========================================================
   Light-section cards: frosted glass + soft neumorphism
   ========================================================= */
.main-wrapper .section .ai-feature-card:not(.ai-feature-card-cta),
.main-wrapper .section .ai-workflow-step,
.main-wrapper .section .ai-roadmap-item,
.main-wrapper .section .mxtech-stack-card,
.main-wrapper .section .mxtech-enterprise-card,
.main-wrapper .section .mxsec-pillar-card,
.main-wrapper .section .mxsec-trust-card,
.main-wrapper .section .mxinno-rd-card,
.main-wrapper .section .mxinno-timeline-card,
.main-wrapper .section .mxtech-tenant-diagram {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(240, 245, 255, 0.62)) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 22px !important;
  box-shadow:
    14px 14px 32px var(--pp-neu-dark),
    -10px -10px 26px var(--pp-neu-light),
    inset 0 1px 0 #ffffff !important;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease !important;
}

.main-wrapper .section .ai-feature-card:not(.ai-feature-card-cta):hover,
.main-wrapper .section .ai-workflow-step:hover,
.main-wrapper .section .ai-roadmap-item:hover,
.main-wrapper .section .mxtech-stack-card:hover,
.main-wrapper .section .mxtech-enterprise-card:hover,
.main-wrapper .section .mxsec-pillar-card:hover,
.main-wrapper .section .mxsec-trust-card:hover,
.main-wrapper .section .mxinno-rd-card:hover,
.main-wrapper .section .mxinno-timeline-card:hover {
  box-shadow:
    0 34px 70px -26px rgba(0, 61, 224, 0.4),
    0 0 0 1px rgba(84, 214, 235, 0.35),
    0 0 46px -12px rgba(124, 58, 237, 0.35),
    inset 0 1px 0 #ffffff !important;
}

/* The CTA feature card keeps its blue gradient but gets a living sheen */
.main-wrapper .section .ai-feature-card-cta {
  background-size: 200% 200% !important;
  animation: pp-cta-flow 8s ease-in-out infinite alternate;
}

@keyframes pp-cta-flow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* Icon badges: glow + expanding ring + gentle bob */
.main-wrapper .ai-feature-icon,
.main-wrapper .ai-workflow-icon,
.main-wrapper .ai-tech-icon,
.main-wrapper .mxtech-stack-icon,
.main-wrapper .mxsec-pillar-icon,
.main-wrapper .mxsec-trust-icon,
.main-wrapper .mxinno-rd-icon {
  position: relative;
  box-shadow: 0 12px 26px -10px rgba(0, 61, 224, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: pp-icon-bob 4.5s ease-in-out infinite;
}

.main-wrapper .ai-feature-icon::after,
.main-wrapper .ai-workflow-icon::after,
.main-wrapper .mxtech-stack-icon::after,
.main-wrapper .mxsec-pillar-icon::after,
.main-wrapper .mxsec-trust-icon::after,
.main-wrapper .mxinno-rd-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid rgba(84, 214, 235, 0.7);
  opacity: 0;
  animation: pp-ring 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes pp-icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes pp-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.mx-card:hover .ai-feature-icon,
.mx-card:hover .ai-workflow-icon,
.mx-card:hover .mxtech-stack-icon,
.mx-card:hover .mxsec-pillar-icon,
.mx-card:hover .mxsec-trust-icon,
.mx-card:hover .mxinno-rd-icon {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.12) rotate(-6deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tech badges / pills in light sections */
.main-wrapper .ai-tech-badge {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 8px 8px 20px var(--pp-neu-dark), -6px -6px 16px var(--pp-neu-light) !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease !important;
  animation: pp-icon-bob 5s ease-in-out infinite;
}

.main-wrapper .ai-tech-badge:nth-child(2) { animation-delay: -1.2s; }
.main-wrapper .ai-tech-badge:nth-child(3) { animation-delay: -2.4s; }
.main-wrapper .ai-tech-badge:nth-child(4) { animation-delay: -3.6s; }

.main-wrapper .ai-tech-badge:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 20px 40px -16px rgba(0, 61, 224, 0.45), 0 0 0 1px rgba(84, 214, 235, 0.4) !important;
}

/* =========================================================
   Flow connectors: pulsing, travelling glow
   ========================================================= */
.main-wrapper .ai-workflow-arrow i,
.main-wrapper .mxinno-timeline-connector i {
  color: var(--mx-blue, #005de0);
  animation: pp-nudge-x 1.4s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(84, 214, 235, 0.9);
}

@keyframes pp-nudge-x {
  0%, 100% { transform: translateX(-3px); opacity: 0.5; }
  50% { transform: translateX(4px); opacity: 1; }
}

.main-wrapper .mxtech-diagram-connector i,
.main-wrapper .mxsec-diagram-connector i {
  color: #54d6eb !important;
  text-shadow: 0 0 14px rgba(84, 214, 235, 1);
  animation: pp-nudge-y 1.4s ease-in-out infinite;
}

.main-wrapper .mxtech-diagram-connector:nth-of-type(2) i,
.main-wrapper .mxsec-diagram-connector:nth-of-type(2) i { animation-delay: 0.25s; }

@keyframes pp-nudge-y {
  0%, 100% { transform: translateY(-3px); opacity: 0.45; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Architecture diagram nodes glow in sequence */
.main-wrapper .mxtech-diagram-node,
.main-wrapper .mxsec-diagram-node,
.main-wrapper .mxinno-nvidia-row {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  animation: pp-node-glow 4s ease-in-out infinite;
}

.main-wrapper .mxtech-diagram-node:nth-child(2n),
.main-wrapper .mxsec-diagram-node:nth-child(2n) { animation-delay: -1s; }
.main-wrapper .mxtech-diagram-node:nth-child(3n),
.main-wrapper .mxsec-diagram-node:nth-child(3n) { animation-delay: -2s; }

@keyframes pp-node-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(84, 214, 235, 0); }
  50% { box-shadow: 0 0 22px -2px rgba(84, 214, 235, 0.55), inset 0 0 12px rgba(84, 214, 235, 0.12); }
}

.main-wrapper .mxtech-diagram-node:hover,
.main-wrapper .mxsec-diagram-node:hover,
.main-wrapper .mxinno-nvidia-row:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(84, 214, 235, 0.8) !important;
}

.main-wrapper .mxinno-nvidia-connector {
  background: linear-gradient(180deg, #54d6eb, #7c3aed, #54d6eb) !important;
  background-size: 100% 200% !important;
  animation: pp-flow-y 1.6s linear infinite;
  box-shadow: 0 0 10px rgba(84, 214, 235, 0.8);
}

.main-wrapper .mxtech-tenant-connector {
  background: linear-gradient(180deg, #54d6eb, #005de0, #54d6eb) !important;
  background-size: 100% 200% !important;
  animation: pp-flow-y 1.6s linear infinite;
}

@keyframes pp-flow-y {
  to { background-position: 0 200%; }
}

/* Roadmap track: animated gradient rail */
.main-wrapper .ai-roadmap-track {
  position: relative;
}

.main-wrapper .ai-roadmap-track::before {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  top: -18px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #005de0, #54d6eb, #7c3aed, #005de0);
  background-size: 200% 100%;
  box-shadow: 0 0 14px rgba(84, 214, 235, 0.7);
  animation: mx-flow 4s linear infinite;
}

.main-wrapper .ai-roadmap-phase,
.main-wrapper .mxinno-timeline-year {
  background: linear-gradient(110deg, #005de0, #7c3aed, #0ea5e9, #005de0) !important;
  background-size: 300% 100% !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.7);
  animation: mx-btn-flow 5s linear infinite;
}

/* =========================================================
   Check-lists -> glass rows
   ========================================================= */
.main-wrapper .ai-benefits-list li,
.main-wrapper .mxtech-check-list li,
.main-wrapper .mxinno-check-list li {
  padding: 14px 16px !important;
  margin-bottom: 12px !important;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.8), rgba(240, 245, 255, 0.55));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 8px 8px 20px var(--pp-neu-dark), -6px -6px 16px var(--pp-neu-light);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.main-wrapper .ai-benefits-list li:hover,
.main-wrapper .mxtech-check-list li:hover,
.main-wrapper .mxinno-check-list li:hover {
  transform: translateX(6px);
  box-shadow: 0 18px 36px -16px rgba(0, 61, 224, 0.4), 0 0 0 1px rgba(84, 214, 235, 0.35);
}

.main-wrapper .ai-benefits-list li i,
.main-wrapper .mxtech-check-list li i,
.main-wrapper .mxinno-check-list li i {
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.6));
}



/* =========================================================
   FAQ accordion
   ========================================================= */
.main-wrapper .mxsec-accordion .accordion-item {
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 18px !important;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(240, 245, 255, 0.6)) !important;
  backdrop-filter: blur(14px);
  box-shadow: 10px 10px 24px var(--pp-neu-dark), -8px -8px 20px var(--pp-neu-light);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.main-wrapper .mxsec-accordion .accordion-item:hover {
  transform: translateY(-2px);
}

.main-wrapper .mxsec-accordion .accordion-button {
  font-weight: 700;
  color: var(--pp-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 20px 22px;
}

.main-wrapper .mxsec-accordion .accordion-button:not(.collapsed) {
  color: var(--mx-blue, #005de0) !important;
}

.main-wrapper .mxsec-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  box-shadow: 0 24px 50px -22px rgba(0, 61, 224, 0.45), 0 0 0 1px rgba(84, 214, 235, 0.45);
}

/* =========================================================
   Service-page intro icon on a frosted orb with rings
   ========================================================= */
.mx-orb-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 30px !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 28%, #ffffff 0%, #eef5ff 55%, #dfe9ff 100%);
  box-shadow: 0 22px 44px -16px rgba(0, 93, 224, 0.5), 0 0 0 8px rgba(255, 255, 255, 0.7), inset 0 -8px 18px rgba(0, 93, 224, 0.08);
}

.mx-orb-wrap img {
  width: 84px !important;
  animation: pp-icon-bob 4.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(0, 61, 224, 0.3));
}

.mx-orb-wrap::before,
.mx-orb-wrap::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  pointer-events: none;
}

.mx-orb-wrap::before {
  border: 1.5px dashed rgba(0, 93, 224, 0.28);
  animation: mx-ring 18s linear infinite;
}

.mx-orb-wrap::after {
  background: conic-gradient(from 0deg, transparent 0 62%, var(--mx-cyan, #54d6eb) 80%, var(--mx-violet, #7c3aed) 93%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: mx-ring 3.2s linear infinite reverse;
}

.mx-orb-wrap .mx-orb-sat {
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.14);
  animation: mx-ring 10s linear infinite;
}

.mx-orb-wrap .mx-orb-sat::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #54d6eb, #7c3aed);
  box-shadow: 0 0 12px rgba(84, 214, 235, 0.9);
}

/* =========================================================
   Shared CTA band
   ========================================================= */
.main-wrapper .cta-section-3 {
  position: relative;
  overflow: hidden;
}

.main-wrapper .cta-section-3 .cta-wrap-3 .cta-content {
  position: relative;
  overflow: hidden;
}

.main-wrapper .cta-section-3 .cta-wrap-3 .cta-content .title {
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 30%, #9eeaf7 50%, #c4b5fd 65%, #ffffff 85%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mx-gradient-shift 6s ease-in-out infinite alternate;
}

.main-wrapper .cta-section-3 .cta-wrap-3 .cta-content p a {
  position: relative;
  overflow: hidden;
  display: inline-block;
  color: #ffffff !important;
  border-color: transparent !important;
  background: linear-gradient(110deg, #005de0, #7c3aed, #0ea5e9, #005de0) !important;
  background-size: 300% 100% !important;
  box-shadow: 0 12px 30px -10px rgba(124, 58, 237, 0.8), 0 0 0 4px rgba(84, 214, 235, 0.15) !important;
  animation: mx-btn-flow 5s linear infinite;
}

.main-wrapper .cta-section-3 .cta-wrap-3 .cta-content p a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: mx-shine 3.2s ease-in-out infinite;
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .main-wrapper .section .section-title .sub-title,
  .main-wrapper [class$="-eyebrow"],
  .mx-amb::before,
  .mx-amb i,
  .mx-hero-grid,
  .main-wrapper .ai-copilot-window,
  .main-wrapper .mxtech-code-window,
  .main-wrapper .mxtech-code-body::after,
  .main-wrapper [class*="-icon"],
  .main-wrapper [class*="-icon"]::after,
  .main-wrapper .ai-tech-badge,
  .main-wrapper [class*="-connector"],
  .main-wrapper [class*="-connector"] i,
  .main-wrapper [class*="-diagram-node"],
  .main-wrapper .mxinno-nvidia-row,
  .main-wrapper .ai-roadmap-track::before,
  .main-wrapper .ai-roadmap-phase,
  .main-wrapper .mxinno-timeline-year,
  .mx-orb-wrap img,
  .mx-orb-wrap::before,
  .mx-orb-wrap::after,
  .mx-orb-wrap .mx-orb-sat,
  .main-wrapper .cta-section-3 .cta-content .title,
  .main-wrapper .cta-section-3 .cta-content p a,
  .main-wrapper .cta-section-3 .cta-content p a::before {
    animation: none !important;
  }
}

/* =========================================================
   Architecture page
   ========================================================= */
.mx-layer-nav-section {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  padding-bottom: 10px;
}

.mx-layer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 50px -24px rgba(0, 61, 224, 0.4), 10px 10px 24px var(--pp-neu-dark), -8px -8px 20px var(--pp-neu-light);
}

.mx-layer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--pp-ink);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mx-layer-nav a i {
  color: var(--mx-blue, #005de0);
}

.mx-layer-nav a:hover {
  color: #ffffff;
  background: linear-gradient(110deg, #005de0, #7c3aed);
  box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.7);
}

.mx-layer-nav a:hover i {
  color: #ffffff;
}

.mxtech-stack-card .mxtech-card-text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5b6478;
}

.mxtech-stack-card .mxtech-card-text + .mxtech-pill-row {
  margin-top: 16px;
}

.main-wrapper .section.mx-alt-bg {
  background: linear-gradient(180deg, #eef3fb 0%, #f6f9ff 100%);
}

.mxtech-desc-left {
  text-align: left;
  margin-left: 0 !important;
  max-width: none !important;
}

.mx-api-mock {
  margin-top: 10px;
}

.mxtech-check-list code {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 13px;
  color: #005de0;
  background: rgba(0, 93, 224, 0.08);
}

.mxsec-pillar-card p a {
  font-weight: 700;
  color: var(--mx-blue, #005de0);
}

[id="cloud"],
[id="ai-architecture"],
[id="api-layer"],
[id="multi-tenant"] {
  scroll-margin-top: 90px;
}

@media only screen and (max-width: 767px) {
  .mx-layer-nav {
    border-radius: 22px;
  }
  .mx-layer-nav a {
    flex: 1 1 calc(50% - 12px);
    justify-content: center;
    padding: 10px 12px;
    font-size: 13.5px;
  }
}

/* =========================================================
   Security page (v2)
   ========================================================= */
.main-wrapper .section.mx-sec-alt {
  background: linear-gradient(180deg, #eef3fb 0%, #f6f9ff 100%);
}

#overview, #data-protection, #identity, #tenant-security, #ai-security,
#resilience, #compliance, #infrastructure {
  scroll-margin-top: 90px;
}

.mx-sec-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.mx-sec-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-weight: 600;
  color: var(--pp-ink);
}

.mx-sec-list li i {
  margin-top: 4px;
  color: #22c55e;
}

.mxsec-pillar-card p a {
  font-weight: 700;
  color: var(--mx-blue, #005de0);
}

/* RBAC roles */
.mx-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mx-role {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 700;
  color: var(--pp-ink);
  background: #eef3fb;
  box-shadow: 5px 5px 12px var(--pp-neu-dark), -5px -5px 12px var(--pp-neu-light);
  transition: transform 0.3s ease;
}

.mx-role i {
  color: var(--mx-blue, #005de0);
}

.mx-role:hover {
  transform: translateY(-2px);
}

/* Live / roadmap badges */
.mx-auth {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mx-auth li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px dashed rgba(0, 93, 224, 0.14);
  font-weight: 600;
  color: var(--pp-ink);
}

.mx-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mx-badge-live {
  color: #0e7a43;
  background: rgba(34, 197, 94, 0.14);
}

.mx-badge-road {
  color: #a15c07;
  background: rgba(245, 158, 11, 0.16);
}

/* Multi-tenant (dark section) */
.mx-tenant-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.mx-tenant-point {
  padding: 26px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(84, 214, 235, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.mx-tenant-point:hover {
  transform: translateY(-6px);
  border-color: rgba(84, 214, 235, 0.6);
  box-shadow: 0 0 34px -10px rgba(84, 214, 235, 0.6);
}

.mx-tenant-point i {
  font-size: 22px;
  color: #54d6eb;
  text-shadow: 0 0 14px rgba(84, 214, 235, 0.8);
}

.mx-tenant-point h4 {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.mx-tenant-point p {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(226, 234, 255, 0.72);
}

.mx-tenant-more {
  margin-top: 30px;
  text-align: center;
}

.mx-tenant-more a {
  font-weight: 800;
  color: #9eeaf7;
}

/* Compliance roadmap */
.mx-comp-card {
  padding: 24px 22px;
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(240, 245, 255, 0.65));
  border: 1px dashed rgba(245, 158, 11, 0.4);
  box-shadow: 10px 10px 24px var(--pp-neu-dark), -8px -8px 20px var(--pp-neu-light);
}

.mx-comp-card h4 {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--pp-ink);
}

.mx-comp-card p {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #5b6478;
}

.mx-comp-note {
  margin-top: 26px;
  font-size: 14px;
  color: #5b6478;
}

.mx-comp-note i {
  color: var(--mx-blue, #005de0);
  margin-right: 6px;
}

.mx-comp-note.mx-center {
  text-align: center;
}

/* Technologies we build with */
.mx-tech-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.mx-tech-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 14px;
  border-radius: 20px;
  text-align: center;
  font-weight: 800;
  color: var(--pp-ink);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(240, 245, 255, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 10px 10px 24px var(--pp-neu-dark), -8px -8px 20px var(--pp-neu-light);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.mx-tech-tile i {
  font-size: 30px;
  background: linear-gradient(135deg, #005de0, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mx-tech-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -22px rgba(0, 61, 224, 0.4), 0 0 0 1px rgba(84, 214, 235, 0.35);
}

@media only screen and (max-width: 991px) {
  .mx-tenant-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mx-tech-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 575px) {
  .mx-tenant-points {
    grid-template-columns: 1fr;
  }
  .mx-tech-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Jump menu: always one line; scrolls sideways if there are more links than room */
.mx-layer-nav-section {
  background: transparent !important;
  padding-bottom: 0 !important;
}

.main-wrapper .mx-layer-nav {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 4px;
  padding: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.main-wrapper .mx-layer-nav::-webkit-scrollbar {
  display: none;
}

.main-wrapper .mx-layer-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 14.5px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .mx-layer-nav {
    border-radius: 999px;
  }
  .main-wrapper .mx-layer-nav a {
    flex: 0 0 auto;
    padding: 9px 14px;
    font-size: 13.5px;
  }
}
