/* PerfectMocks — Global Styles */
:root {
  --pm-primary: #2D4797;
  --pm-primary-50: #EEF1FB;
  --pm-primary-100: #DCE3F6;
  --pm-primary-600: #2D4797;
  --pm-primary-700: #233878;
  --pm-primary-900: #15224A;
  --pm-accent: #F59E0B;
  --pm-accent-600: #D97706;
  --pm-secondary: #14B8A6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

.font-display { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; letter-spacing: -0.02em; }

/* Animated gradient mesh */
.hero-mesh {
  background-image:
    radial-gradient(at 12% 8%, rgba(45, 72, 151, 0.18) 0px, transparent 50%),
    radial-gradient(at 88% 12%, rgba(245, 158, 11, 0.14) 0px, transparent 45%),
    radial-gradient(at 50% 100%, rgba(20, 184, 166, 0.12) 0px, transparent 50%);
}

/* Subtle dotted grid background */
.bg-grid {
  background-image: radial-gradient(rgba(45,72,151,0.10) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Animations */
@keyframes pm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pm-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pm-pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(45,72,151,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(45,72,151,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,72,151,0); }
}
@keyframes pm-shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
@keyframes pm-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.animate-float { animation: pm-float 5s ease-in-out infinite; }
.animate-fade-up { animation: pm-fade-up 0.8s ease forwards; }
.animate-pulse-ring { animation: pm-pulse-ring 2.2s cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-marquee { animation: pm-marquee 32s linear infinite; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Gradient text */
.text-gradient {
  background: linear-gradient(120deg, #2D4797 0%, #5B7BD8 50%, #14B8A6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Card lift */
.card-lift { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.card-lift:hover { transform: translateY(-6px); }

/* Glass */
.glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}

/* Hide-scroll util for marquee row */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Theme transition */
* { transition-property: background-color, border-color, color, fill, stroke; transition-duration: 200ms; }
