/* ============================================================
   AXIVORA LABS — PRECISION ARCHITECTURE DESIGN SYSTEM
   Billion-Dollar Premium Foundation · v5.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700;800;900&family=Lora:ital,wght@0,400..700;1,400..700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── ANIMATED GRADIENT PROPERTIES ── */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 135deg;
  inherits: false;
}

@property --gradient-pos {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}

/* ── CSS VARIABLES — PREMIUM PALETTE ── */
:root {
  --bg: #FAFAF8;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F5F5F0;
  --bg-hover: #F0F0EB;
  --bg-dark: #0A0A0C;
  --bg-dark-elevated: #111114;
  --bg-warm: #F8F6F1;

  --border: rgba(0, 0, 0, 0.07);
  --border-hover: rgba(0, 0, 0, 0.14);
  --border-accent: rgba(197, 168, 128, 0.28);
  --border-glow: rgba(197, 168, 128, 0.15);

  --text: #0C0C0E;
  --text-secondary: #52525B;
  --text-muted: #A1A1AA;
  --text-dim: #D4D4D8;
  --text-inverse: #FAFAF8;

  /* Accent System — Luxury Champagne Gold & Warm Bronze */
  --accent: #C5A880;
  --accent-hover: #D4C3A3;
  --accent-deep: #9C7D4A;
  --accent-light-hex: #E5D5C0;
  --accent-subtle: rgba(197, 168, 128, 0.04);
  --accent-muted: rgba(197, 168, 128, 0.08);
  --accent-light: rgba(197, 168, 128, 0.12);
  --accent-glow: rgba(197, 168, 128, 0.18);

  /* Secondary Accent — Warm Bronze */
  --violet: #BFA276;
  --violet-subtle: rgba(191, 162, 118, 0.06);

  --gradient-primary: linear-gradient(135deg, #C5A880 0%, #BFA276 50%, #C5A880 100%);
  --gradient-text: linear-gradient(135deg, #9C7D4A 0%, #C5A880 40%, #E5D5C0 70%, #9C7D4A 100%);
  --gradient-text-luxury: linear-gradient(135deg, #9C7D4A 0%, #C5A880 35%, #E5D5C0 65%, #9C7D4A 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(197, 168, 128, 0.06), rgba(191, 162, 118, 0.03));
  --gradient-mesh: linear-gradient(135deg, rgba(197, 168, 128, 0.08) 0%, rgba(191, 162, 118, 0.04) 50%, rgba(197, 168, 128, 0.06) 100%);

  --gold: #C5A880;
  --gold-hover: #BFA276;
  --gold-light: rgba(197, 168, 128, 0.08);
  --gold-gradient: linear-gradient(135deg, #C5A880 0%, #E5D5C0 50%, #C5A880 100%);

  --success: #059669;
  --error: #DC2626;
  --warning: #D97706;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  --font: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --nav-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.25s;
  --duration-md: 0.4s;
  --duration-lg: 0.6s;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.06), 0 4px 8px -2px rgba(0, 0, 0, 0.03), 0 0 1px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 30px -5px rgba(0, 0, 0, 0.07), 0 10px 14px -5px rgba(0, 0, 0, 0.03), 0 0 2px rgba(0, 0, 0, 0.02);
  --shadow-2xl: 0 25px 60px -12px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.03), 0 6px 16px rgba(0, 0, 0, 0.025), 0 0 1px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 36px rgba(0, 0, 0, 0.06), 0 24px 60px rgba(79, 70, 229, 0.05);
  /* Accent-tinted shadows for interactive elements */
  --shadow-accent: 0 4px 14px rgba(79, 70, 229, 0.18), 0 1px 3px rgba(79, 70, 229, 0.12), 0 0 1px rgba(79, 70, 229, 0.2);
  --shadow-accent-lg: 0 8px 30px rgba(79, 70, 229, 0.22), 0 4px 12px rgba(79, 70, 229, 0.12), 0 0 2px rgba(79, 70, 229, 0.3);
  --shadow-glow: 0 0 50px rgba(79, 70, 229, 0.1), 0 0 20px rgba(79, 70, 229, 0.05);
}

/* ── THEME OVERRIDES ── */
html.dark {
  --bg: #0A0A0C;
  --bg-surface: #111114;
  --bg-elevated: #17171C;
  --bg-hover: #1F1F26;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text: #FAFAF8;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --text-dim: #3F3F46;

  /* Retain gold/silver accents but glow softly */
  --accent-subtle: rgba(197, 168, 128, 0.06);
  --accent-muted: rgba(197, 168, 128, 0.12);
  --accent-light: rgba(197, 168, 128, 0.18);
  --accent-glow: rgba(197, 168, 128, 0.25);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.8);
  --shadow-xl: 0 20px 30px -5px rgba(0, 0, 0, 0.9);
  --shadow-2xl: 0 25px 60px -12px rgba(0, 0, 0, 0.95);

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 50px rgba(197, 168, 128, 0.03);
}



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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
  max-width: 100vw;
  overflow-x: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  max-width: 100vw;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* GPU Composite Layers for smooth hardware-accelerated rendering */
#navbar,
.aurora,
#hero-canvas,
.service-card,
.pricing-card,
.project-card,
.platform-card,
.testimonial-card,
.why-us-card,
.industry-card,
.step-card,
.client-logo-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Smooth Touch Momentum for Modals & Overflow Containers */
.platform-modal,
.idp-modal,
.bpa-modal,
.mobile-menu,
.art-table-wrapper,
.code-panel {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

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

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ── TYPOGRAPHY — CINEMATIC & COMMANDING ── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── SCROLLBAR — PREMIUM THIN ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.15), rgba(124, 58, 237, 0.1));
  border-radius: 3px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.3), rgba(124, 58, 237, 0.2));
}

/* ── SELECTION ── */
::selection {
  background: rgba(79, 70, 229, 0.15);
  color: var(--text);
}

/* ── LAYOUT — GENEROUS PREMIUM SPACING ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.section {
  padding: 160px 0;
  position: relative;
}

/* ── ACCENT TEXT — ANIMATED GRADIENT ── */
.gradient-text {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 25%, #818CF8 50%, #A78BFA 75%, #4F46E5 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 5s ease-in-out infinite;
}

@keyframes gradientShimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ── TAG / BADGE — PREMIUM ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.07), rgba(124, 58, 237, 0.035));
  border: 1px solid rgba(79, 70, 229, 0.14);
  padding: 7px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-weight: 500;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 4px rgba(79, 70, 229, 0.06),
    0 0 20px rgba(79, 70, 229, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tag:hover {
  border-color: rgba(79, 70, 229, 0.25);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.05));
  box-shadow:
    0 2px 10px rgba(79, 70, 229, 0.12),
    0 0 30px rgba(79, 70, 229, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: tagPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(79, 70, 229, 0.5);
}

@keyframes tagPulse {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
    box-shadow: 0 0 5px rgba(79, 70, 229, 0.25);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.6);
  }
}

/* ── BUTTONS — PREMIUM WITH DEPTH ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  white-space: nowrap;
  position: relative;
  letter-spacing: -0.01em;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg,
      transparent 30%,
      rgba(255, 255, 255, 0.12) 45%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.12) 55%,
      transparent 70%);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.btn:hover::before {
  left: 100%;
}

/* Ripple effect base */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255, 255, 255, 0.3), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.btn:active::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #4F46E5 0%, #6D28D9 50%, #4F46E5 100%);
  background-size: 250% 100%;
  color: #fff;
  box-shadow:
    var(--shadow-accent),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 30px rgba(79, 70, 229, 0.08);
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow:
    var(--shadow-accent-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 50px rgba(79, 70, 229, 0.12);
  filter: brightness(1.06);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
  filter: brightness(0.97);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--accent);
  background: rgba(79, 70, 229, 0.05);
  transform: translateY(-3px);
  box-shadow:
    var(--shadow-glow),
    0 4px 14px rgba(0, 0, 0, 0.04);
}

.btn-outline:active {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-hover);
}

/* ── SECTION HEADERS — CINEMATIC ── */
.section-title {
  margin-bottom: 20px;
  position: relative;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 580px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 80px;
}

/* ── GRID ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media (max-width: 768px) {

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

  .section {
    padding: 100px 0;
  }

  .container {
    padding: 0 20px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── CARD BASE — PREMIUM SURFACE ── */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── SCROLL REVEAL — PREMIUM BLUR FADE ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* ── TOAST ── */
#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease-spring);
  background: var(--bg-dark);
  color: var(--text-inverse);
  box-shadow: var(--shadow-2xl);
  backdrop-filter: blur(12px);
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

#toast.success {
  background: var(--success);
  color: #fff;
}

#toast.error {
  background: var(--error);
  color: #fff;
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #4F46E5, #7C3AED, #818CF8, #6366F1, #4F46E5);
  background-size: 300% 100%;
  animation: gradientShimmer 3s ease infinite;
  z-index: 10001;
  transition: width 0.12s linear;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.35), 0 0 3px rgba(79, 70, 229, 0.6);
}

/* ── CURSOR FOLLOWER ── */
.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.3s, height 0.3s;
  mix-blend-mode: difference;
  box-shadow: 0 0 8px rgba(79, 70, 229, 0.3);
}

.cursor-dot.visible {
  opacity: 0.7;
  transform: translate(-50%, -50%) scale(1);
}

.cursor-dot.hover {
  transform: translate(-50%, -50%) scale(3.5);
  opacity: 0.12;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
}

/* ── SECTION DIVIDERS — GRADIENT FADE ── */
.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(79, 70, 229, 0.08) 20%,
      rgba(124, 58, 237, 0.12) 50%,
      rgba(79, 70, 229, 0.08) 80%,
      transparent 100%);
}

/* ── CLIENT LOGO STRIP — PREMIUM GLASSMORPHIC ── */
.client-logos {
  padding: 80px 0;
  border-bottom: none;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

/* Disable inherited section divider */
.client-logos::after {
  display: none;
}

/* Subtle mesh background */
.client-logos::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(79, 70, 229, 0.025) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(124, 58, 237, 0.02) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.client-logos-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ── Animated gradient lines ── */
.trust-gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(79, 70, 229, 0.06) 15%, rgba(79, 70, 229, 0.2) 35%, rgba(124, 58, 237, 0.25) 50%, rgba(79, 70, 229, 0.2) 65%, rgba(79, 70, 229, 0.06) 85%, transparent 100%);
  background-size: 200% 100%;
  animation: trustLineShimmer 6s ease-in-out infinite;
  margin: 0 auto;
  max-width: 800px;
}

@keyframes trustLineShimmer {

  0%,
  100% {
    background-position: -100% 0;
    opacity: 0.7;
  }

  50% {
    background-position: 200% 0;
    opacity: 1;
  }
}

/* ── Trust header with shield icon ── */
.trust-header-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 36px 0 40px;
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(79, 70, 229, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  animation: trustBadgePulse 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.08);
}

@keyframes trustBadgePulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.08);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 32px rgba(79, 70, 229, 0.18);
    transform: scale(1.06);
  }
}

/* Label — clearly visible trust message */
.client-logos-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0;
}

/* ── Logo card grid ── */
.client-logos-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
  user-select: none;
}

.client-logo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.client-logo-card:hover {
  border-color: rgba(79, 70, 229, 0.2);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 0 30px rgba(79, 70, 229, 0.06),
    0 8px 24px rgba(79, 70, 229, 0.04);
}

.client-logo-card:hover .client-logo-glow {
  opacity: 1;
}

.client-logo-card svg {
  width: 22px;
  height: 22px;
  opacity: 0.45;
  stroke: var(--text-secondary);
  transition: all 0.4s var(--ease);
  flex-shrink: 0;
}

.client-logo-card:hover svg {
  stroke: var(--accent);
  opacity: 0.85;
  transform: scale(1.1);
}

.client-logo-card span {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}

.client-logo-card:hover span {
  color: var(--accent);
}

/* ── Trust metrics strip ── */
.trust-metrics-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 44px auto 36px;
  padding: 22px 40px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 700px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 0 40px rgba(79, 70, 229, 0.03);
}

.trust-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.trust-metric-num {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-metric-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-metric-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, rgba(79, 70, 229, 0.12), transparent);
  margin: 0 16px;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .client-logos-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px;
    gap: 12px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .client-logos-row::-webkit-scrollbar {
    display: none;
  }

  .client-logo-card {
    flex: 0 0 150px;
    scroll-snap-align: start;
    padding: 12px 14px;
  }

  .trust-metrics-strip {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
  }

  .trust-metric-divider {
    display: none;
  }

  .trust-metric-item {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 600px) {
  .client-logos {
    padding: 56px 0;
  }

  .client-logo-card {
    padding: 10px 12px;
  }

  .client-logo-card svg {
    width: 18px;
    height: 18px;
  }

  .client-logo-card span {
    font-size: 0.82rem;
  }

  .trust-header-group {
    flex-direction: row;
    gap: 10px;
  }

  .client-logos-label {
    font-size: 0.62rem;
    text-align: center;
  }

  .trust-metrics-strip {
    max-width: 100%;
  }
}