﻿/* ═══════════════════════════════════════════════════════════════
   AIPRUS — Premium Design System v2
   Typography: Plus Jakarta Sans (enterprise IT stack)
   Stack: semantic HTML, CSS custom properties, GSAP + Lenis + Lottie
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand palette */
  --navy-950: #031525;
  --navy-900: #062c54;
  --navy-800: #0a3d6e;
  --navy-700: #0f4f8a;
  --blue-500: #1377c9;
  --blue-400: #3d9aed;
  --blue-100: #e8f4fd;
  --teal-500: #00a9a5;
  --teal-400: #2dd4bf;
  --teal-100: #ccfbf1;
  --red-500: #c9343a;
  --red-600: #b02a30;
  --red-100: #fde8e9;

  /* Neutrals */
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --surface: #ffffff;
  --soft: #f8fafc;
  --soft-blue: #f0f7ff;

  /* Aliases */
  --navy: var(--navy-900);
  --blue: var(--blue-500);
  --teal: var(--teal-500);
  --red: var(--red-500);

  /* Extended palette — premium accents */
  --violet-700: #5b21b6;
  --violet-500: #7c3aed;
  --violet-400: #a78bfa;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --amber-500: #f59e0b;
  --emerald-500: #10b981;

  /* Premium surface tokens */
  --surface-01: #ffffff;
  --surface-02: #f8fafc;
  --surface-03: #f1f5f9;
  --surface-glass: rgba(255, 255, 255, 0.7);
  --surface-glass-dark: rgba(3, 21, 37, 0.72);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;

  /* Brand gradient tokens */
  --grad-brand: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-500) 55%, var(--teal-500) 100%);
  --grad-vivid: linear-gradient(135deg, var(--violet-500) 0%, var(--blue-500) 50%, var(--teal-500) 100%);
  --grad-mesh: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(19, 119, 201, 0.25) 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0, 169, 165, 0.18) 0%, transparent 55%), linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  --grad-subtle: linear-gradient(135deg, rgba(19, 119, 201, 0.06) 0%, rgba(0, 169, 165, 0.04) 100%);
  --grad-card-border: linear-gradient(135deg, rgba(19, 119, 201, 0.6), rgba(0, 169, 165, 0.4), rgba(124, 58, 237, 0.5));

  /* Primary actions — aligned with hero / chatbot brand gradient */
  --btn-primary-bg: linear-gradient(135deg, var(--navy-800) 0%, var(--blue-500) 60%, var(--teal-500) 100%);
  --btn-primary-bg-hover: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-700) 40%, var(--blue-500) 100%);
  --btn-primary-shadow: 0 4px 24px rgba(19, 119, 201, 0.32);
  --btn-primary-shadow-hover: 0 8px 32px rgba(19, 119, 201, 0.45);

  /* Layout */
  --container: 1360px;
  --gutter: clamp(16px, 1.75vw, 28px);
  --header-h: 72px;
  --chatbot-clearance: 76px;
  --section-y: clamp(44px, 5vw, 64px);
  --section-y-sm: clamp(32px, 4vw, 48px);

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(6, 44, 84, 0.04);
  --shadow-sm: 0 4px 16px rgba(6, 44, 84, 0.06);
  --shadow-md: 0 12px 40px rgba(6, 44, 84, 0.08);
  --shadow-lg: 0 24px 64px rgba(6, 44, 84, 0.12);
  --shadow-glow: 0 0 80px rgba(19, 119, 201, 0.18);

  /* Typography — single professional sans stack for IT/enterprise */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.5rem, 2.5vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 3vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 4vw, 3rem);
  --text-hero: clamp(2.125rem, 4.5vw, 3.25rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
p { color: var(--muted); line-height: 1.65; margin: 0 0 0.75em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-weight: 800; letter-spacing: -0.03em; }
h3, h4 { font-weight: 600; letter-spacing: -0.02em; }

/* ── Layout ── */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section > .container { width: min(var(--container), 100%); margin-inline: auto; }

.section-heading { max-width: 680px; margin-bottom: clamp(20px, 3vw, 32px); }
.section-heading h2 { font-size: var(--text-3xl); font-weight: 800; margin-bottom: 10px; }
.section-heading > p:not(.eyebrow) { font-size: var(--text-base); max-width: 52ch; line-height: 1.65; }
.section-heading--center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.section-heading--center > p:not(.eyebrow) { margin-inline: auto; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  flex-wrap: wrap;
}
.section-heading.split > div { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-500);
  flex-shrink: 0;
}
.section-heading--center .eyebrow::before { display: none; }
.section-heading--center .eyebrow::after {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-500);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-500);
  transition: gap 0.25s var(--ease), color 0.2s ease;
}
.text-link:hover { gap: 10px; color: var(--navy-800); }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}

/* Full-width header — logo flush to viewport left */
.site-header > .header-inner.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}
.brand-logo { height: 52px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy-900); }

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after,
.main-nav a.active:not(.nav-cta)::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 20px !important;
  border-radius: var(--radius-full) !important;
  color: white !important;
  background: var(--btn-primary-bg) !important;
  font-weight: 700 !important;
  box-shadow: var(--btn-primary-shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-primary-shadow-hover);
  background: var(--btn-primary-bg-hover) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button.primary {
  color: white;
  background: var(--btn-primary-bg);
  box-shadow: var(--btn-primary-shadow);
}
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-primary-shadow-hover);
  background: var(--btn-primary-bg-hover);
}

.button.ghost {
  color: var(--navy-900);
  background: white;
  border-color: var(--line);
}
.button.ghost:hover {
  transform: translateY(-2px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-sm);
}

.button.light {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
}
.button.light:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: var(--shadow-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero-actions.centered { justify-content: center; }

/* ── Global hero (home) ── */
.global-hero {
  position: relative;
  min-height: clamp(460px, 75vh, 640px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.35;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(19, 119, 201, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0, 169, 165, 0.15) 0%, transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 21, 37, 0.92) 0%, rgba(6, 44, 84, 0.75) 45%, rgba(6, 44, 84, 0.35) 100%);
}

.global-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(32px, 5vw, 48px);
}

/* Match header — full viewport width, content aligned to edges */
.global-hero-inner.container {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
}

.global-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.global-hero-copy { color: white; max-width: 640px; }
.global-hero-copy .eyebrow { color: var(--teal-400); }
.global-hero-copy .eyebrow::before { background: var(--teal-400); }

.global-hero h1 {
  color: white;
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.12;
  max-width: 28ch;
  margin-bottom: 14px;
}
.global-hero h1 .highlight {
  color: var(--teal-400);
  font-weight: 800;
}
.global-hero h1 em {
  font-style: normal;
  color: var(--teal-400);
  font-weight: 800;
}

.global-hero-copy .hero-lead,
.global-hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.7vw, 18px);
  max-width: 48ch;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 46vw, 540px);
  padding-block: 12px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.28) 0%, rgba(19, 119, 201, 0.12) 45%, transparent 72%);
  filter: blur(48px);
  z-index: -1;
  animation: hero-glow-pulse 8s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Home hero — premium device showcase */
.hero-showcase {
  position: relative;
  width: min(100%, 580px);
  min-height: clamp(400px, 46vw, 520px);
  opacity: 0;
  perspective: 1400px;
}

.hero-showcase-bg {
  position: absolute;
  inset: -8% -6%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius-2xl);
}

.hero-showcase-bg::before,
.hero-showcase-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  animation: hero-orb-drift 16s ease-in-out infinite;
}

.hero-showcase-bg::before {
  width: 58%;
  height: 58%;
  top: -8%;
  left: -6%;
  background: rgba(45, 212, 191, 0.38);
}

.hero-showcase-bg::after {
  width: 54%;
  height: 54%;
  bottom: -6%;
  right: -8%;
  background: rgba(19, 119, 201, 0.42);
  animation-delay: -6s;
}

.hero-showcase-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 75%);
}

.hero-showcase-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

@keyframes hero-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -14px) scale(1.05); }
}

.hero-showcase-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 12px 8px 20px;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Orbital rings + floating accents */
.hero-orbit {
  position: absolute;
  inset: -4% -2%;
  pointer-events: none;
  z-index: 0;
}

.hero-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.22);
  animation: hero-orbit-spin 28s linear infinite;
}

.hero-orbit-ring--inner {
  inset: 10%;
  border-color: rgba(61, 154, 237, 0.18);
  animation-direction: reverse;
  animation-duration: 20s;
}

.hero-orbit-ring::before,
.hero-orbit-ring::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.8);
}

.hero-orbit-ring::before { top: -4px; left: 50%; transform: translateX(-50%); }
.hero-orbit-ring::after { bottom: 18%; right: -2px; background: var(--blue-500); box-shadow: 0 0 14px rgba(19, 119, 201, 0.8); }

.hero-orbit-satellite {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: -5px 0 0 -5px;
  background: radial-gradient(circle, #fff 0%, var(--teal-400) 55%, transparent 70%);
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.9);
}

.hero-orbit-satellite--1 {
  animation: hero-satellite-orbit 12s linear infinite;
}

.hero-orbit-satellite--2 {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: radial-gradient(circle, #fff 0%, var(--blue-500) 55%, transparent 70%);
  animation: hero-satellite-orbit 18s linear infinite reverse;
  animation-delay: -4s;
}

@keyframes hero-satellite-orbit {
  from { transform: rotate(0deg) translateX(48%) rotate(0deg); }
  to { transform: rotate(360deg) translateX(48%) rotate(-360deg); }
}

@keyframes hero-orbit-spin {
  to { transform: rotate(360deg); }
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: hero-chip-float 5s ease-in-out infinite;
  white-space: nowrap;
}

.hero-chip-icon {
  font-size: 10px;
  opacity: 0.85;
  color: var(--teal-400);
}

.hero-chip--1 { top: 0; left: -4%; animation-delay: 0s; }
.hero-chip--2 { top: 16%; right: -6%; animation-delay: -1.2s; background: linear-gradient(135deg, rgba(19, 119, 201, 0.82), rgba(45, 212, 191, 0.6)); }
.hero-chip--3 { bottom: 26%; left: -8%; animation-delay: -2.4s; }
.hero-chip--4 { bottom: 20%; right: -2%; animation-delay: -3.6s; background: linear-gradient(135deg, rgba(124, 58, 237, 0.65), rgba(19, 119, 201, 0.55)); }

@keyframes hero-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  animation: hero-float-card-drift 6s ease-in-out infinite;
}

.hero-float-card strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
}

.hero-float-card small {
  font-size: 10px;
  color: var(--muted);
}

.hero-float-card--deploy {
  top: 8%;
  right: -8%;
  animation-delay: -0.8s;
}

.hero-float-card--sync {
  bottom: 10%;
  right: -8%;
  animation-delay: -2.5s;
}

.hero-float-card--ai {
  top: 42%;
  left: -10%;
  animation-delay: -4s;
}

.hero-float-icon--ai {
  font-size: 10px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #a855f7, var(--blue-500));
}

.hero-float-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  flex-shrink: 0;
}

.hero-float-icon--pulse {
  background: linear-gradient(135deg, var(--teal-400), var(--blue-500));
  animation: hero-ui-status-pulse 2s ease-in-out infinite;
}

.hero-float-icon--pulse::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

@keyframes hero-float-card-drift {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-6px) translateX(3px); }
}

/* Animated platform UI mock */
.hero-ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: clamp(380px, 44vw, 460px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #eef2f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.08),
    0 32px 90px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(19, 119, 201, 0.15),
    0 0 140px rgba(45, 212, 191, 0.14);
  animation: hero-ui-float 5.5s ease-in-out infinite;
}

.hero-ui-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.7), rgba(19, 119, 201, 0.5), rgba(168, 85, 247, 0.4), rgba(45, 212, 191, 0.7));
  background-size: 300% 300%;
  animation: hero-border-flow 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}

@keyframes hero-border-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes hero-ui-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-ui-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 100%;
  height: 38px;
  padding: 0 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid var(--line);
}

.hero-ui-dots {
  display: flex;
  gap: 5px;
}

.hero-ui-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  font-style: normal;
}

.hero-ui-dots i:nth-child(1) { background: #f87171; }
.hero-ui-dots i:nth-child(2) { background: #fbbf24; }
.hero-ui-dots i:nth-child(3) { background: #4ade80; }

.hero-ui-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-800);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.hero-ui-secure {
  font-size: 11px;
  opacity: 0.7;
  flex-shrink: 0;
}

.hero-ui-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 52px;
  padding: 12px 8px;
  align-self: stretch;
  background: linear-gradient(180deg, var(--navy-900) 0%, #0a1628 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-ui-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 0 10px;
  align-self: flex-start;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-400), var(--blue-500));
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.55);
}

.hero-ui-nav {
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s, box-shadow 0.25s;
  cursor: default;
}

.hero-ui-nav svg {
  width: 15px;
  height: 15px;
  fill: rgba(255, 255, 255, 0.35);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 0.5;
}

.hero-ui-nav svg path { fill: inherit; }

.hero-ui-nav.is-active {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.35), rgba(19, 119, 201, 0.35));
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.45), 0 0 12px rgba(45, 212, 191, 0.25);
}

.hero-ui-nav.is-active svg {
  fill: var(--teal-400);
  filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.8));
}

.hero-ui-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 14px 12px;
  align-self: stretch;
  background: linear-gradient(180deg, #fafbfc 0%, #eef2f7 100%);
}

.hero-ui-workspace {
  margin-bottom: 8px;
}

.hero-ui-workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.hero-ui-workspace-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.hero-ui-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #059669;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-ui-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: hero-live-blink 1.5s ease-in-out infinite;
}

@keyframes hero-live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-ui-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.06);
}

.hero-ui-tab {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  padding: 5px 8px;
  border-radius: 6px;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
  cursor: default;
}

.hero-ui-tab.is-active {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.hero-ui-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-ui-search {
  flex: 1;
  height: 30px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #94a3b8;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hero-ui-search svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #94a3b8;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.hero-ui-bell {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
}

.hero-ui-bell::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

.hero-ui-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-400));
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(19, 119, 201, 0.3);
  flex-shrink: 0;
}

.hero-ui-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.hero-ui-metric {
  position: relative;
  padding: 8px 10px 8px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.hero-ui-metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-400), var(--blue-500));
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-ui-metric:hover::before,
.hero-ui-metric--accent::before {
  opacity: 1;
}

.hero-ui-metric-val {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-ui-metric-lbl {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 2px;
}

.hero-ui-metric--accent .hero-ui-metric-val {
  background: linear-gradient(90deg, var(--teal-400), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-ui-trend {
  display: block;
  font-size: 9px;
  font-weight: 700;
  margin-top: 3px;
}

.hero-ui-trend--up { color: #059669; }
.hero-ui-trend--neutral { color: var(--muted); }

.hero-ui-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  flex: 1;
}

.hero-ui-card {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-ui-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.hero-ui-card-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--blue-500);
  background: rgba(19, 119, 201, 0.1);
}

.hero-ui-card-tag--muted {
  color: var(--muted);
  background: rgba(15, 23, 42, 0.06);
}

.hero-ui-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  animation: hero-badge-blink 2s ease-in-out infinite;
}

.hero-ui-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  animation: hero-live-blink 1.5s ease-in-out infinite;
}

@keyframes hero-badge-blink {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; box-shadow: 0 0 8px rgba(16, 185, 129, 0.35); }
}

.hero-ui-card--wide { grid-column: 1 / -1; }

.hero-ui-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hero-ui-card-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-800);
}

.hero-ui-chart {
  position: relative;
  height: 80px;
}

.hero-ui-sparkline {
  position: absolute;
  inset: 0 0 28px 0;
  width: 100%;
  height: calc(100% - 28px);
}

.hero-ui-sparkline-line {
  fill: none;
  stroke: url(#heroSparkStroke);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: hero-sparkline-draw 3s ease-out forwards, hero-sparkline-pulse 4s ease-in-out 3s infinite;
}

.hero-ui-sparkline-dot {
  fill: #fff;
  stroke: var(--teal-400);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(45, 212, 191, 0.9));
  opacity: 0;
  animation: hero-sparkline-dot-in 0.4s ease-out 2.8s forwards, hero-sparkline-dot-pulse 2s ease-in-out 3.2s infinite;
}

@keyframes hero-sparkline-dot-in {
  to { opacity: 1; }
}

@keyframes hero-sparkline-dot-pulse {
  0%, 100% { r: 4; }
  50% { r: 5.5; }
}

.hero-ui-sparkline-fill {
  opacity: 0.7;
  animation: hero-sparkline-fade 1.5s ease-out 1s forwards;
  opacity: 0;
}

@keyframes hero-sparkline-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes hero-sparkline-fade {
  to { opacity: 0.85; }
}

@keyframes hero-sparkline-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.6)); }
}

.hero-ui-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 28px;
  opacity: 0.55;
}

.hero-ui-bars i {
  display: block;
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.9) 0%, rgba(19, 119, 201, 0.5) 100%);
  animation: hero-ui-bar-rise 3.2s ease-in-out infinite;
  transform-origin: bottom center;
}

.hero-ui-bars i:nth-child(odd) { animation-delay: 0.2s; }
.hero-ui-bars i:nth-child(even) { animation-delay: 0.5s; }

@keyframes hero-ui-bar-rise {
  0%, 100% { opacity: 0.65; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.12); }
}

.hero-ui-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.hero-ui-step {
  position: relative;
  text-align: center;
  padding: 6px 4px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-ui-step span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--navy-800);
}

.hero-ui-step small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 2px;
}

.hero-ui-step.is-done {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

.hero-ui-step.is-done span { color: #059669; }

.hero-ui-step.is-active {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.15), rgba(19, 119, 201, 0.1));
  border-color: rgba(45, 212, 191, 0.4);
  animation: hero-step-glow 2s ease-in-out infinite;
}

.hero-ui-step.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--teal-400), var(--blue-500));
  animation: hero-step-progress 2.5s ease-in-out infinite;
}

@keyframes hero-step-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(45, 212, 191, 0); }
  50% { box-shadow: 0 0 12px rgba(45, 212, 191, 0.25); }
}

@keyframes hero-step-progress {
  0% { transform: scaleX(0); transform-origin: left; }
  50%, 100% { transform: scaleX(1); transform-origin: left; }
}

.hero-ui-code {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 9px;
  line-height: 1.6;
  padding: 6px 8px;
  border-radius: 6px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-ui-code p { margin: 0; }

.hero-code-line {
  opacity: 0;
  transform: translateX(-6px);
  animation: hero-code-reveal 0.5s ease-out forwards;
}

.hero-code-line:nth-child(1) { animation-delay: 1.2s; }
.hero-code-line:nth-child(2) { animation-delay: 1.8s; }

@keyframes hero-code-reveal {
  to { opacity: 1; transform: translateX(0); }
}

.tok-kw { color: #c084fc; font-weight: 600; }
.tok-str { color: #6ee7b7; }
.tok-fn { color: #93c5fd; }
.tok-var { color: #fcd34d; }
.tok-comment { color: #64748b; font-style: italic; }
.tok-ok { color: #6ee7b7; font-weight: 600; }

.hero-ui-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 108px;
  overflow: hidden;
}

.hero-ui-feed li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--navy-800);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  transition: opacity 0.4s, transform 0.4s;
}

.hero-ui-feed li.is-new {
  animation: hero-feed-slide 0.5s ease-out;
}

@keyframes hero-feed-slide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-ui-feed .feed-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-ui-feed time {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}

.feed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feed-dot--teal { background: var(--teal-400); box-shadow: 0 0 6px rgba(45, 212, 191, 0.6); }
.feed-dot--blue { background: var(--blue-500); }
.feed-dot--amber { background: #f59e0b; }
.feed-dot--purple { background: #a855f7; box-shadow: 0 0 6px rgba(168, 85, 247, 0.5); }

.hero-ui-card--status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, #fff 40%);
  border-color: rgba(16, 185, 129, 0.2);
}

.hero-ui-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.75);
  animation: hero-ui-status-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes hero-ui-status-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.3); opacity: 1; }
}

.hero-ui-status-copy {
  flex: 1;
  min-width: 0;
}

.hero-ui-status-copy strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-900);
}

.hero-ui-status-copy span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
}

.hero-ui-donut {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.hero-ui-donut svg { width: 100%; height: 100%; }

.hero-ui-donut-text {
  font-size: 8px;
  font-weight: 800;
  fill: var(--navy-900);
  font-family: var(--font);
}

.hero-ui-donut-arc {
  animation: hero-donut-pulse 3s ease-in-out infinite;
}

@keyframes hero-donut-pulse {
  0%, 100% { stroke-dasharray: 72 88; opacity: 0.9; }
  50% { stroke-dasharray: 80 80; opacity: 1; }
}

.hero-ui-dock {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  overflow-x: auto;
}

.hero-ui-dock span {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid transparent;
  transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.hero-ui-dock span.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-400), var(--blue-500));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(19, 119, 201, 0.35);
}

.hero-ui::after {
  content: "";
  position: absolute;
  inset: 38px 0 0 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: hero-ui-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-ui-sheen {
  0%, 100% { transform: translateX(-130%); }
  45%, 55% { transform: translateX(130%); }
}

@media (max-width: 640px) {
  .hero-chip,
  .hero-float-card { display: none; }

  .hero-ui-grid,
  .hero-ui-metrics,
  .hero-ui-pipeline { grid-template-columns: 1fr; }

  .hero-ui-card--wide { grid-column: 1; }

  .hero-ui-pipeline { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase-bg::before,
  .hero-showcase-bg::after,
  .hero-orbit-ring,
  .hero-orbit-satellite,
  .hero-chip,
  .hero-float-card,
  .hero-ui,
  .hero-ui-glow,
  .hero-ui-badge,
  .hero-ui-live i,
  .hero-ui-bars i,
  .hero-ui-step.is-active,
  .hero-code-line,
  .hero-ui-status-dot,
  .hero-ui-donut-arc,
  .hero-ui-sparkline-line,
  .hero-ui-sparkline-dot,
  .hero-ui::after {
    animation: none !important;
  }

  .hero-ui-sparkline-line { stroke-dashoffset: 0; }
  .hero-ui-sparkline-fill { opacity: 0.85; }
  .hero-ui-sparkline-dot { opacity: 1; }
  .hero-code-line { opacity: 1; transform: none; }
}

.hero-3d {
  width: min(100%, 520px);
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  opacity: 0;
  background: radial-gradient(circle at 50% 45%, rgba(19, 119, 201, 0.14) 0%, transparent 62%);
  border: 1px solid rgba(61, 154, 237, 0.18);
  box-shadow:
    0 0 80px rgba(45, 212, 191, 0.12),
    0 0 140px rgba(19, 119, 201, 0.1);
}

.hero-3d--static {
  opacity: 1;
  background: radial-gradient(circle at 50% 45%, rgba(45, 212, 191, 0.12) 0%, transparent 60%);
}

.hero-scene-labels {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-scene-labels li {
  position: absolute;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(6, 44, 84, 0.72);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  animation: hero-label-float 5s ease-in-out infinite;
}

.hero-scene-labels li:nth-child(1) {
  top: 8%;
  left: 4%;
  animation-delay: 0s;
}

.hero-scene-labels li:nth-child(2) {
  top: 18%;
  right: 2%;
  animation-delay: 1.2s;
}

.hero-scene-labels li:nth-child(3) {
  bottom: 10%;
  left: 50%;
  animation-delay: 2.4s;
  animation-name: hero-label-float-center;
}

@keyframes hero-label-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes hero-label-float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

.hero-3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.page-hero > .scene-3d,
.products-hero > .scene-3d,
.product-hero > .scene-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.page-hero > .scene-3d--ready,
.products-hero > .scene-3d--ready,
.product-hero > .scene-3d--ready {
  opacity: 0.2;
}

.page-hero > .scene-3d--static,
.products-hero > .scene-3d--static,
.product-hero > .scene-3d--static {
  opacity: 0;
}

.page-hero > .scene-3d canvas,
.products-hero > .scene-3d canvas,
.product-hero > .scene-3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-lottie {
  width: min(100%, 480px);
  aspect-ratio: 1;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.25));
}

.hero-accent {
  position: absolute;
  right: 10%;
  top: 30%;
  width: min(400px, 35vw);
  height: min(400px, 35vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 169, 165, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.market-list span {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* ── Proof ribbon ── */
.proof-ribbon {
  position: relative;
  z-index: 10;
  background: transparent;
  padding: 0;
  margin-top: -32px;
  margin-bottom: 24px;
}

.proof-ribbon > .container { padding-inline: var(--gutter); }

.proof-ribbon-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: clamp(16px, 2vw, 22px) 10px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background 0.3s ease;
}
.proof-stat:last-child { border-right: none; }
.proof-stat:hover { background: var(--soft-blue); }

.proof-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  line-height: 1;
  color: var(--navy-900);
}
.proof-stat strong.counter {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proof-stat span {
  display: block;
  max-width: 100%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--muted);
}

/* ── Marquee ── */
.marquee-section {
  position: relative;
  z-index: 1;
  padding: 18px 0;
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.marquee-section-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}
.marquee-label {
  flex: 0 0 auto;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Vertical cards ── */
.verticals-section { background: var(--surface); }

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vertical-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.vertical-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-500);
}
.vertical-card.service-vertical::before { background: var(--blue-500); }
.vertical-card.ai-vertical::before { background: var(--teal-500); }

.vertical-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 119, 201, 0.2);
}

.vertical-index {
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94a3b8;
}
.vertical-card h3 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 8px; }
.vertical-card p { font-size: 14px; flex-grow: 0; }
.vertical-card ul {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}
.vertical-card > a {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-500);
  transition: gap 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vertical-card > a:hover { gap: 8px; }

/* ── Profile story ── */
.profile-story { background: var(--soft); padding-inline: 0; }
.profile-story-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.profile-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  background: var(--navy-950);
}
.profile-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.value-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
}
.value-list span {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue-500);
  background: white;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: var(--shadow-xs);
}

/* ── Product showcase (bento) ── */
.product-showcase { background: white; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.showcase-grid a {
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}

.showcase-grid a:nth-child(1) { background: linear-gradient(145deg, var(--navy-900), var(--navy-800)); border-color: transparent; }
.showcase-grid a:nth-child(3) { background: linear-gradient(145deg, var(--navy-900), var(--navy-800)); border-color: transparent; }
.showcase-grid a:nth-child(6) { background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); border-color: transparent; }
.showcase-grid a:nth-child(8) { background: linear-gradient(145deg, var(--navy-800), var(--blue-500)); border-color: transparent; }

.showcase-grid a:nth-child(1) h3,
.showcase-grid a:nth-child(3) h3,
.showcase-grid a:nth-child(6) h3,
.showcase-grid a:nth-child(8) h3 { color: white; }
.showcase-grid a:nth-child(1) p,
.showcase-grid a:nth-child(3) p,
.showcase-grid a:nth-child(6) p,
.showcase-grid a:nth-child(8) p { color: rgba(255,255,255,0.75); }
.showcase-grid a:nth-child(1) span,
.showcase-grid a:nth-child(3) span,
.showcase-grid a:nth-child(6) span,
.showcase-grid a:nth-child(8) span { color: var(--teal-400); }

.showcase-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 119, 201, 0.25);
}

.showcase-grid span {
  margin-bottom: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
}

.showcase-grid h3 {
  margin-top: 16px;
  font-size: clamp(22px, 2.2vw, 28px);
}
.showcase-grid p { font-size: 14px; margin: 0; }

/* ── Industry band ── */
.industry-band { padding-inline: 0; background: transparent; }
.industry-band-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.industry-band-inner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0, 169, 165, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.industry-band-inner h2 { color: white; }
.industry-band-inner .eyebrow { color: var(--teal-400); }
.industry-band-inner .eyebrow::before { background: var(--teal-400); }
.industry-band-inner p:not(.eyebrow) { color: rgba(255, 255, 255, 0.78); }

.industry-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.industry-links a {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 700;
  color: white;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.industry-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--teal-400);
  transform: translateX(4px);
}

/* ── Partnership grid ── */
.partnership { background: var(--soft); }
.partnership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.partnership-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.partnership-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.partnership-grid b {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--navy-900);
}
.partnership-grid p { font-size: 14px; margin: 0; }

/* ── Final CTA ── */
.final-cta {
  position: relative;
  padding-block: clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, white 0%, var(--soft-blue) 100%);
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(19, 119, 201, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.final-cta h2 {
  max-width: 22ch;
  font-size: clamp(30px, 4vw, 44px);
}
.final-cta-inner > div > p { max-width: 48ch; margin-inline: auto; font-size: 17px; }
.final-cta .hero-actions { justify-content: center; margin-top: 0; }

/* ── Page heroes ── */
.page-hero,
.products-hero {
  position: relative;
  padding: clamp(40px, 5vw, 56px) 0 clamp(28px, 3.5vw, 40px);
  background: linear-gradient(180deg, var(--soft-blue) 0%, white 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before,
.products-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(19, 119, 201, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner,
.products-hero-inner { position: relative; z-index: 1; }

.page-hero h1,
.page-hero-inner h1,
.products-hero h1,
.products-hero-inner h1 {
  font-size: var(--text-3xl);
  max-width: none;
  margin-bottom: 10px;
  color: var(--navy-900);
  line-height: 1.15;
}
.page-hero-inner > p,
.products-hero-inner > p:not(.eyebrow) {
  max-width: 58ch;
  font-size: var(--text-base);
  line-height: 1.65;
}
.page-hero--compact { padding-bottom: clamp(20px, 3vw, 28px); }

.page-hero,
.page-hero-inner { text-align: center; }
.page-hero-inner { margin-inline: auto; }
.page-hero-inner h1,
.page-hero-inner > p:not(.eyebrow) { margin-inline: auto; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }

.products-hero { text-align: center; }
.products-hero-inner { margin-inline: auto; }
.products-hero-inner h1,
.products-hero-inner > p:not(.eyebrow) { margin-inline: auto; }
.products-hero .eyebrow { justify-content: center; }
.products-hero .eyebrow::before { display: none; }

/* ── Wide image ── */
.wide-product-image {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: clamp(16px, 2.5vw, 28px) auto;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  line-height: 0;
}

.wide-product-image-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: transparent;
  overflow: hidden;
}

.wide-product-image-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 15%;
}

.wide-product-image figcaption {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--muted);
  background: var(--soft);
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

/* ── Module / service cards ── */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.module-grid article {
  padding: 20px;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.module-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.module-grid article > span,
.workflow-steps article > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  background: var(--soft-blue);
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 800;
}
.module-grid article h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.module-grid article ul {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

.process-band, .values-band { background: var(--soft); }

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.workflow-steps article {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  border-top: 3px solid var(--blue-500);
}
.workflow-steps article h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; }

/* ── Ecosystem ── */
.ecosystem {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  padding-inline: 0;
}
.section.ecosystem { padding-block: var(--section-y-sm); }
.ecosystem-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  padding-block: 0;
}
.ecosystem .eyebrow { color: var(--teal-400); }
.ecosystem .eyebrow::before { background: var(--teal-400); }
.ecosystem h2, .ecosystem p:not(.eyebrow) { color: white; }
.ecosystem p:not(.eyebrow) { opacity: 0.82; }

.ecosystem-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ecosystem-flow span {
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.ecosystem-flow span:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--teal-400);
  transform: translateY(-2px);
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--soft-blue) 0%, white 100%);
  border-top: 1px solid var(--line);
}
.section.cta-band { padding-block: var(--section-y-sm); }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band-inner h2 { margin: 0; max-width: 28ch; font-size: clamp(24px, 3vw, 32px); }

/* ── Story / capability grids ── */
.story-grid { background: white; padding-inline: 0; }
.story-grid-inner,
.capability-section-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.capability-section { background: var(--soft); padding-inline: 0; }

/* ── About page ── */
.about-story-media {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  line-height: 0;
  background: var(--soft);
}

.about-story-media img {
  width: 100%;
  height: auto;
  display: block;
}

.about-principles {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(19, 119, 201, 0.06) 0%, transparent 55%),
    var(--soft);
}

.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  max-width: min(960px, 100%);
  margin-inline: auto;
}

.about-principle-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.about-principle-card::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-400));
}

.about-principle-card--mission::before { background: linear-gradient(90deg, var(--teal-500), var(--teal-400)); }
.about-principle-card--vision::before { background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.about-principle-card--quality::before { background: linear-gradient(90deg, #059669, #34d399); }
.about-principle-card--values::before { background: linear-gradient(90deg, #7c3aed, var(--blue-500)); }

.about-principle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 119, 201, 0.2);
}

.about-principle-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
  line-height: 0;
}

.about-principle-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 44, 84, 0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.about-principle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease);
}

.about-principle-card:hover .about-principle-media img {
  transform: scale(1.05);
}

.about-principle-index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding-inline: 8px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(6, 44, 84, 0.15);
}

.about-principle-card--mission .about-principle-index { color: var(--teal-500); }
.about-principle-card--vision .about-principle-index { color: var(--blue-500); }
.about-principle-card--quality .about-principle-index { color: #059669; }
.about-principle-card--values .about-principle-index { color: #7c3aed; }

.about-principle-body {
  padding: clamp(18px, 2.5vw, 22px) clamp(18px, 2.5vw, 24px) clamp(22px, 3vw, 26px);
  flex: 1;
}

.about-principle-label {
  margin: 0 0 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
}

.about-principle-card--mission .about-principle-label { color: var(--teal-500); }
.about-principle-card--quality .about-principle-label { color: #059669; }
.about-principle-card--values .about-principle-label { color: #7c3aed; }

.about-principle-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.about-principle-body p {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.65;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.team-grid--founders {
  max-width: 960px;
  margin-inline: auto;
}

.team-section-block + .team-section-block {
  margin-top: clamp(36px, 5vw, 52px);
}

.team-section-label {
  margin: 0 0 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
}

.team-grid--members {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-inline: auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  /* equal height cards within the grid row */
  align-self: stretch;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: var(--soft);
  flex-shrink: 0;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.team-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  flex: 1;
}

.team-card-body h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy-900);
}

.team-card-role {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue-500);
  line-height: 1.45;
}

.team-card-body > p:last-child {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .team-grid,
  .team-grid--members { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .about-principles-grid {
    max-width: min(640px, 100%);
  }
}

@media (max-width: 640px) {
  .about-principles-grid {
    grid-template-columns: 1fr;
    max-width: min(420px, 100%);
  }
}

@media (max-width: 768px) {
  .story-grid-inner { grid-template-columns: 1fr; }
  .about-story-media { order: -1; }
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

/* ── Industry detail ── */
.industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.industry-detail-grid article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.industry-detail-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-detail-grid article h2 { font-size: clamp(22px, 2.5vw, 28px); }
.card-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-500);
}

/* ── Services 8-grid ── */
/* ── Services grid — premium 4-col layout ── */
.services-eight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px 28px;
  background: white;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 24px);
  overflow: hidden;
}

/* Gradient accent line sliding in from top on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500), var(--violet-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }

/* Large watermark number */
.service-card-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(19, 119, 201, 0.12);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.3s ease, transform 0.3s var(--ease);
  user-select: none;
}
.service-card:hover .service-card-number {
  -webkit-text-stroke-color: rgba(19, 119, 201, 0.22);
  transform: scale(1.08) translateY(-2px);
}

/* Override the gradient text from premium block since we use stroke here */
.service-card-number {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: unset !important;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900);
  margin: 0 0 10px;
  padding-right: 48px;
  letter-spacing: -0.02em;
}

.service-card > p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 16px;
  flex-grow: 1;
}

/* Divider before bullet list */
.service-card ul {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service-card ul li {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
  transition: color 0.2s ease, padding-left 0.2s var(--ease);
}
.service-card:hover ul li { color: var(--text-primary); }

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
  transition: transform 0.2s var(--ease-spring);
}
.service-card:hover ul li::before { transform: scale(1.35); }

/* Dark "featured" style for cards 1, 5 (IT Strategy, Data) */
.service-card.card--dark {
  background: var(--navy-950);
  color: white;
}
.service-card.card--dark h3 { color: white; }
.service-card.card--dark > p { color: rgba(255,255,255,0.65); }
.service-card.card--dark ul { border-top-color: rgba(255,255,255,0.1); }
.service-card.card--dark ul li { color: rgba(255,255,255,0.6); }
.service-card.card--dark:hover ul li { color: rgba(255,255,255,0.9); }
.service-card.card--dark .service-card-number { -webkit-text-stroke-color: rgba(255,255,255,0.12); }
.service-card.card--dark:hover .service-card-number { -webkit-text-stroke-color: rgba(255,255,255,0.25); }
.service-card.card--dark::before { background: linear-gradient(90deg, var(--teal-400), var(--blue-400), var(--violet-400)); }

/* ── Industry nav — premium pill tabs ── */
.industry-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-nav::-webkit-scrollbar { display: none; }
.industry-nav .container {
  display: flex;
  gap: 4px;
  white-space: nowrap;
  padding-block: 10px;
}
.industry-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  letter-spacing: -0.01em;
}
.industry-nav a:hover {
  color: var(--navy-900);
  background: var(--soft);
  border-color: var(--line);
}
.industry-nav a.active {
  color: white;
  background: var(--navy-900);
  border-color: transparent;
}

/* ── Industry section layout — premium redesign ── */
.industry-section {
  scroll-margin-top: calc(var(--header-h) + 60px);
  padding-block: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line-soft);
}
.industry-section:last-of-type { border-bottom: none; }
.industry-section:nth-child(even) { background: var(--soft); }
.industry-section:nth-child(odd) { background: white; }

.industry-section-inner { display: flex; flex-direction: column; gap: 48px; }

/* Industry header — large accent number as decoration */
.industry-header {
  position: relative;
  max-width: 780px;
}
.industry-header .industry-index {
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(19,119,201,0.08);
  position: absolute;
  right: -24px;
  top: -20px;
  pointer-events: none;
  user-select: none;
}
.industry-header h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.industry-header > p { font-size: 15px; max-width: 60ch; }

/* Two-col grid */
.industry-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Problems — light card */
.industry-problems {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}
.industry-problems::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #f97316);
}
.industry-problems::after {
  content: "";
  position: absolute;
  bottom: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Solutions — light gradient card */
.industry-solutions {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}
.industry-solutions::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
}
.industry-solutions::after {
  content: "";
  position: absolute;
  bottom: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19,119,201,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Column headings */
.industry-problems h3,
.industry-solutions h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.industry-problems h3 {
  color: var(--text-secondary);
}
.industry-problems h3::before {
  content: "";
  width: 20px; height: 2px;
  border-radius: 2px;
  background: #ef4444;
  flex-shrink: 0;
}
.industry-solutions h3 { color: var(--text-secondary); }
.industry-solutions h3::before {
  content: "";
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--teal-500);
  flex-shrink: 0;
}

/* List items */
.industry-problems ul,
.industry-solutions ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.industry-problems ul li,
.industry-solutions ul li {
  font-size: 14px;
  line-height: 1.6;
  padding: 11px 0 11px 28px;
  position: relative;
  border-bottom: 1px solid transparent;
  transition: padding-left 0.2s var(--ease);
}
.industry-problems ul li { color: var(--text-secondary); border-bottom-color: var(--line-soft); }
.industry-solutions ul li { color: var(--text-secondary); border-bottom-color: var(--line-soft); }
.industry-problems ul li:last-child,
.industry-solutions ul li:last-child { border-bottom: none; }

.industry-problems ul li:hover { color: var(--navy-900); padding-left: 32px; }
.industry-solutions ul li:hover { color: var(--navy-900); padding-left: 32px; }

/* Markers */
.industry-problems ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.4);
  transition: background 0.2s ease;
}
.industry-problems ul li::after {
  content: '✕';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  font-size: 8px;
  color: #ef4444;
  font-weight: 800;
  text-align: center;
  line-height: 1;
}
.industry-problems ul li:hover::before { background: rgba(239,68,68,0.25); }

.industry-solutions ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(19,119,201,0.1);
  border: 1px solid rgba(19,119,201,0.3);
  transition: background 0.2s ease;
}
.industry-solutions ul li::after {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  font-size: 9px;
  color: var(--blue-500);
  font-weight: 800;
  text-align: center;
  line-height: 1;
}
.industry-solutions ul li:hover::before { background: rgba(19,119,201,0.18); }

.industry-products-used {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.industry-products-used .eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  color: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s var(--ease);
  letter-spacing: -0.01em;
}
.product-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
  flex-shrink: 0;
}
a.product-tag:hover {
  background: var(--navy-900);
  color: white;
  border-color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(6,44,84,0.2);
  transform: translateY(-2px);
}

/* ── Products page ── */
.portfolio-entry { background: var(--soft); }

.product-switcher {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.product-switcher a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s ease;
}
.product-switcher a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-400);
}
.product-switcher b { color: var(--blue-500); font-size: 12px; flex-shrink: 0; }
.product-switcher span { font-weight: 800; font-size: 15px; }
.product-switcher small { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--muted); }

/* Portfolio overview — problems solved cards */
.portfolio-problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}

.portfolio-problem-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.portfolio-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 119, 201, 0.25);
}

.portfolio-problem-card .eyebrow {
  display: block;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  white-space: normal;
}

.portfolio-problem-card .eyebrow::before { display: none; }

.portfolio-problem-card h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
}

.portfolio-problem-card ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.portfolio-problem-card li {
  position: relative;
  padding-left: 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
}

.portfolio-problem-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-500);
}

.product-detail-list { padding-top: 0; }
.product-detail-stack { display: flex; flex-direction: column; gap: 16px; }

.product-detail {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 22px);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.product-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: clamp(14px, 2vw, 18px);
  border-bottom: 1px solid var(--line-soft);
}

.product-detail-intro {
  display: grid;
  gap: 8px;
  flex: 1;
  min-width: min(100%, 280px);
}

.product-detail-intro .eyebrow { margin: 0; }

.product-detail h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 0;
  line-height: 1.2;
}

.product-detail h2 a { transition: color 0.2s ease; }
.product-detail h2 a:hover { color: var(--blue-500); }

.product-detail-tagline {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy-800);
  margin: 0;
}

.product-detail-summary {
  max-width: 68ch;
  font-size: var(--text-sm);
  margin: 0;
  line-height: 1.6;
}

.product-detail-link {
  flex-shrink: 0;
  margin-top: 4px;
}

.product-detail-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.product-microsite-link {
  white-space: nowrap;
  font-size: 14px;
  padding: 10px 18px;
}

@media (max-width: 768px) {
  .product-detail-head { flex-direction: column; }
  .product-detail-link,
  .product-detail-actions { align-self: flex-start; align-items: flex-start; }
  .product-microsite-link { white-space: normal; text-align: center; }
  .detail-columns { grid-template-columns: 1fr; }
}

/* Compact module tiles inside product card */
.product-module-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.product-module-grid article {
  padding: 16px;
  background: var(--soft);
  border-color: var(--line-soft);
  box-shadow: none;
}

.product-module-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
  border-color: var(--line);
}

.product-module-grid article > span {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  font-size: 12px;
}

.product-module-grid article h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.product-module-grid article p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.product-detail-foot {
  display: grid;
  gap: 12px;
  padding-top: clamp(14px, 2vw, 18px);
  border-top: 1px solid var(--line-soft);
}

.product-outcomes h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 10px;
}

.product-outcomes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-outcomes li {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--teal-100);
  border: 1px solid rgba(0, 169, 165, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.4;
}

.product-detail-foot .integration-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.product-detail-foot .integration-note strong {
  color: var(--navy-800);
  font-weight: 700;
}

.product-detail.accent {
  border-color: rgba(0, 169, 165, 0.35);
  background: linear-gradient(135deg, #f0fdfc 0%, white 100%);
}

/* Legacy detail columns — product.html / older markup */
.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 0;
}
.detail-columns h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.detail-columns ul { padding-left: 18px; font-size: 14px; color: var(--muted); display: grid; gap: 8px; }

.integration-note {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ── Problems solved (products page) ── */
.product-problems { background: var(--soft); }
.problem-stack { display: flex; flex-direction: column; gap: 16px; }

.problem-block {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.problem-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.problem-block-head h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 0 0 6px;
}

.problem-block-head h2 a {
  transition: color 0.2s ease;
}

.problem-block-head h2 a:hover { color: var(--blue-500); }

.problem-block-lead {
  max-width: 52ch;
  font-size: var(--text-sm);
  margin: 0;
}

.problem-block-head .text-link {
  flex-shrink: 0;
  margin-top: 4px;
}

.problems-solved-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.problems-solved-list li {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--soft);
  border: 1px solid var(--line-soft);
}

.problems-solved-list h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 8px;
  line-height: 1.35;
}

.problems-solved-list p {
  font-size: var(--text-sm);
  margin: 0 0 12px;
  line-height: 1.6;
}

.solution-tag {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--blue-100);
  border-left: 3px solid var(--blue-500);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .problem-block-head { flex-direction: column; }
  .problem-block-head .text-link { align-self: flex-start; }
}

.comparison { background: var(--soft); }
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.comparison-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.comparison-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.comparison-grid h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; }

/* ── Product detail page (dynamic) ── */
.product-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px) 0;
  background: linear-gradient(180deg, var(--soft-blue) 0%, white 100%);
  border-bottom: 1px solid var(--line);
}
.product-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}
.product-hero h1 {
  font-size: clamp(36px, 4.5vw, 52px) !important;
  color: var(--navy-900);
  margin: 12px 0;
}
.product-hero h2 {
  font-size: clamp(20px, 2.5vw, 28px) !important;
  color: var(--navy-800);
  margin-bottom: 16px;
}
.back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-500);
  transition: gap 0.25s var(--ease);
}
.back-link:hover { gap: 10px; }

.product-visual {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  line-height: 0;
}

.product-visual-media {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.product-visual.product-photo .product-visual-media {
  aspect-ratio: unset;
  height: auto;
}

.product-visual.product-photo .product-visual-media img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: unset;
}

.product-visual--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 48px);
  background: white;
  overflow: visible;
}

.product-logo-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(48vh, 400px);
  object-fit: contain;
  object-position: center;
}

.product-visual figcaption {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  background: var(--soft);
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.outcome-band {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: white;
}
.outcome-band .eyebrow { color: var(--teal-400); }
.outcome-band .eyebrow::before { background: var(--teal-400); }
.outcome-band h2 { color: white; }
.outcome-band .outcome-list,
.outcome-band ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.outcome-band li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.trust-grid-section .trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.trust-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-xs);
}

/* ── Contact ── */
.contact-layout {
  padding-block: clamp(32px, 4vw, 48px);
  background: white;
}
.contact-layout-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-details article {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.contact-details article:last-child { border-bottom: none; }
.contact-details b {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.contact-details p { font-size: 14px; margin: 0; }

.office-note {
  font-size: 12px !important;
  color: var(--text-secondary);
  margin-bottom: 12px !important;
  font-style: italic;
}
.office-list { display: grid; gap: 12px; margin-top: 4px; }
.office-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.office-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy-900);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.office-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 2px;
}
.office-item p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.5; }

.demo-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-md);
}
.demo-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: white;
  box-shadow: 0 0 0 3px rgba(19, 119, 201, 0.12);
}

.demo-form input.is-invalid,
.demo-form textarea.is-invalid,
.demo-form select.is-invalid {
  border-color: var(--red-500);
  background: #fffafb;
  box-shadow: 0 0 0 3px rgba(201, 52, 58, 0.12);
}

.demo-form input.is-invalid:focus,
.demo-form textarea.is-invalid:focus,
.demo-form select.is-invalid:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(201, 52, 58, 0.14);
}

.field-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 18px;
}

.field-error {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--red-500);
}

.field-count {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.field-count.is-limit {
  color: var(--red-500);
}

.form-status {
  margin: 0;
  min-height: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--red-500);
}

.form-status:empty {
  display: none;
}

.site-toast-host {
  position: fixed;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 24px);
  z-index: 10050;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.site-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
}

.site-toast--success {
  border-color: rgba(19, 119, 201, 0.22);
  box-shadow: 0 16px 40px rgba(19, 119, 201, 0.14);
}

.site-toast--info {
  border-color: rgba(15, 42, 68, 0.12);
}

.site-toast-message {
  flex: 1;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy-900);
}

.site-toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-toast-close:hover {
  background: var(--line);
  color: var(--navy-900);
}

.demo-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); }

/* ── Footer ── */
.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 0;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) 1.75fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
  padding-bottom: clamp(32px, 4vw, 48px);
}
.footer-brand-block { max-width: 36ch; }
.footer-brand {
  display: inline-flex;
  text-decoration: none;
}
.footer-logo {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-desc {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.footer-col h3 {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: white; }
.footer-contact .footer-address {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}
.footer-contact .footer-regions {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0 clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Motion utilities ── */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in-view { opacity: 1; transform: none; }

.card-spotlight { position: relative; overflow: hidden; }
.card-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(19, 119, 201, 0.07), transparent 65%);
  pointer-events: none;
}
.card-spotlight:hover::after { opacity: 1; }

.btn-magnetic { transition: transform 0.2s var(--ease); }

main > .section,
main > .global-hero,
main > .page-hero,
main > .products-hero,
main > .product-hero,
main > .contact-layout,
main > .proof-ribbon,
main > .marquee-section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-eight-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-two-col { gap: 16px; }
  .industry-problems, .industry-solutions { padding: 28px 24px; }
  .global-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .vertical-grid { grid-template-columns: 1fr; }
  .vertical-card { min-height: 0; }
  .profile-story-inner,
  .industry-band-inner,
  .story-grid-inner,
  .capability-section-inner,
  .ecosystem-inner,
  .contact-layout-inner,
  .product-hero-inner { grid-template-columns: 1fr; }
  .module-grid,
  .partnership-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-columns { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .industry-two-col { grid-template-columns: 1fr; }
  .services-eight-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
    margin-right: 0;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { padding: 14px 16px; border-radius: var(--radius-md); }
  .main-nav a:hover { background: var(--soft); }
  .nav-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }
  .proof-ribbon { margin-top: -24px; margin-bottom: 20px; }
  .proof-ribbon-inner { grid-template-columns: repeat(3, 1fr); }
  .proof-stat:nth-child(3) { border-right: none; }
  .proof-stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .proof-stat:nth-child(4) { border-right: 1px solid var(--line); }
  .module-grid,
  .partnership-grid,
  .industry-detail-grid,
  .check-list,
  .outcome-band ul { grid-template-columns: 1fr; }
  .industry-links { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }
  .section-heading.split { flex-direction: column; align-items: flex-start; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .proof-ribbon-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-stat:nth-child(2n) { border-right: none; }
  .proof-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .proof-stat:last-child { grid-column: 1 / -1; border-right: none; }
  .workflow-steps { grid-template-columns: 1fr; }
  .global-hero h1 { max-width: none; font-size: 36px; }
}

/* ── Compact section stacking (reduce double gaps) ── */
.section.final-cta { padding-block: var(--section-y-sm); }
.section.ecosystem { padding-block: var(--section-y-sm); }
.section.cta-band { padding-block: var(--section-y-sm); }

.section + .section.process-band,
.section.process-band + .section:not(.cta-band) {
  padding-top: max(28px, calc(var(--section-y) - 16px));
}

.section.product-problems,
.section.product-detail-list {
  padding-top: var(--section-y-sm);
  padding-bottom: var(--section-y);
}

.section.portfolio-entry {
  padding-top: var(--section-y-sm);
}

.section.comparison {
  padding-top: var(--section-y-sm);
}

/* Page hero → next element gap */
.page-hero + .wide-product-image,
.products-hero + .wide-product-image {
  margin-top: clamp(12px, 2vw, 20px);
}

.page-hero--compact + .contact-layout {
  padding-top: clamp(24px, 3vw, 36px);
}

/* ═══ IT COMPANY — products + services focus ═══ */

/* Dual offering cards */
.offering-split { background: var(--soft); }
.offering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.offering-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
}
.offering-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 119, 201, 0.25);
}
.offering-card.offering-products { border-top: 3px solid var(--blue-500); }
.offering-card.offering-services { border-top: 3px solid var(--teal-500); }

.offering-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.offering-products .offering-tag {
  color: var(--blue-500);
  background: var(--blue-100);
}
.offering-services .offering-tag {
  color: var(--teal-500);
  background: var(--teal-100);
}

.offering-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0;
  color: var(--navy-900);
}
.offering-card > p {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}
.offering-list {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.offering-list li {
  position: relative;
  padding-left: 16px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.offering-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-500);
}
.offering-services .offering-list li::before { background: var(--teal-500); }

.offering-cta {
  margin-top: auto;
  padding-top: 12px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue-500);
}
.offering-services .offering-cta { color: var(--teal-500); }

/* Page type badge (Products / Services pages) */
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-badge--products { color: var(--blue-500); background: var(--blue-100); }
.page-badge--services { color: var(--teal-500); background: var(--teal-100); }

/* Page heroes — aligned IT layout (see .page-hero block above) */
.page-hero-inner,
.products-hero-inner {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

/* Card & grid title consistency */
.vertical-card h3,
.showcase-grid h3,
.industry-detail-grid article h2,
.module-grid article h3 {
  font-family: var(--font-body);
  font-weight: 700;
}

.showcase-grid h3 { font-size: var(--text-lg); margin-top: 12px; }

/* Services section label */
.services-section { background: white; }
.vertical-card h3 { font-size: var(--text-lg); }

/* Hero dual CTA emphasis */
.hero-actions .button.primary { min-width: 160px; }
.hero-actions .button.secondary-outline {
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero-actions .button.secondary-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.product-showcase .hero-actions.centered { margin-top: 28px; }

/* Footer IT tagline */
.footer-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.footer-tagline span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .footer-columns { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


@media (max-width: 768px) {
  .offering-grid { grid-template-columns: 1fr; }
  .marquee-section-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .marquee-label { width: auto; }
  .marquee-viewport { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track, .hero-accent { animation: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Site chatbot widget ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-chatbot {
  position: fixed;
  right: clamp(16px, 2vw, 24px);
  bottom: clamp(16px, 2vw, 24px);
  z-index: 500;
  font-family: var(--font-body);
}

body.has-site-chatbot:not(.site-chatbot-open) main {
  padding-bottom: var(--chatbot-clearance);
}

body.has-site-chatbot:not(.site-chatbot-open) .site-footer {
  padding-bottom: calc(var(--chatbot-clearance) + env(safe-area-inset-bottom, 0px));
}

body.site-chatbot-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 499;
  background: rgba(3, 21, 37, 0.42);
  pointer-events: none;
}

.site-chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border: none;
  border-radius: var(--radius-full);
  color: white;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-500) 55%, var(--teal-500) 100%);
  box-shadow: 0 12px 32px rgba(6, 44, 84, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(6, 44, 84, 0.34);
}

.site-chatbot-toggle-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.site-chatbot-toggle-icon--close { display: none; }

.site-chatbot.is-open .site-chatbot-toggle-icon--open { display: none; }
.site-chatbot.is-open .site-chatbot-toggle-icon--close { display: grid; }

.site-chatbot-toggle-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(6, 44, 84, 0.18);
  transform-origin: bottom right;
  animation: site-chatbot-panel-in 0.28s var(--ease);
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.site-chatbot-panel[hidden] {
  display: none !important;
}

@keyframes site-chatbot-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  color: white;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.22) 0%, transparent 48%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--blue-500) 100%);
}

.site-chatbot-eyebrow {
  margin: 0 0 4px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
}

.site-chatbot-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
}

.site-chatbot-subtitle {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.site-chatbot-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-chatbot-close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.site-chatbot-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(19, 119, 201, 0.05) 0%, transparent 42%),
    linear-gradient(180deg, var(--soft) 0%, white 100%);
}

.site-chatbot-message {
  display: flex;
  margin: 0;
}

.site-chatbot-message--user { justify-content: flex-end; }
.site-chatbot-message--bot { justify-content: flex-start; }

.site-chatbot-bubble {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: var(--shadow-xs);
}

.site-chatbot-message--bot .site-chatbot-bubble {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.site-chatbot-message--user .site-chatbot-bubble {
  color: white;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
  border-bottom-right-radius: 6px;
}

.site-chatbot-bubble time {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.65;
}

.site-chatbot-bubble--typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 56px;
  min-height: 20px;
}

.site-chatbot-bubble--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
  animation: site-chatbot-typing 1.2s ease-in-out infinite;
}

.site-chatbot-bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.site-chatbot-bubble--typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes site-chatbot-typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.site-chatbot-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: white;
}

.site-chatbot-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-chatbot-form input:focus {
  outline: none;
  border-color: var(--blue-400);
  background: white;
  box-shadow: 0 0 0 3px rgba(19, 119, 201, 0.12);
}

.site-chatbot-form input::placeholder { color: var(--muted); }

.site-chatbot-send {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: var(--radius-full);
  color: white;
  background: var(--btn-primary-bg);
  box-shadow: var(--btn-primary-shadow);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s ease;
}

.site-chatbot-send:hover {
  transform: translateY(-1px);
  box-shadow: var(--btn-primary-shadow-hover);
  background: var(--btn-primary-bg-hover);
}

.site-chatbot-form.is-loading .site-chatbot-send {
  opacity: 0.65;
  pointer-events: none;
}

@media (max-width: 768px) {
  :root {
    --chatbot-clearance: 68px;
  }

  .site-chatbot {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: auto;
  }

  .site-chatbot-toggle {
    width: auto;
    min-height: 48px;
    padding: 0 16px 0 12px;
  }

  .site-chatbot-panel {
    position: fixed;
    inset: 0;
    right: 0;
    left: 0;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 0;
    z-index: 502;
  }

  .site-chatbot.is-open .site-chatbot-toggle {
    display: none;
  }

  .site-chatbot-form {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS v3
   Elevated color, motion, and component refinements
   ═══════════════════════════════════════════════════════════════ */

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500), var(--violet-500));
  background-size: 200% 100%;
  animation: progress-shimmer 2s linear infinite;
  transition: width 0.1s linear;
  pointer-events: none;
}
@keyframes progress-shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ── Gradient text utility ── */
.text-gradient {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--teal-500) 55%, var(--violet-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-warm {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animated gradient borders on cards ── */
.card-gradient-border {
  position: relative;
}
.card-gradient-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad-card-border);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}
.card-gradient-border:hover::before { opacity: 1; }

/* ── Enhanced header blur & gradient border ── */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(6,44,84,0.07);
}

/* ── Button shimmer effect ── */
.button.primary {
  position: relative;
  overflow: hidden;
}
.button.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.button.primary:hover::before { left: 160%; }

/* ── Enhanced ghost button ── */
.button.ghost {
  background: rgba(255,255,255,0.9);
  border-color: var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease, background 0.2s ease;
}
.button.ghost:hover {
  background: white;
  border-color: rgba(19, 119, 201, 0.35);
  box-shadow: 0 4px 20px rgba(19,119,201,0.12), 0 1px 4px rgba(0,0,0,0.06);
}

/* ── Elevated card hover (applies globally to key card types) ── */
.vertical-card,
.service-card,
.portfolio-problem-card,
.product-detail,
.team-card,
.offering-card,
.about-principle-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease !important;
}
.vertical-card:hover,
.service-card:hover,
.portfolio-problem-card:hover,
.product-detail:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 60px rgba(6,44,84,0.13) !important;
  border-color: rgba(19,119,201,0.22) !important;
}

/* ── Showcase grid card hover lift ── */
.showcase-grid a {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease !important;
}
.showcase-grid a:hover {
  transform: translateY(-5px) scale(1.015) !important;
  box-shadow: 0 16px 48px rgba(6,44,84,0.16) !important;
}

/* ── Eyebrow refinement ── */
.eyebrow {
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow::before,
.eyebrow::after {
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500)) !important;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
/* Keep hero eyebrow teal */
.global-hero-copy .eyebrow {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--teal-400);
  background-clip: unset;
  color: var(--teal-400);
}
.global-hero-copy .eyebrow::before { background: var(--teal-400) !important; }

/* ── Section heading h2 — premium weight & spacing ── */
.section-heading h2 {
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* ── Premium proof ribbon ── */
.proof-ribbon {
  position: relative;
}
.proof-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,119,201,0.04) 0%, rgba(0,169,165,0.03) 100%);
  pointer-events: none;
}
.proof-stat strong {
  background: linear-gradient(135deg, var(--navy-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CTA band — premium dark gradient ── */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 120% at 80% 50%, rgba(19,119,201,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 10% 60%, rgba(0,169,165,0.12) 0%, transparent 55%);
  pointer-events: none;
}

/* ── Marquee / tech logos smooth infinite scroll ── */
.marquee-track {
  display: flex;
  gap: 32px;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Ecosystem spans premium pill style ── */
.ecosystem-flow {
  position: relative;
}
.ecosystem-flow span {
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease) !important;
}
.ecosystem-flow span:hover {
  background: var(--navy-900) !important;
  color: white !important;
  box-shadow: 0 4px 16px rgba(6,44,84,0.2) !important;
  transform: translateY(-2px) !important;
}

/* ── Wide product image premium frame ── */
.wide-product-image-media {
  position: relative;
}
.wide-product-image-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(6,44,84,0.08), 0 32px 80px rgba(6,44,84,0.12);
  pointer-events: none;
}

/* ── Module grid articles — premium hover ── */
.module-grid article {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
}
.module-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(6,44,84,0.1);
  border-color: rgba(19,119,201,0.2);
}
.module-grid article span {
  background: linear-gradient(135deg, var(--navy-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Workflow steps number gradient ── */
.workflow-steps article span {
  background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav link premium hover ── */
.main-nav a:not(.nav-cta) {
  letter-spacing: -0.01em;
}
.main-nav a:not(.nav-cta)::after {
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
}

/* ── Industry section enhancements ── */
.industry-section {
  transition: background 0.3s ease;
}
.industry-section:nth-child(odd) {
  background: linear-gradient(180deg, var(--soft) 0%, white 100%);
}

/* ── Product logo image — soft glow on hover ── */
.product-logo-image {
  transition: filter 0.3s ease, transform 0.3s var(--ease);
}
.product-visual--logo:hover .product-logo-image {
  filter: drop-shadow(0 8px 32px rgba(19,119,201,0.25));
  transform: scale(1.03);
}

/* ── Service card number gradient ── */
.service-card-number {
  background: linear-gradient(135deg, var(--blue-500), var(--teal-500)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

/* ── About team card premium ── */
.team-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease) !important;
}
.team-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 64px rgba(6,44,84,0.14) !important;
}

/* ── Contact details premium ── */
.contact-details article b {
  background: linear-gradient(90deg, var(--navy-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Form inputs — premium focus ring ── */
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(19,119,201,0.14), 0 2px 8px rgba(19,119,201,0.08) !important;
}

/* ── Page hero accent line ── */
.page-hero-inner::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-400), var(--blue-500));
}

/* ── Product hero page — branded gradient background ── */
.product-hero {
  background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%) !important;
  position: relative;
}
.product-hero h1 { color: #fff !important; }
.product-hero h2 { color: rgba(255,255,255,0.85) !important; }
.product-hero p  { color: rgba(255,255,255,0.7) !important; }
.product-hero .back-link { color: rgba(255,255,255,0.55) !important; }
.product-hero .back-link:hover { color: rgba(255,255,255,0.95) !important; }
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 40%, rgba(19,119,201,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 15% 70%, rgba(0,169,165,0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Back link in product hero ── */
.back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.back-link:hover { color: rgba(255,255,255,0.95); gap: 10px; }

/* ── Portfolio problem card premium ── */
.portfolio-problem-card {
  position: relative;
  overflow: hidden;
}
.portfolio-problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.portfolio-problem-card:hover::before { transform: scaleX(1); }

/* ── Check list items — animated marker ── */
.check-list li::before {
  transition: transform 0.2s var(--ease-spring);
}
.check-list li:hover::before { transform: scale(1.2); }

/* ── Section divider accent ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0;
  border: none;
}

/* ── Floating ambient orbs in hero (extra depth) ── */
.hero-mesh {
  background:
    radial-gradient(ellipse 75% 55% at 72% 35%, rgba(19,119,201,0.28) 0%, transparent 58%),
    radial-gradient(ellipse 45% 45% at 18% 75%, rgba(0,169,165,0.18) 0%, transparent 52%),
    radial-gradient(ellipse 35% 40% at 88% 78%, rgba(124,58,237,0.12) 0%, transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%) !important;
}

/* ── Outcome list items ── */
.outcome-list li {
  transition: transform 0.25s var(--ease), color 0.2s ease;
}
.outcome-list li:hover {
  transform: translateX(4px);
  color: white;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
}

/* ── Card tilt class (applied via JS) ── */
.card-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Global smooth transition upgrade ── */
a, button {
  transition-timing-function: var(--ease);
}

/* ── Reveal animation refinement ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Staggered char-reveal class ── */
.char-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.char-reveal.in-view .char { opacity: 1; transform: translateY(0); }

/* ── Noise texture overlay (subtle grain) ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ── Footer links — premium hover ── */
.footer-col a {
  position: relative;
}
.footer-col a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: width 0.3s var(--ease);
}
.footer-col a:hover::after { width: 100%; }

/* ── Page transition fade (applied by JS on navigation) ── */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-enter {
  animation: page-fade-in 0.45s var(--ease) forwards;
}

/* ── Responsive: preserve on mobile ── */
@media (max-width: 768px) {
  .service-card-number { font-size: 2rem !important; }
  body::before { opacity: 0.015; }
}

/* ════════════════════════════════════════════
   SERVICE DETAIL PAGES — enhanced components
   ════════════════════════════════════════════ */

/* Stats strip */
.service-stats {
  background: var(--navy-950);
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.service-stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.service-stat {
  text-align: center;
}
.service-stat strong {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--teal-400), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.service-stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* Offer cards grid */
.service-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.service-offer-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.service-offer-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(19,119,201,0.25); }
.service-offer-card:hover::before { opacity: 1; }
.service-offer-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
  background: var(--blue-100);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.service-offer-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 10px;
}
.service-offer-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Capability grid */
.service-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.service-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.service-cap-item:hover { background: var(--blue-100); border-color: rgba(19,119,201,0.25); color: var(--navy-900); }
.service-cap-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.service-cap-icon::after {
  content: "";
  display: block;
  width: 10px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Outcome cards */
.service-outcome-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.service-outcome-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-outcome-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-outcome-card::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19,119,201,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.service-outcome-num {
  display: block;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.service-outcome-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 8px;
}
.service-outcome-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] { border-color: rgba(19,119,201,0.3); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: background 0.15s ease;
}
.faq-item summary:hover { background: var(--surface); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-500);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; background: var(--blue-500); color: white; }
.faq-item > p {
  padding: 16px 24px 20px;
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid var(--line-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .service-outcome-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-offer-grid,
  .service-cap-grid,
  .service-outcome-cards { grid-template-columns: 1fr; }
  .service-stats-inner { gap: 32px; }
}
