/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Core Styling & Custom Properties */
:root {
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --color-nordic-bg: #FAF9F6; /* Minimalist Nordic Warm White */
  --color-nordic-dark: #1E293B; /* Slate 800 */
  --color-nordic-dark-light: #334155; /* Slate 700 */
  --color-nordic-teal: #0D9488; /* Teal 600 */
  --color-nordic-teal-dark: #0F766E; /* Teal 700 */
  --color-nordic-teal-light: #CCFBF1; /* Teal 100 */
  --color-nordic-muted: #64748B; /* Slate 500 */
  --color-nordic-border: #E2E8F0; /* Slate 200 */
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-nordic-bg);
  color: var(--color-nordic-dark);
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-nordic-bg);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-nordic-teal);
}

/* Premium Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

.animate-pulse-soft {
  animation: pulse-soft 4s ease-in-out infinite;
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(250, 249, 246, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* Calculator Interactive Elements Styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 9999px;
  outline: none;
  transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-nordic-teal);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(13, 148, 136, 0.4);
  transition: transform 0.1s, background-color 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--color-nordic-teal-dark);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: var(--color-nordic-teal);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(13, 148, 136, 0.4);
  transition: transform 0.1s, background-color 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: var(--color-nordic-teal-dark);
}

/* Service Detail Cards & Why Us Hover */
.why-us-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-us-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

/* Engagement Model Map / Diagram Overlay */
.engagement-dot {
  position: relative;
}
.engagement-dot::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-nordic-teal);
  opacity: 0.8;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Custom Gradients */
.bg-nordic-gradient {
  background: linear-gradient(135deg, #FAF9F6 0%, #F1F5F9 100%);
}

.text-gradient-teal {
  background: linear-gradient(135deg, #0F766E 0%, #0D9488 50%, #2DD4BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes readiness-sweep {
  0% { transform: translateX(-120%) rotate(12deg); opacity: 0; }
  20%, 70% { opacity: .55; }
  100% { transform: translateX(420%) rotate(12deg); opacity: 0; }
}

@keyframes readiness-cta {
  0%, 100% { transform: translateY(0); box-shadow: 0 10px 20px rgba(13, 148, 136, .2); }
  50% { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(13, 148, 136, .32); }
}

@keyframes readiness-blink {
  0%, 100% { opacity: .45; transform: scale(.82); box-shadow: 0 0 0 0 rgba(94, 234, 212, .55); }
  45% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 7px rgba(94, 234, 212, 0); }
}

@keyframes readiness-orbit {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.04); }
  100% { transform: rotate(0deg) scale(1); }
}

@keyframes readiness-color-shift {
  0%, 100% { border-color: rgba(45, 212, 191, .75); }
  50% { border-color: rgba(180, 83, 9, .85); }
}

@keyframes readiness-cta-color {
  0%, 100% { background-color: #0D9488; }
  50% { background-color: #B45309; }
}

@keyframes readiness-insight {
  0%, 100% { opacity: .55; transform: translateY(2px); }
  50% { opacity: 1; transform: translateY(0); }
}

@keyframes readiness-bg-shift {
  0%, 100% { background-color: #0F172A; }
  50% { background-color: #134E4A; }
}

.readiness-banner { isolation: isolate; border: 1px solid rgba(45, 212, 191, .75); animation: readiness-color-shift 4s ease-in-out infinite, readiness-bg-shift 7s ease-in-out infinite; }
.readiness-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0;
  width: 70px;
  height: 180%;
  background: rgba(255, 255, 255, .18);
  filter: blur(14px);
  transform: translateX(-120%) rotate(12deg);
  animation: readiness-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

.readiness-cta { color: #fff !important; animation: readiness-cta 2.8s ease-in-out infinite, readiness-cta-color 4s ease-in-out infinite; }

.readiness-cta:hover { animation-play-state: paused; }

.readiness-status { animation: readiness-blink 1.8s ease-in-out infinite; }
.readiness-orbit { transform-origin: 82% 50%; animation: readiness-orbit 6s ease-in-out infinite; }
.readiness-insight { animation: readiness-insight 2.4s ease-in-out infinite; }
.readiness-title { clip-path:inset(0 100% 0 0); animation:readiness-type 6s steps(24, end) infinite; }

@keyframes readiness-type {
  0%, 8% { clip-path:inset(0 100% 0 0); }
  46%, 62% { clip-path:inset(0 0 0 0); }
  100% { clip-path:inset(0 100% 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .readiness-banner, .readiness-banner::after, .readiness-cta, .readiness-status, .readiness-orbit, .readiness-insight, .readiness-title { animation: none; clip-path:none; }
}
