:root {
  --pn-primary: #1f6fb2;
  --pn-secondary: #2cb7a5;
  --pn-ink: #1a2e44;
  --pn-soft: #f5f9fc;
  --pn-shadow: 0 12px 30px rgba(20, 58, 99, 0.08);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(31, 111, 178, 0.09), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(44, 183, 165, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbfe 0%, #f4f8fc 48%, #f7fbff 100%);
}

header,
body > nav.sticky.top-0 {
  background: linear-gradient(135deg, #11365a 0%, #1f6fb2 100%) !important;
  border-bottom: 1px solid rgba(158, 221, 255, 0.25) !important;
  box-shadow: 0 14px 30px rgba(11, 33, 57, 0.34);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, backdrop-filter 0.25s ease;
}

header.pn-header-scrolled {
  box-shadow: 0 16px 36px rgba(9, 26, 46, 0.44);
  background: linear-gradient(135deg, rgba(13, 46, 78, 0.98) 0%, rgba(31, 111, 178, 0.98) 100%) !important;
  backdrop-filter: blur(12px);
}

header a[href="index.html"]:not([class*="bg-"]),
body > nav.sticky.top-0 a[href="index.html"]:not([class*="bg-"]) {
  color: #ffffff !important;
  font-weight: 800 !important;
}

header nav a:not([class*="bg-"]),
body > nav.sticky.top-0 a:not([class*="bg-"]) {
  color: rgba(243, 250, 255, 0.9) !important;
  font-weight: 700 !important;
}

header nav a:hover:not([class*="bg-"]),
body > nav.sticky.top-0 a:hover:not([class*="bg-"]) {
  color: #b5f5eb !important;
}

header nav a.nav-active:not([class*="bg-"]),
body > nav.sticky.top-0 a.nav-active:not([class*="bg-"]) {
  color: #d2fff6 !important;
}

header a[href="index.html"] :is(h1, h2, h3, span),
body > nav.sticky.top-0 a[href="index.html"] :is(h1, h2, h3, span) {
  color: #ffffff !important;
}
main {
  position: relative;
}

section {
  position: relative;
}

section::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 111, 178, 0.14), transparent);
}

section:last-of-type::after {
  display: none;
}

section {
  background-clip: padding-box;
}

section:not([class*="bg-gradient"]):not([class*="from-"]):not([class*="to-"]):nth-of-type(odd) {
  background:
    linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%) !important;
}

section:not([class*="bg-gradient"]):not([class*="from-"]):not([class*="to-"]):nth-of-type(even) {
  background:
    linear-gradient(180deg, #eaf4ff 0%, #e5f6f2 100%) !important;
}

section::after {
  left: 3%;
  right: 3%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(31, 111, 178, 0),
    rgba(31, 111, 178, 0.3),
    rgba(44, 183, 165, 0.3),
    rgba(44, 183, 165, 0)
  );
}

.hero-gradient {
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(44, 183, 165, 0.14), transparent 35%),
    radial-gradient(circle at 22% 82%, rgba(31, 111, 178, 0.12), transparent 36%);
  pointer-events: none;
}

.hero-gradient::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -90px;
  top: -110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 111, 178, 0.18), rgba(31, 111, 178, 0));
  animation: pnAmbient 12s ease-in-out infinite;
  pointer-events: none;
}

a,
button {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

a[class*="rounded"],
button[class*="rounded"] {
  box-shadow: 0 8px 18px rgba(18, 52, 91, 0.1);
}

a[class*="rounded"]:hover,
button[class*="rounded"]:hover {
  transform: translateY(-3px);
}

[class~="bg-cta"],
[class~="bg-cta-green"],
[class~="bg-recovery-green"] {
  background-image: linear-gradient(135deg, #32c36c, #2cb7a5) !important;
  border: 0;
}

[class~="bg-cta"]:hover,
[class~="bg-cta-green"]:hover,
[class~="bg-recovery-green"]:hover {
  filter: brightness(1.04);
}

[class~="bg-white"][class~="border"],
[class~="bg-background-light"][class~="border"],
[class~="bg-slate-50"][class~="border"] {
  border-color: rgba(31, 111, 178, 0.14) !important;
  box-shadow: var(--pn-shadow);
}

[class~="bg-white"][class~="border"]:hover,
[class~="bg-background-light"][class~="border"]:hover,
[class~="bg-slate-50"][class~="border"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(20, 58, 99, 0.12);
}

img {
  filter: saturate(1.04) contrast(1.02);
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pn-primary), var(--pn-secondary));
  transition: width 0.22s ease;
}

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

nav a.nav-active {
  color: var(--pn-primary) !important;
}

.fx-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(8px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
  will-change: opacity, transform, filter;
}

.fx-reveal[data-fx="left"] {
  transform: translateX(-30px) scale(0.985);
}

.fx-reveal[data-fx="right"] {
  transform: translateX(30px) scale(0.985);
}

.fx-reveal.fx-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.fx-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fx-stagger.fx-in > * {
  opacity: 1;
  transform: translateY(0);
}

.fx-stagger.fx-in > *:nth-child(1) { transition-delay: 0.04s; }
.fx-stagger.fx-in > *:nth-child(2) { transition-delay: 0.1s; }
.fx-stagger.fx-in > *:nth-child(3) { transition-delay: 0.16s; }
.fx-stagger.fx-in > *:nth-child(4) { transition-delay: 0.22s; }
.fx-stagger.fx-in > *:nth-child(5) { transition-delay: 0.28s; }
.fx-stagger.fx-in > *:nth-child(6) { transition-delay: 0.34s; }

.pn-tilt {
  transform-style: preserve-3d;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pn-tilt:hover {
  box-shadow: 0 20px 40px rgba(18, 52, 91, 0.14);
}



.pn-glow {
  position: relative;
  overflow: hidden;
}

.pn-glow > * {
  position: relative;
  z-index: 1;
}

.pn-glow::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at var(--pn-mx, 50%) var(--pn-my, 50%), rgba(44, 183, 165, 0.18), rgba(44, 183, 165, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

.pn-glow:hover::before {
  opacity: 1;
}

.pn-pulse {
  animation: pnPulse 2.2s ease-in-out infinite;
}

.pn-float {
  animation: pnFloat 3.8s ease-in-out infinite;
}

.pn-magnetic {
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.pn-ripple-host {
  position: relative;
  overflow: hidden;
}

.pn-ripple {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  transform: scale(0);
  animation: pnRipple 0.65s ease-out forwards;
  pointer-events: none;
}

@keyframes pnPulse {
  0% { box-shadow: 0 0 0 0 rgba(50, 195, 108, 0.32); }
  70% { box-shadow: 0 0 0 14px rgba(50, 195, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(50, 195, 108, 0); }
}

@keyframes pnFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@keyframes pnRipple {
  0% { transform: scale(0); opacity: 0.45; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes pnAmbient {
  0% { transform: translate3d(0, 0, 0); opacity: 0.95; }
  50% { transform: translate3d(-22px, 18px, 0); opacity: 0.7; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.95; }
}

#pn-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--pn-primary), var(--pn-secondary));
  box-shadow: 0 2px 8px rgba(31, 111, 178, 0.35);
}

#pn-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--pn-primary), var(--pn-secondary));
  box-shadow: 0 16px 30px rgba(20, 58, 99, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

#pn-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pn-parallax {
  transform: translate3d(0, 0, 0);
  transition: transform 0.25s ease-out;
  will-change: transform;
}

@media (max-width: 760px) {
  main section::after {
    left: 2%;
    right: 2%;
  }

  #pn-to-top {
    right: 12px;
    bottom: 12px;
  }

  .hero-gradient::after {
    width: 250px;
    height: 250px;
    right: -70px;
    top: -80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}








.pn-brand-strong {
  font-weight: 800;
}



