/* ============================================
   NEXTNODE SOLUTIONS — PREMIUM DIGITAL EXPERIENCE
   Brand: #2A1B5A #5B4FE0 #38C0EE #F6F2FE #1E1450
   Fonts: Inter, Plus Jakarta Sans, Manrope
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* — Brand Colors — (rebranded: deep-violet base + pastel sky→lilac→pink gradient)
     Token NAMES kept so every existing rule picks up the new palette. The "dark"
     tokens are now deep violet (still dark → white text stays readable); the
     accent tokens are a vivid indigo + bright sky drawn from the brand gradient. */
  --navy: #2A1B5A;          /* deep violet — primary text & dark anchor */
  --blue: #7A4FE0;          /* vivid purple — primary accent (links, buttons) */
  --cyan: #29BEE6;          /* cyan — secondary accent / glows (gradient start) */
  --pink: #ED6FB3;          /* pink — tertiary accent (gradient middle) */
  --white: #FFFFFF;
  --light-bg: #F6F2FE;      /* soft lilac tint for light sections */
  --dark-section: #1E1450;  /* deep violet section */
  --navy-dark: #1A1140;     /* darkest violet */
  --navy-mid: #4632A6;      /* mid violet */
  --blue-glow: #5B4FE033;
  --cyan-glow: #38C0EE33;

  /* — Gradients — */
  /* Saturated gradient: used as fills behind WHITE UI (buttons, icon chips,
     accent bars) and as dark hero backgrounds — keep it dark→bright so white reads. */
  --grad-hero: linear-gradient(135deg, #2A1B5A 0%, #4632A6 35%, #5B4FE0 70%, #38C0EE 100%);
  --grad-dark: linear-gradient(165deg, #4A37A8 0%, #34268A 45%, #261A66 100%);
  /* Single consistent dark-anchor gradient — used by every dark section + footer
     so the purple bands all match (and aren't near-black). */
  --grad-anchor: linear-gradient(165deg, #4A37A8 0%, #34268A 45%, #261A66 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  --grad-glow: radial-gradient(ellipse at 30% 50%, rgba(91,79,224,0.15) 0%, transparent 60%);
  /* The actual brand gradient (pastel): CYAN → LIGHT-BLUE → PERIWINKLE → LIGHT
     PURPLE, with a soft pink-lilac at the end. For LIGHT backgrounds w/ dark text. */
  --grad-brand-soft: linear-gradient(120deg, #B3ECF7 0%, #B2D4FB 28%, #BCC6F4 54%, #CFBEF2 78%, #E6C2F2 100%);

  /* — Typography — */
  --font-display: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Poppins', 'Inter', sans-serif;
  --font-accent: 'Poppins', 'Inter', sans-serif;

  /* — Spacing — */
  --section-gap: 0;

  /* — Shadows — */
  --shadow-glass: 0 8px 32px rgba(42,27,90,0.15), 0 2px 8px rgba(0,0,0,0.08);
  --shadow-float: 0 20px 60px rgba(42,27,90,0.2), 0 8px 20px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(91,79,224,0.25), 0 0 80px rgba(56,192,238,0.1);

  /* — Transitions — */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-base: 0.4s var(--ease-out-expo);
  --transition-slow: 0.7s var(--ease-out-expo);

  /* — Radii — */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-full: 999px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: #1a2332;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   ANIMATIONS — Keyframes
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slide-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0% 0 0); }
}

@keyframes mesh-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(10px, -15px) scale(1.02); }
  50% { transform: translate(-5px, 10px) scale(0.98); }
  75% { transform: translate(15px, 5px) scale(1.01); }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes btn-sheen {
  from { background-position: 150% 0; }
  to { background-position: -50% 0; }
}

/* ============================================
   GLASS MORPHISM — Shared Component
   ============================================ */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glass);
}

.glass-dark {
  background: rgba(42, 27, 90, 0.4);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 192, 238, 0.2);
  box-shadow: 0 0 40px rgba(56, 192, 238, 0.1), var(--shadow-float);
  transform: translateY(-6px) scale(1.01);
}

/* ============================================
   TYPOGRAPHY — Premium Scale
   ============================================ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
}

.body-lg {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
}

.body-md {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue); /* purple — readable on light sections */
}
/* On dark anchor sections the eyebrow keeps the bright cyan accent. */
.section-dark .label, .section-navy .label, .solutions-glass .label,
.testimonials-section .label, .footer .label, .cta-section.section-dark .label {
  color: var(--cyan);
}

/* ============================================
   BUTTONS — Premium with Glow
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.25) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 150% 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.btn:hover::before {
  opacity: 1;
  animation: btn-sheen 0.7s var(--ease-out-expo);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(91, 79, 224, 0.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.btn-primary:hover {
  background: #0470a8;
  box-shadow: 0 8px 40px rgba(91, 79, 224, 0.45), 0 0 0 1px rgba(255,255,255,0.15) inset;
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-glow {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  color: var(--white);
  box-shadow: 0 4px 24px rgba(91, 79, 224, 0.3), 0 0 60px rgba(56, 192, 238, 0.15);
}

.btn-glow:hover {
  box-shadow: 0 8px 40px rgba(91, 79, 224, 0.5), 0 0 80px rgba(56, 192, 238, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(56, 192, 238, 0.5);
  background: rgba(56, 192, 238, 0.08);
  box-shadow: 0 0 20px rgba(56, 192, 238, 0.15);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   HEADER — Glass Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-base);
  padding: 0.75rem 0;
}

.header-transparent {
  background: transparent;
}

.header-scrolled {
  background: rgba(42, 27, 90, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 13, 51, 0.35));
}

.header-transparent .logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 13, 51, 0.35));
}

.header-scrolled .logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 13, 51, 0.35));
}

.footer .logo-img {
  filter: brightness(0) invert(1);
  height: 32px;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-link {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 60%;
}

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: -200px;
  width: 640px;
  padding-top: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.35s var(--ease-out-expo);
  pointer-events: none;
}

.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.mega-panel {
  background: rgba(42, 27, 90, 0.92);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(91, 79, 224, 0.08);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.mega-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transform: translateX(4px);
}

.mega-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--cyan);
  transition: all var(--transition-fast);
}

.mega-link:hover svg {
  color: var(--blue);
  transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
}

@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 13, 51, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out-expo);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--cyan);
  padding-left: 1rem;
}

/* ============================================
   HERO — Full Viewport with Particle Network
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  background-size: 400% 400%;
  animation: gradient-shift 20s ease infinite;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.hero-glow-orb.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(91, 79, 224, 0.4);
  top: -10%;
  right: -5%;
  animation: mesh-float 12s ease-in-out infinite;
}

.hero-glow-orb.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(56, 192, 238, 0.3);
  bottom: -10%;
  left: -5%;
  animation: mesh-float 15s ease-in-out infinite 2s;
}

.hero-glow-orb.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(56, 192, 238, 0.2);
  top: 40%;
  left: 30%;
  animation: mesh-float 18s ease-in-out infinite 4s;
}

/* Canvas for particles */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-text {
  animation: fade-up 1s var(--ease-out-expo) 0.3s both;
}

.hero-visual {
  position: relative;
  animation: fade-up 1s var(--ease-out-expo) 0.6s both;
}

.hero-visual-inner {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-float), 0 0 60px rgba(91, 79, 224, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  z-index: 1;
  pointer-events: none;
}

.hero-visual-inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 8s ease;
}

.hero-visual-inner:hover img {
  transform: scale(1.05);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  animation: fade-up 1s var(--ease-out-expo) 0.2s both;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-label-text {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title .accent-text {
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(56, 192, 238, 0.3);
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fade-up 1s var(--ease-out-expo) 0.8s both;
}

/* Hero Stats Floating Bar */
.hero-float-bar {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 2rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  animation: fade-up 1s var(--ease-out-expo) 1s both;
}

.hero-float-stat {
  text-align: center;
}

.hero-float-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(56, 192, 238, 0.3);
}

.hero-float-stat-label {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 100px;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .hero-float-bar {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    bottom: 1rem;
  }
  .hero-float-stat-value {
    font-size: 1.125rem;
  }
}

/* ============================================
   SECTION TRANSITIONS
   ----------------------------------------------
   Legacy wavy SVG dividers were misaligned (class
   names never matched and they lacked a positioned
   ancestor). We retire them and rely on clean
   color-blocked sections with soft edge fades.
   ============================================ */
.wave-divider { display: none; }

/* Soft fade at the top of each section so the color
   change from the section above eases in rather than
   hard-cutting. Uses ::after to avoid colliding with
   the existing ::before glows. */
.section-alt::after,
.section-light::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(42, 27, 90, 0.06), transparent);
  pointer-events: none;
  z-index: 1;
}

.section-dark::after,
.section-navy::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent);
  pointer-events: none;
  z-index: 1;
}

.diagonal-section {
  position: relative;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.diagonal-section-reverse {
  position: relative;
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

/* ============================================
   SECTIONS — Layered Backgrounds
   ============================================ */
.section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.section-light {
  background: var(--white);
  color: var(--navy);
}

.section-alt {
  background: var(--light-bg);
  color: var(--navy);
}

.section-dark {
  background: var(--grad-anchor);
  color: var(--white);
}

.section-navy {
  background: var(--grad-anchor);
  color: var(--white);
}

.section-gradient {
  background: var(--grad-dark);
  color: var(--white);
}

.section-glow {
  position: relative;
}

.section-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(91, 79, 224, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.container-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .label {
  margin-bottom: 1rem;
  display: inline-block;
}

.section-header .display-md {
  margin-bottom: 1rem;
}

.section-header .body-md {
  margin: 0 auto;
  max-width: 560px;
}

/* ============================================
   FLOATING CARDS — 3D Effect
   ============================================ */
.card-float {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(42, 27, 90, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.5s var(--ease-spring);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(42, 27, 90, 0.04);
}

.card-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-float:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(42, 27, 90, 0.12), 0 0 40px rgba(91, 79, 224, 0.08);
  border-color: rgba(91, 79, 224, 0.1);
}

.card-float:hover::before {
  opacity: 1;
}

.card-float-dark {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: all 0.5s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.card-float-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: 0 0 20px rgba(56, 192, 238, 0.3);
}

.card-float-dark:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 192, 238, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(56, 192, 238, 0.1);
}

.card-float-dark:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(91, 79, 224, 0.25);
  transition: transform 0.4s var(--ease-spring);
}

.card-float:hover .card-icon-wrap,
.card-float-dark:hover .card-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.card-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.card-float h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.card-float-dark h3 {
  color: var(--white);
}

.card-float p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(42, 27, 90, 0.65);
  line-height: 1.6;
}

.card-float-dark p {
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   5-PILLAR ECOSYSTEM — Interactive
   ============================================ */
.ecosystem {
  position: relative;
  padding: 6rem 0;
}

.ecosystem-visual {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

@media (max-width: 1024px) {
  .ecosystem-visual {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ecosystem-visual {
    grid-template-columns: 1fr;
  }
}

.pillar {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.6s var(--ease-spring);
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-hero);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.pillar:hover::before {
  opacity: 0.08;
}

.pillar:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(56, 192, 238, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(56, 192, 238, 0.08);
}

.pillar-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 30px rgba(91, 79, 224, 0.3);
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease-spring);
}

.pillar:hover .pillar-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 40px rgba(91, 79, 224, 0.4);
}

.pillar-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.pillar p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.pillar-sub-services {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.pillar:hover .pillar-sub-services {
  opacity: 1;
  max-height: 200px;
}

.pillar-sub-services span {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Pillar Connection Lines */
.ecosystem-connector {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 192, 238, 0.2), rgba(91, 79, 224, 0.2), transparent);
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.ecosystem-connector::before,
.ecosystem-connector::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  top: 50%;
  transform: translateY(-50%);
  animation: pulse-glow 2s ease-in-out infinite;
}

.ecosystem-connector::before { left: 0; }
.ecosystem-connector::after { right: 0; animation-delay: 1s; }

/* ============================================
   SOLUTION SHOWCASE — Product Launch Style
   ============================================ */
.solution-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .solution-showcase {
    grid-template-columns: 1.2fr 1fr;
  }
  .solution-showcase.reverse {
    grid-template-columns: 1fr 1.2fr;
  }
  .solution-showcase.reverse .solution-visual {
    order: 2;
  }
}

.solution-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42, 27, 90, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.solution-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 8s ease;
}

.solution-visual:hover img {
  transform: scale(1.08);
}

.solution-info {
  padding: 1rem 0;
}

.solution-info .label {
  margin-bottom: 1rem;
  display: inline-block;
}

.solution-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.solution-info p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.solution-tag {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.solution-tag:hover {
  background: rgba(56, 192, 238, 0.1);
  border-color: rgba(56, 192, 238, 0.2);
  color: var(--cyan);
}

/* ============================================
   TRUST INDICATORS — Animated
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-base);
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 192, 238, 0.15);
  transform: translateY(-4px);
}

.trust-item-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(56, 192, 238, 0.2);
  transition: all var(--transition-fast);
}

.trust-item:hover .trust-item-value {
  text-shadow: 0 0 30px rgba(56, 192, 238, 0.4);
  transform: scale(1.1);
}

.trust-item-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* The trust grid is white-themed by default; on light
   sections the labels and card surfaces need dark tones
   to stay legible. */
.section-alt .trust-item,
.section-light .trust-item {
  background: rgba(42, 27, 90, 0.03);
  border-color: rgba(42, 27, 90, 0.06);
}

.section-alt .trust-item:hover,
.section-light .trust-item:hover {
  background: rgba(42, 27, 90, 0.05);
  border-color: rgba(91, 79, 224, 0.2);
}

.section-alt .trust-item-label,
.section-light .trust-item-label {
  color: rgba(42, 27, 90, 0.55);
}

/* ============================================
   PARTNER LOGOS — Glass Strip
   ============================================ */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl);
  margin-top: 2rem;
}

.partner-logo {
  height: 40px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ============================================
   TESTIMONIALS — Glass Card
   ============================================ */
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: rgba(56, 192, 238, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(56, 192, 238, 0.05);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(56, 192, 238, 0.15);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.125rem;
  box-shadow: 0 4px 16px rgba(91, 79, 224, 0.3);
}

.testimonial-author-info h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-author-info p {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   CTA SECTION — Full Impact
   ============================================ */
.cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  background: var(--grad-dark);
  color: var(--white);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content .display-md {
  margin-bottom: 1.5rem;
}

.cta-content .body-md {
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================
   FOOTER — Premium Dark
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 192, 238, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}



.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(56, 192, 238, 0.1);
  border-color: rgba(56, 192, 238, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(56, 192, 238, 0.15);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-social a:hover svg {
  color: var(--cyan);
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.footer-link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.4rem 0;
  transition: all var(--transition-fast);
  position: relative;
}

.footer-link:hover {
  color: var(--cyan);
  padding-left: 0.5rem;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  transition: all var(--transition-fast);
  transform: translateY(-50%);
  opacity: 0;
}

.footer-link:hover::before {
  width: 12px;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--cyan);
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid-2, .grid-3, .grid-4, .grid-5 {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden { display: none; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }
.text-cyan { color: var(--cyan); }
.text-blue { color: var(--blue); }

.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }

.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* ============================================
   SCROLL ANIMATIONS — GSAP Ready Classes
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
}

.reveal-clip {
  clip-path: inset(0 100% 0 0);
}

/* Solutions section — staggered "one by one" reveal on scroll.
   The hidden state is gated behind .stagger-armed, which initSolutionStagger()
   adds ONLY when the JS actually runs. So if main.js fails to load or is cached,
   the content stays fully visible instead of going blank — graceful degradation. */
.solution-stagger.stagger-armed .solution-visual,
.solution-stagger.stagger-armed .solution-info > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.solution-stagger.stagger-armed .solution-visual {
  transform: translateY(28px) scale(0.97);
}
.solution-stagger.stagger-armed.is-in .solution-visual,
.solution-stagger.stagger-armed.is-in .solution-info > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.solution-stagger.stagger-armed.is-in .solution-visual { transition-delay: 0.05s; }
.solution-stagger.stagger-armed.is-in .solution-info > *:nth-child(1) { transition-delay: 0.18s; }
.solution-stagger.stagger-armed.is-in .solution-info > *:nth-child(2) { transition-delay: 0.28s; }
.solution-stagger.stagger-armed.is-in .solution-info > *:nth-child(3) { transition-delay: 0.38s; }
.solution-stagger.stagger-armed.is-in .solution-info > *:nth-child(4) { transition-delay: 0.48s; }
.solution-stagger.stagger-armed.is-in .solution-info > *:nth-child(5) { transition-delay: 0.58s; }
.solution-stagger.stagger-armed.is-in .solution-info > *:nth-child(n+6) { transition-delay: 0.68s; }
@media (prefers-reduced-motion: reduce) {
  .solution-stagger.stagger-armed .solution-visual,
  .solution-stagger.stagger-armed .solution-info > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:items-center { align-items: center; }
  .lg\:gap-12 { gap: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero-content { padding-top: 5rem; }
  .display-xl { font-size: 2.5rem; }
  .display-lg { font-size: 2rem; }
  .hero-float-bar { display: none; }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 10000;
  transition: top 0.3s;
  font-family: var(--font-accent);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Visible keyboard focus — none of the interactive
   elements previously had a focus indicator. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.mega-link:focus-visible,
.mobile-nav-link:focus-visible,
.footer-link:focus-visible,
.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Respect users who prefer reduced motion: stop the
   ambient/infinite animations and reveal transforms,
   and make sure scroll-revealed content is visible. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal-clip {
    clip-path: none !important;
  }

  .hero-bg,
  .hero-glow-orb {
    animation: none !important;
  }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .header, .footer, .hero-float-bar, .mobile-menu-btn, .hero-glow-orb, #hero-particles {
    display: none !important;
  }
  .hero { min-height: auto; padding: 2rem 0; background: var(--navy); }
  .section { padding: 2rem 0; }
  body { color: black; }
}

/* ============================================
   PREMIUM UPGRADES
   Real brand logo, animated hero, CMMI seal,
   logo marquees. Appended last so these win.
   ============================================ */


.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.7em) rotate(2deg);
  animation: word-rise 0.9s var(--ease-out-expo) forwards;
}

@keyframes word-rise {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.hero-title .accent-text {
  display: inline-block;
  background: linear-gradient(120deg, #8FB0F7 0%, #38C0EE 40%, #5B4FE0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* — Hero floating stats: higher contrast — */
.hero-float-bar {
  background: rgba(7, 28, 61, 0.6);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  gap: 0;
}

.hero-float-stat {
  padding: 0 1.75rem;
  position: relative;
}

.hero-float-stat + .hero-float-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-float-stat-value {
  font-size: 1.65rem;
  color: #3dd2f0;
  text-shadow: 0 0 24px rgba(56, 192, 238, 0.5);
}

.hero-float-stat-label {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.68rem;
}

/* — CMMI Level 5 certification seal — */
.cmmi-badge {
  position: absolute;
  left: -16px;
  bottom: -28px;
  width: 252px;
  height: auto;
  z-index: 12;
  filter: drop-shadow(0 16px 38px rgba(0, 0, 0, 0.4));
  animation: float-slow 6s ease-in-out infinite;
}

.cmmi-badge .cmmi-ring-text {
  font-family: var(--font-accent);
  font-size: 8.2px;
  font-weight: 700;
  letter-spacing: 1.5px;
  fill: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.cmmi-badge .cmmi-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  fill: #fff;
}

.cmmi-badge .cmmi-lvl {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 2px;
  fill: var(--cyan);
  text-transform: uppercase;
}

.cmmi-badge-inline {
  width: 116px;
  height: 116px;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 28px rgba(42, 27, 90, 0.18));
}

/* CMMI badge highlighted in the trust strip */
.trust-cmmi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  text-align: left;
}

.trust-cmmi-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.trust-cmmi-copy p {
  font-size: 0.9rem;
  color: rgba(42, 27, 90, 0.6);
  max-width: 340px;
}

/* — Logo marquee (partners + clients) — */
.logo-marquee {
  margin-top: 2.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logo-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-chip {
  flex: 0 0 auto;
  width: 212px;
  height: 118px;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  box-shadow: 0 6px 22px rgba(42, 27, 90, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(42, 27, 90, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.logo-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(42, 27, 90, 0.14);
}

.logo-chip img {
  max-height: 66px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.95;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.logo-chip:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* Text-based client chip (when no logo asset is available) */
.logo-chip.client-chip {
  flex-direction: column;
  gap: 0.15rem;
  text-align: center;
}

.logo-chip.client-chip .client-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.logo-chip.client-chip .client-sector {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(42, 27, 90, 0.5);
}

.marquee-caption {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 3.5rem 0 0;
}
.section-navy .marquee-caption,
.section-dark .marquee-caption,
.testimonials-section .marquee-caption { color: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none !important; }
  .hero-title .word { opacity: 1 !important; transform: none !important; animation: none !important; }
  .cmmi-badge { animation: none !important; }
}

@media (max-width: 640px) {
  .cmmi-badge { width: 188px; left: 0; bottom: -16px; }
  .logo-chip { width: 150px; height: 96px; }
}

/* — Hero butterfly video — */
.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--navy-dark);
}

/* — Bigger client logos inside chips — */
.logo-chip img { max-height: 66px; max-width: 160px; }
.logo-marquee[aria-label="Clients"] .logo-chip { width: 244px; height: 138px; }
.logo-marquee[aria-label="Clients"] .logo-chip img {
  max-height: 100px;
  max-width: 200px;
  opacity: 1;
}
.logo-chip.client-chip .client-name { font-size: 1.35rem; }
.logo-chip.client-chip .client-sector { font-size: 0.72rem; }
.logo-marquee[aria-label="Clients"] .logo-chip:hover img { opacity: 1; }

/* ============================================
   PROVEN EXCELLENCE — Circular Stat Rings
   ============================================ */
.stat-rings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  justify-items: center;
}

@media (min-width: 768px) {
  .stat-rings { grid-template-columns: repeat(4, 1fr); }
}

.stat-ring-circle {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #EAF4FB 0%, #D8E9F7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.stat-ring-circle::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(91, 79, 224, 0.28);
}

.stat-orbit {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  animation: spin 9s linear infinite;
  pointer-events: none;
}

.stat-orbit > span {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(56, 192, 238, 0.8);
}

@keyframes spin { to { transform: rotate(360deg); } }

.stat-ring-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.stat-ring-label {
  margin-top: 0.5rem;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(42, 27, 90, 0.62);
}

/* Mobile: shrink the rings so two fit per row without clipping */
@media (max-width: 600px) {
  .stat-rings { gap: 1.4rem 0.6rem; }
  .stat-ring-circle { width: 132px; height: 132px; padding: 0.5rem; }
  .stat-ring-circle::before { inset: -8px; }
  .stat-orbit { inset: -8px; }
  .stat-ring-value { font-size: 1.5rem; }
  .stat-ring-label { font-size: 0.7rem; margin-top: 0.35rem; }
}
@media (max-width: 360px) {
  .stat-ring-circle { width: 120px; height: 120px; }
  .stat-ring-value { font-size: 1.3rem; }
}

/* ============================================
   FIVE PILLARS — Image Card Carousel
   ============================================ */
.pillar-carousel { margin-top: 3rem; }

.pillar-cards {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pillar-cards::-webkit-scrollbar { display: none; }

.pillar-card {
  flex: 0 0 300px;
  scroll-snap-align: center;
  display: block;
  color: var(--white);
  transition: transform var(--transition-base);
}

.pillar-card:hover { transform: translateY(-8px); }

.pillar-card-media {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  border: none;
  transition: transform 0.55s var(--ease-out-expo), box-shadow 0.55s var(--ease-out-expo), opacity 0.55s var(--ease-out-expo);
}

/* Five Pillars: static staggered grid — all 5 visible, no carousel */
.pillar-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  overflow: visible;
  scroll-snap-type: none;
  align-items: start;
  padding: 1.5rem 0.25rem 0;
}

.pillar-card {
  flex: none;
  width: auto;
  scroll-snap-align: none;
}

/* Umbrella / arc arrangement: centre highest, dropping toward the edges */
.pillar-card:nth-child(1) { margin-top: 3.5rem; }
.pillar-card:nth-child(2) { margin-top: 1.25rem; }
.pillar-card:nth-child(3) { margin-top: 0; }
.pillar-card:nth-child(4) { margin-top: 1.25rem; }
.pillar-card:nth-child(5) { margin-top: 3.5rem; }

.pillar-card:hover .pillar-card-media { transform: scale(1.04); }
.pillar-dots { display: none; }

@media (max-width: 1024px) {
  .pillar-cards { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .pillar-card:nth-child(1),
  .pillar-card:nth-child(2),
  .pillar-card:nth-child(3),
  .pillar-card:nth-child(4),
  .pillar-card:nth-child(5) { margin-top: 0; }
}

@media (max-width: 600px) {
  .pillar-cards { grid-template-columns: 1fr; }
}

.pillar-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.pillar-card:hover .pillar-card-media img { transform: scale(1.08); }

.pillar-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 13, 51, 0.55) 100%);
}

.pillar-card-index {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  background: rgba(42, 27, 90, 0.62);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 1.1rem 0 0.4rem;
  color: var(--white);
}

.pillar-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--cyan);
  transition: gap var(--transition-fast);
}

.pillar-card:hover .pillar-card-more { gap: 0.75rem; }
.pillar-card-more svg { width: 15px; height: 15px; }

.pillar-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.pillar-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.pillar-dots button.active {
  width: 28px;
  border-radius: 5px;
  background: var(--cyan);
}

@media (prefers-reduced-motion: reduce) {
  .stat-orbit { animation: none !important; }
  .pillar-cards { scroll-behavior: auto; }
}

/* — Hero rotating headline word — */
.hero-rotate {
  display: inline-block;
  /* Reserve two lines so swapping a 1-line word for a 2-line one never
     changes the title height (was 1.1em → caused the hero to jump). */
  min-height: 2.45em;
  vertical-align: top;
  transition: opacity 0.38s var(--ease-out-expo), transform 0.38s var(--ease-out-expo);
}

.hero-rotate.is-out {
  opacity: 0;
  transform: translateY(-0.35em);
}

.hero-rotate.is-in {
  animation: word-rise 0.6s var(--ease-out-expo);
}

/* Marquee caption stays light on dark sections */
.section-navy .marquee-caption,
.section-dark .marquee-caption {
  color: rgba(255, 255, 255, 0.5);
}

/* Footer tagline */
.footer-tagline {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  margin: 0.25rem 0 1rem;
}

/* — Butterfly cursor follower (desktop pointers only) — */
.cursor-butterfly {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  pointer-events: none;
  z-index: 100000;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
  /* White rim + dark shadow so it stays visible over images of any colour. */
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.95))
          drop-shadow(0 0 6px rgba(255, 255, 255, 0.6))
          drop-shadow(0 3px 8px rgba(42, 27, 90, 0.45));
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-butterfly { display: none !important; }
}

/* Butterfly is the only cursor when active (keep text cursor in fields) */
html.has-butterfly, html.has-butterfly * { cursor: none !important; }
html.has-butterfly input,
html.has-butterfly textarea,
html.has-butterfly select,
html.has-butterfly [contenteditable] { cursor: auto !important; }

/* Hero: darker backdrop + left scrim so the headline never merges with the bg */
.hero-bg {
  background: linear-gradient(135deg, #2A1B5A 0%, #4A3DC0 52%, #6A7BEC 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 12, 50, 0.78) 0%, rgba(20, 12, 50, 0.45) 48%, rgba(20, 12, 50, 0) 78%);
}

.hero-title .accent-text,
.hero-rotate.accent-text {
  background: linear-gradient(120deg, #C7ECFD 0%, #8FB0F7 50%, #5B4FE0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* ============================================
   SOLUTIONS — glass-toned full section background
   ============================================ */
.solutions-glass {
  background: var(--grad-anchor);
}

.solutions-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  height: auto;
  background:
    radial-gradient(circle at 18% 20%, rgba(56, 192, 238, 0.12), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(91, 79, 224, 0.14), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* No dark top-fade band on the glass solutions section (removes the seam) */
.solutions-glass.section-dark::after { background:
  radial-gradient(circle at 18% 20%, rgba(56, 192, 238, 0.12), transparent 45%),
  radial-gradient(circle at 85% 75%, rgba(91, 79, 224, 0.14), transparent 50%);
  height: auto;
}

/* ============================================
   TESTIMONIALS — lighter background + white text
   ============================================ */
.testimonials-section {
  /* Cyan-led dark band — deep teal/cyan flowing into the brand purple, so this
     section reads as the "cyan" moment while staying dark for white text. */
  background: linear-gradient(150deg, #0F5274 0%, #243A8E 48%, #3A2C8F 100%);
}

.testimonials-section .testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.testimonials-section .testimonial-text { color: rgba(255, 255, 255, 0.95); }
.testimonials-section .testimonial-author-info h4 { color: #fff; }
.testimonials-section .testimonial-author-info p { color: rgba(255, 255, 255, 0.8); }
.testimonials-section .marquee-caption { color: rgba(255, 255, 255, 0.7); }

/* ============================================
   CTA "Ready to Transform" — White section
   ============================================ */
.cta-section {
  background: #FFFFFF;
  color: var(--navy);
}

.cta-section::before {
  background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(91, 79, 224, 0.08), transparent 65%);
}

.cta-section .display-md { color: var(--navy); }
.cta-section .body-md { color: rgba(42, 27, 90, 0.6); }
.cta-section .label { color: var(--blue); }
.cta-section .btn-outline { color: var(--navy); border-color: rgba(42, 27, 90, 0.2); background: transparent; }
.cta-section .btn-outline:hover { background: rgba(91, 79, 224, 0.06); border-color: var(--blue); color: var(--blue); }

/* LIGHT footer — matches the pastel brand gradient (cyan→pink→light-purple) with
   dark text, so it’s consistent with the rest of the site. */
.footer { color: rgba(42, 27, 90, 0.82); background: var(--grad-brand-soft); }
.footer .logo-img { filter: none; }
.footer-brand .footer-tagline { color: var(--blue); }
.footer-brand p { color: rgba(42, 27, 90, 0.72); }
.footer-heading { color: var(--navy); }
.footer-link { color: rgba(42, 27, 90, 0.72); }
.footer-link:hover { color: var(--blue); }
.footer-link::before { background: var(--blue); }
.footer-social a { background: rgba(42, 27, 90, 0.05); border-color: rgba(42, 27, 90, 0.12); }
.footer-social a svg { color: rgba(42, 27, 90, 0.6); }
.footer-social a:hover { background: rgba(122, 79, 224, 0.12); border-color: rgba(122, 79, 224, 0.25); box-shadow: 0 8px 20px rgba(122, 79, 224, 0.15); }
.footer-social a:hover svg { color: var(--blue); }
.footer::before { background: linear-gradient(90deg, transparent, rgba(122, 79, 224, 0.4), transparent); }
.footer-bottom { border-top-color: rgba(42, 27, 90, 0.12) !important; }
.footer-bottom p { color: rgba(42, 27, 90, 0.6); }
.footer-bottom a { color: rgba(42, 27, 90, 0.72); }
.footer-bottom a:hover { color: var(--blue); }

.footer-cmmi {
  width: 156px;
  height: auto;
  margin-top: 1.5rem;
  display: block;
}

/* Scroll-to-top button (bottom-right, brand gradient) */
.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1500;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(91, 79, 224, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 34px rgba(56, 192, 238, 0.5); }
.scroll-top svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 600px) {
  .scroll-top { width: 46px; height: 46px; right: 1rem; bottom: 4.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top { animation: none; }
}

/* Five Pillars — light section with subtle tech pattern */
.pillars-light {
  padding-top: 7rem;
  background-color: #F2F7FC;
}

.pillars-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(91, 79, 224, 0.11) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 35%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.pillars-light::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -6%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 192, 238, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.pillars-light .display-md,
.pillars-light .pillar-card h3 { color: var(--navy); }
.pillars-light .body-md { color: rgba(42, 27, 90, 0.6); }
.pillars-light .pillar-card-more { color: var(--blue); }
.pillars-light .pillar-card-media { box-shadow: 0 22px 44px rgba(42, 27, 90, 0.18); }

/* Body copy must be dark on light sections (fixes invisible white-on-white text) */
.section-light .body-md,
.section-alt .body-md,
.pillars-light .body-md { color: rgba(42, 27, 90, 0.72); }

/* ============================================
   SHARED SERVICE/DETAIL PAGE COMPONENTS
   (service hero + feature grid — used by solutions & industries detail pages)
   ============================================ */
.service-hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  overflow: hidden; background: var(--navy);
}
.service-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2A1B5A 0%, #4632A6 35%, #5B4FE0 70%, #38C0EE 100%);
  background-size: 400% 400%; animation: gradient-shift 20s ease infinite;
}
.service-hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.25; pointer-events: none; }
.service-hero-glow.g1 { width: 600px; height: 600px; background: rgba(91, 79, 224,0.5); top: -10%; right: -5%; animation: mesh-float 12s ease-in-out infinite; }
.service-hero-glow.g2 { width: 400px; height: 400px; background: rgba(56, 192, 238,0.4); bottom: -10%; left: -5%; animation: mesh-float 15s ease-in-out infinite 2s; }
.service-hero-content { position: relative; z-index: 10; max-width: 1400px; margin: 0 auto; padding: 7rem 2rem 4rem; width: 100%; }
.service-hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .service-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.service-hero-text { animation: fade-up 1s var(--ease-out-expo) 0.3s both; }
.service-hero-visual { animation: fade-up 1s var(--ease-out-expo) 0.6s both; position: relative; }
.service-hero-visual img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 20px 60px rgba(42, 27, 90,0.3), 0 0 40px rgba(91, 79, 224,0.15); border: 1px solid rgba(255,255,255,0.08); }
.service-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--white); margin-bottom: 1.5rem; }
.service-hero h1 .cyan { color: var(--cyan); text-shadow: 0 0 40px rgba(56, 192, 238,0.3); }
.service-hero p { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,0.78); max-width: 540px; margin-bottom: 2rem; }
.feature-grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .feature-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 2.25rem; transition: all 0.5s var(--ease-spring); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--cyan); opacity: 0; transition: opacity 0.4s ease; box-shadow: 0 0 20px rgba(56, 192, 238,0.3); }
.feature-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.06); border-color: rgba(56, 192, 238,0.15); box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 0 30px rgba(56, 192, 238,0.08); }
.feature-card:hover::before { opacity: 1; }
.feature-card-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--grad-hero); background-size: 200% 200%; animation: gradient-shift 6s ease infinite; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; box-shadow: 0 8px 30px rgba(91, 79, 224,0.3); transition: transform 0.4s var(--ease-spring); }
.feature-card:hover .feature-card-icon { transform: scale(1.1) rotate(-5deg); }
.feature-card-icon svg { width: 26px; height: 26px; color: var(--white); stroke: currentColor; fill: none; }
.feature-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--white); margin-bottom: 0.6rem; line-height: 1.3; }
.feature-card p { font-family: var(--font-body); font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ============================================
   ANIMATED PROCESS FLOW (How We Create Value)
   ============================================ */
.process-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
  margin-top: 4rem;
}
.process-flow::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--blue), transparent);
  background-size: 200% 100%;
  animation: flow-line 3s linear infinite;
  z-index: 0;
}
@keyframes flow-line { from { background-position: 200% 0; } to { background-position: 0 0; } }
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(91, 79, 224, 0.4);
  border: 4px solid var(--navy);
}
.process-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); line-height: 1.5; }
@media (max-width: 1024px) {
  .process-flow { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1rem; }
  .process-flow::before { display: none; }
}
@media (max-width: 560px) { .process-flow { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .process-flow::before, .process-num { animation: none; } }

/* Industry carousel — continuous auto-run marquee (arrows/dots removed by JS) */
.carousel-track.is-marquee {
  width: max-content;
  animation: industry-marquee 48s linear infinite;
  will-change: transform;
}
.carousel-viewport:hover .carousel-track.is-marquee { animation-play-state: paused; }
@keyframes industry-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .carousel-track.is-marquee { animation: none; } }

/* ============================================
   CASE STUDY cards
   ============================================ */
.case-study-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(42, 27, 90, 0.06);
  border: 1px solid rgba(42, 27, 90, 0.05);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}
.case-study-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(42, 27, 90, 0.12); }
.case-study-header { background: linear-gradient(135deg, var(--navy), var(--blue)); padding: 1.5rem 1.75rem; }
.case-study-industry { font-family: var(--font-accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); margin-bottom: 0.4rem; }
.case-study-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; line-height: 1.3; }
.case-study-body { padding: 1.5rem 1.75rem; }
.case-study-body .text-small { color: rgba(42, 27, 90, 0.62); }
.case-study-result { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; color: var(--navy); font-weight: 500; }
.case-study-result svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--cyan); stroke-width: 3; margin-top: 3px; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* ============================================
   BLOG cards
   ============================================ */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(42, 27, 90, 0.06);
  border: 1px solid rgba(42, 27, 90, 0.05);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
  color: inherit;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(42, 27, 90, 0.12); }
.blog-thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out-expo); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-cat { font-family: var(--font-accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.5rem; }
.blog-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.35; }
.blog-card p { font-size: 0.92rem; color: rgba(42, 27, 90, 0.6); line-height: 1.6; flex: 1; }
.blog-meta { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-accent); font-size: 0.78rem; color: rgba(42, 27, 90, 0.5); }
.blog-readmore { color: var(--blue); font-weight: 700; }

/* ============================================
   CAREER roles
   ============================================ */
.role-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 20px rgba(42, 27, 90, 0.06);
  border: 1px solid rgba(42, 27, 90, 0.05);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring);
}
.role-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(42, 27, 90, 0.12); border-color: rgba(91, 79, 224, 0.12); }
.role-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 0.35rem; }
.role-card > p { font-size: 0.92rem; color: rgba(42, 27, 90, 0.6); line-height: 1.6; }
.role-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.85rem 0 1rem; }
.role-tag { font-family: var(--font-accent); font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: var(--radius-full); background: rgba(91, 79, 224, 0.08); color: var(--blue); }
.role-apply { margin-top: auto; align-self: flex-start; color: var(--blue); font-weight: 700; font-family: var(--font-accent); font-size: 0.85rem; }

/* ============================================
   LEGAL PAGES (terms / privacy / disclaimer)
   ============================================ */
.legal { max-width: 820px; margin: 0 auto; }
.legal-updated {
  color: rgba(42, 27, 90, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 2.25rem 0 0.75rem;
}
.legal p, .legal li {
  color: rgba(42, 27, 90, 0.72);
  line-height: 1.75;
  font-size: 1rem;
}
.legal p { margin-bottom: 0.85rem; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--blue); font-weight: 600; }

/* "An integrated approach…" intro, now below the umbrella cards */
.pillars-intro {
  text-align: center;
  max-width: 640px;
  margin: 2.75rem auto 0;
  color: rgba(42, 27, 90, 0.6);
  position: relative;
  z-index: 1;
}

/* ============================================
   ABOUT PAGE — legacy classes (values, stats, timeline)
   ============================================ */
:root { --primary-600: #5B4FE0; }

.text-3xl { font-size: 2rem; line-height: 1.1; }
.text-2xl { font-size: 1.5rem; line-height: 1.2; }
.text-sm { font-size: 0.85rem; }
.font-extrabold { font-weight: 800; }
.text-gray { color: rgba(42, 27, 90, 0.55); }
.bg-neutral-100 { background: #F2F7FC; }
.rounded-2xl { border-radius: var(--radius-xl); }
.section-divider-center { margin-left: auto; margin-right: auto; }
.space-y-8 > * + * { margin-top: 2rem; }

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(91, 79, 224, 0.12), rgba(56, 192, 238, 0.12));
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.why-icon svg, .icon-md { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Milestones — vertical timeline with cards */
.timeline-line {
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.timeline-item { position: relative; padding-left: 52px; }

.timeline-dot {
  position: absolute;
  left: 8px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(56, 192, 238, 0.15);
}

.timeline-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 6px 22px rgba(42, 27, 90, 0.07);
  border: 1px solid rgba(42, 27, 90, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.timeline-card:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 34px rgba(42, 27, 90, 0.12);
}

.timeline-year {
  font-family: var(--font-accent);
  font-weight: 800;
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* Horizontal milestones on desktop */
@media (min-width: 768px) {
  .about-timeline .space-y-8 { display: flex; gap: 1.25rem; align-items: stretch; }
  .about-timeline .space-y-8 > * + * { margin-top: 0; }
  .about-timeline .timeline-item { flex: 1; padding-left: 0; padding-top: 46px; }
  .about-timeline .timeline-line { top: 19px; left: 8px; right: 8px; bottom: auto; width: auto; height: 2px; }
  .about-timeline .timeline-dot { top: 12px; left: 50%; transform: translateX(-50%); }
  .about-timeline .timeline-card { height: 100%; }
  .about-timeline .timeline-card:hover { transform: translateY(-4px); }
}

/* WhatsApp floating button (bottom-left, all pages) */
.whatsapp-fab {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 1500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo);
}

.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.55;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab svg { width: 32px; height: 32px; fill: #fff; }

@media (max-width: 600px) {
  .whatsapp-fab { width: 52px; height: 52px; left: 1rem; bottom: 1rem; }
  .whatsapp-fab svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab::before { animation: none; }
}

/* Looser leading so the rotating word never overlaps the line above */
.hero-title { line-height: 1.2; }
.hero-rotate { display: inline-block; padding-bottom: 0.08em; line-height: 1.15; }

/* Larger hero description + punchy pitch line */
.hero-desc { font-size: 1.2rem; margin-bottom: 1.25rem; }

.hero-tagline {
  font-family: var(--font-accent, var(--font-display));
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-tagline::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--cyan);
  flex: 0 0 auto;
}

.hero-pitch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 2rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--cyan);
}

@media (max-width: 600px) {
  .hero-tagline { font-size: 0.85rem; letter-spacing: 0.14em; }
  .hero-tagline::before { width: 22px; }
}

/* Interior page heroes — brand tagline under the title */
.service-hero-text p.service-hero-tagline {
  font-family: var(--font-accent, var(--font-display));
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0.25rem 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.service-hero-tagline::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--cyan);
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .service-hero-tagline { font-size: 0.8rem; letter-spacing: 0.14em; }
  .service-hero-tagline::before { width: 20px; }
}

/* Larger pillars intro */
.pillars-intro { font-size: 1.15rem; }

/* Testimonial star ratings (re-added; sizing is essential) */
.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #FFC247;
}

/* ============================================
   HEADER — White bar, dark text, cyan on hover
   ============================================ */
.header,
.header-transparent,
.header-scrolled {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(42, 27, 90, 0.08);
  box-shadow: 0 2px 18px rgba(42, 27, 90, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-scrolled { box-shadow: 0 6px 26px rgba(42, 27, 90, 0.12); }

.nav-link { color: #0A1F4E; }
.nav-link:hover { color: var(--cyan); background: rgba(56, 192, 238, 0.08); }
.nav-link::after { background: var(--cyan); }

.mobile-menu-btn { color: var(--navy); }

.header .logo-img { filter: none; height: 40px; }

/* Mega dropdown → light, to match the white header */
.mega-panel {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(42, 27, 90, 0.08);
  box-shadow: 0 24px 60px rgba(42, 27, 90, 0.16);
}

.mega-link { color: #0A1F4E; }
.mega-link:hover { background: rgba(56, 192, 238, 0.08); color: var(--blue); }
.mega-link svg { color: var(--blue); }
.mega-link:hover svg { color: var(--cyan); }

/* Hero sits below an opaque header now */
.hero-content { padding-top: 7rem; }

/* Hero alignment on small screens */
@media (max-width: 768px) {
  .hero-content { padding-left: 1.25rem; padding-right: 1.25rem; padding-top: 6.5rem; }
  .hero-title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero-desc { font-size: 1rem; }
  .hero::after {
    background: linear-gradient(180deg, rgba(20, 12, 50, 0.55) 0%, rgba(20, 12, 50, 0.25) 55%, rgba(20, 12, 50, 0) 100%);
  }
  .cmmi-badge { width: 180px; }
}

/* ============================================
   SUBPAGE COMPATIBILITY LAYER
   Inner pages use a legacy class vocabulary that
   was never defined here — this repairs all of
   them (dark page hero, sized icons, cards, text).
   ============================================ */
:root { --accent-400: #38C0EE; --primary: #2A1B5A; }

.page-hero {
  position: relative;
  padding: 11rem 0 7rem;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 18s ease infinite;
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 28%, rgba(56, 192, 238, 0.28), transparent 60%);
  pointer-events: none;
}

.page-hero .container-main { position: relative; z-index: 2; }
.page-hero .label { color: #7fe6ff; }
.page-hero h1 { color: var(--white); }

.section-divider {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  margin: 1.25rem 0 1.5rem;
}

/* Text utilities used across inner pages */
.text-lg { font-size: 1.125rem; line-height: 1.7; }
.text-base { font-size: 1rem; }
.text-small { font-size: 0.9rem; line-height: 1.6; color: rgba(42, 27, 90, 0.62); }
.text-primary { color: var(--navy); }
.font-bold { font-weight: 700; }
.flex-grow { flex: 1 1 auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-5 { margin-bottom: 1.25rem; }

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; vertical-align: middle; }
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 28px; height: 28px; }

/* Industry cards */
.card-industry {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(42, 27, 90, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(42, 27, 90, 0.05);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring), border-color 0.5s var(--ease-spring);
  color: var(--navy);
}

.card-industry:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(42, 27, 90, 0.12), 0 0 40px rgba(91, 79, 224, 0.08);
  border-color: rgba(91, 79, 224, 0.12);
}

.industry-icon {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(42, 27, 90, 0.18);
  flex-shrink: 0;
}

.industry-icon svg { width: 28px; height: 28px; color: var(--white); }
.card-industry h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--navy); line-height: 1.35; }

/* Pillar icon reused on light service cards (left-aligned, tinted) */
.section-light .pillar-icon,
.card-float .pillar-icon {
  width: 60px;
  height: 60px;
  margin: 0 0 1.25rem;
  box-shadow: none;
  animation: none;
}

.section-light .pillar-icon svg,
.card-float .pillar-icon svg { width: 28px; height: 28px; }

.card-float { display: flex; flex-direction: column; }
.section-light .card-float h3, .card-float .text-primary { color: var(--navy); }
.section-light .card-float p, .card-float .text-small { color: rgba(42, 27, 90, 0.62); }

/* "Learn More" link inside light cards (uses bare .btn-outline) */
.card-float a.btn-outline,
.card-industry a.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  align-self: flex-start;
  padding: 0;
  border: none;
  background: none;
  backdrop-filter: none;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.card-float a.btn-outline:hover,
.card-industry a.btn-outline:hover {
  background: none;
  box-shadow: none;
  gap: 0.7rem;
}

/* — Pillars: brighter copy, index, per-pillar CTA — */
.pillar p { color: rgba(255, 255, 255, 0.74); }

.pillar-index {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.08);
  z-index: 1;
  transition: color var(--transition-base);
}

.pillar:hover .pillar-index { color: rgba(56, 192, 238, 0.35); }

.pillar-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--cyan);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition-base), transform var(--transition-base), gap var(--transition-fast);
}

.pillar:hover .pillar-cta { opacity: 1; transform: translateY(0); }
.pillar-cta:hover { gap: 0.7rem; }
.pillar-cta svg { width: 15px; height: 15px; }

/* ============================================
   CONTACT PAGE — Premium Form
   ============================================ */

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid rgba(42, 27, 90, 0.06);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(42, 27, 90, 0.06);
  height: 100%;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid rgba(42, 27, 90, 0.06);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(42, 27, 90, 0.06);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(42, 27, 90, 0.04);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item:hover {
  padding-left: 0.5rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(91, 79, 224, 0.25);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.contact-info-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--transition-fast);
}

.contact-info-item:hover .contact-info-value {
  color: var(--cyan);
}

.contact-emergency {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-emergency::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-emergency h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.contact-emergency p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.contact-emergency a {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  transition: gap var(--transition-fast);
}

.contact-emergency a:hover {
  gap: 0.75rem;
}

.contact-emergency a svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

/* Form Elements */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1.5px solid rgba(42, 27, 90, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(42, 27, 90, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(91, 79, 224, 0.08);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23001B5A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(42, 27, 90, 0.2);
  border-radius: 4px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-label {
  display: block;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

/* Missing Utilities */
.text-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.3;
}

.text-sm {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.w-full {
  width: 100%;
}

.inline-flex {
  display: inline-flex;
}

.items-start {
  align-items: flex-start;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-12 {
  padding: 3rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-white {
  color: var(--white);
}

.text-navy {
  color: var(--navy);
}

.text-cyan {
  color: var(--cyan);
}

.text-blue {
  color: var(--blue);
}

.text-gray {
  color: var(--neutral-600);
}

.text-muted {
  color: var(--neutral-500);
}

/* Footer tagline */
.footer-tagline {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}


/* ============================================
   LIGHT PASTEL HOMEPAGE HERO — the brand gradient
   (interior heroes stay the deeper saturated gradient)
   ============================================ */
.hero { background: var(--grad-brand-soft); }
.hero .hero-bg { background: var(--grad-brand-soft); background-size: 180% 180%; }
.hero::after { display: none; }
.hero .hero-glow-orb.orb-1 { background: rgba(41, 190, 230, 0.20); }   /* cyan */
.hero .hero-glow-orb.orb-2 { background: rgba(237, 111, 179, 0.18); }  /* pink */
.hero .hero-glow-orb.orb-3 { background: rgba(214, 194, 246, 0.34); }  /* light purple */

.hero .hero-title { color: var(--navy); }
.hero .hero-title .accent-text,
.hero .hero-rotate.accent-text {
  background: linear-gradient(120deg, #7A4FE0 0%, #C44FB8 55%, #ED6FB3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.hero .hero-pitch { color: var(--navy); border-left-color: var(--blue); }
.hero .hero-desc { color: rgba(42, 27, 90, 0.72); }
.hero .hero-tagline { color: var(--blue); }
.hero .hero-tagline::before { background: var(--blue); }

.hero .hero-label { background: rgba(255, 255, 255, 0.55); border-color: rgba(42, 27, 90, 0.12); }
.hero .hero-label-text { color: var(--navy); }
.hero .hero-label-dot { background: var(--blue); box-shadow: 0 0 8px var(--blue); }

.hero .btn-outline {
  color: var(--blue);
  border-color: rgba(122, 79, 224, 0.45);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.hero .btn-outline:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.hero .hero-visual-inner { border-color: rgba(42, 27, 90, 0.10); }

/* ============================================
   SUBPAGE HEROES — same light pastel brand theme as the homepage
   (service-hero = service/solution/industry detail pages; page-hero = index pages)
   ============================================ */
.service-hero, .page-hero { background: var(--grad-brand-soft); }
.service-hero-bg { background: var(--grad-brand-soft); background-size: 180% 180%; }
.page-hero::before { background: var(--grad-brand-soft); opacity: 1; }
.page-hero::after { display: none; }
.service-hero-glow.g1 { background: rgba(41, 190, 230, 0.18); }   /* cyan */
.service-hero-glow.g2 { background: rgba(237, 111, 179, 0.16); }  /* pink */

/* dark text on the pastel field */
.service-hero h1, .page-hero h1 { color: var(--navy); }
.service-hero h1 .cyan {
  background: linear-gradient(120deg, #7A4FE0 0%, #C44FB8 55%, #ED6FB3 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.service-hero p, .page-hero p { color: rgba(42, 27, 90, 0.72); }
.service-hero p.service-hero-tagline { color: var(--blue); }
.service-hero p.service-hero-tagline::before { background: var(--blue); }

/* glassy label adapted to light */
.service-hero .hero-label, .page-hero .hero-label { background: rgba(255, 255, 255, 0.55); border-color: rgba(42, 27, 90, 0.12); }
.service-hero .hero-label-text, .page-hero .hero-label-text { color: var(--navy); }
.service-hero .hero-label-dot, .page-hero .hero-label-dot { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.service-hero .label, .page-hero .label { color: var(--blue); }

/* outline ("Explore / All …") button — distinct colour on light */
.service-hero .btn-outline, .page-hero .btn-outline {
  color: var(--blue);
  border-color: rgba(122, 79, 224, 0.45);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.service-hero .btn-outline:hover, .page-hero .btn-outline:hover { border-color: var(--blue); background: var(--blue); color: #fff; }

/* visual frame border on light */
.service-hero-visual img { border-color: rgba(42, 27, 90, 0.10); box-shadow: 0 20px 60px rgba(42,27,90,0.18), 0 0 40px rgba(122,79,224,0.10); }

/* Subpage heroes: beat each page's inline <style> (loads after styles.css) so the
   light pastel theme actually applies. Scoped to hero selectors only. */
.service-hero { background: var(--grad-brand-soft) !important; }
.service-hero-bg { background: var(--grad-brand-soft) !important; }
.service-hero h1, .page-hero h1 { color: var(--navy) !important; }
.service-hero h1 .cyan {
  background: linear-gradient(120deg, #7A4FE0 0%, #C44FB8 55%, #ED6FB3 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
  text-shadow: none !important;
}
.service-hero p, .page-hero p { color: rgba(42, 27, 90, 0.72) !important; }
.service-hero-visual img { border-color: rgba(42, 27, 90, 0.10) !important; }

/* page-hero accent word (e.g. about "Technology Excellence"): cyan is too light on
   the pastel — use the readable purple accent. Beats inline color. */
.page-hero h1 span, .page-hero h1 .cyan {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue) !important;
  background: none !important;
}

/* Rotating hero word: keep each phrase on ONE line (nowrap) so the title height
   never changes — no jump AND no reserved-gap. Replaces the 2-line reservation. */
.hero-rotate { min-height: 1.2em; white-space: nowrap; }

/* On small phones the nowrap word can exceed the column — let it wrap there and
   reserve two lines so it still never jumps (small gap on mobile is acceptable). */
@media (max-width: 480px) {
  .hero-rotate { white-space: normal; min-height: 2.4em; }
}

/* ============================================
   PARTNERS PAGE — classes that were referenced but never defined
   ============================================ */
.bg-cta { background: var(--grad-hero); background-size: 200% 200%; }
.partner-category { padding: 0.5rem 0; }
.partner-category .footer-heading { color: var(--navy); margin-bottom: 1rem; }
.partner-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.partner-pill {
  font-family: var(--font-accent); font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 1rem; border-radius: var(--radius-full);
  background: var(--light-bg); border: 1px solid rgba(42, 27, 90, 0.08);
  color: var(--navy); transition: all var(--transition-fast);
}
.partner-pill:hover { border-color: rgba(122, 79, 224, 0.3); color: var(--blue); transform: translateY(-2px); }
