/* ============================================================
   Next generation experience layer
   Corporate light theme, guided journey visuals, refined motion
   ============================================================ */

:root {
  --blue: #009FE3;
  --blue-deep: #006BB7;
  --blue-ink: #05345F;
  --green: #58B832;
  --green-deep: #3E8F23;
  --gold: #F6B400;
  --gold-deep: #B97800;
  --sky: #EAF8FF;
  --green-pale: #F3FAEF;
  --ink: #13243C;
  --muted: #64748B;
  --border: #DDE8F1;
  --paper: #F8FCFF;
  --grad-brand: linear-gradient(120deg, #00A7E8 0%, #26B9D5 44%, #64BE48 100%);
  --grad-cta: linear-gradient(120deg, #009FE3 0%, #19B9D2 48%, #58B832 100%);
  --grad-soft: linear-gradient(135deg, rgba(234,248,255,.92), rgba(255,255,255,.98) 54%, rgba(243,250,239,.9));
  --sh-xl: 0 30px 90px rgba(0, 92, 168, .13);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 84% -8%, rgba(0,159,227,.14), transparent 62%),
    radial-gradient(760px 480px at 6% 20%, rgba(88,184,50,.09), transparent 60%),
    linear-gradient(180deg, #fff 0%, #F9FDFF 46%, #fff 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .45;
  background-image:
    linear-gradient(rgba(0,92,168,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,92,168,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad-cta);
  box-shadow: 0 0 22px rgba(0,159,227,.28);
  transition: width .12s linear;
}

.nav {
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 40px rgba(0,92,168,.04);
}

.nav .wrap {
  max-width: 1320px;
}

.brand {
  padding: 8px 12px;
  border: 1px solid rgba(0,92,168,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.66);
}

.brand img {
  height: 34px;
}

.brand .ahi {
  height: 40px;
}

.btn-primary {
  color: #fff;
  background: var(--grad-cta);
  box-shadow: 0 16px 42px rgba(0,159,227,.22);
}

.btn-primary:hover {
  box-shadow: 0 20px 50px rgba(0,159,227,.3);
}

.btn-ghost,
.btn-white,
.btn-outline {
  background: rgba(255,255,255,.86) !important;
  color: var(--blue-deep) !important;
  border: 1px solid rgba(0,159,227,.18) !important;
  box-shadow: 0 12px 32px rgba(0,92,168,.06);
}

.btn-ghost:hover,
.btn-white:hover,
.btn-outline:hover {
  border-color: rgba(88,184,50,.45) !important;
  box-shadow: 0 18px 46px rgba(0,92,168,.1) !important;
}

.hero,
.dhero,
.fhero {
  background:
    radial-gradient(820px 500px at 78% 16%, rgba(0,159,227,.16), transparent 58%),
    radial-gradient(720px 480px at 8% 68%, rgba(88,184,50,.1), transparent 58%),
    linear-gradient(180deg, #fff 0%, #F7FCFF 100%);
}

.hero::before,
.dhero::before,
.fhero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .62;
  background:
    linear-gradient(110deg, transparent 0 32%, rgba(0,159,227,.1) 33%, transparent 34% 100%),
    linear-gradient(140deg, transparent 0 52%, rgba(88,184,50,.09) 53%, transparent 54% 100%);
  background-size: 180px 180px, 240px 240px;
  animation: routeTexture 18s linear infinite;
}

@keyframes routeTexture {
  to { background-position: 180px 0, -240px 0; }
}

.hero-inner,
.dhero-grid,
.fm-grid {
  position: relative;
  z-index: 2;
}

.hero h1,
.dhero h1,
.fhero h1 {
  color: var(--blue-ink);
  filter: drop-shadow(0 12px 26px rgba(0,92,168,.08));
}

.hero .lead,
.dhero .lead,
.fhero .lead {
  color: #56677F;
}

.hero-tags .tag,
.fhero-mini .m,
.dstat,
.sum-card,
.req,
.mdcard,
.pp-panel,
.impact-list .il {
  background: rgba(255,255,255,.78);
  border-color: rgba(0,92,168,.12);
  box-shadow: 0 18px 54px rgba(0,92,168,.07);
}

.hero-visual::before,
.dhero-route::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.22)),
    radial-gradient(circle at 50% 45%, rgba(0,159,227,.12), transparent 55%);
  border: 1px solid rgba(0,159,227,.1);
  box-shadow: var(--sh-xl);
  transform: rotate(-2deg);
}

.hero-visual,
.dhero-route,
.path-stage {
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .28s ease, box-shadow .28s ease;
}

.hero-visual::after,
.dhero-route::after,
.path-stage .path-card::after {
  pointer-events: none;
}

.path-stage {
  background:
    radial-gradient(circle at var(--glow-x, 26%) var(--glow-y, 22%), rgba(246,180,0,.16), transparent 28%),
    radial-gradient(circle at 78% 60%, rgba(88,184,50,.16), transparent 32%),
    rgba(255,255,255,.7);
}

.hero-bird,
.route,
.droute {
  position: relative;
}

.partner {
  background: rgba(255,255,255,.86);
}

.partner-inner {
  padding: 22px 28px;
  border: 1px solid rgba(0,92,168,.1);
  border-radius: 28px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 22px 70px rgba(0,92,168,.08);
}

.experience-path,
.institution-panel {
  padding: 96px 0;
  overflow: hidden;
}

.experience-path {
  background: linear-gradient(180deg, #fff 0%, #F7FCFF 100%);
}

.path-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.path-copy h2,
.institution-panel h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.path-copy p,
.institution-panel p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}

.path-stage {
  position: relative;
  min-height: 480px;
  border-radius: 38px;
  border: 1px solid rgba(0,159,227,.13);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}

.path-stage::before {
  content: "";
  position: absolute;
  inset: 54px;
  border-radius: 50%;
  border: 1px dashed rgba(0,159,227,.22);
  animation: spinSlow 80s linear infinite;
}

.path-stage::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,159,227,.12), rgba(0,159,227,.5), rgba(88,184,50,.5), rgba(246,180,0,.34));
  transform: rotate(-12deg);
}

.path-card {
  position: absolute;
  z-index: 2;
  width: min(250px, 72%);
  padding: 22px;
  border: 1px solid rgba(0,92,168,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 20px 64px rgba(0,92,168,.12);
  animation: driftSlow 7s ease-in-out infinite;
}

.path-card:nth-child(1) { top: 42px; left: 44px; }
.path-card:nth-child(2) { top: 172px; right: 50px; animation-delay: 1.1s; }
.path-card:nth-child(3) { bottom: 48px; left: 86px; animation-delay: 2.2s; }

.path-card span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--grad-cta);
  color: #fff;
  font: 800 15px/1 Manrope, system-ui, sans-serif;
}

.path-card h3 {
  margin-top: 14px;
  font-size: 20px;
}

.path-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

.path-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.path-metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,92,168,.12);
}

.path-metric b {
  display: block;
  color: var(--blue-deep);
  font: 800 28px/1 Manrope, system-ui, sans-serif;
}

.path-metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
}

.info-numside,
.oc.hero-cell,
.cta-inner,
.fpanel {
  background:
    radial-gradient(420px 220px at 88% 12%, rgba(0,159,227,.18), transparent 55%),
    linear-gradient(135deg, #FFFFFF 0%, #EAF8FF 54%, #F3FAEF 100%) !important;
  color: var(--blue-ink) !important;
  border: 1px solid rgba(0,92,168,.12);
}

.info-numside .big,
.oc.hero-cell h3,
.oc.hero-cell p,
.cta-inner h2,
.cta-inner p,
.fpanel h3,
.fpanel .pintro,
.fpl span,
.fpanel-trust {
  color: var(--blue-ink) !important;
}

.fpl .pic,
.finfo-box .ib {
  background: var(--grad-cta);
}

.fpl .pic svg,
.fpanel-trust svg {
  stroke: #fff !important;
}

.fpanel a,
.fpanel-trust a {
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-inner {
  box-shadow: var(--sh-xl);
}

.cta-birds .b {
  color: rgba(0,159,227,.24);
}

.institution-panel {
  background: #fff;
}

.institution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 34px;
}

.institution-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 176px;
  padding: 26px;
  border-radius: 30px;
  border: 1px solid rgba(0,92,168,.12);
  background: rgba(255,255,255,.82);
  box-shadow: 0 22px 70px rgba(0,92,168,.08);
  overflow: hidden;
}

.institution-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(0,159,227,.08);
}

.institution-card img {
  max-height: 66px;
  width: auto;
  position: relative;
  z-index: 1;
}

.institution-card h3 {
  font-size: 24px;
}

.institution-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.institution-card .btn {
  margin-top: 18px;
  padding: 11px 18px;
}

.footer a[href^="https://"] {
  font-weight: 600;
}

.footer-social a:hover {
  background: var(--sky);
  color: var(--blue-deep);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress span,
  .hero-visual,
  .dhero-route,
  .path-stage,
  .path-card,
  .path-stage::before,
  .hero::before,
  .dhero::before,
  .fhero::before {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .path-grid,
  .institution-grid {
    grid-template-columns: 1fr;
  }

  .path-stage {
    min-height: 430px;
  }

  .institution-card {
    grid-template-columns: 70px 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    border: 0;
    background: transparent;
    padding: 0;
  }

  .path-metrics {
    grid-template-columns: 1fr;
  }

  .path-stage {
    min-height: 520px;
  }

  .path-card {
    width: calc(100% - 48px);
  }

  .path-card:nth-child(1) { top: 30px; left: 24px; }
  .path-card:nth-child(2) { top: 188px; right: 24px; }
  .path-card:nth-child(3) { bottom: 34px; left: 24px; }

  .institution-card {
    grid-template-columns: 1fr;
  }

  .institution-card img {
    max-height: 58px;
  }
}
