/* ============================================================
   ROOT & RESET
============================================================ */
:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #1d6ec9;
  --blue-700: #1558a8;
  --blue-800: #0f3d7a;
  --blue-900: #0a2550;

  --navy-900: #0a1628;
  --navy-800: #0d1e38;
  --navy-700: #102245;

  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --white: #ffffff;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.16);
  --shadow-blue: 0 8px 32px rgba(29,110,201,.25);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
  --nav-floating-gap: 14px;

  --bg: #050d1a;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--nav-floating-gap) + 12px);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a,
button,
.btn,
.nav-link,
.nav-toggle,
img,
svg {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
.btn,
.nav-link,
.nav-toggle,
img,
svg {
  -webkit-user-select: none;
  user-select: none;
}

img,
svg {
  -webkit-user-drag: none;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
svg { display: block; }
p, h1, h2, h3, h4, h5, h6, li, span, strong { overflow-wrap: break-word; word-wrap: break-word; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn svg:last-child { transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn:active { transform: scale(0.96) !important; transition-duration: 0.08s !important; }

.btn--primary {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(29,110,201,.35);
}

.btn--ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-1px);
}

.btn--nav {
  background: var(--blue-600);
  color: var(--white);
  padding: 9px 22px;
  font-size: 13.5px;
  border-radius: 999px;
}
.btn--nav:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29,110,201,.4), 0 0 0 1px rgba(29,110,201,.15);
}

.btn--white {
  background: var(--white);
  color: var(--blue-700);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--blue-50);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,255,255,.25);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.75);
  transform: translateY(-1px);
}

.btn--lg { padding: 14px 32px; font-size: 15px; border-radius: var(--radius); }

/* ============================================================
   SECTION HELPERS
============================================================ */
.section { padding: 100px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
}
.section-label--light { color: rgba(255,255,255,.7); }
.section-label--light::before { background: rgba(255,255,255,.5); }

.section-header {
  max-width: 580px;
  margin-bottom: 64px;
}
.section-header--light { color: var(--white); }
.section-header--light .section-title { color: var(--white); }
.section-header--light .section-subtitle { color: rgba(255,255,255,.7); }

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: rgba(255,255,255,.92);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
}

@keyframes textShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.text-gradient {
  background: linear-gradient(135deg, #4baee8, #1d6ec9, #6ec6f5, #1558a8, #4baee8);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 7s ease infinite;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: var(--nav-floating-gap);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  height: var(--nav-height);
  width: min(1160px, calc(100% - 28px));
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(10,22,40,.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 50px rgba(0,0,0,.35);
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
}

.navbar.scrolled {
  background: rgba(10,22,40,.72);
  border-color: rgba(75,174,232,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.42);
}

.navbar.scrolled .nav-link { color: rgba(255,255,255,.86); }
.navbar.scrolled .nav-link:hover { color: var(--white); }
.navbar.scrolled .nav-toggle span { background: rgba(255,255,255,.9); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img {
  height: 36px;
  width: auto;
  transition: filter 0.5s ease;
}
.nav-logo img { filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.navbar.scrolled .nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }

.nav-link.active { color: var(--white); font-weight: 600; }
.navbar.scrolled .nav-link.active { color: var(--blue-400); }

.chevron {
  width: 10px; height: 6px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  opacity: 0.7;
}

/* Dropdown */
.has-dropdown { position: relative; }

.has-dropdown:hover .chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10,22,40,.92);
  border-radius: var(--radius-lg);
  padding: 10px;
  min-width: 240px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.dropdown--wide { min-width: 280px; }

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(10,22,40,.92);
  border-left: 1px solid rgba(255,255,255,.12);
  border-top: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
}
.dropdown::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.dropdown-link:hover { background: rgba(75,174,232,.14); }
.dropdown-link:hover .dropdown-icon { background: rgba(75,174,232,.3); color: var(--white); }

.dropdown-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  color: #78beff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.dropdown-icon svg { width: 18px; height: 18px; }

.dropdown-link > div { display: flex; flex-direction: column; gap: 2px; }
.dropdown-link strong { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.3; }
.dropdown-link span { font-size: 12px; color: rgba(255,255,255,.52); line-height: 1.3; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #050d1a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #050d1a 0%, #060f1e 55%, #040b15 100%);
}

.hero-spline {
  position: absolute;
  inset: -80px -40px -80px -40px;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.05);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, black 40%, transparent 78%);
}

.hero-spline spline-viewer {
  width: 100%;
  height: 100%;
}

/* Ambient glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow--top {
  width: 1000px; height: 520px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(29,110,201,.5) 0%, rgba(29,110,201,.15) 40%, transparent 70%);
  filter: blur(8px);
}
.hero-glow--left {
  width: 550px; height: 550px;
  left: -160px; bottom: -60px;
  background: radial-gradient(circle, rgba(8,35,90,.9) 0%, transparent 68%);
  filter: blur(60px);
}
.hero-glow--right {
  width: 420px; height: 420px;
  right: -60px; top: 15%;
  background: radial-gradient(circle, rgba(75,174,232,.22) 0%, transparent 68%);
  filter: blur(80px);
}

/* Cinematic light rays – thin divs that fan from top-center */
.hero-ray {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform-origin: top center;
  pointer-events: none;
}
.hero-ray--1 {
  height: 100%;
  background: linear-gradient(to bottom, rgba(75,174,232,.6) 0%, rgba(29,110,201,.18) 55%, transparent 100%);
  transform: translateX(-50%) rotate(-26deg) scaleX(55);
  filter: blur(28px);
  opacity: .22;
}
.hero-ray--2 {
  height: 100%;
  background: linear-gradient(to bottom, rgba(120,190,255,.55) 0%, rgba(75,174,232,.2) 50%, transparent 100%);
  transform: translateX(-50%) rotate(-13deg) scaleX(72);
  filter: blur(20px);
  opacity: .28;
}
.hero-ray--3 {
  height: 92%;
  background: linear-gradient(to bottom, rgba(200,230,255,.4) 0%, rgba(120,180,255,.12) 58%, transparent 100%);
  transform: translateX(-50%) rotate(-2deg) scaleX(40);
  filter: blur(16px);
  opacity: .2;
}
.hero-ray--4 {
  height: 100%;
  background: linear-gradient(to bottom, rgba(75,174,232,.52) 0%, rgba(29,110,201,.16) 55%, transparent 100%);
  transform: translateX(-50%) rotate(11deg) scaleX(62);
  filter: blur(24px);
  opacity: .24;
}
.hero-ray--5 {
  height: 100%;
  background: linear-gradient(to bottom, rgba(29,110,201,.42) 0%, transparent 68%);
  transform: translateX(-50%) rotate(24deg) scaleX(50);
  filter: blur(36px);
  opacity: .18;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 10%, transparent 75%);
}

/* ---- Hero top (centered content) ---- */
.hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + var(--nav-floating-gap) + 80px);
  padding-bottom: 52px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  letter-spacing: .02em;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4baee8;
  box-shadow: 0 0 0 3px rgba(75,174,232,.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(75,174,232,.3); }
  50%      { box-shadow: 0 0 0 7px rgba(75,174,232,.1); }
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 74px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.038em;
  color: var(--white);
  margin-bottom: 22px;
  max-width: 820px;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.52);
  line-height: 1.72;
  max-width: 510px;
  margin-bottom: 38px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Hero bottom (stat cards) ---- */
.hero-bottom {
  position: relative;
  z-index: 1;
  padding-bottom: 64px;
}

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

/* Compact subpage heroes on larger screens to avoid excessive whitespace. */
@media (min-width: 1024px) {
  .hero:not(:has(.hero-bottom)) {
    min-height: 68vh;
  }

  .hero:not(:has(.hero-bottom)) .hero-top {
    padding-bottom: 88px;
  }

  .page--overview .hero:not(:has(.hero-bottom)) {
    min-height: 54vh;
  }

  .page--overview .hero:not(:has(.hero-bottom)) .hero-top {
    padding-bottom: 36px;
  }
}

.hero-card {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-xl);
  padding: 30px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  position: relative;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.03) 0%, transparent 60%);
  pointer-events: none;
}
.hero-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(75,174,232,.28);
  transform: translateY(-3px);
}
.hero-card--accent {
  background: rgba(29,110,201,.09);
  border-color: rgba(75,174,232,.18);
}
.hero-card--accent:hover {
  background: rgba(29,110,201,.15);
  border-color: rgba(75,174,232,.4);
}

.hero-card__body { flex: 1; }

.hero-card__big {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  line-height: 1;
  margin-bottom: 10px;
}
.hero-card__num {
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.hero-card__sup {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-400);
  padding-bottom: 7px;
}
.hero-card__label {
  font-size: 13px;
  color: rgba(255,255,255,.42);
  line-height: 1.55;
  margin-bottom: 22px;
}

/* Decorative elements */
.hero-card__deco {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.deco-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
  width: 80px;
  flex-shrink: 0;
}
.deco-bar__fill {
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, var(--blue-600), #4baee8);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(.4,0,.2,1);
}
.deco-bar__fill.animated { transform: scaleX(1); }

.deco-chip {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  padding: 4px 11px;
  border-radius: 100px;
  white-space: nowrap;
}

.deco-dotgrid {
  display: grid;
  grid-template-columns: repeat(6, 8px);
  gap: 5px;
}
.deco-dotgrid span {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: rgba(75,174,232,.42);
}
.deco-dotgrid span.dim {
  background: rgba(255,255,255,.06);
}

.deco-nodes {
  display: flex;
  align-items: center;
  gap: 7px;
}
.deco-node {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
}
.deco-node--active {
  background: rgba(29,110,201,.35);
  border-color: rgba(75,174,232,.55);
  color: #4baee8;
  box-shadow: 0 0 12px rgba(75,174,232,.22);
  animation: nodePulse 2.5s ease-in-out infinite;
}
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 12px rgba(75,174,232,.22); }
  50%       { box-shadow: 0 0 24px rgba(75,174,232,.55); }
}

/* ---- Hero entrance animations ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge    { animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s  both; }
.hero-title    { animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.hero-subtitle { animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s  both; }
.hero-actions  { animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.hero-card:nth-child(1) { animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.68s both; }
.hero-card:nth-child(2) { animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.80s both; }
.hero-card:nth-child(3) { animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.92s both; }

/* ============================================================
   SERVICES
============================================================ */
.services-section {
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(75,174,232,.18) 0%, transparent 60%),
    radial-gradient(780px 520px at 85% 18%, rgba(29,110,201,.16) 0%, transparent 62%),
    linear-gradient(180deg, rgba(5,13,26,1) 0%, rgba(6,15,30,1) 100%);
}

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

.service-card {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 70px rgba(0,0,0,.42); border-color: rgba(75,174,232,.22); }
.service-card:hover::before { transform: scaleX(1); }

.service-card--featured {
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: rgba(75,174,232,.22);
}
.service-card--featured::before { background: linear-gradient(90deg, #4baee8, var(--blue-600)); }
.service-card.service-card--featured h3 { color: var(--white); }
.service-card.service-card--featured p { color: rgba(255,255,255,.6); }
.service-card--featured .service-list li { color: rgba(255,255,255,.75); }
.service-card--featured .service-list li::before { background: #4baee8; }
.service-card--featured .service-card__icon { background: rgba(75,174,232,.12); color: #4baee8; }
.service-card--featured .service-card__number { color: rgba(255,255,255,.12); }
.service-card--featured .service-card__link { color: #4baee8; }
.service-card--featured .service-card__link:hover { color: var(--white); }

.service-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(75,174,232,.12);
  color: #78beff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(-8deg); background: rgba(75,174,232,.22); }
.service-card--featured:hover .service-card__icon { background: rgba(75,174,232,.22); }

.service-card__number {
  position: absolute;
  top: 32px; right: 36px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,.12);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14.5px;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.service-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-600);
  margin-top: auto;
  transition: gap 0.28s ease, color 0.28s ease;
}
.service-card__link svg { width: 15px; height: 15px; transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1); }
.service-card__link:hover { gap: 10px; }
.service-card__link:hover svg { transform: translateX(3px); }

/* ============================================================
   ABOUT
============================================================ */
.about-section {
  background:
    radial-gradient(820px 520px at 70% 0%, rgba(75,174,232,.14) 0%, transparent 62%),
    linear-gradient(180deg, rgba(6,15,30,1) 0%, rgba(5,13,26,1) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 480px;
  overflow: visible;
}

.about-visual__img {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  --about-spline-x: 42px;
}

.about-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 40%, #4baee8 100%);
  border-radius: var(--radius-xl);
}

.about-spline-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  transform: translate(var(--about-spline-x, 0px), var(--about-spline-y, 0px)) scale(var(--about-spline-scale, 1));
  transform-origin: 50% 50%;
}

.about-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: var(--radius-xl);
  z-index: 1;
  pointer-events: none;
}

.about-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10,22,40,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  z-index: 3;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.1);
}
.about-card svg { width: 20px; height: 20px; color: var(--blue-600); }

.about-card--1 { top: 28px; right: -24px; }
.about-card--2 { top: 118px; left: -24px; }
.about-card--3 { bottom: 42px; right: -24px; }

.about-content { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.about-content .section-label { margin-bottom: 14px; }
.about-content .section-title { margin-bottom: 20px; }
.about-content p {
  font-size: 15.5px;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-content .btn { margin-top: 12px; }

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin: 24px 0;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
}
.pillar-icon {
  width: 32px; height: 32px;
  background: rgba(75,174,232,.12);
  border-radius: var(--radius-sm);
  color: #78beff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.pillar-icon svg { width: 16px; height: 16px; }
.pillar strong { font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.9); }
.pillar span { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.4; }

/* ============================================================
   STATS
============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-900) 50%, var(--navy-800) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.stats-section .section-header {
  text-align: center;
  margin: 0 auto 64px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.03);
  text-align: center;
  transition: background var(--transition);
  border-right: 1px solid rgba(255,255,255,.06);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.07); }

.stat-num {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-size: 18px;
  font-weight: 700;
  color: #4baee8;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.platforms-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.platforms-bar > span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.platforms-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.platform-badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}
.platform-badge:hover {
  background: rgba(75,174,232,.15);
  border-color: rgba(75,174,232,.4);
  color: var(--white);
}

/* ============================================================
   VALUES
============================================================ */
.values-section {
  background:
    radial-gradient(820px 520px at 30% 0%, rgba(29,110,201,.14) 0%, transparent 62%),
    linear-gradient(180deg, rgba(5,13,26,1) 0%, rgba(4,11,21,1) 100%);
}

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

.value-card {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 24px 70px rgba(0,0,0,.42); border-color: rgba(75,174,232,.22); }

.value-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(75,174,232,.12);
  color: #78beff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-card__icon svg { width: 22px; height: 22px; }
.value-card:hover .value-card__icon { transform: scale(1.1) rotate(-8deg); background: rgba(75,174,232,.22); }
.value-card h4 { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.92); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.65; }

/* ============================================================
   CTA
============================================================ */
.cta-section {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(900px 520px at 18% 20%, rgba(255,255,255,.12) 0%, transparent 60%),
    radial-gradient(780px 520px at 85% 18%, rgba(75,174,232,.22) 0%, transparent 62%),
    radial-gradient(900px 620px at 70% 85%, rgba(29,110,201,.25) 0%, transparent 62%),
    linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 50%, var(--blue-800) 100%);
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.12;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, black 30%, transparent 80%);
  pointer-events: none;
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 20% 70%, rgba(0,0,0,.35) 0%, transparent 60%),
    radial-gradient(560px 420px at 85% 65%, rgba(0,0,0,.28) 0%, transparent 60%);
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 65%);
  top: -200px; right: -100px;
}
.cta-orb::before {
  content: '';
  position: absolute;
  inset: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75,174,232,.28), transparent 62%);
  filter: blur(2px);
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
}
.cta-content .section-label { margin-bottom: 16px; }
.cta-content h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin-bottom: 40px;
}
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--gray-900);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-logo { height: 32px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(.75); }

.footer-brand p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.footer-socials svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 13px; color: var(--gray-600); }
.footer-bottom a { color: var(--gray-500); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--blue-400); }

/* ============================================================
   SECONDARY PAGE COMPONENTS
============================================================ */
:root {
  --accent: #4baee8;
}

/* ---- Prose Block (left-border accent text) ---- */
.prose-block {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--accent);
}
.prose-block p {
  font-size: 16px;
  color: rgba(255,255,255,.68);
  line-height: 1.85;
  margin-bottom: 18px;
}
.prose-block p:last-child { margin-bottom: 0; }
.prose-block strong { color: rgba(255,255,255,.92); }
.prose-list {
  list-style: disc;
  margin: 0;
  padding-left: 20px;
}
.prose-list--spaced {
  margin-bottom: 18px;
}
.prose-list li {
  font-size: 16px;
  color: rgba(255,255,255,.68);
  line-height: 1.85;
  margin-bottom: 8px;
}
.prose-list li::marker {
  color: var(--accent);
}

/* ---- Feature Rows (horizontal icon + text, alternating) ---- */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 36px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  transition: border-color .35s ease, background .35s ease;
}
.feature-row:hover {
  border-color: rgba(75,174,232,.22);
  background: rgba(255,255,255,.05);
}
.feature-row__num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--accent));
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.feature-row__body h4 {
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  margin-bottom: 8px;
}
.feature-row__body p {
  font-size: 14.5px;
  color: rgba(255,255,255,.58);
  line-height: 1.7;
  margin: 0;
}
.feature-row__body ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-row__body ul li {
  font-size: 13.5px;
  color: rgba(255,255,255,.62);
  padding-left: 16px;
  position: relative;
}
.feature-row__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- Credential Strip (horizontal badges) ---- */
.credential-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}
.credential-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  transition: border-color .35s ease, background .35s ease;
  flex: 1;
  min-width: 260px;
}
.credential-badge:hover {
  border-color: rgba(75,174,232,.25);
  background: rgba(75,174,232,.06);
}
.credential-badge__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(75,174,232,.18), rgba(29,110,201,.12));
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.credential-badge__icon svg { width: 22px; height: 22px; }
.credential-badge h5 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 3px;
}
.credential-badge p {
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
  margin: 0;
}

/* ---- Info Grid (2-col with big numbers / different from homepage) ---- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.info-card {
  padding: 36px 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color .35s ease, transform .35s ease;
}
.info-card:hover {
  border-color: rgba(75,174,232,.22);
  transform: translateY(-4px);
}
.info-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--accent));
  opacity: 0;
  transition: opacity .35s ease;
}
.info-card:hover::after { opacity: 1; }
.info-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.info-card h4 {
  font-size: 20px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.info-card p {
  font-size: 14.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin: 0;
}
.info-card--full { grid-column: 1 / -1; }

/* ---- Industry Tiles (compact grid) ---- */
.industry-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 20px;
  text-align: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  transition: border-color .35s ease, background .35s ease, transform .35s ease;
}
.industry-tile:hover {
  border-color: rgba(75,174,232,.22);
  background: rgba(75,174,232,.06);
  transform: translateY(-4px);
}
.industry-tile__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(75,174,232,.1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.industry-tile__icon svg { width: 24px; height: 24px; }
.industry-tile h4 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  margin: 0;
}

/* ---- Contact Cards (horizontal info layout) ---- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: border-color .35s ease, background .35s ease;
}
.contact-card:hover {
  border-color: rgba(75,174,232,.25);
  background: rgba(75,174,232,.06);
}
.contact-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(75,174,232,.15), rgba(29,110,201,.1));
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 16px;
  color: rgba(255,255,255,.88);
  line-height: 1.4;
  margin: 0;
}
.contact-card a {
  color: var(--accent);
  transition: color .25s ease;
}
.contact-card a:hover { color: var(--white); }

/* ---- Subpage Section Variant ---- */
.subpage-section {
  padding: 80px 0;
  position: relative;
}
.subpage-section + .subpage-section {
  border-top: 1px solid rgba(255,255,255,.05);
}
.subpage-header {
  margin-bottom: 48px;
}
.subpage-header .section-label { margin-bottom: 12px; }
.subpage-header .section-title {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 14px;
}
.subpage-header .section-subtitle {
  max-width: 640px;
}

.page--enterprise .subpage-section--tinted .subpage-header .section-subtitle {
  max-width: 760px;
}

/* ---- Link Cards (for About Us landing) ---- */
.link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.link-card {
  padding: 40px 36px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color .4s ease, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.link-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.link-card:hover {
  border-color: rgba(75,174,232,.22);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.link-card:hover::before { transform: scaleX(1); }
.link-card__num {
  font-size: 56px;
  font-weight: 900;
  color: rgba(255,255,255,.06);
  line-height: 1;
  letter-spacing: -.04em;
  position: absolute;
  top: 24px; right: 32px;
}
.link-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  letter-spacing: -.01em;
}
.link-card p {
  font-size: 14.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.link-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap .28s ease;
}
.link-card__arrow svg { width: 16px; height: 16px; }
.link-card:hover .link-card__arrow { gap: 12px; }

/* ============================================================
   PAGE-SPECIFIC ACCENT COLORS & UNIQUE COMPONENTS
============================================================ */

/* Per-page accent tokens */
.page--overview   { --pa: 56,189,248;  --page-accent: #38bdf8; }
.page--values     { --pa: 251,191,36;  --page-accent: #fbbf24; }
.page--enterprise { --pa: 52,211,153;  --page-accent: #34d399; }
.page--process    { --pa: 167,139,250; --page-accent: #a78bfa; }
.page--talent     { --pa: 251,113,133; --page-accent: #fb7185; }
.page--experience { --pa: 75,174,232;  --page-accent: #4baee8; }
.page--contact    { --pa: 34,211,238;  --page-accent: #22d3ee; }
.page--services   { --pa: 129,140,248; --page-accent: #818cf8; }
.page--about      { --pa: 196,181,253; --page-accent: #c4b5fd; }

/* Cascade page accent through all shared components */
[class*="page--"] .section-label       { color: var(--page-accent); border-color: rgba(var(--pa),.2); }
[class*="page--"] .prose-block         { border-left-color: var(--page-accent); }
[class*="page--"] .feature-row__num    { background: linear-gradient(135deg, rgba(var(--pa),.7), var(--page-accent)); }
[class*="page--"] .feature-row:hover   { border-color: rgba(var(--pa),.25); }
[class*="page--"] .feature-row__body ul li::before { background: var(--page-accent); }
[class*="page--"] .credential-badge:hover { border-color: rgba(var(--pa),.25); background: rgba(var(--pa),.06); }
[class*="page--"] .credential-badge__icon { background: linear-gradient(135deg, rgba(var(--pa),.2), rgba(var(--pa),.08)); color: var(--page-accent); }
[class*="page--"] .info-card:hover     { border-color: rgba(var(--pa),.22); }
[class*="page--"] .info-card::after    { background: linear-gradient(90deg, rgba(var(--pa),.6), var(--page-accent)); }
[class*="page--"] .info-card__eyebrow  { color: var(--page-accent); }
[class*="page--"] .contact-card:hover  { border-color: rgba(var(--pa),.25); background: rgba(var(--pa),.06); }
[class*="page--"] .contact-card__icon  { background: linear-gradient(135deg, rgba(var(--pa),.18), rgba(var(--pa),.06)); color: var(--page-accent); }
[class*="page--"] .contact-card a      { color: var(--page-accent); }
[class*="page--"] .link-card::before   { background: linear-gradient(90deg, rgba(var(--pa),.6), var(--page-accent)); }
[class*="page--"] .link-card:hover     { border-color: rgba(var(--pa),.22); }
[class*="page--"] .link-card__arrow    { color: var(--page-accent); }
[class*="page--"] .hero-glow--top      { background: radial-gradient(circle, rgba(var(--pa),.18) 0%, transparent 70%); }
[class*="page--"] .hero-glow--left     { background: radial-gradient(circle, rgba(var(--pa),.08) 0%, transparent 70%); }

/* Tinted section variant */
.subpage-section--tinted {
  background: linear-gradient(180deg, rgba(var(--pa),.04) 0%, transparent 100%);
}

/* ---- Company Overview: Split Showcase ---- */
.split-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split-showcase__highlight {
  padding: 48px 40px;
  background: linear-gradient(145deg, rgba(var(--pa),.12) 0%, rgba(var(--pa),.03) 100%);
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; justify-content: center;
}
.split-showcase__highlight .big-year {
  font-size: 72px; font-weight: 900; color: var(--page-accent);
  line-height: 1; letter-spacing: -.04em; margin-bottom: 12px;
}
.split-showcase__highlight .big-label {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .1em;
}
.split-showcase__body { padding: 48px 40px; }
.split-showcase__body p {
  font-size: 15px; color: rgba(255,255,255,.62); line-height: 1.8; margin-bottom: 16px;
}
.split-showcase__body p:last-child { margin-bottom: 0; }
.split-showcase__body strong { color: rgba(255,255,255,.9); }

/* ---- Values: Value Pillars (tall cards, thick left gradient border) ---- */
.value-pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.value-pillar {
  padding: 36px 28px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid var(--page-accent);
  border-radius: 4px var(--radius-lg) var(--radius-lg) 4px;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.value-pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  background: rgba(var(--pa),.04);
}
.value-pillar__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(var(--pa),.1); color: var(--page-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.value-pillar__icon svg { width: 24px; height: 24px; }
.value-pillar h4 {
  font-size: 18px; font-weight: 800; color: rgba(255,255,255,.92); margin-bottom: 12px;
}
.value-pillar p {
  font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.7; margin: 0;
}

/* ---- Values: Diff Columns (3-col, centered icon, gradient top bg) ---- */
.diff-columns {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.diff-col {
  padding: 40px 28px; text-align: center;
  background: linear-gradient(180deg, rgba(var(--pa),.06) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-lg);
  transition: border-color .35s ease, transform .35s ease;
}
.diff-col:hover { border-color: rgba(var(--pa),.2); transform: translateY(-4px); }
.diff-col__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--pa),.18), rgba(var(--pa),.05));
  color: var(--page-accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.diff-col__icon svg { width: 28px; height: 28px; }
.diff-col h4 { font-size: 20px; font-weight: 800; color: rgba(255,255,255,.92); margin-bottom: 14px; }
.diff-col p { font-size: 14px; color: rgba(255,255,255,.52); line-height: 1.7; margin: 0 0 16px; }
.diff-col ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.diff-col ul li {
  font-size: 13px; color: rgba(255,255,255,.55);
  padding: 6px 0 6px 18px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.diff-col ul li:last-child { border-bottom: 0; }
.diff-col ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--page-accent);
}

/* ---- Enterprise: Service Bands (alternating horizontal rows) ---- */
.service-bands {
  display: flex; flex-direction: column; gap: 0;
  max-width: 900px; margin: 0 auto;
}
.service-band {
  display: flex; align-items: flex-start; gap: 32px;
  padding: 36px 40px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .35s ease;
}
.service-band:last-child { border-bottom: none; }
.service-band:hover { background: rgba(var(--pa),.04); }
.service-band:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.service-band__num {
  font-size: 36px; font-weight: 900; color: var(--page-accent);
  line-height: 1; opacity: .35; flex-shrink: 0; width: 56px;
}
.service-band__body h4 { font-size: 17px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 8px; }
.service-band__body p { font-size: 14px; color: rgba(255,255,255,.52); line-height: 1.7; margin: 0; }
.service-band:nth-child(even) .service-band__body { text-align: right; }

/* Enterprise: Stats Bar */
.stats-bar {
  display: flex; justify-content: center; gap: 56px;
  padding: 44px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-top: 40px;
}
.stats-bar__item { text-align: center; }
.stats-bar__num {
  font-size: 44px; font-weight: 900; color: var(--page-accent);
  line-height: 1; margin-bottom: 8px;
}
.stats-bar__label {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .1em;
}

.stats-bar__item--wide {
  min-width: 180px;
}

/* ---- Process: Stepper (vertical timeline with connecting line) ---- */
.stepper {
  position: relative; max-width: 720px; margin: 0 auto; padding-left: 56px;
}
.stepper::before {
  content: ''; position: absolute; left: 22px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--page-accent), rgba(var(--pa),.08));
}
.step {
  position: relative; margin-bottom: 40px;
  padding: 32px 36px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  transition: border-color .35s ease, background .35s ease, transform .35s ease;
}
.step:last-child { margin-bottom: 0; }
.step:hover {
  border-color: rgba(var(--pa),.25);
  background: rgba(var(--pa),.04);
  transform: translateX(6px);
}
.step__dot {
  position: absolute; left: -48px; top: 36px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--page-accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(var(--pa),.4);
}
.step__label {
  font-size: 11px; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; color: var(--page-accent); margin-bottom: 10px;
}
.step h4 { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.92); margin-bottom: 10px; }
.step p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin: 0; }

/* ---- Process: Process Grid (3-col, gradient-top cards) ---- */
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.process-card {
  position: relative; padding: 36px 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .35s ease, transform .35s ease;
}
.process-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--page-accent), rgba(var(--pa),.2));
}
.process-card:hover { border-color: rgba(var(--pa),.2); transform: translateY(-4px); }
.process-card__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(var(--pa),.1); color: var(--page-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.process-card__icon svg { width: 22px; height: 22px; }
.process-card h4 { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 10px; }
.process-card p { font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.7; margin: 0; }

/* ---- Talent: Skill Pills (inline tag badges) ---- */
.skill-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 32px;
}
.skill-pill {
  padding: 8px 20px; font-size: 13px; font-weight: 600;
  color: var(--page-accent);
  background: rgba(var(--pa),.08);
  border: 1px solid rgba(var(--pa),.15);
  border-radius: 100px;
  transition: background .25s ease, transform .25s ease;
}
.skill-pill:hover { background: rgba(var(--pa),.14); transform: translateY(-2px); }

/* ---- Talent: Service Panels (horizontal, side accent) ---- */
.service-panels {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 800px; margin: 0 auto;
}
.service-panel {
  display: flex; gap: 24px;
  padding: 28px 32px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid var(--page-accent);
  border-radius: 4px var(--radius-lg) var(--radius-lg) 4px;
  transition: background .3s ease;
}
.service-panel:hover { background: rgba(var(--pa),.04); }
.service-panel__eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--page-accent);
  margin-bottom: 6px; flex-shrink: 0; min-width: 110px;
}
.service-panel h4 { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.88); margin-bottom: 8px; }
.service-panel p { font-size: 14px; color: rgba(255,255,255,.52); line-height: 1.7; margin: 0; }

/* ---- Experience: Mosaic Grid (varied tile sizes) ---- */
.mosaic {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mosaic__tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 32px 24px; text-align: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  transition: border-color .35s ease, background .35s ease, transform .35s ease;
}
.mosaic__tile--wide { grid-column: span 2; }
.mosaic__tile--tall { grid-row: span 2; }
.mosaic__tile:hover {
  border-color: rgba(var(--pa),.3);
  background: rgba(var(--pa),.07);
  transform: scale(1.03);
}
.mosaic__tile-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(var(--pa),.12); color: var(--page-accent);
  display: flex; align-items: center; justify-content: center;
}
.mosaic__tile-icon svg { width: 22px; height: 22px; }
.mosaic__tile h4 { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.88); margin: 0; }
.mosaic__tile p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; margin: 0; }

/* ---- Contact: Contact Blocks (centered, large gradient icon circle) ---- */
.contact-blocks {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}

@media (min-width: 1100px) {
  .page--contact .contact-blocks {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-block {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px;
  padding: 48px 32px;
  background: linear-gradient(165deg, rgba(var(--pa),.06) 0%, rgba(255,255,255,.015) 100%);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.contact-block:hover {
  border-color: rgba(var(--pa),.25);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.contact-block__icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--pa),.22), rgba(var(--pa),.06));
  color: var(--page-accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-block__icon svg { width: 32px; height: 32px; }
.contact-block h4 {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.contact-block p { font-size: 18px; color: rgba(255,255,255,.9); margin: 0; }
.contact-block a { color: var(--page-accent); font-size: 18px; transition: color .25s ease; }
.contact-block a:hover { color: var(--white); }

/* ---- Services Landing: Spotlight Cards ---- */
.spotlight-cards { display: flex; flex-direction: column; gap: 24px; }
.spotlight-card {
  display: grid; grid-template-columns: 80px 1fr auto;
  align-items: center; gap: 32px;
  padding: 40px 44px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-left: 4px solid var(--page-accent);
  border-radius: 4px var(--radius-lg) var(--radius-lg) 4px;
  text-decoration: none;
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}
.spotlight-card:hover {
  background: rgba(var(--pa),.04);
  transform: translateX(8px);
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
.spotlight-card__num {
  font-size: 48px; font-weight: 900; color: rgba(var(--pa),.25); line-height: 1;
}
.spotlight-card h3 { font-size: 22px; font-weight: 800; color: rgba(255,255,255,.92); margin-bottom: 8px; }
.spotlight-card p { font-size: 14.5px; color: rgba(255,255,255,.5); line-height: 1.7; margin: 0; }
.spotlight-card__arrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--page-accent);
  white-space: nowrap; transition: gap .28s ease;
}
.spotlight-card__arrow svg { width: 16px; height: 16px; }
.spotlight-card:hover .spotlight-card__arrow { gap: 14px; }

/* ---- About Landing: Intro Split ---- */
.intro-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.intro-split__text p {
  font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.85; margin-bottom: 18px;
}
.intro-split__text p:last-child { margin-bottom: 0; }
.intro-split__text strong { color: rgba(255,255,255,.9); }
.intro-split__visual { display: flex; flex-direction: column; gap: 16px; }
.intro-stat {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  background: rgba(var(--pa),.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
}
.intro-stat__num {
  font-size: 32px; font-weight: 900; color: var(--page-accent); line-height: 1; flex-shrink: 0;
}
.intro-stat span { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ---- Responsive: page-specific + secondary components (merged) ---- */
@media (max-width: 900px) {
  .split-showcase { grid-template-columns: 1fr; }
  .split-showcase__highlight { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 32px 24px; }
  .split-showcase__body { padding: 32px 24px; }
  .value-pillars { grid-template-columns: repeat(2, 1fr); }
  .diff-columns { grid-template-columns: 1fr; }
  .spotlight-card { grid-template-columns: 1fr; gap: 16px; }
  .spotlight-card__num { display: none; }
  .intro-split { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-blocks { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .link-cards { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .credential-strip { flex-direction: column; }
  .credential-badge { min-width: auto; }
  .platforms-bar { flex-direction: column; text-align: center; }
  .platforms-list { justify-content: center; }
}
@media (max-width: 768px) {
  .subpage-section { padding: 56px 0; }
  .subpage-header { margin-bottom: 32px; }
  .value-pillars { grid-template-columns: 1fr; }
  .service-band { flex-direction: column !important; text-align: left !important; }
  .service-band:nth-child(even) .service-band__body { text-align: left; }
  .service-band__num { font-size: 28px; }
  .stats-bar { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .stats-bar__num { font-size: 32px; }
  .page--enterprise .stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    align-items: start;
  }
  .page--enterprise .stats-bar__item,
  .page--enterprise .stats-bar__item--wide {
    min-width: 0;
  }
  .page--enterprise .stats-bar__label {
    line-height: 1.35;
  }
  .stepper { padding-left: 44px; }
  .stepper::before { left: 16px; }
  .step__dot { left: -40px; }
  .service-panel { flex-direction: column; gap: 8px; }
  .feature-row { flex-direction: column; gap: 16px; padding: 24px; }
  .industry-tiles { grid-template-columns: repeat(2, 1fr); }
  .prose-block { padding-left: 20px; }
  .split-showcase__highlight .big-year { font-size: 48px; }
  .intro-stat { padding: 16px 18px; gap: 14px; }
  .intro-stat__num { font-size: 26px; }
  .contact-block { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .mosaic { grid-template-columns: 1fr; }
  .industry-tiles { grid-template-columns: 1fr; }
  .stats-bar { gap: 16px; }
  .stats-bar__item { min-width: 40%; }
  .page--enterprise .stats-bar {
    gap: 18px 14px;
  }
  .page--enterprise .stats-bar__item {
    min-width: 0;
  }
  .prose-block { padding-left: 16px; }
  .skill-pills { gap: 8px; }
  .skill-pill { padding: 6px 14px; font-size: 12px; }
}

/* ============================================================
   ANIMATIONS (scroll reveal)
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px) translateX(var(--reveal-x, 0px));
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* -- reveal variants -- */
.reveal--left  { --reveal-x: -36px; }
.reveal--right { --reveal-x: 36px; }
.reveal--scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--scale.visible { opacity: 1; transform: scale(1); }

/* -- stagger children (auto-assigned via JS) -- */
.stagger-child { transition-delay: var(--stagger, 0s); }

/* ============================================================
   MICRO-INTERACTIONS
============================================================ */

/* -- Card lift on hover (universal) -- */
.service-card,
.value-card,
.info-card,
.link-card,
.spotlight-card,
.mosaic__tile,
.credential-badge,
.service-band,
.service-panel,
.diff-col,
.value-pillar,
.process-card,
.contact-block {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              background 0.35s ease;
}

/* -- Icon float animation -- */
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.service-card:hover .service-card__icon,
.value-card:hover .value-card__icon,
.value-pillar:hover .value-pillar__icon,
.process-card:hover .process-card__icon,
.contact-block:hover .contact-block__icon,
.mosaic__tile:hover .mosaic__tile-icon {
  animation: iconFloat 1.2s ease-in-out infinite;
}

/* -- Nav link underline sweep (exclude dropdown triggers) -- */
.nav-link { position: relative; }
li:not(.has-dropdown) > .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 2px;
  background: var(--blue-400);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
li:not(.has-dropdown) > .nav-link:hover::after,
li:not(.has-dropdown) > .nav-link.active::after {
  width: 100%; left: 0;
}

/* -- Button shine sweep -- */
.btn--primary,
.btn--nav {
  position: relative;
  overflow: hidden;
}
.btn--primary::before,
.btn--nav::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transition: left 0.5s ease;
}
.btn--primary:hover::before,
.btn--nav:hover::before {
  left: 120%;
}

/* -- Section label slide-in -- */
.section-label {
  display: inline-block;
  transition: letter-spacing 0.4s ease;
}

/* -- Stat number glow on reveal -- */
@keyframes statGlow {
  0%   { text-shadow: none; }
  50%  { text-shadow: 0 0 24px rgba(75,174,232,.5); }
  100% { text-shadow: none; }
}
.stat-item.visible .stat-num {
  animation: statGlow 1.5s ease-out 0.3s both;
}

/* -- Smooth focus ring for accessibility -- */
.btn:focus-visible,
.nav-link:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -- Link card arrow slide -- */
.link-card__arrow svg,
.spotlight-card__arrow svg,
.service-card__link svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.link-card:hover .link-card__arrow svg,
.spotlight-card:hover .spotlight-card__arrow svg,
.service-card:hover .service-card__link svg {
  transform: translateX(5px);
}

/* -- Subpage hero banner entrance -- */
@keyframes bannerSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.subpage-banner {
  animation: bannerSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* -- Stepper dot pulse on reveal -- */
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--pa), .5); }
  70%  { box-shadow: 0 0 0 10px rgba(var(--pa), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--pa), 0); }
}
.step.visible .step__dot {
  animation: dotPulse 1.2s ease-out;
}

/* -- Skill pill pop-in -- */
@keyframes pillPop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

/* -- Mobile nav motion -- */
@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobileMenuItemIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -- Reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal--scale { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 300px; }
  .about-card--1 { right: 12px; }
  .about-card--2 { left: 12px; }
  .about-card--3 { right: 12px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }

  .hero-spline {
    display: none;
  }

  .btn--nav {
    display: none;
  }
  body.nav-open .navbar {
    background: rgba(10,22,40,.86);
    border-color: rgba(75,174,232,.22);
    box-shadow: 0 18px 60px rgba(0,0,0,.42);
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--nav-height) + (var(--nav-floating-gap) * 2));
    left: 14px;
    right: 14px;
    max-height: calc(100vh - var(--nav-height) - (var(--nav-floating-gap) * 3));
    background: rgba(10,22,40,.98);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
    padding: 14px;
    gap: 8px;
    overflow-y: auto;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(0.96);
    transform-origin: top center;
    transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    animation: mobileMenuIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links > li {
    opacity: 0;
    transform: translateY(10px);
  }
  .nav-links.open > li {
    opacity: 1;
    transform: translateY(0);
    animation: mobileMenuItemIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .nav-links.open > li:nth-child(1) { animation-delay: 0.02s; }
  .nav-links.open > li:nth-child(2) { animation-delay: 0.05s; }
  .nav-links.open > li:nth-child(3) { animation-delay: 0.08s; }
  .nav-links.open > li:nth-child(4) { animation-delay: 0.11s; }
  .nav-links.open > li:nth-child(5) { animation-delay: 0.14s; }
  .nav-links.open > li:nth-child(6) { animation-delay: 0.17s; }
  .nav-links.open::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
    pointer-events: none;
  }
  .nav-links.open > li,
  .nav-links.open .has-dropdown {
    width: 100%;
  }
  .nav-links.open .nav-link {
    color: rgba(255,255,255,.86);
    font-size: 16px;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 18px;
    width: 100%;
    background: rgba(255,255,255,.04);
    transition: background 0.22s ease, transform 0.18s ease, color 0.22s ease, box-shadow 0.22s ease;
  }
  .nav-links.open .nav-link::after {
    display: none;
  }
  .nav-links.open li:not(.has-dropdown) .nav-link:hover,
  .nav-links.open li:not(.has-dropdown) .nav-link.active {
    background: rgba(75,174,232,.14);
  }
  .nav-links.open .nav-link:active {
    transform: scale(0.985);
  }
  .nav-links.open .has-dropdown .dropdown {
    position: static;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0 0 0 14px;
    background: transparent;
    filter: blur(2px);
    transition: max-height 0.3s ease, opacity 0.2s ease, margin-top 0.2s ease, filter 0.2s ease;
  }
  .nav-links.open .has-dropdown.mobile-open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    max-height: 320px;
    margin-top: 6px;
    padding-top: 2px;
    filter: blur(0);
  }
  .nav-links.open .dropdown::before { display: none; }
  .nav-links.open .dropdown-link {
    padding: 12px 14px;
    border-radius: 16px;
    transform: translateX(0);
    transition: background 0.22s ease, transform 0.22s ease;
  }
  .nav-links.open .dropdown-link + .dropdown-link {
    margin-top: 4px;
  }
  .nav-links.open .dropdown-link:hover,
  .nav-links.open .dropdown-link:active {
    background: rgba(75,174,232,.12);
    transform: translateX(4px);
  }
  .nav-links.open .has-dropdown.mobile-open > .nav-link .chevron {
    transform: rotate(180deg);
  }
  .nav-toggle { display: flex; }

  .hero { min-height: auto !important; }
  .hero-top {
    flex: none !important;
    justify-content: flex-start !important;
    padding-top: 160px !important;
    padding-bottom: 56px !important;
  }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-bottom { padding-bottom: 48px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; max-width: 100%; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 28px 16px; }
  .stat-num { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .about-card { font-size: 12px; padding: 10px 16px; }
  .about-card svg { width: 18px; height: 18px; }
  .cta-section { padding: 80px 0; }
  .cta-content h2 { font-size: clamp(24px, 5vw, 38px); }
  .cta-content p { font-size: 15px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 20px 12px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 11px; }
  .about-pillars { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero-actions .btn { justify-content: center; }
  .cta-section { padding: 64px 0; }
  .cta-content h2 { font-size: clamp(22px, 6vw, 32px); }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
  .platform-badge { font-size: 12px; padding: 6px 14px; }
  .service-card { padding: 28px 20px; }
  .hero-title { word-break: break-word; }
}
