@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght,wdth,GRAD,ROND,slnt@6..144,100..1000,25..151,0..100,0..100,-10..0&display=swap');

/* ============================================================
   MICROSOFT DYNAMICS — NURTURESPARK DESIGN SYSTEM
   Extends NurtureSpark v6 aesthetic with Microsoft Fluent flavour
   ============================================================ */

:root {
  /* NurtureSpark Core Palette */
  --gan-pink: #f72585;
  --gan-orange: #f6bd60;
  --gan-white: #f8f9fa;
  --gan-cyan: #00b4d8;
  --gan-violet: #7209b7;
  --gan-sky: #4cc9f0;
  --gan-red: #e63946;

  /* Microsoft Fluent Palette */
  --ms-blue: #0078D4;
  --ms-blue-dark: #005A9E;
  --ms-blue-xdark: #003F6E;
  --ms-blue-light: #50E6FF;
  --ms-blue-pale: #EBF3FB;
  --ms-purple: #5C2D91;
  --ms-purple-light: #E1D5F0;
  --ms-green: #107C10;
  --ms-green-light: #DFF6DD;
  --ms-orange: #FF8C00;
  --ms-orange-light: #FFF4CE;
  --ms-teal: #008272;
  --ms-teal-light: #C7E0F4;
  --ms-red: #D13438;
  --ms-red-light: #FDE7E9;
  --ms-yellow: #FFB900;

  /* Gradients */
  --ms-gradient: linear-gradient(135deg, var(--ms-blue) 0%, var(--ms-blue-light) 100%);
  --ms-gradient-dark: linear-gradient(135deg, var(--ms-blue-xdark) 0%, var(--ms-blue) 100%);
  --ms-hero-gradient: linear-gradient(135deg, #0078D4 0%, #50E6FF 50%, #f72585 100%);
  --ns-text-gradient: linear-gradient(90deg, #f72585 0%, #f6bd60 100%);
  --ns-cyan-gradient: linear-gradient(90deg, #4cc9f0 0%, #00b4d8 100%);

  /* Functional */
  --primary: var(--ms-blue);
  --primary-hover: var(--ms-blue-dark);

  /* Backgrounds */
  --bg-light: #f0f4f9;
  --bg-white: #FFFFFF;
  --bg-subtle: #F3F6FB;
  --bg-dark: #05102A;
  --bg-card: rgba(255, 255, 255, 0.7);

  /* Text */
  --text-main: #0E1B2E;
  --text-muted: #5A6A7A;
  --text-light: #8A9AB0;

  /* Borders */
  --border-light: rgba(0, 120, 212, 0.1);
  --border-card: rgba(255, 255, 255, 0.6);
  --border-glow: rgba(0, 120, 212, 0.3);
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Google Sans Flex', -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 120, 212, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(247, 37, 133, 0.1) 0%, transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(80, 230, 255, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  background: transparent !important;
  border: none !important;
}

section>.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 40px;
  padding: 60px 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-main);
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -1px;
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
}

h4 {
  font-size: 18px;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

.text-gradient {
  background: var(--ns-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-blue {
  background: var(--ms-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: var(--ns-cyan-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  background: rgba(0, 120, 212, 0.08);
  color: var(--ms-blue);
  border: 1px solid rgba(0, 120, 212, 0.15);
}

.badge-pink {
  background: rgba(247, 37, 133, 0.08);
  color: var(--gan-pink);
  border-color: rgba(247, 37, 133, 0.2);
}

.badge-green {
  background: var(--ms-green-light);
  color: var(--ms-green);
  border-color: rgba(16, 124, 16, 0.2);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ms-blue);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 120, 212, 0.35);
}

.btn-primary:hover {
  background: var(--ms-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 120, 212, 0.4);
}

.btn-gradient {
  background: var(--ms-hero-gradient);
  color: #fff;
  box-shadow: 0 6px 24px rgba(247, 37, 133, 0.25);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 120, 212, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(0, 120, 212, 0.4);
  color: var(--ms-blue);
}

.btn-outline:hover {
  background: var(--ms-blue);
  border-color: var(--ms-blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--ms-blue);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 1380px;
  z-index: 1000;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 120, 212, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container img {
  height: 36px;
}

.logo-container .logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.logo-container .logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--ms-blue);
  letter-spacing: 0.5px;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  position: relative;
}

.nav-links>li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 50px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--ms-blue-pale);
  color: var(--ms-blue);
}

/* Mega Menu Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 680px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(0, 120, 212, 0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

/* Bridge the gap to prevent hover loss */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-links li:hover>.nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-links li>.nav-dropdown {
  transform: translateX(-50%) translateY(8px);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mega-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ms-blue);
  margin-bottom: 8px;
  padding: 0 8px;
  grid-column: 1 / -1;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: all 0.2s;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
}

.mega-item:hover {
  background: var(--ms-blue-pale);
  color: var(--ms-blue);
}

.mega-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.mega-item-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Small dropdown */
.nav-dropdown-sm {
  min-width: 280px;
  left: 0;
  transform: translateX(0) translateY(8px);
}

.nav-links li:hover>.nav-dropdown-sm {
  transform: translateX(0) translateY(0);
}

.nav-dropdown-sm a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-main);
  transition: all 0.2s;
  margin-bottom: 2px;
}

.nav-dropdown-sm a:hover {
  background: var(--ms-blue-pale);
  color: var(--ms-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-trigger {
  display: none;
  background: transparent;
  border: 1px solid rgba(0, 120, 212, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ─── FIXED BG BLOBS ─── */
.fixed-background-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--ms-blue);
  top: -10%;
  left: -5%;
  animation: blobFloat 12s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--gan-pink);
  bottom: -10%;
  right: -5%;
  animation: blobFloat 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 350px;
  height: 350px;
  background: var(--ms-blue-light);
  top: 40%;
  right: 10%;
  animation: blobFloat 10s ease-in-out infinite 2s;
  opacity: 0.1;
}

.shape-4 {
  width: 300px;
  height: 300px;
  background: var(--gan-orange);
  bottom: 30%;
  left: 5%;
  animation: blobFloat 18s ease-in-out infinite 4s;
  opacity: 0.08;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.97) rotate(240deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
  }
}

.bg-icon-wrapper {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.bg-icon-wrapper img.bg-app-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.25;
  filter: grayscale(60%);
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
}

.bg-icon-wrapper img.bg-app-icon:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.5);
}

.bg-icon-wrapper:hover {
  animation-play-state: paused;
}

.float-anim-1 {
  animation: floatAnim1 linear infinite;
}

.float-anim-2 {
  animation: floatAnim2 linear infinite;
}

.float-anim-3 {
  animation: floatAnim3 linear infinite;
}

.float-anim-4 {
  animation: floatAnim4 linear infinite;
}

.float-anim-5 {
  animation: floatAnim5 linear infinite;
}

.float-anim-6 {
  animation: floatAnim6 linear infinite;
}

@keyframes floatAnim1 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-40px) translateX(20px) rotate(15deg);
  }

  66% {
    transform: translateY(20px) translateX(-10px) rotate(-15deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes floatAnim2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(30px, -50px) rotate(180deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes floatAnim3 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.15) translateY(-30px) rotate(20deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes floatAnim4 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(-30px, 30px) rotate(-90deg);
  }

  50% {
    transform: translate(0, 60px) rotate(-180deg);
  }

  75% {
    transform: translate(30px, 30px) rotate(-270deg);
  }

  100% {
    transform: translate(0, 0) rotate(-360deg);
  }
}

@keyframes floatAnim5 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-70px) rotate(30deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes floatAnim6 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(-40px, -20px) rotate(120deg);
  }

  66% {
    transform: translate(20px, -40px) rotate(240deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 120, 212, 0.1);
  border: 1px solid rgba(0, 120, 212, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ms-blue);
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero visual grid layout */
.hero-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ─── SECTION HEADER ─── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-top: 16px;
  margin-bottom: 20px;
}

.section-header .subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── CARDS ─── */
.card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 120, 212, 0.1);
  border-color: rgba(0, 120, 212, 0.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.icon-blue {
  background: rgba(0, 120, 212, 0.1);
  color: var(--ms-blue);
}

.icon-purple {
  background: rgba(92, 45, 145, 0.1);
  color: var(--ms-purple);
}

.icon-green {
  background: rgba(16, 124, 16, 0.1);
  color: var(--ms-green);
}

.icon-orange {
  background: rgba(255, 140, 0, 0.1);
  color: var(--ms-orange);
}

.icon-teal {
  background: rgba(0, 130, 114, 0.1);
  color: var(--ms-teal);
}

.icon-cyan {
  background: rgba(0, 180, 216, 0.1);
  color: var(--gan-cyan);
}

.icon-pink {
  background: rgba(247, 37, 133, 0.1);
  color: var(--gan-pink);
}

.icon-red {
  background: rgba(209, 52, 56, 0.1);
  color: var(--ms-red);
}

.icon-yellow {
  background: rgba(255, 185, 0, 0.1);
  color: var(--ms-yellow);
}

/* ─── PRODUCT CARDS ─── */
.product-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ms-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 120, 212, 0.12);
  border-color: rgba(0, 120, 212, 0.25);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card h4 {
  font-size: 16px;
  margin: 0;
}

.product-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.product-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ms-blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.product-card:hover .product-card-link {
  gap: 8px;
}

/* ─── STAT CARDS ─── */
.stat-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: var(--ms-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── GRIDS ─── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.grid-auto-sm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* ─── MARQUEE ─── */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  padding: 10px 0;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(240, 244, 249, 1), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(240, 244, 249, 1), transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  animation: scroll 40s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track img {
  height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  margin: 0 36px;
  filter: grayscale(80%) opacity(0.6);
  transition: all 0.3s;
}

.marquee-track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── TESTIMONIALS ─── */
.testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.quote-mark {
  font-size: 64px;
  line-height: 1;
  color: var(--ms-blue);
  opacity: 0.2;
  font-family: Georgia, serif;
  margin-bottom: -16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  font-size: 14px;
  display: block;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── PROCESS STEPS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 55px;
  /* 32px padding-top + 24px (half of 48px circle) - 1px (half of line) */
  left: calc(50% + 24px);
  /* start from the right edge of the circle */
  width: calc(100% - 48px);
  /* span to the left edge of the next circle */
  height: 2px;
  background: linear-gradient(to right, var(--ms-blue), var(--ms-blue-light));
  z-index: 0;
  transform-origin: left;
  transform: scaleX(0);
}

/* Staggered animation classes added via JS or triggered on scroll, but since they are revealed together, we can just use fixed delays */
.process-steps.reveal.visible .process-step::after {
  animation: drawLine 0.6s ease forwards;
}

.process-steps.reveal.visible .process-step:nth-child(1)::after {
  animation-delay: 0.2s;
}

.process-steps.reveal.visible .process-step:nth-child(2)::after {
  animation-delay: 0.6s;
}

.process-steps.reveal.visible .process-step:nth-child(3)::after {
  animation-delay: 1.0s;
}

.process-steps.reveal.visible .process-step:nth-child(4)::after {
  animation-delay: 1.4s;
}

.process-steps.reveal.visible .process-step:nth-child(5)::after {
  animation-delay: 1.8s;
}

@keyframes drawLine {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.process-step:last-child::after {
  display: none;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ms-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(0, 120, 212, 0.3);
}

.process-step h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── FEATURE LIST ─── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
}

.feature-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ms-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── TAGS ─── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--ms-blue-pale);
  color: var(--ms-blue);
}

/* ─── FLOATING CARDS ─── */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 120, 212, 0.1);
  animation: floatAnim 6s ease-in-out infinite;
}

.float-card-2 {
  animation-delay: 2s;
}

.float-card-3 {
  animation-delay: 4s;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.float-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 120, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ms-blue);
}

.float-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.float-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── HERO VISUAL — DASHBOARD MOCKUP ─── */
.hero-visual {
  position: relative;
  z-index: 2;
}

.dashboard-mockup {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 120, 212, 0.15);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.dot-red,
.dot-yellow,
.dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #FF5F57;
}

.dot-yellow {
  background: #FEBC2E;
}

.dot-green {
  background: #28C840;
}

.dashboard-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 8px;
}

.dashboard-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.d-metric {
  background: var(--ms-blue-pale);
  border-radius: 12px;
  padding: 14px;
}

.d-metric-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--ms-blue);
}

.d-metric-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.dashboard-chart {
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 16px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  overflow: hidden;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--ms-blue), var(--ms-blue-light));
  border-radius: 4px 4px 0 0;
  animation: barGrow 1.5s ease forwards;
  transform-origin: bottom;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
  margin-top: 40px;
}

footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ms-blue-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--ms-blue);
  border-color: var(--ms-blue);
  color: #fff;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

/* ─── GLASSMORPHIC HERO BAND ─── */
.hero-band {
  position: relative;
  padding: 200px 0 120px;
  overflow: hidden;
}

.hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.08) 0%, rgba(80, 230, 255, 0.05) 50%, rgba(247, 37, 133, 0.06) 100%);
}

.hero-band-content {
  position: relative;
  z-index: 2;
}

/* ─── PRODUCT PAGE HERO ─── */
.product-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ms-blue);
  margin-bottom: 28px;
}

.product-hero-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ─── INDUSTRY CARDS ─── */
.industry-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 120, 212, 0.12);
  border-color: rgba(0, 120, 212, 0.25);
}

.industry-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.industry-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 120px 0;
  position: relative;
  text-align: center;
}

.cta-glass {
  background: rgba(0, 120, 212, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 120, 212, 0.15);
  border-radius: 40px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.cta-glass::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-glass::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(247, 37, 133, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-glass h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
}

.cta-glass p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ─── CONTACT FORM ─── */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 48px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0, 120, 212, 0.2);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--ms-blue);
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ─── BACK LINK ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ms-blue);
  margin-bottom: 32px;
  transition: gap 0.2s;
}

.back-link:hover {
  gap: 12px;
}

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  section>.container {
    padding: 40px 24px;
    border-radius: 24px;
  }

  nav {
    width: 92%;
    top: 12px;
    border-radius: 20px;
  }

  .nav-links {
    display: none;
  }

  .menu-trigger {
    display: flex;
  }

  .nav-inner {
    padding: 12px 20px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-auto {
    grid-template-columns: 1fr;
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }

  .nav-dropdown {
    min-width: 260px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-glass {
    padding: 48px 28px;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step::after {
    display: none;
  }

  .dashboard-metric-row {
    grid-template-columns: 1fr;
  }
}

/* ─── MOBILE NAV OPEN ─── */
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  border-radius: 20px;
  border: 1px solid rgba(0, 120, 212, 0.12);
  padding: 16px;
  gap: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.nav-mobile-open .nav-links a {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
}

/* ─── ADDITIONAL CLASSES (added in Batch 2) ─── */

/* text-body alias */
--text-body: var(--text-main);

/* lead paragraph */
.lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Case Study cards */
.case-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 120, 212, 0.12);
}

/* Filter buttons */
.filter-btn {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(0, 120, 212, 0.2);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Google Sans Flex', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ms-blue);
  border-color: var(--ms-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 120, 212, 0.25);
}

/* ms-purple-light and ms-teal-light already set as vars */
/* Adding missing color vars for teal context */
:root {
  --ms-cyan: #00b4d8;
  --ms-teal-light: #C7E0F4;
  --ms-purple-light: #E1D5F0;
}


/* ─── CASE STUDY INTERACTIVE SINGLE COLUMN REDESIGN ─── */

.cs-vertical-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.cs-vertical-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(92, 45, 145, 0), var(--ms-blue), var(--ms-green), rgba(0, 0, 0, 0));
  z-index: 0;
}

.cs-timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 60px;
  z-index: 1;
}

.cs-timeline-item:last-child {
  margin-bottom: 0;
}

.cs-timeline-icon {
  position: absolute;
  left: 19px;
  top: 0;
  width: 44px;
  height: 44px;
  background: #111;
  border: 2px solid var(--ms-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ms-blue);
  font-size: 20px;
  box-shadow: 0 0 15px rgba(0, 120, 212, 0.4);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs-timeline-item:hover .cs-timeline-icon {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 120, 212, 0.8);
}

.cs-timeline-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 35px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.cs-timeline-content:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.cs-timeline-content h3 {
  font-size: 22px;
  color: var(--text-bright);
  margin-bottom: 15px;
}

.cs-timeline-content p,
.cs-timeline-content li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.cs-timeline-content ul {
  padding-left: 20px;
  margin-top: 15px;
}

.cs-timeline-content li {
  margin-bottom: 8px;
}

.kpi-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.cs-summary-card {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
  padding: 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

@media (max-width: 768px) {
  .cs-vertical-timeline::before {
    left: 20px;
  }

  .cs-timeline-item {
    padding-left: 60px;
  }

  .cs-timeline-icon {
    left: -1px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .cs-summary-card {
    padding: 30px;
  }
}

/* Fix alignment for dropdowns */
.nav-links li { position: relative; }
