:root {
  --blue: #255cf4;
  --blue-2: #0ea5ff;
  --ink: #071436;
  --muted: #5c6b8a;
  --line: rgba(37, 92, 244, 0.13);
  --yellow: #ffd84d;
  --green: #22c777;
  --panel: rgba(255, 255, 255, 0.82);
  --shadow: 0 28px 80px rgba(26, 63, 150, 0.14);
}

/* Premium additive network effects for the existing hero illustration */
.network-fx,
.network-fx * {
  pointer-events: none;
}

.network-fx {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: block !important;
  overflow: hidden;
  mix-blend-mode: screen;
}

.network-fx span,
.network-fx i,
.network-fx b {
  position: absolute;
  display: block;
}

.network-grid {
  inset: 5% 3% 4% 6%;
  z-index: 1;
  opacity: 0.28;
  background:
    linear-gradient(rgba(82, 168, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 168, 255, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 58% 47%, rgba(255, 255, 255, 0.38), transparent 24%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  mask-image: radial-gradient(ellipse at 58% 48%, #000 0 48%, transparent 78%);
  transform: perspective(760px) rotateX(58deg) rotateZ(-10deg);
  animation: networkGridDrift 18s linear infinite;
}

.network-grid::before,
.network-grid::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.5;
}

.network-grid::before {
  right: 8%;
  top: 15%;
  width: 88px;
  height: 88px;
  transform: skewY(-26deg);
}

.network-grid::after {
  left: 12%;
  bottom: 16%;
  width: 118px;
  height: 70px;
  border-radius: 999px;
  transform: rotate(-18deg);
}

.network-aura {
  z-index: 2;
  width: 18%;
  aspect-ratio: 1.25;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(147, 197, 253, 0.5), rgba(37, 99, 235, 0.18) 45%, transparent 72%);
  filter: blur(12px);
  opacity: 0.48;
  animation: moduleAura 4.8s ease-in-out infinite;
}

.aura-one { left: 16%; top: 11%; }
.aura-two { left: 68%; top: 15%; animation-delay: 0.7s; }
.aura-three { left: 10%; top: 46%; animation-delay: 1.2s; }
.aura-four { left: 78%; top: 47%; animation-delay: 1.7s; }
.aura-five { left: 24%; top: 70%; animation-delay: 2.1s; }
.aura-six { left: 64%; top: 70%; animation-delay: 2.6s; }

.energy-line {
  z-index: 8;
  left: 56%;
  top: 46%;
  height: 3px;
  width: var(--line-width);
  border-radius: 999px;
  transform-origin: left center;
  transform: rotate(var(--angle));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.72) 16%, rgba(88, 184, 255, 0.78) 46%, rgba(111, 207, 255, 0.2) 75%, transparent);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.38),
    0 0 24px rgba(59, 130, 246, 0.34);
  opacity: 0.74;
  animation: lineBreath 3.2s ease-in-out infinite;
}

.energy-line::before,
.energy-line::after {
  content: "";
  position: absolute;
  inset: -5px auto -5px -8px;
  width: 22px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(96, 165, 250, 0.18) 60%, transparent 72%);
  filter: blur(1px);
}

.energy-line::after {
  left: auto;
  right: -8px;
  opacity: 0.62;
  animation: nodeFlicker 2.7s ease-in-out infinite;
}

.energy-line i,
.energy-line b {
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 22px rgba(59, 130, 246, 0.62);
  transform: translate(-50%, -50%);
  animation: dataPacket 3.7s linear infinite;
}

.energy-line b {
  width: 5px;
  height: 5px;
  animation-delay: 1.8s;
  opacity: 0.75;
}

.line-one { --angle: -146deg; --line-width: 34%; animation-delay: 0s; }
.line-two { --angle: -42deg; --line-width: 29%; animation-delay: 0.4s; }
.line-three { --angle: 177deg; --line-width: 37%; animation-delay: 0.8s; }
.line-four { --angle: 8deg; --line-width: 28%; animation-delay: 1.1s; }
.line-five { --angle: 138deg; --line-width: 33%; animation-delay: 1.5s; }
.line-six { --angle: 55deg; --line-width: 31%; animation-delay: 1.9s; }

.pulse-wave {
  z-index: 9;
  left: 56%;
  top: 46%;
  width: 68px;
  height: 8px;
  border-radius: 999px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96), rgba(56, 189, 248, 0.42), transparent);
  filter: blur(0.2px);
  opacity: 0;
  box-shadow: 0 0 24px rgba(96, 165, 250, 0.5);
  animation: outwardPulse 5.8s ease-in-out infinite;
}

.pulse-one { --angle: -146deg; --travel: 215px; animation-delay: 0s; }
.pulse-two { --angle: -42deg; --travel: 196px; animation-delay: 0.32s; }
.pulse-three { --angle: 177deg; --travel: 230px; animation-delay: 0.64s; }
.pulse-four { --angle: 8deg; --travel: 185px; animation-delay: 0.96s; }
.pulse-five { --angle: 138deg; --travel: 210px; animation-delay: 1.28s; }
.pulse-six { --angle: 55deg; --travel: 200px; animation-delay: 1.6s; }

.lightning-arc {
  z-index: 10;
  height: 16px;
  width: 120px;
  opacity: 0;
  background:
    linear-gradient(132deg, transparent 0 15%, rgba(255, 255, 255, 0.92) 16% 18%, transparent 19% 34%, rgba(125, 211, 252, 0.92) 35% 38%, transparent 39% 52%, rgba(255, 255, 255, 0.78) 53% 55%, transparent 56%);
  filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.72));
  animation: lightningFlash 6.4s ease-in-out infinite;
}

.arc-one { left: 40%; top: 39%; transform: rotate(-28deg); }
.arc-two { left: 58%; top: 52%; transform: rotate(16deg); animation-delay: 2.1s; }
.arc-three { left: 44%; top: 62%; transform: rotate(54deg); animation-delay: 4s; }

.holo-ring {
  z-index: 9;
  left: 56%;
  top: 47%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 0 18px rgba(125, 211, 252, 0.28),
    inset 0 0 14px rgba(255, 255, 255, 0.16);
  opacity: 0.5;
  transform: translate(-50%, -50%) rotateX(66deg) rotateZ(0deg);
  animation: holoRingSpin 18s linear infinite;
}

.ring-one { width: 31%; aspect-ratio: 1; }
.ring-two { width: 39%; aspect-ratio: 1; animation-duration: 26s; animation-direction: reverse; opacity: 0.34; }
.ring-three { width: 24%; aspect-ratio: 1; animation-duration: 14s; opacity: 0.42; }

.light-beam {
  z-index: 11;
  left: 56%;
  top: 21%;
  width: 3.5%;
  height: 27%;
  transform-origin: bottom center;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5) 44%, rgba(125, 211, 252, 0.32) 73%, transparent);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  filter: blur(3px);
  opacity: 0.38;
  animation: beamRise 4.6s ease-in-out infinite;
}

.beam-one { transform: translateX(-50%) rotate(-3deg); }
.beam-two { transform: translateX(-50%) rotate(10deg); animation-delay: 1.2s; opacity: 0.25; }
.beam-three { transform: translateX(-50%) rotate(-14deg); animation-delay: 2.2s; opacity: 0.2; }

.holo-cube {
  z-index: 12;
  width: var(--cube-size);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(125, 211, 252, 0.22) 46%, rgba(37, 99, 235, 0.08));
  box-shadow:
    0 10px 22px rgba(37, 99, 235, 0.18),
    0 0 18px rgba(255, 255, 255, 0.32);
  opacity: 0.72;
  transform: rotate(45deg) skew(-8deg, -8deg);
  animation: cubeDrift 5.4s ease-in-out infinite;
}

.holo-cube::before,
.holo-cube::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: inherit;
  border: inherit;
  opacity: 0.34;
}

.holo-cube::before { transform: translate(6px, -6px); }
.holo-cube::after { transform: translate(12px, -12px); opacity: 0.18; }

.cube-one { --cube-size: 24px; left: 41%; top: 26%; animation-delay: 0s; }
.cube-two { --cube-size: 16px; left: 64%; top: 30%; animation-delay: 0.8s; }
.cube-three { --cube-size: 20px; left: 47%; top: 66%; animation-delay: 1.6s; }
.cube-four { --cube-size: 14px; left: 74%; top: 56%; animation-delay: 2.4s; }
.cube-five { --cube-size: 18px; left: 31%; top: 43%; animation-delay: 3.1s; opacity: 0.55; }
.cube-six { --cube-size: 12px; left: 59%; top: 23%; animation-delay: 3.7s; opacity: 0.48; }

.geo-shape {
  z-index: 3;
  width: var(--geo-size);
  aspect-ratio: 1;
  border: 1px solid rgba(125, 211, 252, 0.42);
  opacity: 0.22;
  filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.22));
  animation: geoFloat 9s ease-in-out infinite;
}

.geo-one { --geo-size: 74px; right: 7%; top: 24%; clip-path: polygon(25% 8%, 75% 8%, 100% 50%, 75% 92%, 25% 92%, 0 50%); }
.geo-two { --geo-size: 58px; left: 16%; bottom: 17%; transform: rotate(22deg); animation-delay: 1.8s; }
.geo-three { --geo-size: 42px; right: 20%; bottom: 21%; clip-path: polygon(50% 0, 100% 26%, 100% 75%, 50% 100%, 0 75%, 0 26%); animation-delay: 3.2s; }
.geo-four { --geo-size: 50px; left: 36%; top: 13%; transform: rotate(-14deg); animation-delay: 4.4s; }

.spark-field {
  z-index: 13;
  inset: 0;
  opacity: 0.78;
}

.spark-field::before,
.spark-field::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    138px 84px 0 rgba(255, 255, 255, 0.7),
    252px 118px 0 rgba(125, 211, 252, 0.72),
    390px 74px 0 rgba(255, 255, 255, 0.55),
    514px 145px 0 rgba(125, 211, 252, 0.72),
    612px 238px 0 rgba(255, 255, 255, 0.64),
    498px 352px 0 rgba(255, 255, 255, 0.72),
    304px 394px 0 rgba(125, 211, 252, 0.7),
    172px 296px 0 rgba(255, 255, 255, 0.58),
    430px 242px 0 rgba(255, 255, 255, 0.78),
    690px 364px 0 rgba(125, 211, 252, 0.65);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.86));
  animation: sparkleTwinkle 3.8s ease-in-out infinite;
}

.spark-field::after {
  left: 8%;
  top: 8%;
  transform: scale(0.72);
  animation-delay: 1.9s;
}

.flare {
  z-index: 14;
  width: 38px;
  height: 38px;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, 0.88) 50%, transparent 55%),
    linear-gradient(0deg, transparent 45%, rgba(125, 211, 252, 0.82) 50%, transparent 55%),
    radial-gradient(circle, rgba(255, 255, 255, 0.95), transparent 48%);
  filter: blur(0.2px) drop-shadow(0 0 14px rgba(125, 211, 252, 0.8));
  animation: flareBlink 5.2s ease-in-out infinite;
}

.flare-one { left: 54%; top: 43%; }
.flare-two { left: 70%; top: 55%; animation-delay: 1.8s; }
.flare-three { left: 35%; top: 61%; animation-delay: 3.3s; }

.node-flicker {
  z-index: 13;
  width: 16px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, rgba(125, 211, 252, 0.52) 42%, transparent 72%);
  box-shadow: 0 0 18px rgba(125, 211, 252, 0.62);
  opacity: 0.45;
  animation: nodeFlicker 2.9s ease-in-out infinite;
}

.node-one { left: 27%; top: 22%; }
.node-two { left: 72%; top: 28%; animation-delay: 0.5s; }
.node-three { left: 21%; top: 50%; animation-delay: 1s; }
.node-four { left: 82%; top: 52%; animation-delay: 1.5s; }
.node-five { left: 36%; top: 75%; animation-delay: 2s; }
.node-six { left: 70%; top: 74%; animation-delay: 2.4s; }

@keyframes lineBreath {
  0%,
  100% { opacity: 0.45; filter: brightness(0.9); }
  50% { opacity: 0.86; filter: brightness(1.25); }
}

@keyframes dataPacket {
  0% { left: 0; opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  14% { opacity: 0.92; }
  82% { opacity: 0.78; }
  100% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes outwardPulse {
  0%,
  62%,
  100% {
    opacity: 0;
    transform: rotate(var(--angle)) translateX(0) scaleX(0.25);
  }
  72% {
    opacity: 0.75;
    transform: rotate(var(--angle)) translateX(calc(var(--travel) * 0.45)) scaleX(0.75);
  }
  88% {
    opacity: 0.12;
    transform: rotate(var(--angle)) translateX(var(--travel)) scaleX(1.1);
  }
}

@keyframes lightningFlash {
  0%,
  70%,
  78%,
  100% { opacity: 0; }
  72% { opacity: 0.7; }
  74% { opacity: 0.18; }
  76% { opacity: 0.62; }
}

@keyframes holoRingSpin {
  to { transform: translate(-50%, -50%) rotateX(66deg) rotateZ(360deg); }
}

@keyframes beamRise {
  0%,
  100% { opacity: 0.16; height: 23%; }
  50% { opacity: 0.42; height: 30%; }
}

@keyframes cubeDrift {
  0%,
  100% { margin-top: 0; filter: brightness(0.95); }
  50% { margin-top: -12px; filter: brightness(1.18); }
}

@keyframes geoFloat {
  0%,
  100% { opacity: 0.14; margin-top: 0; }
  50% { opacity: 0.3; margin-top: -10px; }
}

@keyframes sparkleTwinkle {
  0%,
  100% { opacity: 0.24; transform: scale(0.76); }
  45% { opacity: 0.86; transform: scale(1); }
  70% { opacity: 0.42; }
}

@keyframes flareBlink {
  0%,
  58%,
  100% { opacity: 0; transform: scale(0.65) rotate(0deg); }
  62% { opacity: 0.78; transform: scale(1) rotate(18deg); }
  68% { opacity: 0.18; transform: scale(1.25) rotate(45deg); }
}

@keyframes nodeFlicker {
  0%,
  100% { opacity: 0.24; transform: scale(0.82); }
  42% { opacity: 0.86; transform: scale(1.12); }
  48% { opacity: 0.34; }
  54% { opacity: 0.78; }
}

@keyframes moduleAura {
  0%,
  100% { opacity: 0.3; transform: scale(0.92); }
  50% { opacity: 0.56; transform: scale(1.08); }
}

@keyframes networkGridDrift {
  to { background-position: 44px 44px, 44px 44px, 0 0; }
}

@media (max-width: 980px) {
  .network-fx {
    transform: scale(0.94);
    transform-origin: center;
  }

  .spark-field::before,
  .spark-field::after {
    box-shadow:
      68px 44px 0 rgba(255, 255, 255, 0.7),
      132px 72px 0 rgba(125, 211, 252, 0.72),
      214px 52px 0 rgba(255, 255, 255, 0.55),
      286px 94px 0 rgba(125, 211, 252, 0.72),
      328px 158px 0 rgba(255, 255, 255, 0.64),
      266px 214px 0 rgba(255, 255, 255, 0.72),
      168px 232px 0 rgba(125, 211, 252, 0.7),
      88px 174px 0 rgba(255, 255, 255, 0.58);
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-fx,
  .network-fx *,
  .network-fx *::before,
  .network-fx *::after {
    animation: none !important;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 18%, rgba(211, 226, 255, 0.9) 0 10%, transparent 24%),
    radial-gradient(circle at 52% 62%, rgba(226, 238, 255, 0.95) 0 13%, transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 44%, #edf5ff 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(100%, 1920px);
  margin: 0 auto;
  overflow: hidden;
}

.site-nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  width: min(100% - 96px, 1780px);
  margin: 0 auto;
  padding: 36px 0 20px;
}

.site-nav.no-brand {
  grid-template-columns: 1fr auto;
}

.site-nav.no-brand .brand {
  display: none;
}

.site-nav.no-brand .nav-menu {
  justify-content: flex-start;
}

.site-nav.no-brand .nav-toggle {
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(145deg, #0c5cff 10%, #4a72ff 46%, #ffbe32 47%, #ff9f1c 62%, #0c5cff 63%);
  box-shadow: 0 16px 36px rgba(37, 92, 244, 0.2);
}

.brand strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.6px;
}

.brand small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 8px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 56px);
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #081333;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-menu a:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

.nav-menu i {
  font-size: 11px;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-cta {
  padding: 15px 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #365cff);
  box-shadow: 0 18px 34px rgba(37, 92, 244, 0.25);
}

.btn {
  min-height: 50px;
  padding: 0 24px;
  font-size: 14px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563ff, #3158f3);
  box-shadow: 0 18px 40px rgba(37, 92, 244, 0.24);
}

.btn-secondary {
  color: #255cf4;
  background: rgba(255, 255, 255, 0.62);
  border: 1.5px solid rgba(37, 92, 244, 0.65);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(37, 92, 244, 0.22);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  color: var(--blue);
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 48, 110, 0.12);
}

.hero {
  position: relative;
  z-index: 1;
  width: min(100% - 96px, 1780px);
  margin: 0 auto;
  padding: 78px 0 58px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: none;
  transition: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  background: rgba(214, 227, 255, 0.72);
  animation: none;
  transition: none;
}

.orb-one {
  width: 310px;
  height: 310px;
  top: 10px;
  right: 14%;
}

.orb-two {
  width: 370px;
  height: 370px;
  right: 29%;
  bottom: 180px;
}

.dot-field {
  position: absolute;
  width: 170px;
  height: 150px;
  background-image: radial-gradient(rgba(37, 92, 244, 0.28) 2px, transparent 2px);
  background-size: 20px 20px;
  animation: none;
  transition: none;
}

.dots-left {
  top: 275px;
  left: 40%;
}

.dots-right {
  right: -22px;
  bottom: 205px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(460px, 0.82fr) minmax(660px, 1.18fr);
  align-items: center;
  gap: 68px;
}

.hero-copy {
  max-width: 710px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 10px 20px 10px 12px;
  border-radius: 999px;
  color: #071436;
  font-size: 14px;
  font-weight: 700;
  background: rgba(232, 241, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.eyebrow span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #2563ff, #43a5ff);
  box-shadow: 0 14px 26px rgba(37, 92, 244, 0.22);
}

.hero h1 {
  max-width: 710px;
  font-size: clamp(2.2rem, 3.45vw, 3.9rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.title-highlight {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(135deg, #2f72ff 0%, #234df4 48%, #0ea5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.title-highlight::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -8px;
  width: 170px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd84d, rgba(255, 216, 77, 0));
}

.hero-copy p {
  max-width: 610px;
  margin: 22px 0 30px;
  color: #52617f;
  font-size: clamp(0.96rem, 1.05vw, 1.12rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-visual {
  position: relative;
  min-height: 690px;
}

.dashboard-card {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-columns: 138px 1fr;
  width: min(100%, 940px);
  min-height: 535px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: none;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, #071833, #061123);
}

.dash-logo {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 2px auto 18px;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  background: linear-gradient(135deg, #1d6fff, #49a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-sidebar a.active {
  color: #fff;
  background: linear-gradient(135deg, #2868ff, #1749ee);
}

.dashboard-main {
  padding: 18px;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #101c38;
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #43516f;
  font-size: 12px;
}

.topbar-actions span:first-child {
  padding: 9px 13px;
  border-radius: 10px;
  background: #f7faff;
  border: 1px solid #edf2ff;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, #ffd8bf 0 18%, transparent 19%),
    radial-gradient(circle at 50% 112%, #3158f3 0 34%, transparent 35%),
    linear-gradient(180deg, #f3f7ff 0%, #dfeaff 100%);
  box-shadow: 0 6px 14px rgba(26, 63, 150, 0.12);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.stat-card,
.chart-panel,
.quick-panel,
.notice-board {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 235, 255, 0.92);
  box-shadow: 0 14px 34px rgba(26, 63, 150, 0.06);
}

.stat-card {
  position: relative;
  min-height: 112px;
  padding: 18px;
  border-radius: 11px;
}

.stat-card span,
.stat-card small {
  display: block;
  color: #56637d;
  font-size: 11px;
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin: 13px 0 9px;
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1;
}

.stat-card small {
  color: #12a56a;
  font-size: 10px;
}

.stat-card i {
  position: absolute;
  top: 24px;
  right: 20px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #245df4;
  background: #eef3ff;
}

.stat-card:nth-child(3) i {
  color: #0fb76e;
  background: #e8fff3;
}

.stat-card:nth-child(4) i {
  color: #ff9d19;
  background: #fff5e5;
}

.dashboard-lower {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}

.chart-panel,
.quick-panel {
  min-height: 250px;
  border-radius: 12px;
  padding: 22px;
}

.chart-panel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 16% 4%, rgba(37, 92, 244, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 252, 255, 0.78));
  box-shadow:
    0 22px 52px rgba(27, 57, 122, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.chart-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
}

.analytics-header strong {
  font-size: 15px;
  letter-spacing: 0;
}

.analytics-legend {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: #52617f;
  font-size: 10px;
  font-weight: 800;
}

.analytics-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.student {
  background: #255cf4;
  box-shadow: 0 0 0 4px rgba(37, 92, 244, 0.11);
}

.legend-dot.teacher {
  background: #22c777;
  box-shadow: 0 0 0 4px rgba(34, 199, 119, 0.11);
}

.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.analytics-kpis div {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(222, 232, 255, 0.9);
  box-shadow: 0 10px 22px rgba(27, 57, 122, 0.05);
}

.analytics-kpis span {
  display: block;
  margin-bottom: 5px;
  color: #66738d;
  font-size: 9px;
  font-weight: 800;
}

.analytics-kpis strong {
  display: block;
  color: #0b1736;
  font-size: 17px;
  line-height: 1;
}

.chart-area {
  height: 210px;
}

.chart-area svg {
  width: 100%;
  height: 180px;
  overflow: visible;
}

.premium-chart {
  position: relative;
  padding: 6px 4px 0;
}

.chart-grid path {
  fill: none;
  stroke: rgba(74, 92, 128, 0.1);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.y-axis-labels text {
  fill: #8a96ae;
  font-size: 11px;
  font-weight: 800;
}

.area {
  pointer-events: none;
}

.student-area {
  fill: url("#studentArea");
}

.teacher-area {
  fill: url("#teacherArea");
}

.attendance-line {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 9px rgba(37, 92, 244, 0.12));
}

.student-line {
  stroke: #255cf4;
}

.teacher-line {
  stroke: #22c777;
  filter: drop-shadow(0 6px 9px rgba(34, 199, 119, 0.1));
}

.data-points circle {
  stroke: #fff;
  stroke-width: 2.5;
  transition: r 0.2s ease, filter 0.2s ease;
}

.student-points circle {
  fill: #255cf4;
}

.teacher-points circle {
  fill: #22c777;
}

.active-point {
  filter: url("#pointGlow");
}

.chart-hit-points {
  position: absolute;
  inset: 6px 4px 30px 4px;
  left: 44px;
  right: 8px;
  pointer-events: none;
}

.hit {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.hit::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  background: transparent;
  box-shadow: 0 0 0 0 rgba(37, 92, 244, 0);
  transition: box-shadow 0.18s ease, background 0.18s ease;
}

.hit.teacher::before {
  background: transparent;
}

.hit:hover::before {
  background: rgba(37, 92, 244, 0.08);
  box-shadow: 0 0 0 5px rgba(37, 92, 244, 0.1);
}

.hit.teacher:hover::before {
  background: rgba(34, 199, 119, 0.08);
  box-shadow: 0 0 0 5px rgba(34, 199, 119, 0.1);
}

.hit::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 8;
  min-width: 72px;
  padding: 7px 9px;
  border-radius: 9px;
  color: #16213c;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(218, 227, 247, 0.9);
  box-shadow: 0 14px 30px rgba(20, 38, 82, 0.16);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hit:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.chart-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding-left: 42px;
  padding-right: 2px;
  color: #7a86a0;
  font-size: 9px;
  font-weight: 700;
}

.chart-labels span {
  text-align: center;
}

.quick-panel > strong {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 10px;
}

.quick-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: #3f4b64;
  font-size: 10px;
  font-weight: 800;
}

.quick-grid i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 8px;
  color: #255cf4;
  background: #eef4ff;
}

.quick-grid span:nth-child(odd) i {
  color: #ff9d19;
  background: #fff5e8;
}

.quick-grid span:nth-child(4n) i {
  color: #14aa67;
  background: #e9fff4;
}

.notice-board {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(238, 245, 255, 0.9), rgba(255, 249, 230, 0.88));
}

.notice-board b {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

.notice-board p {
  color: #64708a;
  font-size: 10px;
  line-height: 1.5;
}

.teacher-students {
  position: absolute;
  z-index: 4;
  right: -32px;
  bottom: 6px;
  width: min(60%, 620px);
  height: auto;
  filter: drop-shadow(0 34px 38px rgba(30, 59, 115, 0.22));
}

.feature-strip {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 36px;
  align-items: center;
  margin-top: 2px;
  padding: 46px 38px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 72px rgba(26, 63, 150, 0.11);
  backdrop-filter: blur(18px);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-list article {
  display: flex;
  gap: 16px;
  min-width: 0;
  transition: transform 0.25s ease;
}

.feature-list article:hover,
.strip-stats article:hover {
  transform: translateY(-4px);
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 18px;
  font-size: 24px;
}

.feature-icon.blue {
  color: #255cf4;
  background: #eef4ff;
}

.feature-icon.green {
  color: #0fac67;
  background: #e9fff4;
}

.feature-icon.yellow {
  color: #f3a314;
  background: #fff5df;
}

.feature-icon.purple {
  color: #7c3aed;
  background: #f3ebff;
}

.feature-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.feature-list p {
  color: #59677f;
  font-size: 13px;
  line-height: 1.65;
}

.strip-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-left: 28px;
  border-left: 1px solid rgba(76, 96, 140, 0.14);
}

.strip-stats article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  transition: transform 0.25s ease;
}

.strip-stats i {
  grid-row: span 2;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: #12315f;
  font-size: 24px;
  background: #eef4ff;
}

.strip-stats article:nth-child(2) i {
  color: #0fac67;
  background: #e9fff4;
}

.strip-stats article:nth-child(3) i {
  color: #255cf4;
}

.strip-stats strong {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1;
}

.strip-stats span {
  color: #58667d;
  font-size: 13px;
  font-weight: 600;
}

.trusted-row {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  text-align: center;
}

.trusted-row p {
  margin-bottom: 28px;
  font-size: 18px;
  font-weight: 800;
}

.trusted-row span {
  color: var(--blue);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  gap: 18px;
  align-items: center;
}

.logo-row span {
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 0 18px;
  border-right: 1px solid rgba(89, 104, 140, 0.2);
  color: #314166;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  opacity: 0.78;
}

.logo-row span:last-child {
  border-right: 0;
}

@keyframes floatUp {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1400px) {
  .site-nav,
  .hero {
    width: min(100% - 56px, 1260px);
  }

  .site-nav {
    gap: 24px;
  }

  .nav-menu {
    gap: 24px;
  }

  .brand strong {
    font-size: 24px;
  }

  .hero-grid {
    grid-template-columns: minmax(380px, 0.78fr) minmax(560px, 1.22fr);
    gap: 42px;
  }

  .dashboard-card {
    grid-template-columns: 122px 1fr;
    width: 760px;
    min-height: 475px;
  }

  .dashboard-sidebar a {
    font-size: 9px;
  }

  .stat-grid {
    gap: 10px;
  }

  .stat-card {
    min-height: 94px;
    padding: 14px;
  }

  .dashboard-lower {
    grid-template-columns: 1.45fr 0.9fr;
  }

  .chart-panel,
  .quick-panel {
    min-height: 220px;
    padding: 16px;
  }

  .teacher-students {
    width: min(59%, 500px);
  }
}

@media (max-width: 1120px) {
  .site-nav {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .site-nav.menu-open .nav-menu {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(37, 92, 244, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 60px rgba(22, 52, 116, 0.16);
  }

  .site-nav.menu-open .nav-menu a {
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(37, 92, 244, 0.08);
  }

  .hero {
    padding-top: 50px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    min-height: 650px;
  }

  .dashboard-card {
    left: 50%;
    right: auto;
    width: min(100%, 900px);
    transform: translateX(-50%);
    animation: none;
  }

  .teacher-students {
    right: max(0px, calc(50% - 430px));
    width: min(57%, 560px);
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .strip-stats {
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid rgba(76, 96, 140, 0.14);
  }

  .logo-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  .site-nav,
  .hero {
    width: min(100% - 32px, 720px);
  }

  .site-nav {
    padding-top: 22px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 27px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    font-size: 9px;
    letter-spacing: 5px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8vw, 2.9rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 740px;
  }

  .dashboard-card {
    position: relative;
    left: auto;
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .dashboard-sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
  }

  .dash-logo {
    display: none;
  }

  .dashboard-sidebar a {
    justify-content: center;
    min-height: 36px;
    padding: 0;
    font-size: 0;
  }

  .dashboard-sidebar a i {
    font-size: 14px;
  }

  .dashboard-topbar {
    align-items: flex-start;
    gap: 12px;
  }

  .topbar-actions span:first-child {
    display: none;
  }

  .stat-grid,
  .dashboard-lower,
  .feature-list,
  .strip-stats {
    grid-template-columns: 1fr 1fr;
  }

  .teacher-students {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: min(100%, 560px);
    margin: -95px auto 0;
  }

  .feature-strip {
    margin-top: 24px;
    padding: 30px 22px;
  }

  .logo-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-row span {
    border-right: 0;
    border-bottom: 1px solid rgba(89, 104, 140, 0.16);
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 36px;
  }

  .eyebrow {
    align-items: center;
    width: 100%;
    padding-right: 14px;
    font-size: 13px;
  }

  .title-highlight::after {
    width: 132px;
  }

  .hero-copy p {
    margin-top: 20px;
  }

  .dashboard-main {
    padding: 12px;
  }

  .stat-grid,
  .dashboard-lower,
  .feature-list,
  .strip-stats {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .chart-labels {
    font-size: 8px;
  }

  .teacher-students {
    margin-top: -54px;
  }

  .strip-stats article {
    grid-template-columns: auto 1fr;
  }

  .logo-row {
    grid-template-columns: 1fr;
  }
}

.subpage-hero {
  width: min(100% - 96px, 1180px);
  margin: 0 auto;
  padding: 72px 0 52px;
}

.subpage-hero h1 {
  max-width: 920px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2.05rem, 3.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.subpage-hero p {
  max-width: 760px;
  color: #52617f;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  line-height: 1.68;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(37, 92, 244, 0.08);
  border: 1px solid rgba(37, 92, 244, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.content-section {
  width: min(100% - 96px, 1180px);
  margin: 0 auto;
  padding: 30px 0 100px;
}

.content-section.two-column {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.content-section h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  line-height: 1.14;
}

.content-section p {
  margin-bottom: 18px;
  color: #52617f;
  font-size: 1rem;
  line-height: 1.8;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-card,
.info-stack,
.subpage-form {
  border: 1px solid rgba(222, 232, 255, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(27, 57, 122, 0.09);
  backdrop-filter: blur(16px);
}

.page-card {
  min-height: 230px;
  padding: 30px;
}

.page-card i {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #255cf4, #0ea5ff);
}

.page-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.18rem;
}

.offer-list,
.info-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.info-stack {
  padding: 28px;
}

.info-stack span,
.offer-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  color: #22304f;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(222, 232, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
}

.info-stack i,
.offer-list i {
  color: var(--blue);
}

.subpage-form {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.subpage-form label {
  display: grid;
  gap: 8px;
  color: #273754;
  font-size: 13px;
  font-weight: 800;
}

.subpage-form input,
.subpage-form textarea {
  width: 100%;
  border: 1px solid rgba(194, 211, 246, 0.9);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  outline: none;
  resize: vertical;
}

@media (max-width: 1180px) {
  .page-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .subpage-hero,
  .content-section {
    width: min(100% - 40px, 760px);
  }

  .content-section.two-column,
  .page-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .subpage-hero {
    width: min(100% - 32px, 540px);
    padding-top: 56px;
  }

  .content-section {
    width: min(100% - 32px, 540px);
    padding-bottom: 70px;
  }
}

/* Restored legacy About and Services sections */
.legacy-wrap {
  width: min(100% - 96px, 1500px);
  margin: 0 auto;
}

.legacy-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-bottom: 22px;
  padding: 0 20px;
  border-radius: 999px;
  color: #2563eb;
  background: rgba(219, 234, 254, 0.62);
  border: 1px solid rgba(37, 99, 235, 0.28);
  font-size: 14px;
  font-weight: 800;
}

.legacy-about {
  position: relative;
  overflow: hidden;
  padding: 78px 0 92px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 221, 89, 0.16), transparent 32%),
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.12), transparent 28%),
    linear-gradient(135deg, #eaf3ff 0%, #f8fbff 46%, #fff8df 100%);
}

.legacy-about::after,
.legacy-services::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(37, 99, 235, 0.14) 1.6px, transparent 1.6px);
  background-size: 34px 34px;
  opacity: 0.2;
  mask-image: linear-gradient(90deg, transparent, #000 55%, transparent);
}

.legacy-about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(480px, 0.85fr) minmax(560px, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.legacy-copy h2 {
  max-width: 720px;
  margin-bottom: 24px;
  color: #0f1b38;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.legacy-copy h2 span {
  color: transparent;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 46%, #f5b928 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.legacy-copy p {
  max-width: 680px;
  margin-bottom: 20px;
  color: #60728f;
  font-size: 16px;
  line-height: 1.7;
}

.legacy-ecosystem {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.eco-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 76px;
  padding: 12px 18px;
  border-radius: 16px;
  color: #14213d;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(37, 99, 235, 0.24);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(12px);
}

.eco-node i {
  color: #2563eb;
  font-size: 20px;
}

.eco-node strong {
  font-size: 14px;
}

.eco-center {
  left: 50%;
  top: 50%;
  min-width: 150px;
  min-height: 96px;
  transform: translate(-50%, -50%);
  color: #fff;
  background: #2559dc;
  border-color: transparent;
  box-shadow: 0 0 0 12px rgba(37, 89, 220, 0.12), 0 26px 60px rgba(37, 89, 220, 0.28);
}

.eco-center i,
.eco-center strong {
  color: #fff;
}

.eco-ai { left: 20%; top: 12%; }
.eco-cv { left: 50%; top: 9%; transform: translateX(-50%); min-width: 160px; }
.eco-nlp { right: 15%; top: 12%; }
.eco-block { left: 4%; top: 46%; border-color: rgba(245, 185, 40, 0.42); }
.eco-cloud { right: 0; top: 46%; border-color: rgba(245, 185, 40, 0.42); }
.eco-web { left: 20%; bottom: 2%; border-color: rgba(16, 185, 129, 0.32); }
.eco-mobile { left: 50%; bottom: 0; transform: translateX(-50%); border-color: rgba(16, 185, 129, 0.32); }
.eco-ui { right: 15%; bottom: 2%; border-color: rgba(16, 185, 129, 0.32); }

.eco-block i,
.eco-cloud i {
  color: #f59e0b;
}

.eco-web i,
.eco-mobile i,
.eco-ui i {
  color: #10b981;
}

.eco-line {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 210px;
  transform-origin: top center;
  background-image: linear-gradient(to bottom, rgba(37, 99, 235, 0.5) 45%, transparent 45%);
  background-size: 2px 16px;
  opacity: 0.7;
  animation: dashFlow 1.4s linear infinite;
}

@keyframes dashFlow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 16px;
  }
}

.eco-line-ai { transform: rotate(-42deg); }
.eco-line-cv { transform: rotate(0deg); }
.eco-line-nlp { transform: rotate(42deg); }
.eco-line-block { transform: rotate(-90deg); height: 250px; }
.eco-line-cloud { transform: rotate(90deg); height: 250px; }
.eco-line-web { transform: rotate(-138deg); }
.eco-line-mobile { transform: rotate(180deg); }
.eco-line-ui { transform: rotate(138deg); }

.legacy-services {
  position: relative;
  overflow: hidden;
  padding: 88px 0 104px;
  background:
    radial-gradient(circle at 20% 45%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #f7c01d 0%, #ffd33f 48%, #f5bf20 100%);
}

.legacy-services-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.legacy-services-head .legacy-pill {
  background: rgba(255, 218, 73, 0.42);
  border-color: rgba(37, 99, 235, 0.2);
}

.legacy-services-head h2 {
  margin-bottom: 18px;
  color: #0f1b38;
  font-size: clamp(2.05rem, 3.35vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.legacy-services-head h2 span {
  color: #2563eb;
}

.legacy-services-head p {
  color: #63718b;
  font-size: 17px;
  line-height: 1.6;
}

.legacy-service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(290px, 1fr));
  gap: 30px;
}

.legacy-service-card {
  position: relative;
  min-height: 305px;
  padding: 36px 32px 32px;
  border-radius: 26px 26px 10px 10px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 4px solid rgba(37, 99, 235, 0.38);
  box-shadow: 0 30px 70px rgba(126, 91, 7, 0.16);
  overflow: hidden;
}

.legacy-service-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  font-size: 22px;
  background: linear-gradient(135deg, #233ee9, #f59e0b);
  box-shadow: 0 18px 36px rgba(37, 63, 219, 0.2);
}

.legacy-service-num {
  position: absolute;
  top: 42px;
  right: 32px;
  color: rgba(37, 99, 235, 0.06);
  font-size: 42px;
  font-weight: 900;
}

.legacy-service-card h3 {
  margin-bottom: 14px;
  color: #111b34;
  font-size: 20px;
  line-height: 1.2;
}

.legacy-service-card p {
  color: #6b7890;
  font-size: 15px;
  line-height: 1.65;
}

.offer-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(37, 99, 235, 0.1), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(255, 216, 77, 0.18), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.offer-head {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.offer-head h2 {
  margin-bottom: 14px;
  color: #0f1b38;
  font-size: clamp(2rem, 3.15vw, 3.2rem);
  line-height: 1.1;
}

.offer-head p {
  color: #60728f;
  font-size: 16px;
  line-height: 1.65;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.offer-grid article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 18px;
  border: 1px solid rgba(194, 211, 246, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 46px rgba(27, 57, 122, 0.08);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.offer-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 28px 60px rgba(27, 57, 122, 0.13);
}

.offer-grid i {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.09);
}

.offer-grid span {
  color: #17233f;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.contact-cta {
  padding: 84px 0;
  background: linear-gradient(135deg, #eaf3ff 0%, #fff8df 100%);
}

.contact-cta-card {
  width: min(100% - 96px, 1120px);
  margin: 0 auto;
  padding: 54px 42px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 32px 80px rgba(27, 57, 122, 0.12);
  backdrop-filter: blur(18px);
}

.contact-cta-card h2 {
  max-width: 820px;
  margin: 0 auto 14px;
  color: #0f1b38;
  font-size: clamp(1.95rem, 3vw, 3rem);
  line-height: 1.12;
}

.contact-cta-card p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: #60728f;
  font-size: 16px;
  line-height: 1.65;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer {
  padding: 76px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, #071833, #050b18);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  width: min(100% - 96px, 1320px);
  margin: 0 auto;
}

.site-footer .brand strong,
.site-footer .brand small {
  color: #fff;
}

.site-footer p {
  max-width: 420px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
}

.site-footer h4 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 15px;
}

.site-footer a:not(.brand),
.site-footer span {
  display: block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(100% - 96px, 1320px);
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

@media (max-width: 1240px) {
  .legacy-about-grid {
    grid-template-columns: 1fr;
  }

  .legacy-ecosystem {
    min-height: 560px;
  }

  .legacy-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .legacy-wrap {
    width: min(100% - 32px, 620px);
  }

  .legacy-about,
  .legacy-services {
    padding: 58px 0;
  }

  .legacy-copy p {
    font-size: 15px;
  }

  .legacy-ecosystem {
    min-height: 660px;
  }

  .eco-node {
    min-width: 104px;
    font-size: 12px;
  }

  .eco-ai { left: 0; top: 8%; }
  .eco-cv { top: 0; }
  .eco-nlp { right: 0; top: 8%; }
  .eco-block { left: 0; top: 43%; }
  .eco-cloud { right: 0; top: 43%; }
  .eco-web { left: 0; bottom: 4%; }
  .eco-mobile { bottom: 0; }
  .eco-ui { right: 0; bottom: 4%; }

  .legacy-service-grid {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-cta-card,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 32px, 620px);
  }

  .contact-cta-card {
    padding: 36px 20px;
  }
}

/* Premium SaaS expansion */
html {
  scroll-behavior: smooth;
}

body {
  cursor: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: #fff;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.page-loaded::before {
  opacity: 0;
  visibility: hidden;
}

.site-nav {
  position: sticky;
  top: 18px;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-nav.is-scrolled {
  border-color: rgba(226, 235, 255, 0.95);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(26, 63, 150, 0.12);
  backdrop-filter: blur(20px);
}

.premium-wrap {
  width: min(100% - 96px, 1320px);
  margin: 0 auto;
}

.trusted-schools,
.showcase-section,
.workflow-section,
.module-deck,
.benefit-section,
.testimonial-section,
.premium-faq {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
}

.trusted-schools {
  padding: 42px 0 76px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.trusted-schools p {
  margin-bottom: 22px;
  color: #60728f;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.school-logo-cloud {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.school-logo-cloud span {
  display: grid;
  min-height: 72px;
  place-items: center;
  border: 1px solid rgba(226, 235, 255, 0.9);
  border-radius: 20px;
  color: #314166;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 40px rgba(27, 57, 122, 0.06);
  font-weight: 850;
}

.showcase-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.09), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(245, 180, 0, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.showcase-grid,
.benefit-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
}

.showcase-grid h2,
.section-center h2,
.section-split h2,
.benefit-grid h2,
.faq-grid h2 {
  color: #0f172a;
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.showcase-grid p,
.section-center p,
.benefit-grid p,
.faq-grid p {
  margin-top: 18px;
  color: #60728f;
  font-size: 16px;
  line-height: 1.75;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.product-console {
  padding: 18px;
  border: 1px solid rgba(226, 235, 255, 0.94);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 34px 90px rgba(26, 63, 150, 0.14);
  backdrop-filter: blur(18px);
}

.console-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  color: #52617f;
  font-size: 13px;
  font-weight: 800;
}

.console-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8e4ff;
}

.console-header strong {
  margin-left: auto;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.console-grid article,
.kpi-grid div,
.testimonial-grid article,
.faq-item {
  border: 1px solid rgba(226, 235, 255, 0.94);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 48px rgba(26, 63, 150, 0.08);
}

.console-grid article {
  min-height: 150px;
  padding: 22px;
}

.console-grid i {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.console-grid strong {
  display: block;
  color: #0f172a;
  font-size: 30px;
}

.console-grid span {
  color: #60728f;
  font-size: 13px;
  font-weight: 800;
}

.console-bars {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #f7faff;
}

.console-bars span {
  display: block;
  width: var(--w);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #0ea5ff);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
}

.section-center {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.workflow-section {
  background: #fff;
}

.workflow-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.workflow-track article {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(226, 235, 255, 0.94);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 24px 58px rgba(26, 63, 150, 0.08);
}

.workflow-track span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 50%;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  font-weight: 900;
}

.workflow-track h3 {
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 20px;
}

.workflow-track p {
  color: #60728f;
  font-size: 14px;
  line-height: 1.7;
}

.module-deck {
  background: linear-gradient(135deg, #0f172a 0%, #111f43 100%);
}

.section-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.module-deck .section-tag {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.module-deck h2 {
  max-width: 680px;
  color: #fff;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.module-grid a {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.module-grid a:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(37, 99, 235, 0.22);
}

.module-grid i {
  color: #f5b400;
  font-size: 24px;
}

.module-grid span {
  font-weight: 850;
}

.benefit-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(16, 185, 129, 0.1), transparent 26%),
    linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.kpi-grid div {
  min-height: 150px;
  padding: 26px;
}

.kpi-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #2563eb;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.kpi-grid span {
  color: #52617f;
  font-weight: 800;
}

.testimonial-section {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-grid article {
  min-height: 220px;
  padding: 30px;
}

.testimonial-grid p {
  margin-bottom: 28px;
  color: #17233f;
  font-size: 17px;
  line-height: 1.7;
}

.testimonial-grid strong {
  color: #2563eb;
}

.premium-faq {
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 180, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  padding: 22px 24px;
  color: #0f172a;
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-item p {
  max-height: 0;
  margin: 0;
  padding: 0 24px;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.is-open p {
  max-height: 180px;
  padding-bottom: 22px;
}

.faq-item.is-open i {
  transform: rotate(45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn,
.nav-cta {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rippleIn 0.6s ease-out;
}

@keyframes rippleIn {
  to {
    opacity: 0;
    transform: scale(2.6);
  }
}

.mouse-glow {
  position: fixed;
  left: var(--x, 50vw);
  top: var(--y, 50vh);
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 62%);
  transform: translate(-50%, -50%);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0ea5ff);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .school-logo-cloud,
  .workflow-track,
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid,
  .benefit-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .premium-wrap {
    width: min(100% - 48px, 900px);
  }
}

@media (max-width: 680px) {
  .trusted-schools,
  .showcase-section,
  .workflow-section,
  .module-deck,
  .benefit-section,
  .testimonial-section,
  .premium-faq {
    padding: 64px 0;
  }

  .premium-wrap {
    width: min(100% - 32px, 560px);
  }

  .school-logo-cloud,
  .console-grid,
  .workflow-track,
  .module-grid,
  .kpi-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .section-split {
    display: grid;
  }
}

/* Homepage section simplification requested by client */
.page-shell {
  display: flex;
  flex-direction: column;
}

.trusted-schools,
.showcase-section,
.workflow-section,
.module-deck,
.benefit-section,
.testimonial-section {
  display: none;
}

.site-nav {
  order: 0;
}

.hero {
  order: 1;
}

.ai-about-section {
  order: 2;
}

.legacy-about {
  order: 2;
}

.wwo-section {
  order: 3;
}

.offer-section {
  order: 4;
}

.legacy-services {
  order: 4;
}

.contact-cta {
  order: 5;
}

.premium-faq {
  order: 6;
}

.site-footer {
  order: 7;
}

/* AI About section */
.ai-about-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 72px;
  background:
    radial-gradient(circle at 88% 18%, rgba(37, 99, 235, 0.16), transparent 34%),
    radial-gradient(circle at 42% 8%, rgba(14, 165, 255, 0.08), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 48%, #eaf2ff 100%);
}

.ai-about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(37, 99, 235, 0.18) 1.4px, transparent 1.4px);
  background-size: 34px 34px;
  opacity: 0.18;
  mask-image: linear-gradient(90deg, transparent, #000 48%, #000 92%);
}

.ai-about-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(560px, 1.08fr) minmax(440px, 0.92fr);
  gap: clamp(36px, 4.5vw, 76px);
  width: min(100% - 96px, 1680px);
  margin: 0 auto;
  align-items: center;
}

.ai-about-copy {
  order: 2;
  max-width: 560px;
}

.ai-about-visual {
  order: 1;
}

.ai-about-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 7px 15px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-about-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.ai-about-copy h2 {
  max-width: 560px;
  color: #0f172a;
  font-size: clamp(1.7rem, 2.35vw, 2.65rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.ai-about-copy h2 span {
  color: transparent;
  background: linear-gradient(135deg, #2563eb, #4f8cff);
  -webkit-background-clip: text;
  background-clip: text;
}

.ai-about-line {
  width: 58px;
  height: 3px;
  margin: 22px 0 22px;
  border-radius: 999px;
  background: #2563eb;
}

.ai-about-copy p {
  max-width: 540px;
  margin-bottom: 16px;
  color: #34435f;
  font-size: 14px;
  line-height: 1.68;
}

.ai-feature-card,
.ai-stat-card {
  border: 1px solid rgba(226, 235, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(26, 63, 150, 0.09);
  backdrop-filter: blur(18px);
}

.ai-feature-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
  overflow: hidden;
}

.ai-feature-card article {
  position: relative;
  min-height: 180px;
  padding: 28px 28px 24px;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  outline: none;
}

.ai-feature-card article::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #2563eb, #8bb8ff);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ai-feature-card article:hover,
.ai-feature-card article:focus-visible,
.ai-feature-card article.is-active {
  background:
    radial-gradient(circle at 82% 8%, rgba(245, 180, 0, 0.14), transparent 30%),
    rgba(247, 251, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
  transform: translateY(-3px);
}

.ai-feature-card article:hover::after,
.ai-feature-card article:focus-visible::after,
.ai-feature-card article.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.ai-feature-card article.is-active i {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0ea5ff);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.ai-feature-card article + article,
.ai-stat-card article + article {
  border-left: 1px solid rgba(194, 211, 246, 0.72);
}

.ai-feature-card i,
.ai-stat-card i {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50%;
  color: #2563eb;
  background: linear-gradient(135deg, #eaf2ff, #dceaff);
  font-size: 20px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ai-stat-card article:hover i {
  background: linear-gradient(135deg, #2563eb, #0ea5ff);
  color: #fff;
  transform: scale(1.15);
}

.ai-feature-card strong {
  display: block;
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 16px;
}

.ai-feature-card span {
  color: #50617e;
  font-size: 14px;
  line-height: 1.65;
}

.ai-dark-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
  padding: 28px 36px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 96% 80%, rgba(37, 99, 235, 0.38), transparent 28%),
    linear-gradient(135deg, #061531, #0a1d45);
  box-shadow: 0 24px 64px rgba(6, 21, 49, 0.18);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-dark-card.is-updating {
  transform: translateY(-3px);
  box-shadow: 0 30px 74px rgba(6, 21, 49, 0.24);
}

.ai-dark-logo {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
  color: #2563eb;
  background: #fff;
  font-size: 34px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.ai-dark-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.ai-dark-card p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.65;
}

.ai-about-visual {
  position: relative;
  min-height: 420px;
  isolation: isolate;
}

.ai-about-visual::before,
.ai-about-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ai-about-visual::before {
  inset: 8% 5% 4%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(37, 99, 235, 0.18), transparent 58%),
    radial-gradient(ellipse at 62% 36%, rgba(96, 165, 250, 0.18), transparent 46%),
    radial-gradient(ellipse at 38% 72%, rgba(255, 216, 77, 0.14), transparent 42%);
  filter: blur(22px);
}

.ai-about-visual::after {
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.95) 0 3px, rgba(96, 165, 250, 0.42) 4px, transparent 8px),
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.9) 0 2px, rgba(37, 99, 235, 0.35) 3px, transparent 7px),
    radial-gradient(circle at 82% 68%, rgba(255, 255, 255, 0.92) 0 3px, rgba(96, 165, 250, 0.38) 4px, transparent 9px),
    radial-gradient(circle at 18% 72%, rgba(255, 255, 255, 0.85) 0 2px, rgba(37, 99, 235, 0.28) 3px, transparent 7px);
  animation: aboutParticlesDrift 8s ease-in-out infinite;
  opacity: 0.85;
}

.ai-about-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 760px);
  margin: -14px auto 0;
  border-radius: 0;
  filter:
    drop-shadow(0 34px 70px rgba(37, 99, 235, 0.18))
    drop-shadow(0 0 34px rgba(96, 165, 250, 0.14));
  animation: aboutImageFloat 7s ease-in-out infinite;
}

@keyframes aboutImageFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes aboutParticlesDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(10px, -12px, 0);
  }
}

.ai-stat-card {
  position: absolute;
  right: 28px;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(66%, 480px);
  overflow: hidden;
}

.ai-stat-card article {
  min-height: 120px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-stat-card article:hover {
  background: rgba(37, 99, 235, 0.06);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.ai-stat-card article:active {
  transform: translateY(-1px) scale(0.98);
}

.ai-stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  transition: color 0.3s ease;
}

.ai-stat-card article:hover strong {
  color: #2563eb;
}

.ai-stat-card span {
  display: block;
  position: relative;
  color: #0f172a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

.ai-stat-card span::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, rgba(37, 99, 235, 0.2));
  transition: width 0.3s ease;
}

.ai-stat-card article:hover span::after {
  width: 60px;
}

@media (max-width: 1180px) {
  .ai-about-wrap {
    grid-template-columns: 1fr;
  }

  .ai-about-visual {
    min-height: auto;
  }

  .ai-stat-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 760px) {
  .ai-about-section {
    padding: 48px 0 48px;
  }

  .ai-about-wrap {
    width: min(100% - 32px, 620px);
  }

  .ai-about-copy h2 {
    font-size: clamp(1.55rem, 6.2vw, 2.05rem);
  }

  .ai-about-copy p {
    font-size: 13px;
    line-height: 1.65;
  }

  .ai-feature-card,
  .ai-stat-card {
    grid-template-columns: 1fr;
  }

  .ai-feature-card article + article,
  .ai-stat-card article + article {
    border-left: 0;
    border-top: 1px solid rgba(194, 211, 246, 0.72);
  }

  .ai-dark-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

/* Clean professional homepage refresh */
.clean-home .site-nav {
  order: 0;
}

.clean-home .hero {
  order: 1;
}

.clean-home .ai-about-section {
  order: 2;
}

.clean-home .legacy-about {
  order: 2;
}

.clean-home .wwo-section {
  order: 3;
}

.clean-home .offer-section {
  order: 4;
}

.clean-home .contact-cta {
  order: 4;
}

.clean-home .ca-section {
  order: 4;
}

.clean-home .cn-section {
  order: 5;
}

.clean-home .site-footer {
  order: 6;
}

.clean-home .nav-menu {
  gap: clamp(18px, 2.4vw, 42px);
}

.compact-hero-visual {
  min-height: 560px;
}

.mini-dashboard {
  top: 34px;
  width: min(100%, 820px);
  min-height: 460px;
  grid-template-columns: 128px 1fr;
  border-radius: 26px;
}

.mini-dashboard .dashboard-main {
  padding: 24px;
}

.mini-dashboard .stat-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.clean-chart-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(226, 235, 255, 0.95);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 8%, rgba(37, 99, 235, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.82));
  box-shadow: 0 22px 52px rgba(26, 63, 150, 0.09);
}

.clean-chart-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.clean-chart-card strong {
  color: #0f172a;
}

.clean-chart-card span {
  color: #60728f;
  font-size: 13px;
  font-weight: 800;
}

.clean-chart-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 14px;
  height: 130px;
}

.clean-chart-bars span {
  display: block;
  height: var(--h);
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #2563eb, #7db7ff);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

.about-highlight-panel {
  display: grid;
  gap: 18px;
}

.about-metric-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid rgba(226, 235, 255, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 58px rgba(26, 63, 150, 0.09);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-metric-card:hover,
.clean-offer-grid article:hover,
.contact-info-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px rgba(26, 63, 150, 0.14);
}

.about-metric-card.primary {
  background:
    radial-gradient(circle at 90% 0%, rgba(245, 180, 0, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(14, 165, 255, 0.9));
  color: #fff;
}

.about-metric-card i {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  font-size: 21px;
}

.about-metric-card.primary i {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.about-metric-card strong {
  color: #0f172a;
  font-size: 22px;
}

.about-metric-card.primary strong,
.about-metric-card.primary span {
  color: #fff;
}

.about-metric-card span {
  color: #60728f;
  line-height: 1.65;
}

.clean-offer-grid {
  grid-template-columns: repeat(3, 1fr);
}

.clean-offer-grid article {
  display: block;
  min-height: 240px;
  padding: 30px;
  border-radius: 26px;
}

.clean-offer-grid i {
  margin-bottom: 24px;
}

.clean-offer-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 20px;
}

.clean-offer-grid p {
  color: #60728f;
  font-size: 15px;
  line-height: 1.7;
}

.contact-cta {
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.11), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(245, 180, 0, 0.15), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  width: min(100% - 96px, 1220px);
  margin: 0 auto;
  align-items: start;
}

.contact-copy h2 {
  max-width: 640px;
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.08;
}

.contact-copy p {
  max-width: 620px;
  color: #60728f;
  font-size: 16px;
  line-height: 1.75;
}

.contact-info-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-info-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  padding: 18px;
  border: 1px solid rgba(226, 235, 255, 0.95);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(26, 63, 150, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-grid i {
  grid-row: span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.contact-info-grid strong {
  color: #0f172a;
}

.contact-info-grid span {
  color: #60728f;
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(226, 235, 255, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 80px rgba(26, 63, 150, 0.12);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #273754;
  font-size: 13px;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(194, 211, 246, 0.95);
  border-radius: 16px;
  padding: 15px 16px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

@media (max-width: 1180px) {
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .compact-hero-visual {
    min-height: 520px;
  }

  .mini-dashboard {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .clean-offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .mini-dashboard {
    grid-template-columns: 1fr;
  }

  .mini-dashboard .dashboard-sidebar {
    grid-template-columns: repeat(5, 1fr);
  }

  .mini-dashboard .stat-grid,
  .clean-offer-grid {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    width: min(100% - 32px, 560px);
  }
}


/* ======================================================
   WHAT WE OFFER SECTION
   ====================================================== */

.wwo-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 8% 12%, rgba(37, 92, 244, 0.08), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(255, 216, 77, 0.18), transparent 30%),
    radial-gradient(circle at 52% 80%, rgba(211, 226, 255, 0.55), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
}

/* subtle dot texture */
.wwo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(37, 92, 244, 0.1) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  opacity: 0.18;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.wwo-wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 96px, 1320px);
  margin: 0 auto;
}

/* ---- Header ---- */
.wwo-head {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.wwo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(37, 92, 244, 0.07);
  border: 1px solid rgba(37, 92, 244, 0.2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wwo-pill-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

.wwo-head h2 {
  margin-bottom: 16px;
  color: #071436;
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.wwo-blue {
  color: var(--blue);
}

.wwo-head p {
  max-width: 620px;
  margin: 0 auto 22px;
  color: #52617f;
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
  line-height: 1.7;
}

.wwo-underline {
  width: 48px;
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd84d, #ffb800);
}

/* ---- Card grid ---- */
.wwo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.wwo-card {
  position: relative;
  padding: 28px 26px 24px;
  border: 1px solid rgba(222, 232, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 48px rgba(26, 63, 150, 0.07);
  backdrop-filter: blur(14px);
  cursor: default;
  transition:
    transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.wwo-card.wwo-visible {
  opacity: 1;
  transform: translateY(0);
}

.wwo-card:hover,
.wwo-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(37, 92, 244, 0.28);
  box-shadow: 0 30px 72px rgba(26, 63, 150, 0.14);
  outline: none;
}

/* card number watermark */
.wwo-card-num {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(37, 92, 244, 0.06);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: color 0.3s ease;
}

.wwo-card:hover .wwo-card-num {
  color: rgba(37, 92, 244, 0.11);
}

/* icon circle */
.wwo-card-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 18px;
  font-size: 22px;
  color: var(--blue);
  background: rgba(37, 92, 244, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wwo-card:hover .wwo-card-icon {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 12px 28px rgba(37, 92, 244, 0.18);
}

.wwo-icon-yellow { color: #f3a314; background: rgba(243, 163, 20, 0.1); }
.wwo-icon-cyan   { color: #0ea5ff; background: rgba(14, 165, 255, 0.1); }
.wwo-icon-purple { color: #7c3aed; background: rgba(124, 58, 237, 0.1); }
.wwo-icon-orange { color: #f97316; background: rgba(249, 115, 22, 0.1); }
.wwo-icon-green  { color: #0fac67; background: rgba(15, 172, 103, 0.1); }
.wwo-icon-blue2  { color: #2563eb; background: rgba(37, 99, 235, 0.1); }
.wwo-icon-sky    { color: #0284c7; background: rgba(2, 132, 199, 0.1); }

.wwo-card:hover .wwo-icon-yellow { box-shadow: 0 12px 28px rgba(243, 163, 20, 0.22); }
.wwo-card:hover .wwo-icon-cyan   { box-shadow: 0 12px 28px rgba(14, 165, 255, 0.22); }
.wwo-card:hover .wwo-icon-purple { box-shadow: 0 12px 28px rgba(124, 58, 237, 0.22); }
.wwo-card:hover .wwo-icon-orange { box-shadow: 0 12px 28px rgba(249, 115, 22, 0.22); }
.wwo-card:hover .wwo-icon-green  { box-shadow: 0 12px 28px rgba(15, 172, 103, 0.22); }
.wwo-card:hover .wwo-icon-blue2  { box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22); }
.wwo-card:hover .wwo-icon-sky    { box-shadow: 0 12px 28px rgba(2, 132, 199, 0.22); }

/* title bar */
.wwo-card-bar {
  width: 28px;
  height: 3px;
  margin: 4px 0 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #0ea5ff);
  transition: width 0.3s ease;
}

.wwo-card:hover .wwo-card-bar {
  width: 46px;
}

.wwo-card h3 {
  margin-bottom: 12px;
  color: #0d1b38;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.wwo-card p {
  color: #59677f;
  font-size: 14px;
  line-height: 1.65;
}

/* learn more link */
.wwo-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  transition: gap 0.22s ease, opacity 0.22s ease;
}

.wwo-learn:hover {
  gap: 10px;
  opacity: 0.8;
}

.wwo-learn i {
  transition: transform 0.22s ease;
}

.wwo-learn:hover i {
  transform: translateX(3px);
}

/* ---- Stats strip ---- */
.wwo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
  padding: 36px 38px;
  border: 1px solid rgba(222, 232, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 64px rgba(26, 63, 150, 0.09);
  backdrop-filter: blur(16px);
  /* entrance */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease 0.45s, transform 0.55s ease 0.45s;
}

.wwo-stats.wwo-visible {
  opacity: 1;
  transform: translateY(0);
}

.wwo-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border-right: 1px solid rgba(76, 96, 140, 0.12);
  transition: transform 0.25s ease;
}

.wwo-stat:last-child {
  border-right: none;
}

.wwo-stat:hover {
  transform: translateY(-4px);
}

.wwo-stat-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.wwo-si-blue   { color: #fff; background: linear-gradient(135deg, #2563eb, #3b82f6); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28); }
.wwo-si-yellow { color: #fff; background: linear-gradient(135deg, #f59e0b, #ffd84d); box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28); }

.wwo-stat-copy strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.5rem, 2.1vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
}

.wwo-stat:nth-child(even) .wwo-stat-copy strong {
  color: #f59e0b;
}

.wwo-stat-copy span {
  display: block;
  margin: 5px 0 4px;
  color: #0d1b38;
  font-size: 14px;
  font-weight: 800;
}

.wwo-stat-copy p {
  color: #59677f;
  font-size: 13px;
  line-height: 1.5;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .wwo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .wwo-wrap {
    width: min(100% - 48px, 760px);
  }

  .wwo-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 22px;
  }

  .wwo-stat {
    border-right: none;
    border-bottom: 1px solid rgba(76, 96, 140, 0.12);
    padding: 16px 8px;
  }

  .wwo-stat:nth-child(3),
  .wwo-stat:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .wwo-wrap {
    width: min(100% - 32px, 560px);
  }

  .wwo-section {
    padding: 64px 0 56px;
  }

  .wwo-grid {
    grid-template-columns: 1fr;
  }

  .wwo-stats {
    grid-template-columns: 1fr;
  }

  .wwo-stat {
    border-bottom: 1px solid rgba(76, 96, 140, 0.1);
  }

  .wwo-stat:last-child {
    border-bottom: none;
  }
}

/* ======================================================
   FOOTER EXTRAS — Trust Center, Socials, Bottom bar
   ====================================================== */

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-socials a {
  display: grid !important;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  margin-bottom: 0 !important;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease !important;
}

.footer-socials a:hover {
  background: var(--blue);
  color: #fff !important;
  border-color: var(--blue);
  transform: translateY(-3px);
}

/* Trust Center badge */
.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 10px;
  color: #ffd84d;
  background: rgba(255, 216, 77, 0.1);
  border: 1px solid rgba(255, 216, 77, 0.22);
  font-size: 12px;
  font-weight: 800;
}

.footer-trust-badge i {
  font-size: 15px;
  color: #ffd84d;
}

/* Trust Center links — icon + text inline */
.site-footer .footer-inner > div:last-child a {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.site-footer .footer-inner > div:last-child a i {
  width: 18px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.site-footer .footer-inner > div:last-child a:hover i {
  color: var(--blue);
}

/* Footer bottom bar — two column layout */
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.footer-bottom-trust a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-bottom-trust a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-trust {
    gap: 6px 14px;
  }
}

/* Footer company name */
.footer-company-name {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: transparent;
  background: linear-gradient(135deg, #ffffff 30%, #93bbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Trust Center links — stacked with icon */
.site-footer .footer-inner > div:last-child a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  margin-bottom: 0 !important;
}

.site-footer .footer-inner > div:last-child a i {
  width: 20px;
  font-size: 14px;
  color: #ffd84d;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.site-footer .footer-inner > div:last-child a:hover i {
  color: #fff;
}

/* ======================================================
   NAVBAR REDESIGN
   ====================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 0 clamp(20px, 4vw, 72px);
  min-height: 72px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(37, 92, 244, 0.1);
  box-shadow: 0 4px 28px rgba(26, 63, 150, 0.08);
  backdrop-filter: blur(20px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 40px rgba(26, 63, 150, 0.13);
}

/* ---- Brand ---- */
.site-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav .brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(145deg, #0c5cff 10%, #4a72ff 46%, #ffbe32 47%, #ff9f1c 62%, #0c5cff 63%);
  box-shadow: 0 10px 26px rgba(37, 92, 244, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-nav .brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 92, 244, 0.34);
}

.brand-text strong {
  display: block;
  color: #071436;
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: #071436;
  font-size: clamp(8px, 0.75vw, 10px);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ---- Nav links ---- */
.site-nav .nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2vw, 36px);
}

.site-nav .nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 4px;
  color: #3a4a6b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.22s ease;
  white-space: nowrap;
}

.site-nav .nav-menu a i {
  font-size: 12px;
  color: var(--blue);
  opacity: 0.7;
  transition: opacity 0.22s ease;
}

.site-nav .nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #0ea5ff);
  transition: width 0.25s ease;
}

.site-nav .nav-menu a:hover {
  color: var(--blue);
}

.site-nav .nav-menu a:hover i {
  opacity: 1;
}

.site-nav .nav-menu a:hover::after,
.site-nav .nav-menu a.active::after {
  width: 100%;
}

.site-nav .nav-menu a.active {
  color: var(--blue);
}

.site-nav .nav-dropdown {
  position: relative;
}

.site-nav .nav-dropdown summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 4px;
  color: #3a4a6b;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  transition: color 0.22s ease;
}

.site-nav .nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.site-nav .nav-dropdown summary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #0ea5ff);
  transition: width 0.25s ease;
}

.site-nav .nav-dropdown summary:hover,
.site-nav .nav-dropdown[open] summary {
  color: var(--blue);
}

.site-nav .nav-dropdown summary:hover::after,
.site-nav .nav-dropdown[open] summary::after {
  width: 100%;
}

.site-nav .nav-dropdown summary i {
  color: var(--blue);
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav .nav-dropdown[open] summary i {
  opacity: 1;
  transform: rotate(180deg);
}

.site-nav .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 60;
  display: grid;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(37, 92, 244, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(26, 63, 150, 0.14);
  transform: translateX(-50%);
}

.site-nav .nav-dropdown-menu a {
  justify-content: flex-start;
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
}

.site-nav .nav-dropdown-menu a::after {
  display: none;
}

.site-nav .nav-dropdown-menu a:hover {
  background: rgba(37, 92, 244, 0.07);
}

/* ---- CTA button ---- */
.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, #255cf4, #0ea5ff);
  box-shadow: 0 10px 28px rgba(37, 92, 244, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  flex-shrink: 0;
}

.site-nav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 92, 244, 0.34);
}

.site-nav .nav-cta i {
  font-size: 12px;
  transition: transform 0.22s ease;
}

.site-nav .nav-cta:hover i {
  transform: translateX(3px);
}

/* ---- Mobile toggle ---- */
.site-nav .nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(37, 92, 244, 0.2);
  border-radius: 11px;
  color: var(--blue);
  background: rgba(37, 92, 244, 0.06);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  place-items: center;
}

.site-nav .nav-toggle:hover {
  background: rgba(37, 92, 244, 0.12);
}

/* ---- Mobile menu ---- */
@media (max-width: 900px) {
  .site-nav {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 0 24px;
  }

  .site-nav .nav-toggle {
    display: grid;
  }

  .site-nav .nav-menu,
  .site-nav .nav-cta {
    display: none;
  }

  .site-nav.menu-open {
    flex-wrap: wrap;
  }

  .site-nav.menu-open .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(37, 92, 244, 0.1);
    box-shadow: 0 20px 48px rgba(26, 63, 150, 0.13);
    backdrop-filter: blur(20px);
  }

  .site-nav.menu-open .nav-menu a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(37, 92, 244, 0.07);
    font-size: 15px;
  }

  .site-nav.menu-open .nav-menu a:last-child {
    border-bottom: none;
  }

  .site-nav.menu-open .nav-dropdown {
    border-bottom: 1px solid rgba(37, 92, 244, 0.07);
  }

  .site-nav.menu-open .nav-dropdown summary {
    display: flex;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 15px;
  }

  .site-nav.menu-open .nav-dropdown summary::after {
    display: none;
  }

  .site-nav.menu-open .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
  }

  .site-nav.menu-open .nav-dropdown-menu a {
    padding: 10px 12px;
    border-bottom: 0;
    font-size: 14px;
  }

  .site-nav.menu-open .nav-cta {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-text strong {
    font-size: 12px;
  }

  .brand-text small {
    letter-spacing: 1.5px;
  }
}

/* Aionpixel hero illustration refresh */
body {
  background: #f7f8fb;
}

.page-shell.clean-home {
  width: min(100%, 1920px);
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}

.clean-home .site-nav {
  position: relative;
  top: auto;
  width: min(calc(100% - 32px), 1840px);
  min-height: 70px;
  margin: 6px auto 0;
  padding: 0 clamp(36px, 3vw, 52px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 0;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(27, 44, 87, 0.07);
  backdrop-filter: blur(18px);
}

.clean-home .site-nav .brand {
  gap: 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.clean-home .site-nav .brand-mark {
  display: none;
}

.clean-home .brand-text strong {
  display: block;
  font-size: clamp(20px, 1.3vw, 26px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0b1a3a;
}

.clean-home .brand-text strong span {
  color: #071436;
  font: inherit;
  letter-spacing: inherit;
}

.clean-home .brand-text small {
  display: block;
  margin-top: 1px;
  color: #071436;
  font-size: clamp(8px, 0.5vw, 10px);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.clean-home .site-nav .nav-menu {
  gap: clamp(18px, 2.2vw, 36px);
}

.clean-home .site-nav .nav-menu a {
  position: relative;
  color: #2d3b5e;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.clean-home .site-nav .nav-dropdown summary {
  color: #2d3b5e;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 0;
}

.clean-home .site-nav .nav-menu a:hover {
  color: #1a5cff;
}

.clean-home .site-nav .nav-dropdown summary:hover,
.clean-home .site-nav .nav-dropdown[open] summary {
  color: #1a5cff;
}

.clean-home .site-nav .nav-menu a.active {
  color: #1a5cff;
}

.clean-home .site-nav .nav-menu a i {
  display: none;
}

.clean-home .site-nav .nav-dropdown summary i {
  display: inline-block;
  color: #1a5cff;
}

.clean-home .site-nav .nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #1a5cff;
  transition: width 0.22s ease;
}

.clean-home .site-nav .nav-menu a:hover::after,
.clean-home .site-nav .nav-menu a.active::after {
  width: 100%;
}

.clean-home .site-nav .nav-dropdown summary::after {
  bottom: -4px;
  background: #1a5cff;
}

.clean-home .site-nav .nav-dropdown summary:hover::after,
.clean-home .site-nav .nav-dropdown[open] summary::after {
  width: 100%;
}

.clean-home .site-nav .nav-dropdown-menu a {
  padding: 10px 12px;
  font-size: 13px;
}

.clean-home .site-nav .nav-cta {
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  background: #1a5cff;
  box-shadow: 0 12px 28px rgba(26, 92, 255, 0.22);
}

.clean-home .hero {
  position: relative;
  width: min(calc(100% - 32px), 1840px);
  margin: 0 auto;
  padding: clamp(56px, 4vw, 72px) clamp(40px, 3.4vw, 58px) clamp(58px, 4.6vw, 78px);
  background:
    radial-gradient(ellipse 90% 88% at 100% 46%, rgba(13, 71, 161, 0.16) 0%, rgba(37, 99, 235, 0.13) 28%, rgba(96, 165, 250, 0.08) 58%, transparent 86%),
    radial-gradient(ellipse 64% 82% at 0% 52%, rgba(96, 165, 250, 0.12) 0%, rgba(37, 99, 235, 0.08) 34%, transparent 82%),
    radial-gradient(ellipse 78% 76% at 72% 26%, rgba(96, 165, 250, 0.22) 0%, rgba(221, 236, 255, 0.58) 40%, transparent 82%),
    radial-gradient(ellipse 68% 70% at 60% 90%, rgba(37, 99, 235, 0.09) 0%, rgba(233, 242, 255, 0.56) 48%, transparent 86%),
    linear-gradient(135deg, #ffffff 0%, #f9fbff 28%, #f1f7ff 58%, #e8f2ff 100%);
  box-shadow: 0 28px 60px rgba(27, 44, 87, 0.14);
  overflow: hidden;
}

.clean-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.52) 22%, rgba(245, 249, 255, 0.25) 48%, rgba(219, 233, 255, 0.18) 100%),
    radial-gradient(ellipse 82% 82% at 88% 46%, rgba(13, 71, 161, 0.1) 0%, rgba(37, 99, 235, 0.09) 34%, rgba(96, 165, 250, 0.06) 62%, transparent 88%),
    radial-gradient(ellipse 70% 78% at 9% 54%, rgba(96, 165, 250, 0.08) 0%, rgba(255, 255, 255, 0) 82%);
  filter: blur(14px);
}

.clean-home .hero-bg,
.clean-home .orb,
.clean-home .dot-field {
  display: none;
}

.clean-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(460px, 0.45fr) minmax(620px, 0.55fr);
  gap: clamp(12px, 1.7vw, 30px);
  align-items: center;
  min-height: clamp(520px, 34vw, 620px);
}

.clean-home .hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.clean-home .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 0 0 12px;
  color: #075cff;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-size: clamp(10px, 0.72vw, 12px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.clean-home .eyebrow-word {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  padding: 0;
  border-radius: 0;
  color: #075cff;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: inherit;
  isolation: isolate;
  transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

.clean-home .eyebrow-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5bd17, #35b7ff);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.clean-home .eyebrow-word:hover,
.clean-home .eyebrow-word:focus-visible,
.clean-home .eyebrow-word.is-active {
  color: #071641;
  text-shadow: 0 8px 18px rgba(37, 92, 244, 0.18);
  transform: translateY(-1px);
}

.clean-home .eyebrow-word.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.clean-home .eyebrow b {
  display: none;
}

.clean-home .hero h1 {
  max-width: 760px;
  color: #071641;
  font-size: clamp(34px, 2.8vw, 50px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 0;
}

.clean-home .title-highlight {
  color: #1262ff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.clean-home .title-highlight::after {
  display: none;
}

.clean-home .hero-copy p {
  position: relative;
  max-width: 600px;
  margin: 46px 0 34px;
  color: #4f5f82;
  font-size: clamp(12px, 0.82vw, 15px);
  font-weight: 500;
  line-height: 1.75;
}

.clean-home .hero-copy p::before {
  content: "";
  position: absolute;
  left: 0;
  top: -24px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: #f5bd17;
}

.clean-home .hero-actions {
  gap: 16px;
}

.clean-home .btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.clean-home .btn-primary {
  background: #075cff;
  box-shadow: 0 16px 34px rgba(8, 93, 255, 0.22);
}

.clean-home .btn-secondary {
  color: #075cff;
  background: rgba(255, 255, 255, 0.64);
  border: 1.5px solid rgba(7, 92, 255, 0.62);
  box-shadow: none;
}

.clean-home .btn-secondary i {
  font-size: 16px;
}

.clean-home .hero-visual {
  position: absolute;
  inset: 10px 8px -22px 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  isolation: isolate;
  pointer-events: none;
  animation: heroVisualFloat 9.6s ease-in-out infinite;
  will-change: transform;
}

.clean-home .hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -8% -12% -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 54% 48%, rgba(13, 71, 161, 0.16) 0%, rgba(37, 99, 235, 0.14) 30%, rgba(96, 165, 250, 0.12) 52%, rgba(255, 255, 255, 0) 78%),
    radial-gradient(ellipse at 72% 28%, rgba(255, 255, 255, 0.82) 0%, rgba(219, 234, 254, 0.34) 38%, transparent 70%),
    radial-gradient(ellipse at 45% 82%, rgba(96, 165, 250, 0.12) 0%, rgba(255, 255, 255, 0) 74%);
  filter: blur(18px);
}

.clean-home .hero-visual::after {
  display: none;
}

.hero-illustration {
  position: relative;
  z-index: 4;
  display: block;
  width: 116%;
  height: 116%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter:
    drop-shadow(0 26px 34px rgba(37, 99, 235, 0.18))
    drop-shadow(0 0 18px rgba(96, 165, 250, 0.18));
  animation: heroImageGlow 7.2s ease-in-out infinite;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 7%, #000 18%, #000 82%, rgba(0, 0, 0, 0.32) 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.36) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.34) 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 7%, #000 18%, #000 82%, rgba(0, 0, 0, 0.32) 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.36) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.34) 92%, transparent 100%);
  mask-composite: intersect;
}

.hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-fx-backdrop {
  z-index: 0;
  inset: 4% 2% 2%;
  background:
    radial-gradient(ellipse at 59% 50%, rgba(37, 99, 235, 0.22) 0%, rgba(96, 165, 250, 0.14) 36%, transparent 74%),
    radial-gradient(ellipse at 66% 42%, rgba(255, 255, 255, 0.34) 0%, transparent 34%);
  filter: blur(14px);
}

.hero-fx-bloom {
  z-index: 1;
  width: 30%;
  height: 30%;
  left: 56%;
  top: 48%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(125, 211, 252, 0.42) 18%, rgba(37, 99, 235, 0.2) 48%, transparent 74%);
  filter: blur(13px);
  opacity: 0.92;
  animation: heroHubBloom 3.8s ease-in-out infinite;
}

.hero-fx-cube {
  z-index: 5;
  width: 19%;
  height: 19%;
  left: 56%;
  top: 46%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.56), rgba(125, 211, 252, 0.28) 34%, transparent 70%);
  box-shadow:
    0 0 28px rgba(255, 255, 255, 0.42),
    0 0 58px rgba(96, 165, 250, 0.34);
  mix-blend-mode: screen;
  opacity: 0.7;
  animation: heroCubeGlow 3.6s ease-in-out infinite;
}

.hero-fx-ring {
  z-index: 5;
  width: 34%;
  height: 34%;
  left: 45%;
  top: 36%;
  border-radius: 50%;
  border: 1px solid rgba(147, 197, 253, 0.38);
  box-shadow: 0 0 26px rgba(96, 165, 250, 0.2), inset 0 0 18px rgba(255, 255, 255, 0.2);
  opacity: 0.62;
  transform: rotateX(62deg) rotateZ(0deg);
  animation: heroLightRing 18s linear infinite;
}

.hero-fx-orbit {
  z-index: 3;
  border-radius: 50%;
  opacity: 0.5;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.48) 0 3deg, transparent 3deg 12deg),
    radial-gradient(circle, transparent 62%, rgba(125, 211, 252, 0.18) 63%, transparent 66%);
  filter: blur(0.2px);
  mix-blend-mode: screen;
}

.hero-fx-orbit-one {
  width: 52%;
  height: 52%;
  left: 36%;
  top: 22%;
  animation: heroOrbitSpin 34s linear infinite, heroOrbitFade 6s ease-in-out infinite;
}

.hero-fx-orbit-two {
  width: 68%;
  height: 62%;
  left: 25%;
  top: 18%;
  opacity: 0.34;
  transform: rotateX(58deg);
  animation: heroOrbitSpinReverse 46s linear infinite, heroOrbitFade 7.4s ease-in-out 1s infinite;
}

.hero-fx-cubes {
  z-index: 6;
  inset: 12% 8% 14% 10%;
  opacity: 0.72;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(125,211,252,0.28)) 42% 22% / 18px 18px no-repeat,
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(96,165,250,0.28)) 52% 24% / 14px 14px no-repeat,
    linear-gradient(135deg, rgba(255,255,255,0.7), rgba(168,85,247,0.22)) 62% 42% / 13px 13px no-repeat,
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(125,211,252,0.26)) 48% 64% / 15px 15px no-repeat,
    linear-gradient(135deg, rgba(255,255,255,0.7), rgba(96,165,250,0.24)) 72% 76% / 12px 12px no-repeat;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.32));
  animation: heroFloatingCubes 8.8s ease-in-out infinite;
}

.hero-fx-particles {
  z-index: 6;
  opacity: 0.44;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1.4px, transparent 2.7px),
    radial-gradient(circle, rgba(125, 211, 252, 0.9) 0 1.25px, transparent 2.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 2.3px);
  background-position: 8% 18%, 74% 32%, 44% 78%;
  background-size: 70px 70px, 106px 106px, 138px 138px;
  filter: blur(0.2px);
  animation: heroParticles 14s ease-in-out infinite;
}

.hero-fx-platforms {
  z-index: 1;
  filter: blur(15px);
  opacity: 0.58;
  background:
    radial-gradient(ellipse at 37% 24%, rgba(96, 165, 250, 0.18) 0 6%, transparent 13%),
    radial-gradient(ellipse at 76% 25%, rgba(96, 165, 250, 0.15) 0 6%, transparent 13%),
    radial-gradient(ellipse at 23% 52%, rgba(96, 165, 250, 0.13) 0 7%, transparent 15%),
    radial-gradient(ellipse at 82% 55%, rgba(96, 165, 250, 0.13) 0 7%, transparent 15%),
    radial-gradient(ellipse at 42% 80%, rgba(96, 165, 250, 0.14) 0 8%, transparent 16%),
    radial-gradient(ellipse at 72% 82%, rgba(96, 165, 250, 0.14) 0 8%, transparent 16%);
  animation: heroPlatformAura 8.4s ease-in-out infinite;
}

.hero-fx-shimmer {
  z-index: 6;
  width: 18%;
  height: 26%;
  left: 53%;
  top: 34%;
  opacity: 0;
  background: linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, 0.46) 48%, transparent 76%);
  mix-blend-mode: screen;
  transform: skewX(-18deg) translateX(-24%);
  animation: heroCubeShimmer 5.8s ease-in-out infinite;
}

.hero-fx-glass {
  z-index: 6;
  width: 38%;
  height: 72%;
  left: 32%;
  top: 10%;
  opacity: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.28) 48%, transparent 68%);
  mix-blend-mode: screen;
  transform: translateX(-48%) rotate(-9deg);
  animation: heroGlassSweep 7.8s ease-in-out infinite;
}

.hero-fx-pulse {
  z-index: 6;
  width: 19%;
  height: 3px;
  left: 56%;
  top: 52%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92), rgba(96, 165, 250, 0.52), rgba(255, 255, 255, 0));
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.36),
    0 0 24px rgba(96, 165, 250, 0.42);
  opacity: 0;
  transform-origin: left center;
}

.hero-fx-pulse-one {
  transform: rotate(-33deg) scaleX(0.15);
  animation: heroTravelPulseOne 4.2s ease-in-out infinite;
}

.hero-fx-pulse-two {
  transform: rotate(0deg) scaleX(0.15);
  animation: heroTravelPulseTwo 4.8s ease-in-out 1.2s infinite;
}

.hero-fx-pulse-three {
  transform: rotate(44deg) scaleX(0.15);
  animation: heroTravelPulseThree 5.2s ease-in-out 2.1s infinite;
}

.hero-pulse,
.hero-spark {
  position: absolute;
  pointer-events: none;
}

.hero-pulse {
  z-index: 6;
  width: 92px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), rgba(96, 165, 250, 0.72), transparent);
  box-shadow:
    0 0 16px rgba(96, 165, 250, 0.42),
    0 0 34px rgba(37, 99, 235, 0.2);
  opacity: 0.44;
  transform-origin: center;
  will-change: transform;
}

.hero-pulse-one {
  left: 60%;
  top: 28%;
  animation: heroLightSweepOne 6.8s ease-in-out infinite;
}

.hero-pulse-two {
  left: 76%;
  top: 54%;
  width: 112px;
  opacity: 0.42;
  animation: heroLightSweepTwo 7.4s ease-in-out 0.8s infinite;
}

.hero-spark {
  z-index: 6;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 5%, rgba(147, 197, 253, 0.54) 6% 10%, transparent 28%),
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.72) 48% 52%, transparent 58% 100%),
    linear-gradient(0deg, transparent 0 42%, rgba(255, 255, 255, 0.72) 48% 52%, transparent 58% 100%);
  box-shadow:
    0 0 20px rgba(96, 165, 250, 0.28),
    0 0 44px rgba(37, 99, 235, 0.13);
  opacity: 0.34;
  transform: rotate(0deg);
  will-change: transform;
}

.hero-spark::after {
  display: none;
}

.hero-spark-one {
  left: 58%;
  top: 30%;
  animation: heroGlintOne 5.8s ease-in-out 0.2s infinite;
}

.hero-spark-two {
  left: 74%;
  top: 33%;
  width: 28px;
  height: 28px;
  animation: heroGlintTwo 6.4s ease-in-out 0.9s infinite;
}

.hero-spark-three {
  left: 88%;
  top: 62%;
  width: 26px;
  height: 26px;
  opacity: 0.4;
  animation: heroGlintThree 7s ease-in-out 1.1s infinite;
}

@keyframes heroLightSweepOne {
  0%,
  100% {
    opacity: 0.18;
    transform: translate3d(-18px, 10px, 0) rotate(-20deg) scaleX(0.75);
  }
  50% {
    opacity: 0.62;
    transform: translate3d(18px, -12px, 0) rotate(-20deg) scaleX(1);
  }
}

@keyframes heroLightSweepTwo {
  0%,
  100% {
    opacity: 0.12;
    transform: translate3d(22px, -12px, 0) rotate(16deg) scaleX(0.72);
  }
  50% {
    opacity: 0.5;
    transform: translate3d(-18px, 14px, 0) rotate(16deg) scaleX(1.05);
  }
}

@keyframes heroGlintOne {
  0%,
  100% {
    opacity: 0.16;
    transform: translate3d(0, 0, 0) scale(0.72);
  }
  50% {
    opacity: 0.58;
    transform: translate3d(-8px, 10px, 0) scale(1);
  }
}

@keyframes heroGlintTwo {
  0%,
  100% {
    opacity: 0.14;
    transform: translate3d(0, 0, 0) scale(0.7);
  }
  50% {
    opacity: 0.5;
    transform: translate3d(10px, -8px, 0) scale(0.96);
  }
}

@keyframes heroGlintThree {
  0%,
  100% {
    opacity: 0.1;
    transform: translate3d(0, 0, 0) scale(0.68);
  }
  50% {
    opacity: 0.44;
    transform: translate3d(-8px, -12px, 0) scale(0.94);
  }
}

@keyframes heroVisualFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes heroHubBloom {
  0%,
  100% {
    opacity: 0.46;
    transform: translate3d(-50%, -50%, 0) scale(0.94);
  }
  48% {
    opacity: 0.78;
    transform: translate3d(-50%, -50%, 0) scale(1.12);
  }
}

@keyframes heroCubeGlow {
  0%,
  100% {
    opacity: 0.34;
    transform: translate3d(-50%, -50%, 0) scale(0.94);
  }
  48% {
    opacity: 0.62;
    transform: translate3d(-50%, -50%, 0) scale(1.08);
  }
}

@keyframes heroLightRing {
  from {
    transform: rotateX(62deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(62deg) rotateZ(360deg);
  }
}

@keyframes heroOrbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroOrbitSpinReverse {
  from {
    transform: rotateX(58deg) rotate(0deg);
  }
  to {
    transform: rotateX(58deg) rotate(-360deg);
  }
}

@keyframes heroOrbitFade {
  0%,
  100% {
    opacity: 0.28;
  }
  50% {
    opacity: 0.56;
  }
}

@keyframes heroFloatingCubes {
  0%,
  100% {
    opacity: 0.48;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.78;
    transform: translate3d(4px, -7px, 0);
  }
}

@keyframes heroParticles {
  0%,
  100% {
    opacity: 0.16;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.24;
    transform: translate3d(5px, -7px, 0);
  }
}

@keyframes heroPlatformAura {
  0%,
  100% {
    opacity: 0.32;
    transform: translate3d(0, 2px, 0);
  }
  50% {
    opacity: 0.48;
    transform: translate3d(0, -2px, 0);
  }
}

@keyframes heroCubeShimmer {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: skewX(-18deg) translateX(-26%);
  }
  68% {
    opacity: 0.2;
  }
  82% {
    opacity: 0;
    transform: skewX(-18deg) translateX(34%);
  }
}

@keyframes heroGlassSweep {
  0%,
  64%,
  100% {
    opacity: 0;
    transform: translateX(-48%) rotate(-9deg);
  }
  74% {
    opacity: 0.16;
  }
  88% {
    opacity: 0;
    transform: translateX(76%) rotate(-9deg);
  }
}

@keyframes heroTravelPulseOne {
  0%,
  68%,
  100% {
    opacity: 0;
    transform: rotate(-33deg) translateX(0) scaleX(0.12);
  }
  78% {
    opacity: 0.38;
  }
  92% {
    opacity: 0;
    transform: rotate(-33deg) translateX(170%) scaleX(1);
  }
}

@keyframes heroTravelPulseTwo {
  0%,
  62%,
  100% {
    opacity: 0;
    transform: rotate(0deg) translateX(0) scaleX(0.12);
  }
  74% {
    opacity: 0.3;
  }
  90% {
    opacity: 0;
    transform: rotate(0deg) translateX(190%) scaleX(1);
  }
}

@keyframes heroTravelPulseThree {
  0%,
  66%,
  100% {
    opacity: 0;
    transform: rotate(44deg) translateX(0) scaleX(0.12);
  }
  76% {
    opacity: 0.28;
  }
  92% {
    opacity: 0;
    transform: rotate(44deg) translateX(185%) scaleX(1);
  }
}

.hero-fx-ring,
.hero-fx-cube,
.hero-fx-particles,
.hero-fx-orbit,
.hero-fx-cubes,
.hero-fx-shimmer,
.hero-pulse,
.hero-spark {
  display: none;
}

.hero-fx-backdrop {
  inset: -2% -4% -4% -2%;
  background:
    radial-gradient(ellipse at 58% 50%, rgba(37, 99, 235, 0.22) 0%, rgba(96, 165, 250, 0.16) 34%, transparent 72%),
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.34) 42%, transparent 66%);
  filter: blur(16px);
  opacity: 1;
  animation: heroAuroraDrift 11s ease-in-out infinite;
}

.hero-fx-bloom {
  z-index: 2;
  width: 38%;
  height: 38%;
  left: 56%;
  top: 49%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72) 0%, rgba(96, 165, 250, 0.34) 28%, rgba(37, 99, 235, 0.14) 48%, transparent 72%);
  filter: blur(18px);
  opacity: 0.82;
  animation: heroSoftBreath 4.6s ease-in-out infinite;
}

.hero-fx-platforms {
  z-index: 1;
  filter: blur(18px);
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 36% 25%, rgba(37, 99, 235, 0.14) 0 7%, transparent 15%),
    radial-gradient(ellipse at 76% 25%, rgba(37, 99, 235, 0.12) 0 7%, transparent 15%),
    radial-gradient(ellipse at 22% 53%, rgba(37, 99, 235, 0.11) 0 8%, transparent 16%),
    radial-gradient(ellipse at 83% 55%, rgba(37, 99, 235, 0.11) 0 8%, transparent 16%),
    radial-gradient(ellipse at 43% 80%, rgba(37, 99, 235, 0.12) 0 9%, transparent 17%),
    radial-gradient(ellipse at 72% 82%, rgba(37, 99, 235, 0.12) 0 9%, transparent 17%);
  animation: heroDepthBreath 9s ease-in-out infinite;
}

.hero-fx-glass {
  z-index: 6;
  width: 52%;
  height: 90%;
  left: 24%;
  top: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.34) 46%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-55%) rotate(-8deg);
  animation: heroSoftSheen 8.5s ease-in-out infinite;
}

.hero-fx-pulse {
  z-index: 5;
  width: 25%;
  height: 3px;
  left: 55%;
  top: 52%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), rgba(96, 165, 250, 0.28), transparent);
  box-shadow: 0 0 22px rgba(96, 165, 250, 0.28);
  opacity: 0;
}

.hero-fx-pulse-one {
  animation: heroCleanPulseOne 5.2s ease-in-out infinite;
}

.hero-fx-pulse-two {
  animation: heroCleanPulseTwo 6s ease-in-out 1.8s infinite;
}

@keyframes heroAuroraDrift {
  0%,
  100% {
    opacity: 0.72;
    transform: translate3d(-4px, 3px, 0) scale(0.98);
  }
  50% {
    opacity: 0.95;
    transform: translate3d(6px, -4px, 0) scale(1.03);
  }
}

@keyframes heroSoftBreath {
  0%,
  100% {
    opacity: 0.42;
    transform: translate3d(-50%, -50%, 0) scale(0.94);
  }
  50% {
    opacity: 0.72;
    transform: translate3d(-50%, -50%, 0) scale(1.08);
  }
}

@keyframes heroDepthBreath {
  0%,
  100% {
    opacity: 0.3;
    transform: translate3d(0, 2px, 0);
  }
  50% {
    opacity: 0.46;
    transform: translate3d(0, -2px, 0);
  }
}

@keyframes heroSoftSheen {
  0%,
  62%,
  100% {
    opacity: 0;
    transform: translateX(-55%) rotate(-8deg);
  }
  72% {
    opacity: 0.2;
  }
  88% {
    opacity: 0;
    transform: translateX(95%) rotate(-8deg);
  }
}

@keyframes heroCleanPulseOne {
  0%,
  68%,
  100% {
    opacity: 0;
    transform: rotate(-31deg) translateX(0) scaleX(0.2);
  }
  78% {
    opacity: 0.34;
  }
  94% {
    opacity: 0;
    transform: rotate(-31deg) translateX(155%) scaleX(0.92);
  }
}

@keyframes heroCleanPulseTwo {
  0%,
  68%,
  100% {
    opacity: 0;
    transform: rotate(30deg) translateX(0) scaleX(0.2);
  }
  78% {
    opacity: 0.28;
  }
  94% {
    opacity: 0;
    transform: rotate(30deg) translateX(145%) scaleX(0.86);
  }
}

@keyframes heroImageGlow {
  0%,
  100% {
    filter:
      drop-shadow(0 24px 32px rgba(37, 99, 235, 0.14))
      drop-shadow(0 0 14px rgba(96, 165, 250, 0.14));
  }
  50% {
    filter:
      drop-shadow(0 30px 42px rgba(37, 99, 235, 0.22))
      drop-shadow(0 0 28px rgba(96, 165, 250, 0.24));
  }
}

/* Visible hero illustration effect layer */
.clean-home .hero-visual::after {
  content: "";
  position: absolute;
  z-index: 7;
  left: 49%;
  top: 38%;
  width: 22%;
  aspect-ratio: 1;
  display: block;
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 6%, rgba(98, 188, 255, 0.46) 7% 24%, rgba(37, 99, 235, 0.16) 25% 44%, transparent 66%);
  box-shadow:
    0 0 26px rgba(255, 255, 255, 0.46),
    0 0 54px rgba(96, 165, 250, 0.34);
  mix-blend-mode: screen;
  opacity: 0.74;
  transform: translate(-50%, -50%);
  animation: heroVisibleCorePulse 3.8s ease-in-out infinite;
}

.hero-fx-bloom {
  z-index: 6;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.hero-fx-glass {
  z-index: 8;
}

.hero-fx-pulse {
  z-index: 8;
  height: 4px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), rgba(72, 168, 255, 0.62), transparent);
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.5),
    0 0 30px rgba(37, 99, 235, 0.38);
}

.hero-fx-pulse-one {
  left: 51%;
  top: 43%;
  transform-origin: left center;
  animation: heroVisiblePulseOne 4s ease-in-out infinite;
}

.hero-fx-pulse-two {
  left: 51%;
  top: 48%;
  transform-origin: left center;
  animation: heroVisiblePulseTwo 4.8s ease-in-out 1.2s infinite;
}

@keyframes heroVisibleCorePulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.86);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.14);
  }
}

@keyframes heroVisiblePulseOne {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: rotate(-28deg) translateX(0) scaleX(0.2);
  }
  72% {
    opacity: 0.72;
  }
  92% {
    opacity: 0;
    transform: rotate(-28deg) translateX(145%) scaleX(1);
  }
}

@keyframes heroVisiblePulseTwo {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: rotate(31deg) translateX(0) scaleX(0.2);
  }
  72% {
    opacity: 0.58;
  }
  92% {
    opacity: 0;
    transform: rotate(31deg) translateX(140%) scaleX(0.94);
  }
}

/* Center cube only effect */
.clean-home .hero-visual {
  animation: none;
}

.clean-home .hero-visual::after,
.hero-fx,
.hero-pulse,
.hero-spark {
  display: none !important;
}

.hero-illustration {
  filter: none;
  animation: none;
}

.hero-cube-focus {
  position: absolute;
  z-index: 8;
  left: 56%;
  top: 46%;
  width: clamp(74px, 10vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 6%, rgba(125, 211, 252, 0.58) 7% 24%, rgba(37, 99, 235, 0.24) 25% 48%, transparent 70%);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.58),
    0 0 42px rgba(96, 165, 250, 0.42),
    0 0 76px rgba(37, 99, 235, 0.24);
  mix-blend-mode: screen;
  opacity: 0.72;
  transform: translate(-50%, -50%) scale(0.92);
  animation: heroCubeOnlyPulse 3.4s ease-in-out infinite;
}

.hero-cube-focus::before,
.hero-cube-focus::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.54);
  opacity: 0;
  animation: heroCubeOnlyRing 3.4s ease-out infinite;
}

.hero-cube-focus::after {
  animation-delay: 1.2s;
}

@keyframes heroCubeOnlyPulse {
  0%,
  100% {
    opacity: 0.48;
    transform: translate(-50%, -50%) scale(0.86);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes heroCubeOnlyRing {
  0% {
    opacity: 0.56;
    transform: scale(0.76);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@media (max-width: 1280px) {
  .clean-home .site-nav,
  .clean-home .hero {
    width: min(calc(100% - 24px), 1240px);
  }

  .clean-home .site-nav {
    min-height: 72px;
    padding-inline: 40px;
  }

  .clean-home .site-nav .nav-menu {
    gap: 18px;
  }

  .clean-home .site-nav .nav-menu a,
  .clean-home .site-nav .nav-dropdown summary {
    font-size: 10px;
  }

  .clean-home .hero {
    padding-inline: 40px;
  }

  .clean-home .hero-grid {
    grid-template-columns: minmax(390px, 0.45fr) minmax(480px, 0.55fr);
    gap: clamp(10px, 1.6vw, 24px);
  }

  .clean-home .hero h1 {
    font-size: clamp(32px, 3.2vw, 44px);
  }
}

@media (max-width: 980px) {
  .clean-home .site-nav,
  .clean-home .hero {
    width: min(100% - 28px, 760px);
  }

  .clean-home .site-nav {
    margin-top: 10px;
  }

  .clean-home .site-nav {
    min-height: 68px;
    padding-inline: 24px;
  }

  .clean-home .site-nav.menu-open .nav-menu {
    top: 68px;
    background: rgba(255, 255, 255, 0.98);
  }

  .clean-home .hero {
    padding: 26px 24px 30px;
  }

  .clean-home .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .clean-home .hero-copy {
    max-width: 100%;
  }

  .clean-home .hero h1 {
    max-width: 620px;
    font-size: clamp(32px, 6.4vw, 44px);
  }

  .clean-home .hero-copy p {
    max-width: 620px;
  }

  .clean-home .hero-visual {
    position: relative;
    inset: auto;
    justify-content: center;
    height: min(58vw, 360px);
    margin-top: -6px;
    pointer-events: none;
  }

  .clean-home .hero-visual::after {
    display: block;
    width: 24%;
  }

  .hero-illustration {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.4) 92%, transparent 100%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.42) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.42) 92%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.4) 92%, transparent 100%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.42) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.42) 92%, transparent 100%);
  }
}

@media (max-width: 560px) {
  .clean-home .site-nav {
    padding-inline: 18px;
  }

  .clean-home .brand-text strong {
    font-size: 19px;
  }

  .clean-home .hero {
    padding: 22px 18px 26px;
  }

  .clean-home .eyebrow {
    gap: 9px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .clean-home .eyebrow-word {
    width: auto;
    height: auto;
  }

  .clean-home .hero h1 {
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .clean-home .hero-copy p {
    margin: 40px 0 28px;
    font-size: 13px;
  }

  .clean-home .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .clean-home .hero-visual {
    height: min(66vw, 270px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-about-visual img,
  .ai-about-visual::after,
  .hero-illustration,
  .hero-cube-focus,
  .hero-fx,
  .hero-pulse,
  .hero-spark {
    animation: none !important;
  }

  .clean-home .hero-visual {
    transform: none !important;
    transition: none;
  }
}

/* ======================================================
   CAREERS — Premium SaaS section
   ====================================================== */

.ca-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 58px;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.ca-wrap {
  width: min(100% - 96px, 1220px);
  margin: 0 auto;
}

.ca-head {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}

.ca-head .ca-label {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.ca-head h2 {
  color: #0f172a;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.ca-values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}

.ca-value-card {
  min-height: 158px;
  padding: 22px 20px;
  border: 1px solid rgba(226, 235, 255, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(26, 63, 150, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ca-value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(26, 63, 150, 0.13);
}

.ca-value-card span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 13px;
  color: #2563eb;
  background: #eef4ff;
  font-size: 18px;
}

.ca-value-card h3 {
  margin-bottom: 9px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.ca-value-card p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

/* ---- Two-column grid ---- */
.ca-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  align-items: start;
}

.ca-left {
  min-width: 0;
}

.ca-right {
  min-width: 0;
}

/* ---- Shared label ---- */
.ca-label {
  display: block;
  margin-bottom: 8px;
  color: #2563EB;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---- Left heading ---- */
.ca-heading {
  margin-bottom: 14px;
  color: #0F172A;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ca-heading:hover,
.ca-heading:focus-visible {
  color: #2563EB;
  outline: none;
  transform: translateY(-1px);
}

/* ---- Filter pills ---- */
.ca-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ca-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid #E8EEF8;
  border-radius: 999px;
  background: #FFFFFF;
  color: #64748B;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.ca-pill:hover {
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.08);
}

.ca-pill.is-active {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37,99,235,0.2);
}

/* ---- Job cards ---- */
.ca-jobs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ca-jobs.is-highlighted .ca-job:not(.is-hidden) {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.1);
}

.ca-job {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 0 16px;
  border: 1px solid #E8EEF8;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37,99,235,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ca-job:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(37,99,235,0.08);
  background: #FAFCFF;
}

.ca-job.is-hidden {
  display: none;
}

.ca-extra-job {
  display: none;
}

.ca-jobs.show-extra .ca-extra-job {
  display: flex;
}

.ca-job-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ca-job-left strong {
  display: block;
  color: #0F172A;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.ca-job-left span {
  display: block;
  color: #64748B;
  font-size: 12px;
}

.ca-job-center {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748B;
  font-size: 12px;
  white-space: nowrap;
}

.ca-job-center i {
  color: #2563EB;
  font-size: 13px;
}

.ca-job-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ca-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #16A34A;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ca-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid #E8EEF8;
  border-radius: 50%;
  background: #FFFFFF;
  color: #2563EB;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.ca-job:hover .ca-arrow {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  transform: rotate(-45deg);
}

/* ---- View all link ---- */
.ca-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #2563EB;
  font-size: 13px;
  font-weight: 900;
  transition: gap 0.2s ease;
}

.ca-view-all:hover {
  gap: 14px;
}

.ca-view-all i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.ca-view-all:hover i {
  transform: translateX(3px);
}

/* ---- Right column — Benefits card ---- */
.ca-benefits-card {
  padding: 30px 30px 24px;
  border: 1px solid #E6EEF9;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.09), transparent 34%),
    #f8fbff;
  box-shadow: 0 20px 50px rgba(37,99,235,0.09);
}

.ca-benefits-heading {
  margin-bottom: 18px;
  color: #0F172A;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---- Benefit list ---- */
.ca-benefits-list {
  display: flex;
  flex-direction: column;
}

.ca-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #EDF2F7;
  color: #64748B;
  font-size: 13px;
  line-height: 1.4;
  transition: background 0.2s ease;
}

.ca-benefit-item:last-child {
  border-bottom: none;
}

.ca-benefit-item:hover {
  background: rgba(37, 99, 235, 0.04);
  margin: 0 -14px;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 14px;
}

.ca-benefit-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: #EEF4FF;
  color: #2563EB;
  font-size: 13px;
  transition: transform 0.25s ease;
}

.ca-benefit-item:hover .ca-benefit-icon {
  transform: scale(1.15);
}

/* ---- Benefits image ---- */
.ca-benefits-image {
  margin-top: 18px;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
}

.ca-benefits-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Bottom CTA banner ---- */
.ca-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 44px;
  padding: 34px 40px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 10%, rgba(96, 165, 250, 0.32), transparent 32%),
    linear-gradient(135deg, #0f3fbf 0%, #075cff 100%);
  color: #fff;
  box-shadow: 0 22px 56px rgba(7, 92, 255, 0.24);
}

.ca-banner-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.ca-banner-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  font-size: 22px;
}

.ca-banner-left h3 {
  margin-bottom: 4px;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  line-height: 1.2;
}

.ca-banner-left p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.6;
}

.ca-banner-right {
  text-align: right;
}

.ca-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ca-banner-btn:hover {
  background: #fff;
  color: #2563EB;
  transform: translateY(-2px);
}

.ca-banner-btn i {
  font-size: 13px;
  transition: transform 0.25s ease;
}

.ca-banner-btn:hover i {
  transform: translateX(3px);
}

/* ======================================================
   CONTACT — Premium SaaS section
   ====================================================== */

.cn-section {
  padding: 72px 0;
  background: #F8FAFF;
}

.cn-wrap {
  width: min(100% - 96px, 1240px);
  margin: 0 auto;
}

/* ---- Header ---- */
.cn-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.cn-label {
  display: block;
  margin-bottom: 12px;
  color: #2563EB;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.cn-head h2 {
  margin-bottom: 12px;
  color: #0F172A;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.cn-head p {
  max-width: 580px;
  color: #64748B;
  font-size: 15px;
  line-height: 1.65;
}

/* ---- Two-column grid ---- */
.cn-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* ---- Left — Info cards ---- */
.cn-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cn-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #E6EEF9;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37,99,235,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cn-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37,99,235,0.07);
}

.cn-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #EEF4FF;
  color: #2563EB;
  font-size: 12px;
  line-height: 1;
}

.cn-card strong {
  display: block;
  margin-bottom: 1px;
  color: #0F172A;
  font-size: 12px;
  font-weight: 700;
}

.cn-card > div > span {
  display: block;
  color: #64748B;
  font-size: 12px;
  line-height: 1.45;
}

/* ---- Right — Form ---- */
.cn-form-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cn-form {
  padding: 32px;
  border: 1px solid #E6EEF9;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37,99,235,0.04);
}

.cn-form h3 {
  margin-bottom: 20px;
  color: #0F172A;
  font-size: 20px;
  font-weight: 700;
}

.cn-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cn-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  color: #0F172A;
  font-size: 13px;
  font-weight: 600;
}

.cn-form input,
.cn-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E6EEF9;
  border-radius: 12px;
  background: #F8FAFF;
  color: #0F172A;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  font-family: inherit;
}

.cn-form input:focus,
.cn-form textarea:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: #FFFFFF;
}

.cn-form input::placeholder,
.cn-form textarea::placeholder {
  color: #94A3B8;
}

.cn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
}

.cn-submit:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37,99,235,0.2);
}

.cn-submit i {
  font-size: 14px;
  transition: transform 0.25s ease;
}

.cn-submit:hover i {
  transform: translateX(3px);
}

/* ---- Map placeholder ---- */
.cn-map {
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E6EEF9;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37,99,235,0.04);
}

.cn-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  color: #2563EB;
  background:
    radial-gradient(circle at 30% 20%, rgba(37,99,235,0.06), transparent 40%),
    linear-gradient(135deg, #EEF4FF 0%, #F8FAFF 100%);
  font-size: 14px;
  font-weight: 600;
}

.cn-map-placeholder i {
  font-size: 32px;
  opacity: 0.5;
}

/* ---- Contact reference layout refresh ---- */
.cn-section {
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 82% 6%, rgba(96, 165, 250, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.cn-wrap {
  width: min(100% - 64px, 1240px);
}

.cn-hero {
  display: grid;
  grid-template-columns: minmax(440px, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(38px, 5vw, 82px);
  align-items: center;
  min-height: 320px;
  margin-bottom: 30px;
  padding: 10px 0 4px;
}

.cn-head {
  max-width: 610px;
  margin: 0;
}

.cn-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.cn-head h2 {
  max-width: 540px;
  margin-bottom: 16px;
  color: #071641;
  font-size: clamp(30px, 3.55vw, 52px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.cn-head h2 span {
  color: #2563eb;
}

.cn-head p {
  max-width: 520px;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
}

.cn-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.cn-trust-row div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  min-width: 0;
}

.cn-trust-row i {
  grid-row: span 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: #2563eb;
  background: #eef4ff;
}

.cn-trust-row strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.cn-trust-row span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.cn-hero-art {
  position: relative;
  min-height: 300px;
}

.cn-hero-art::before {
  content: "";
  position: absolute;
  inset: 9% 0 4% 8%;
  border-radius: 44% 56% 48% 52%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22), transparent 67%);
  filter: blur(16px);
}

.cn-hero-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(88%, 560px);
  max-width: none;
  margin: -18px 0 -24px auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(37, 99, 235, 0.16));
}

.cn-grid {
  grid-template-columns: minmax(310px, 0.72fr) minmax(560px, 1.28fr);
  gap: 26px;
  align-items: stretch;
}

.cn-info {
  gap: 14px;
}

.cn-card {
  align-items: center;
  gap: 26px;
  min-height: 146px;
  padding: 26px 32px;
  border-color: rgba(226, 235, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(26, 63, 150, 0.07);
}

.cn-card-icon {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border-radius: 50%;
  place-items: center;
  margin-top: 0;
  line-height: 1;
  font-size: 28px;
  color: #5f7190;
  background: #eef4ff;
}

.cn-card-icon i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 1em;
  height: 1em;
  place-items: center;
  font-size: 28px;
  line-height: 1;
}

.cn-card > div {
  min-width: 0;
}

.cn-card strong {
  font-size: 20px;
  font-weight: 900;
}

.cn-card > div > span,
.cn-card > div > a {
  font-size: 16px;
  font-weight: 600;
}

.cn-card > div > a {
  display: block;
  color: #64748B;
  line-height: 1.45;
  text-decoration: none;
}

.cn-card > div > a:hover {
  color: #2563EB;
}

.cn-form {
  height: 100%;
  padding: 30px 34px;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(26, 63, 150, 0.08);
}

.cn-form h3 {
  margin-bottom: 4px;
  font-size: 24px;
  font-weight: 900;
}

.cn-form > p {
  margin-bottom: 22px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.cn-form label {
  margin-bottom: 14px;
  color: transparent;
  font-size: 0;
}

.cn-form-row {
  gap: 14px;
}

.cn-form input,
.cn-form textarea {
  min-height: 48px;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
}

.cn-form input {
  height: 48px;
}

.cn-form textarea {
  min-height: 132px;
}

.cn-submit {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.cn-privacy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.cn-map {
  position: relative;
  height: 270px;
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(205, 222, 248, 0.9);
  background:
    radial-gradient(circle at 18% 30%, rgba(14, 165, 233, 0.16), transparent 19%),
    radial-gradient(circle at 78% 22%, rgba(37, 99, 235, 0.12), transparent 17%),
    radial-gradient(circle at 64% 72%, rgba(96, 165, 250, 0.13), transparent 20%),
    linear-gradient(90deg, rgba(148, 163, 184, 0.13) 1px, transparent 1px),
    linear-gradient(0deg, rgba(148, 163, 184, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, #eef8ff, #f8fbff);
  background-size: auto, auto, auto, 72px 72px, 72px 72px, auto;
  box-shadow: 0 20px 52px rgba(26, 63, 150, 0.1);
}

.cn-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.86) 12% 15%, transparent 15% 48%, rgba(255, 255, 255, 0.82) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 0 24%, rgba(255, 255, 255, 0.78) 24% 28%, transparent 28% 67%, rgba(255, 255, 255, 0.82) 67% 71%, transparent 71%);
  opacity: 0.8;
  pointer-events: none;
}

.cn-map::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 22% 42%, rgba(37, 99, 235, 0.12), transparent 6%),
    radial-gradient(circle at 72% 34%, rgba(37, 99, 235, 0.1), transparent 5%),
    radial-gradient(circle at 82% 64%, rgba(96, 165, 250, 0.12), transparent 6%);
  pointer-events: none;
}

.cn-map-card {
  position: absolute;
  z-index: 2;
  left: 38%;
  top: 50%;
  width: min(320px, calc(100% - 40px));
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(26, 63, 150, 0.14);
  transform: translate(-50%, -50%);
}

.cn-map-card > span,
.cn-map-pin {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2563eb;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26);
}

.cn-map-card > span {
  margin-bottom: 12px;
}

.cn-map-card strong {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.cn-map-card p {
  margin-bottom: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.cn-map-card a {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.cn-map-pin {
  position: absolute;
  z-index: 2;
  width: 36px;
  height: 36px;
}

.cn-map-pin-one {
  left: 63%;
  top: 34%;
}

.cn-map-pin-two {
  left: 78%;
  top: 58%;
}

.cn-talk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 26px 34px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
}

.cn-talk > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cn-talk > div > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #075cff;
  font-size: 22px;
  box-shadow: 0 18px 34px rgba(7, 92, 255, 0.22);
}

.cn-talk strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
}

.cn-talk p {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.cn-talk a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  color: #2563eb;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(26, 63, 150, 0.06);
}

/* ---- Careers responsive ---- */
@media (max-width: 1100px) {
  .cn-hero,
  .cn-grid {
    grid-template-columns: 1fr;
  }

  .cn-hero-art {
    min-height: 260px;
  }

  .cn-hero-art img {
    width: min(84%, 540px);
    margin: -18px auto -24px;
  }

  .ca-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .ca-grid {
    grid-template-columns: 1fr;
  }

  .ca-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
  }

  .ca-banner-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ca-banner-right {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .ca-section {
    padding: 52px 0;
  }

  .ca-wrap {
    width: min(100% - 32px, 620px);
  }

  .ca-values {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

  .ca-value-card {
    min-height: auto;
  }

  .ca-heading {
    font-size: 32px;
  }

  .ca-benefits-heading {
    font-size: 28px;
  }

  .ca-job {
    flex-wrap: wrap;
    min-height: auto;
    padding: 18px 20px;
    gap: 10px;
  }

  .ca-job-center {
    width: 100%;
  }

  .ca-banner {
    padding: 28px 20px;
  }

  .cn-grid {
    grid-template-columns: 1fr;
  }

  .cn-section {
    padding: 52px 0;
  }

  .cn-wrap {
    width: min(100% - 32px, 620px);
  }

  .cn-hero {
    min-height: auto;
    gap: 16px;
    margin-bottom: 24px;
  }

  .cn-head h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .cn-trust-row {
    grid-template-columns: 1fr;
  }

  .cn-hero-art {
    min-height: 220px;
  }

  .cn-hero-art img {
    width: min(86%, 420px);
    margin: -10px auto -18px;
  }

  .cn-card,
  .cn-form {
    padding: 22px;
  }

  .cn-form-row {
    grid-template-columns: 1fr;
  }

  .cn-map {
    height: 320px;
  }

  .cn-map-card {
    left: 50%;
    width: min(300px, calc(100% - 32px));
    padding: 20px;
  }

  .cn-map-pin-one {
    left: 14%;
    top: 16%;
  }

  .cn-map-pin-two {
    left: 80%;
    top: 70%;
  }

  .cn-talk {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .cn-talk a {
    justify-content: center;
  }
}

/* ======================================================
   Unified legal page styles
   Source: legal.css
   ====================================================== */
body:has(.legal-main) {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 5%, rgba(211, 226, 255, 0.7) 0 8%, transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
}

body:has(.legal-main) a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

body:has(.legal-main) a:hover {
  color: #0d3fcc;
}
/* ---- Header ---- */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 5vw, 80px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(37, 92, 244, 0.1);
  box-shadow: 0 4px 24px rgba(26, 63, 150, 0.08);
  backdrop-filter: blur(18px);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}
.legal-back:hover { color: var(--blue); gap: 14px; }

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(37, 92, 244, 0.08);
  border: 1px solid rgba(37, 92, 244, 0.18);
  font-size: 12px;
  font-weight: 800;
}

/* ---- Main layout ---- */
.legal-main { padding: 42px 0 88px; }

.legal-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 28px 40px;
  width: min(100% - 56px, 1380px);
  margin: 0 auto;
  align-items: start;
}

/* ---- Hero ---- */
.legal-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, 420px) 3px minmax(460px, 575px);
  justify-content: center;
  column-gap: 36px;
  align-items: center;
  margin-bottom: 36px;
  padding: 44px 56px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(37, 92, 244, 0.07) 0%, rgba(37, 92, 244, 0.025) 14%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(270deg, rgba(37, 92, 244, 0.045) 0%, rgba(255, 255, 255, 0) 28%),
    #fff;
  animation: legalHeroFadeUp 0.72s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.legal-hero-title {
  padding-left: 24px;
  border-left: 6px solid #2563EB;
}

.legal-hero h1 {
  max-width: 380px;
  margin: 0;
  color: #0F172A;
  font-size: clamp(3rem, 4.25vw, 3.75rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.legal-hero-divider {
  display: block;
  width: 3px;
  height: 148px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.9) 18%, rgba(14, 165, 255, 0.85) 82%, rgba(37, 99, 235, 0));
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.26);
  animation: legalDividerFade 0.72s ease both 0.12s;
}

.legal-doc-info {
  display: grid;
  justify-self: start;
  width: min(100%, 575px);
  gap: 14px;
  margin: 0;
  padding: 24px;
  border: 2px solid #2563EB;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.legal-doc-info div {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  color: #334155;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  animation: legalDetailFadeUp 0.5s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.legal-doc-info div::before {
  content: none;
}

.legal-doc-info div:nth-child(1) { animation-delay: 0.18s; }
.legal-doc-info div:nth-child(2) { animation-delay: 0.24s; }
.legal-doc-info div:nth-child(3) { animation-delay: 0.3s; }
.legal-doc-info div:nth-child(4) { animation-delay: 0.36s; }
.legal-doc-info div:nth-child(5) { animation-delay: 0.42s; }

.legal-doc-info dt {
  grid-column: 1;
  color: #64748B;
  font-weight: 600;
}

.legal-doc-info dd {
  grid-column: 2;
  margin: 0;
  color: #0F172A;
  font-weight: 500;
}

@keyframes legalHeroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes legalDividerFade {
  from { opacity: 0; transform: scaleY(0.72); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes legalDetailFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Table of Contents ---- */
.legal-toc {
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 112px);
  margin-bottom: 0;
  padding: 20px 18px;
  overflow-y: auto;
  border: 1px solid rgba(222, 232, 255, 0.94);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(26, 63, 150, 0.08);
  backdrop-filter: blur(18px);
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 92, 244, 0.38) transparent;
}

.legal-toc h2 {
  display: block;
  margin-bottom: 18px;
  padding: 0 4px 14px;
  border-bottom: 1px solid rgba(37, 92, 244, 0.12);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.legal-toc h2 i {
  display: none;
}

.legal-toc ol {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 0;
  list-style: none;
}

.legal-toc li {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--muted);
}

.legal-toc a {
  position: relative;
  display: block;
  padding: 10px 12px 10px 16px;
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.legal-toc a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}

.legal-toc a:hover {
  color: var(--blue);
  background: rgba(37, 92, 244, 0.06);
  transform: translateX(2px);
}

.legal-toc a.is-active {
  color: var(--blue);
  background: linear-gradient(135deg, rgba(37, 92, 244, 0.11), rgba(14, 165, 255, 0.07));
}

.legal-toc a.is-active::before { background: var(--blue); }

/* ---- Body sections ---- */
.legal-body {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(222, 232, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(26, 63, 150, 0.07);
  overflow: hidden;
}

.legal-body section {
  padding: 32px 40px;
  border-bottom: 1px solid rgba(37, 92, 244, 0.07);
  scroll-margin-top: 96px;
}

.legal-body section:last-of-type { border-bottom: none; }

.legal-body section.is-revealing {
  animation: legalSectionReveal 0.58s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

@keyframes legalSectionReveal {
  from {
    opacity: 0.2;
    transform: translate3d(18px, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.legal-body h2 {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(37, 92, 244, 0.08);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.sec-num {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 8px;
  background: rgba(37, 92, 244, 0.09);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.legal-body p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.legal-body p:last-child { margin-bottom: 0; }

.legal-body ul,
.legal-body ol {
  list-style: none;
  padding: 0;
  margin: 12px 0 4px;
}

.legal-body ul li,
.legal-body ol li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid rgba(37, 92, 244, 0.05);
}
.legal-body ul li:last-child,
.legal-body ol li:last-child { border-bottom: none; }

.legal-body ul li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
  flex-shrink: 0;
}

.legal-body ol { counter-reset: li; }
.legal-body ol li { counter-increment: li; }
.legal-body ol li::before {
  content: counter(li);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(37, 92, 244, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---- Cards ---- */
.legal-card {
  margin: 16px 0;
  padding: 22px 24px;
  border: 1px solid rgba(222, 232, 255, 0.9);
  border-left: 3px solid var(--blue);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.legal-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26, 63, 150, 0.09); }
.legal-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.legal-card h3 i { color: var(--blue); font-size: 15px; }
.legal-card ul { margin: 8px 0 0; }

/* ---- Contact card ---- */
.legal-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 20px 0;
  padding: 20px 24px;
  border: 1px solid rgba(37, 92, 244, 0.16);
  border-radius: 14px;
  background: rgba(37, 92, 244, 0.04);
}
.legal-contact-card > i {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 17px;
  background: linear-gradient(135deg, var(--blue), #0ea5ff);
  box-shadow: 0 8px 20px rgba(37, 92, 244, 0.22);
}
.legal-contact-card strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 15px; }
.legal-contact-card p { margin-bottom: 5px !important; font-size: 13px !important; line-height: 1.5 !important; }
.legal-contact-card a { font-size: 14px; font-weight: 700; }

/* ---- Highlight callout ---- */
.legal-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  border-left: 4px solid var(--blue);
  background: rgba(37, 92, 244, 0.06);
}
.legal-highlight > i { color: var(--blue); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.legal-highlight p { margin: 0 !important; color: var(--ink) !important; font-weight: 700; font-size: 14px !important; line-height: 1.6 !important; }

/* ---- Version History Table ---- */
.legal-version-table {
  padding: 28px 40px 36px;
  border-top: 1px solid rgba(37, 92, 244, 0.07);
  background: rgba(248, 251, 255, 0.7);
}
.legal-version-table h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.legal-version-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
  border: 1px solid rgba(37, 92, 244, 0.12);
  border-radius: 12px;
  overflow: hidden;
}
.legal-version-table thead {
  background: linear-gradient(135deg, rgba(37,92,244,0.07), rgba(14,165,255,0.05));
}
.legal-version-table th {
  padding: 12px 16px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(37, 92, 244, 0.12);
}
.legal-version-table th:first-child  { width: 100px; }
.legal-version-table th:nth-child(2) { width: 180px; }
.legal-version-table td {
  padding: 13px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(37, 92, 244, 0.05);
  vertical-align: middle;
  word-break: break-word;
}
.legal-version-table tbody tr:last-child td { border-bottom: none; }
.legal-version-table tbody tr:hover td { background: rgba(37, 92, 244, 0.025); }
.legal-version-table td:first-child { font-weight: 800; color: var(--blue); }

/* ---- Related docs ---- */
.legal-related {
  grid-column: 2;
  margin-top: 40px;
  padding: 26px 30px;
  border: 1px solid rgba(222, 232, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 32px rgba(26, 63, 150, 0.06);
}
.legal-related h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.legal-related-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-related-grid a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(37, 92, 244, 0.2);
  border-radius: 11px;
  color: var(--blue);
  background: rgba(37, 92, 244, 0.05);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.legal-related-grid a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 92, 244, 0.22);
  border-color: var(--blue);
}

/* ---- Placeholder ---- */
.legal-placeholder {
  padding: 60px 32px;
  text-align: center;
  border: 2px dashed rgba(37, 92, 244, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
}
.legal-placeholder > i { display: block; font-size: 46px; color: var(--blue); opacity: 0.35; margin-bottom: 18px; }
.legal-placeholder h2 { margin-bottom: 12px; color: var(--ink); font-size: 1.35rem; font-weight: 800; }
.legal-placeholder p { max-width: 500px; margin: 0 auto 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* ---- Footer ---- */
.legal-footer {
  padding: 26px clamp(20px, 5vw, 80px);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid rgba(37, 92, 244, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .legal-main { padding-top: 28px; }

  .legal-wrap {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 760px);
    gap: 22px;
  }

  .legal-hero,
  .legal-related {
    grid-column: 1;
  }

  .legal-hero {
    grid-template-columns: minmax(220px, 0.82fr) 3px minmax(360px, 1.18fr);
    justify-content: stretch;
    column-gap: 24px;
    padding: 42px;
  }

  .legal-hero h1 {
    font-size: clamp(2.7rem, 6vw, 3.35rem);
  }

  .legal-doc-info div {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 16px;
    font-size: 15px;
  }

  .legal-toc {
    position: sticky;
    top: 64px;
    z-index: 20;
    max-height: none;
    padding: 14px 14px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 16px;
  }

  .legal-toc h2 {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .legal-toc ol {
    flex-direction: row;
    gap: 8px;
    min-width: max-content;
  }

  .legal-toc a {
    white-space: nowrap;
    padding: 9px 13px;
    border: 1px solid rgba(37, 92, 244, 0.12);
    background: rgba(248, 251, 255, 0.9);
  }

  .legal-toc a::before {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 4px;
    width: auto;
    height: 2px;
  }

  .legal-toc a:hover { transform: none; }
}

@media (max-width: 680px) {
  .legal-wrap { width: min(100% - 32px, 560px); }
  .legal-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 20px;
  }
  .legal-hero h1 {
    max-width: 320px;
    font-size: clamp(2.55rem, 11vw, 3.15rem);
    line-height: 0.98;
  }
  .legal-hero-divider {
    width: 100%;
    height: 3px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.9) 18%, rgba(14, 165, 255, 0.85) 82%, rgba(37, 99, 235, 0));
  }
  .legal-doc-info {
    width: 100%;
    gap: 12px;
    padding: 20px;
  }
  .legal-doc-info div {
    grid-template-columns: minmax(118px, 42%) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    font-size: 14px;
  }
  .legal-body section { padding: 24px 20px; }
  .legal-version-table { padding: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .legal-version-table table { min-width: 460px; table-layout: auto; }
  .legal-contact-card { flex-direction: column; gap: 12px; }
  .legal-related-grid { flex-direction: column; }
  .legal-related-grid a { justify-content: center; }
}

