/**
 * ==============================================================================
 * MEDINEXT GLOBAL LLC — 2025 ENTERPRISE DESIGN SYSTEM & STYLESHEET
 * ==============================================================================
 * Architecture: 2025 Design Tokens, Dark Navy & Electric Blue Hero Theme,
 * Crisp White & Light Blue Body Theme, Floating Glass Cards, Responsive Grids.
 * Version: 3.0.0 (Production 2025)
 * ==============================================================================
 */

/* ==========================================================================
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES (:root)
   ========================================================================== */
:root {
  /* --- Dark Navy & Electric Blue Hero Theme --- */
  --hero-bg-deep:        #080e1e;
  --hero-bg-dark:        #0a192f;
  --hero-bg-navy:        #0f172a;
  --hero-bg-surface:     #131f37;
  --hero-bg-blue:        #1e3a8a;
  --hero-accent-blue:    #2563eb;
  --hero-accent-cyan:    #06b6d4;
  --hero-accent-sky:     #38bdf8;
  --hero-text-title:     #ffffff;
  --hero-text-body:      #cbd5e1;
  --hero-text-muted:     #94a3b8;
  --hero-border-subtle:  rgba(255, 255, 255, 0.12);
  --hero-border-accent:  rgba(14, 165, 233, 0.35);

  /* --- Crisp White & Light Blue Body Theme --- */
  --color-bg-canvas:     #f8fafc;
  --color-bg-surface:    #ffffff;
  --color-bg-subtle:     #f0f7ff;
  --color-bg-alt:        #e0f2fe;
  --color-bg-card:       #ffffff;
  --color-bg-muted:      #e2e8f0;
  --color-bg-border:     #cbd5e1;

  /* --- Primary Brand Blues (Enterprise Authority) --- */
  --color-primary-950:   #040911;
  --color-primary-900:   #080e1e;
  --color-primary-850:   #0a192f;
  --color-primary-800:   #0f172a;
  --color-primary-700:   #1e3a8a;
  --color-primary-600:   #1d4ed8;
  --color-primary-500:   #2563eb;
  --color-primary-400:   #3b82f6;
  --color-primary-300:   #93c5fd;
  --color-primary-100:   #dbeafe;
  --color-primary-50:    #eff6ff;

  /* --- Cyan & Sky Electric Accents (Innovation & Agility) --- */
  --color-accent-700:    #0369a1;
  --color-accent-600:    #0284c7;
  --color-accent-500:    #0ea5e9;
  --color-accent-400:    #38bdf8;
  --color-accent-300:    #7dd3fc;
  --color-accent-200:    #bae6fd;
  --color-accent-100:    #e0f2fe;
  --color-accent-50:     #f0f9ff;
  --color-cyan-500:      #06b6d4;
  --color-cyan-400:      #22d3ee;

  /* --- Emerald Accents (Trust, Verification & Compliance) --- */
  --color-emerald-700:   #047857;
  --color-emerald-600:   #059669;
  --color-emerald-500:   #10b981;
  --color-emerald-400:   #34d399;
  --color-emerald-300:   #6ee7b7;
  --color-emerald-100:   #d1fae5;
  --color-emerald-50:    #ecfdf5;

  /* --- Slate / Charcoal Typography Colors --- */
  --color-text-main:     #0f172a;
  --color-text-body:     #334155;
  --color-text-muted:    #64748b;
  --color-text-light:    #94a3b8;
  --color-text-subtle:   #cbd5e1;
  --color-text-inverse:  #ffffff;
  --color-text-accent:   #1d4ed8;
  --color-text-emerald:  #047857;

  /* --- Feedback & Status Colors --- */
  --color-success:        #10b981;
  --color-success-bg:     #ecfdf5;
  --color-success-border: #a7f3d0;
  --color-warning:        #f59e0b;
  --color-warning-bg:     #fffbeb;
  --color-warning-border: #fde68a;
  --color-danger:         #ef4444;
  --color-danger-bg:      #fef2f2;
  --color-danger-border:  #fecaca;
  --color-info:           #0ea5e9;
  --color-info-bg:        #f0f9ff;
  --color-info-border:    #bae6fd;

  /* --- Typography Scale --- */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, Menlo, monospace;

  --text-2xs:  0.6875rem; /* 11px */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  clamp(1.75rem, 2.2vw + 0.6rem, 2.25rem); /* 28px - 36px */
  --text-4xl:  clamp(2.25rem, 3.2vw + 0.6rem, 3rem);    /* 36px - 48px */
  --text-5xl:  clamp(2.75rem, 4.5vw + 0.8rem, 4.25rem); /* 44px - 68px */

  --font-weight-light:     300;
  --font-weight-normal:    400;
  --font-weight-medium:    500;
  --font-weight-semibold:  600;
  --font-weight-bold:      700;
  --font-weight-extrabold: 800;

  --line-height-none:     1;
  --line-height-tight:    1.15;
  --line-height-snug:     1.35;
  --line-height-normal:   1.6;
  --line-height-relaxed:  1.75;

  --letter-spacing-tight: -0.03em;
  --letter-spacing-snug:  -0.015em;
  --letter-spacing-normal: 0em;
  --letter-spacing-wide:   0.05em;
  --letter-spacing-wider:  0.1em;

  /* --- 2025 Shadows & Elevations --- */
  --shadow-xs:  0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm:  0 2px 4px 0 rgba(15, 23, 42, 0.06);
  --shadow-md:  0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg:  0 10px 30px rgba(37, 99, 235, 0.07), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl:  0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(37, 99, 235, 0.06);
  --shadow-2xl: 0 25px 50px -12px rgba(8, 14, 30, 0.35);
  --shadow-glow-blue:    0 0 35px -5px rgba(37, 99, 235, 0.4);
  --shadow-glow-cyan:    0 0 35px -5px rgba(14, 165, 233, 0.4);
  --shadow-glow-emerald: 0 0 35px -5px rgba(16, 185, 129, 0.4);

  /* --- Glassmorphism Surfaces --- */
  --glass-bg-light:       rgba(255, 255, 255, 0.90);
  --glass-bg-card:        rgba(255, 255, 255, 0.88);
  --glass-bg-subtle:      rgba(240, 247, 255, 0.85);
  --glass-bg-dark:        rgba(15, 23, 42, 0.90);
  --glass-bg-dark-card:   rgba(19, 31, 55, 0.80);
  --glass-border-light:   1px solid rgba(255, 255, 255, 0.85);
  --glass-border-subtle:  1px solid rgba(226, 232, 240, 0.85);
  --glass-border-accent:  1px solid rgba(37, 99, 235, 0.25);
  --glass-border-dark:    1px solid rgba(255, 255, 255, 0.12);
  --glass-blur:           blur(16px);
  --glass-blur-heavy:     blur(24px);

  /* --- Geometry & Spacing --- */
  --space-0:   0;
  --space-1:   0.25rem;  /* 4px */
  --space-2:   0.5rem;   /* 8px */
  --space-3:   0.75rem;  /* 12px */
  --space-4:   1rem;     /* 16px */
  --space-5:   1.25rem;  /* 20px */
  --space-6:   1.5rem;   /* 24px */
  --space-8:   2rem;     /* 32px */
  --space-10:  2.5rem;   /* 40px */
  --space-12:  3rem;     /* 48px */
  --space-16:  4rem;     /* 64px */
  --space-20:  5rem;     /* 80px */
  --space-24:  6rem;     /* 96px */
  --space-32:  8rem;     /* 128px */

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

  --container-max-w: 1360px;
  --container-pad:   1.5rem;
  --nav-height:      82px;
  --nav-height-sm:   70px;

  /* --- Transitions --- */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Z-Index Layering --- */
  --z-negative: -1;
  --z-base:      0;
  --z-card:      10;
  --z-sticky:    100;
  --z-header:    500;
  --z-drawer:    800;
  --z-backdrop:  900;
  --z-modal:     1000;
  --z-toast:     1100;
  --z-cursor:    9999;
}

/* ==========================================================================
   2. GLOBAL RESET & BASE STYLING
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg-canvas);
  color: var(--color-text-body);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-canvas);
  color: var(--color-text-body);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  overflow-x: hidden;
  position: relative;
}

/* Accessible Focus Outlines */
:focus-visible {
  outline: 2px solid var(--color-accent-500);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

:focus {
  outline-color: var(--color-accent-500);
}

/* Text Selection */
::selection {
  background: var(--color-primary-500);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-subtle);
}
::-webkit-scrollbar-thumb {
  background: var(--color-bg-border);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-subtle);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-light);
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-500);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   3. TYPOGRAPHY & HEADING HIERARCHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary-900);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

h1 { font-size: var(--text-5xl); font-weight: var(--font-weight-extrabold); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  line-height: var(--line-height-normal);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: var(--text-xl);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-body);
  font-weight: var(--font-weight-normal);
}

.eyebrow,
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--color-primary-600);
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-100);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.eyebrow-cyan {
  color: var(--color-accent-600);
  background: var(--color-accent-50);
  border-color: var(--color-accent-100);
}

.eyebrow-emerald {
  color: var(--color-emerald-600);
  background: var(--color-emerald-50);
  border-color: var(--color-emerald-100);
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--color-accent-500) 0%, var(--color-cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, var(--color-emerald-500) 0%, var(--color-emerald-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-white {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Direct-Answer Summary Box (AEO Snippet Box) - Base Architecture */
.aeo-answer-box {
  background: #ffffff;
  border: 1px solid var(--color-accent-200, #bfdbfe);
  border-left: 4px solid var(--color-accent-500, #0ea5e9);
  border-radius: var(--radius-xl, 0.75rem);
  padding: var(--space-6) var(--space-8);
  margin: var(--space-6) 0 var(--space-8);
  box-shadow: var(--shadow-md);
}

/* Single-Layer Knowledge Card: Neutralize Nested Box Artifacts */
.aeo-direct-answer {
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 var(--space-4, 1rem) 0 !important;
}

.aeo-direct-answer p,
.direct-answer-text {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-900);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.aeo-question {
  margin-bottom: var(--space-3);
  color: var(--color-primary-900);
  font-weight: var(--font-weight-bold);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  margin-bottom: var(--space-6);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--hero-text-muted);
}

.breadcrumb-item a {
  color: var(--hero-accent-sky);
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: #ffffff;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin-right: var(--space-2);
  color: var(--hero-border-subtle);
}

.breadcrumb-item.active {
  color: #ffffff;
  font-weight: var(--font-weight-semibold);
}

/* ==========================================================================
   4. LAYOUT, GRIDS & SECTIONS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-sm { max-width: 800px; }
.container-md { max-width: 1024px; }
.container-lg { max-width: 1280px; }
.container-xl { max-width: 1400px; }
.container-2xl { max-width: 1536px; }
.container-wide { max-width: 1440px; }
.container-narrow { max-width: 920px; }
.container-fluid { max-width: 100%; padding-left: var(--container-pad); padding-right: var(--container-pad); }

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  position: relative;
}

.section-sm { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.section-lg { padding-top: var(--space-28); padding-bottom: var(--space-28); }

.bg-canvas {
  background-color: var(--color-bg-canvas);
}

.bg-surface,
.section-white {
  background-color: var(--color-bg-surface);
}

.section-subtle {
  background-color: var(--color-bg-subtle);
}

.section-dark {
  background-color: var(--hero-bg-deep);
  color: #ffffff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: #ffffff;
}

.section-dark p {
  color: var(--hero-text-body);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-16);
}

.section-header-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-title {
  margin-bottom: var(--space-4);
  font-size: var(--text-4xl);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.section-dark .section-subtitle {
  color: var(--hero-text-muted);
}

/* Flexbox Utilities */
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-none { display: none; }
.d-block { display: block; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.align-center, .align-items-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.justify-center, .justify-content-center { justify-content: center; }
.justify-between, .justify-content-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Grid Systems */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

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

@media (max-width: 640px) {
  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 { grid-template-columns: 1fr; }
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-6);
}

.bento-col-12 { grid-column: span 12; }
.bento-col-8  { grid-column: span 8; }
.bento-col-7  { grid-column: span 7; }
.bento-col-6  { grid-column: span 6; }
.bento-col-5  { grid-column: span 5; }
.bento-col-4  { grid-column: span 4; }
.bento-col-3  { grid-column: span 3; }

@media (max-width: 1024px) {
  .bento-col-8,
  .bento-col-7,
  .bento-col-6,
  .bento-col-5,
  .bento-col-4,
  .bento-col-3 {
    grid-column: span 12;
  }
}

/* Two Column Feature Row */
.two-col-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 992px) {
  .two-col-feature {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ==========================================================================
   4.1 COLOR CHANGE CARDS (21st.dev Exact Replication - Square Bento Size)
   ========================================================================== */
.color-change-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .color-change-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .color-change-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.65rem;
  }
}

.color-change-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  height: 350px;
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: #0f172a;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}

.color-change-card:hover {
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.45);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-4px);
}

.color-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0) grayscale(100%);
  transform: scale(1);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
}

@media (max-width: 767px) {
  .color-change-card {
    min-height: 300px;
    height: auto;
    border-radius: 1.125rem;
  }
  .color-card-bg {
    filter: saturate(1) grayscale(0%);
  }
}

.color-change-card:hover .color-card-bg {
  filter: saturate(1) grayscale(0%);
  transform: scale(1.08);
}

.color-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 30, 0.2) 0%, rgba(8, 14, 30, 0.55) 45%, rgba(8, 14, 30, 0.94) 100%);
  transition: background 0.5s ease;
  z-index: 1;
}

.color-change-card:hover .color-card-overlay {
  background: linear-gradient(180deg, rgba(8, 14, 30, 0.12) 0%, rgba(8, 14, 30, 0.38) 45%, rgba(8, 14, 30, 0.88) 100%);
}

.color-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1.35rem 1.4rem;
  color: #e2e8f0;
}

@media (max-width: 767px) {
  .color-card-content {
    padding: 1.25rem 1.15rem;
  }
}

.color-card-arrow-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.color-card-arrow-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.color-change-card:hover .color-card-arrow-circle {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
}

.color-card-arrow {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  transform-origin: center center;
}

.color-change-card:hover .color-card-arrow {
  transform: rotate(-45deg);
  color: #38bdf8;
}

.color-card-bottom {
  margin-top: auto;
}

.color-card-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.45rem;
  backdrop-filter: blur(6px);
}

.color-card-heading {
  font-size: clamp(1.1rem, 1.35vw, 1.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  letter-spacing: -0.015em;
  display: block;
}

/* Word Slot and Letter Slot typography */
.word-slot {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.28em;
  vertical-align: top;
}

.letter-slot {
  display: inline-block;
  height: 1.3em;
  overflow: hidden;
  font-weight: 700;
  line-height: 1.3em;
  vertical-align: top;
}

.letter-inner {
  display: flex;
  flex-direction: column;
  transform: translateY(0%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.letter-inner span {
  display: block;
  height: 1.3em;
  line-height: 1.3em;
}

.color-change-card:hover .letter-inner {
  transform: translateY(-50%);
}

.color-card-desc {
  font-size: 0.825rem;
  line-height: 1.48;
  color: rgba(226, 232, 240, 0.88);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.color-change-card:hover .color-card-desc {
  color: #ffffff;
}

/* ==========================================================================
   5. 2025 HERO SECTION (DARK NAVY & ELECTRIC BLUE THEME)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #030816;
  color: #ffffff;
  padding-top: calc(var(--nav-height, 82px) + 1rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.page-hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 0%, #1e3a8a 0%, #0f172a 45%, #080e1e 100%);
  color: #ffffff;
  padding-top: clamp(8rem, 16vh, 12rem);
  padding-bottom: clamp(7rem, 14vh, 11rem);
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

/* Background Video Layer (Home Hero) */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.80; /* Enhanced opacity so video motion and detail are clearly visible */
  filter: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.50) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Subpage Hero Background Image Layer (Matching Home Hero Opacity & Dark Blue Radial Overlay) */
.page-hero-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.page-hero-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.80; /* High clarity opacity so background image is clearly visible */
  filter: none;
}

.page-hero-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.50) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-background-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-paths-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero-2col-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: var(--space-8);
  align-items: flex-end; /* Aligns content in bottom corners */
  justify-content: space-between;
}

.hero-left-col {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-right-col {
  text-align: left;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0.5rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.5vw, 3.35rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.16;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  text-align: left;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.page-hero-title {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw + 0.5rem, 4.25rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.12;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-word-accent {
  color: #38bdf8; /* Electric Sky Blue theme matching website */
  font-weight: var(--font-weight-extrabold);
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}

.hero-subtitle {
  color: #e2e8f0;
  font-size: clamp(1.2rem, 1.55vw, 1.45rem);
  line-height: 1.6;
  margin: 0;
  text-align: left;
  font-style: italic;
  padding-left: var(--space-6);
  border-left: 2px solid #38bdf8;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.hero-subtitle em {
  font-style: italic;
  color: #e2e8f0;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 700;
  font-style: normal;
}

.page-hero-subtitle {
  color: var(--hero-text-body);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: var(--line-height-relaxed);
  max-width: 840px;
  margin: 0 auto var(--space-10);
}

.page-hero-subtitle strong {
  color: #ffffff;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-height, 82px) + var(--space-8));
    padding-bottom: var(--space-12);
  }

  .hero-2col-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-subtitle {
    padding-left: var(--space-4);
  }
}

/* Floating Glass Metric Chips */
.hero-chips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
}

@media (max-width: 1024px) {
  .hero-chips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .hero-chips-grid {
    grid-template-columns: 1fr;
  }
}

.hero-chip {
  background: rgba(19, 31, 55, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-align: left;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 15px 30px -5px rgba(14, 165, 233, 0.25);
}

.chip-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip-text {
  display: flex;
  flex-direction: column;
}

.chip-text strong {
  font-size: var(--text-base);
  color: #ffffff;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

.chip-text span {
  font-size: var(--text-xs);
  color: var(--hero-text-muted);
  margin-top: 2px;
}

/* Platform Marquee & Ticker Section */
.ticker-section {
  background: var(--hero-bg-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-8) 0;
  overflow: hidden;
}

.ticker-heading {
  text-align: center;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--hero-text-muted);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-6);
}

.ticker-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: var(--space-4);
  min-width: 200%;
  animation: marqueeScroll 32s linear infinite;
}

.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  flex-shrink: 0;
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--hero-text-body);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.ticker-pill:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--hero-accent-sky);
  color: #ffffff;
}

/* ==========================================================================
   6. 2025 GLASSMORPHISM & CARD COMPONENTS (BODY THEME)
   ========================================================================== */
.med-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.med-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent-500), var(--color-emerald-500));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.med-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-cyan);
  border-color: rgba(14, 165, 233, 0.4);
}

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

/* Dark Glassmorphic Card */
.med-card-dark {
  background: var(--glass-bg-dark-card);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: var(--glass-border-dark);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-2xl);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.med-card-dark h3,
.med-card-dark h4,
.med-card-dark h5 {
  color: #ffffff;
}

.med-card-dark p {
  color: var(--hero-text-body);
}

.med-card-dark:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl), var(--shadow-glow-cyan);
  border-color: rgba(14, 165, 233, 0.45);
}

/* Service Card Component */
.service-card {
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-accent-100) 100%);
  color: var(--color-primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-bounce), background var(--transition-normal), color var(--transition-normal);
}

.service-card-icon svg {
  width: 30px;
  height: 30px;
}

.med-card:hover .service-card-icon,
.service-card:hover .service-card-icon {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-accent-500) 100%);
  color: #ffffff;
}

.service-card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.service-card-desc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  flex-grow: 1;
  line-height: var(--line-height-normal);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-primary-600);
  margin-top: auto;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* Feature & Bento Cards */
.feature-card,
.bento-card {
  background: #ffffff;
  border: 1px solid var(--color-bg-muted);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover,
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-300);
}

/* Stat & KPI Cards */
.stat-card {
  background: var(--glass-bg-card);
  border: var(--glass-border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  color: var(--color-primary-900);
  margin-bottom: var(--space-2);
}

.stat-number.text-cyan { color: var(--color-accent-500); }
.stat-number.text-emerald { color: var(--color-emerald-500); }
.stat-number.text-blue { color: var(--color-primary-500); }

.stat-label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

/* ==========================================================================
   7. BUTTONS & CTA SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.85rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-none);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* Primary Button with Gradient & Ripple */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-500) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: var(--color-primary-900);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(8, 14, 30, 0.3);
}

.btn-secondary:hover {
  background: var(--color-primary-800);
  color: #ffffff;
  box-shadow: 0 6px 20px 0 rgba(8, 14, 30, 0.45);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--color-emerald-600) 0%, var(--color-emerald-500) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, var(--color-emerald-500) 0%, var(--color-emerald-400) 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-bg-border);
  color: var(--color-primary-900);
}

.btn-outline:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-primary-500);
  color: var(--color-primary-600);
}

.btn-outline-white,
.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover,
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline-cyan {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.4);
  color: var(--color-accent-400);
}

.btn-outline-cyan:hover {
  background: var(--color-accent-500);
  border-color: var(--color-accent-500);
  color: #ffffff;
  box-shadow: var(--shadow-glow-cyan);
}

.btn-white {
  background: #ffffff;
  color: var(--color-primary-900);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--color-bg-subtle);
  color: var(--color-primary-600);
}

/* Button Sizing */
.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn-group {
  display: inline-flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   8. BADGES, TAGS & TRUST SEALS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.65rem;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  white-space: nowrap;
}

.badge-cyan {
  background: var(--color-accent-50);
  color: var(--color-accent-600);
  border-color: var(--color-accent-100);
}

.badge-emerald {
  background: var(--color-emerald-50);
  color: var(--color-emerald-600);
  border-color: var(--color-emerald-100);
}

.badge-navy {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
  border-color: var(--color-primary-100);
}

.badge-warning {
  background: var(--color-warning-bg);
  color: #b45309;
  border-color: var(--color-warning-border);
}

.badge-danger {
  background: var(--color-danger-bg);
  color: #b91c1c;
  border-color: var(--color-danger-border);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Trust & Compliance Badge Pill */
.trust-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-900);
  box-shadow: var(--shadow-xs);
}

.trust-badge svg {
  width: 15px;
  height: 15px;
  color: var(--color-emerald-500);
}

.section-dark .trust-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ==========================================================================
   9. FORM CONTROLS & INPUT SYSTEM
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-5);
  position: relative;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-900);
  margin-bottom: var(--space-2);
}

.form-label .required-mark {
  color: var(--color-danger);
  margin-left: 2px;
}

.form-control,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-main);
  background-color: #ffffff;
  border: 1.5px solid var(--color-bg-muted);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

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

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

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

.form-control.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--color-danger);
  background-color: var(--color-danger-bg);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus,
.form-textarea.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.form-control.is-valid,
.form-select.is-valid,
.form-textarea.is-valid {
  border-color: var(--color-success);
}

.invalid-feedback {
  display: none;
  font-size: var(--text-xs);
  color: var(--color-danger);
  margin-top: var(--space-1);
}

.is-invalid ~ .invalid-feedback {
  display: block;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Honeypot Spam Protection */
.form-hp-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  z-index: -100 !important;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  cursor: pointer;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary-500);
  cursor: pointer;
}

.form-check-label {
  font-size: var(--text-sm);
  color: var(--color-text-body);
  user-select: none;
}

/* ==========================================================================
   10. STICKY GLASSMORHPIC NAVBAR & MOBILE DRAWER
   ========================================================================== */
.med-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.med-header-wrapper.nav-hidden {
  transform: translateY(-100%) !important;
}

.med-header-wrapper.nav-visible {
  transform: translateY(0) !important;
}

/* Top Utility Bar */
.top-utility-bar {
  background: var(--hero-bg-deep);
  color: var(--hero-text-muted);
  font-size: var(--text-xs);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-utility-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.top-utility-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--hero-text-muted);
  transition: color var(--transition-fast);
}

.top-utility-link:hover {
  color: #ffffff;
}

.top-utility-link svg {
  width: 14px;
  height: 14px;
  color: var(--hero-accent-sky);
}

/* Main Navigation Bar */
.med-navbar {
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  height: var(--nav-height);
  transition: height var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  align-items: center;
}

.med-navbar.scrolled {
  height: var(--nav-height-sm);
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Brand Logo */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: var(--font-weight-extrabold);
  font-size: var(--text-xl);
  color: var(--color-primary-900);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 0;
}

.nav-brand-logo {
  display: block;
  width: 240px;
  height: auto;
  max-height: calc(var(--nav-height) - 0.35rem);
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  line-height: 1.1;
  font-size: 1.25rem;
}

.nav-brand-name span {
  color: var(--color-primary-500);
}

.nav-brand-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: #0f172a; /* Crisp dark slate for subpages (17.84:1 contrast on white) */
  padding: 0.6rem 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  transition: color var(--transition-fast);
  border-radius: var(--radius-sm);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.4rem;
  right: 0.4rem;
  height: 2px;
  background: #2563eb;
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: #2563eb; /* Vibrant brand blue (5.14:1 contrast on white) */
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown Chevrons */
.dropdown-chevron {
  transition: transform 0.25s ease, stroke var(--transition-fast);
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

.nav-item.has-dropdown:hover .dropdown-chevron,
.nav-item.has-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Dark Hero Navbar Contextual Scoping (Unscrolled State - Sitewide & Subpages)
   -------------------------------------------------------------------------- */
body:has(.hero-section) .med-navbar:not(.scrolled) .nav-link,
body:has(.page-hero-section) .med-navbar:not(.scrolled) .nav-link,
body:has(.subpage-hero) .med-navbar:not(.scrolled) .nav-link,
body.is-homepage .med-navbar:not(.scrolled) .nav-link,
body.is-subpage .med-navbar:not(.scrolled) .nav-link,
.med-navbar:not(.scrolled) .nav-link {
  color: #ffffff !important; /* 20.00:1 contrast over dark hero */
}

body:has(.hero-section) .med-navbar:not(.scrolled) .nav-link::after,
body:has(.page-hero-section) .med-navbar:not(.scrolled) .nav-link::after,
body:has(.subpage-hero) .med-navbar:not(.scrolled) .nav-link::after,
body.is-homepage .med-navbar:not(.scrolled) .nav-link::after,
body.is-subpage .med-navbar:not(.scrolled) .nav-link::after,
.med-navbar:not(.scrolled) .nav-link::after {
  background: #38bdf8 !important;
}

body:has(.hero-section) .med-navbar:not(.scrolled) .nav-link:hover,
body:has(.hero-section) .med-navbar:not(.scrolled) .nav-link.active,
body:has(.page-hero-section) .med-navbar:not(.scrolled) .nav-link:hover,
body:has(.page-hero-section) .med-navbar:not(.scrolled) .nav-link.active,
body:has(.subpage-hero) .med-navbar:not(.scrolled) .nav-link:hover,
body:has(.subpage-hero) .med-navbar:not(.scrolled) .nav-link.active,
body.is-homepage .med-navbar:not(.scrolled) .nav-link:hover,
body.is-homepage .med-navbar:not(.scrolled) .nav-link.active,
body.is-subpage .med-navbar:not(.scrolled) .nav-link:hover,
body.is-subpage .med-navbar:not(.scrolled) .nav-link.active,
.med-navbar:not(.scrolled) .nav-link:hover,
.med-navbar:not(.scrolled) .nav-link.active {
  color: #38bdf8 !important; /* Vibrant sky blue (9.35:1 contrast on dark hero) */
}

body:has(.hero-section) .med-navbar:not(.scrolled) .dropdown-chevron,
body:has(.page-hero-section) .med-navbar:not(.scrolled) .dropdown-chevron,
body:has(.subpage-hero) .med-navbar:not(.scrolled) .dropdown-chevron,
body.is-homepage .med-navbar:not(.scrolled) .dropdown-chevron,
body.is-subpage .med-navbar:not(.scrolled) .dropdown-chevron,
.med-navbar:not(.scrolled) .dropdown-chevron {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

body:has(.hero-section) .med-navbar:not(.scrolled) .hamburger-inner,
body:has(.hero-section) .med-navbar:not(.scrolled) .hamburger-inner::before,
body:has(.hero-section) .med-navbar:not(.scrolled) .hamburger-inner::after,
body:has(.page-hero-section) .med-navbar:not(.scrolled) .hamburger-inner,
body:has(.page-hero-section) .med-navbar:not(.scrolled) .hamburger-inner::before,
body:has(.page-hero-section) .med-navbar:not(.scrolled) .hamburger-inner::after,
body:has(.subpage-hero) .med-navbar:not(.scrolled) .hamburger-inner,
body:has(.subpage-hero) .med-navbar:not(.scrolled) .hamburger-inner::before,
body:has(.subpage-hero) .med-navbar:not(.scrolled) .hamburger-inner::after,
body.is-homepage .med-navbar:not(.scrolled) .hamburger-inner,
body.is-homepage .med-navbar:not(.scrolled) .hamburger-inner::before,
body.is-homepage .med-navbar:not(.scrolled) .hamburger-inner::after,
body.is-subpage .med-navbar:not(.scrolled) .hamburger-inner,
body.is-subpage .med-navbar:not(.scrolled) .hamburger-inner::before,
body.is-subpage .med-navbar:not(.scrolled) .hamburger-inner::after,
.med-navbar:not(.scrolled) .hamburger-inner,
.med-navbar:not(.scrolled) .hamburger-inner::before,
.med-navbar:not(.scrolled) .hamburger-inner::after {
  background-color: #ffffff !important; /* Crisp white hamburger over dark hero (20.00:1) */
}

/* --------------------------------------------------------------------------
   Scrolled Glassmorphic Navbar States (Sitewide)
   -------------------------------------------------------------------------- */
.med-navbar.scrolled .nav-link {
  color: #0f172a !important; /* Crisp dark slate (17.84:1 on white glass) */
}

.med-navbar.scrolled .nav-link::after {
  background: #2563eb;
}

.med-navbar.scrolled .nav-link:hover,
.med-navbar.scrolled .nav-link.active {
  color: #2563eb !important; /* Vibrant brand blue */
}

.med-navbar.scrolled .dropdown-chevron {
  stroke: currentColor;
}

.med-navbar.scrolled .hamburger-inner,
.med-navbar.scrolled .hamburger-inner::before,
.med-navbar.scrolled .hamburger-inner::after {
  background-color: #0f172a !important; /* Dark slate on scrolled white navbar */
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  padding: 0.6rem;
  margin-top: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  pointer-events: none;
  z-index: 1050;
}

.nav-item.has-dropdown:hover .nav-dropdown-menu,
.nav-item.has-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: block;
  padding: 0.65rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background-color: var(--color-primary-50);
  color: #2563eb;
  transform: translateX(4px);
}

.nav-dropdown-item.active {
  font-weight: 600;
}

/* ==========================================================================
   Mega Menu System (Services & Industries)
   ========================================================================== */
.mega-menu {
  position: fixed;
  top: var(--nav-height);
  left: max(1.5rem, calc((100vw - 1240px) / 2));
  right: max(1.5rem, calc((100vw - 1240px) / 2));
  width: auto;
  max-width: 1200px;
  min-width: unset;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  padding: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.9);
  overflow: hidden;
  transform: translateY(10px);
}

.med-navbar.scrolled .mega-menu {
  top: var(--nav-height-sm);
}

.nav-item.has-dropdown:hover .mega-menu,
.nav-item.has-dropdown:focus-within .mega-menu,
.nav-item.has-dropdown.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-item.has-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

.mega-menu-rail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
}

.mega-menu-section {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 0.85rem;
  min-height: 76px;
  padding: 0.85rem 1rem;
  color: #1e293b;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  width: 100%;
  text-align: left;
}

button.mega-menu-section {
  font: inherit;
  border: 1px solid transparent;
  background: transparent;
}

.mega-menu-section:hover,
.mega-menu-section:focus-visible,
.mega-menu-section.is-selected {
  background: #ffffff;
  color: #2563eb;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.mega-menu-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mega-menu-section:hover .mega-menu-section-icon,
.mega-menu-section.is-selected .mega-menu-section-icon {
  background: #2563eb;
  color: #ffffff;
  transform: scale(1.05);
}

.mega-menu-section-icon svg {
  width: 22px;
  height: 22px;
}

.mega-menu-section-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mega-menu-section-copy strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}

.mega-menu-section:hover .mega-menu-section-copy strong,
.mega-menu-section.is-selected .mega-menu-section-copy strong {
  color: #2563eb;
}

.mega-menu-section-copy small,
.mega-menu-desc {
  color: #475569; /* 7.48:1 contrast on white / 7.16:1 on rail */
  font-size: 0.78rem;
  line-height: 1.4;
}

.mega-menu-section-arrow {
  color: #475569; /* 7.16:1 contrast against rail */
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mega-menu-section:hover .mega-menu-section-arrow,
.mega-menu-section.is-selected .mega-menu-section-arrow {
  color: #2563eb;
  transform: translateX(3px);
}

.mega-menu-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 1.5rem;
  align-content: start;
}

.mega-menu-group-panels {
  display: block;
  padding: 1.5rem;
}

.mega-menu-group-panel[hidden] {
  display: none !important;
}

.mega-menu-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.mega-menu-group-heading strong {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.mega-menu-group-heading span {
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mega-menu .nav-dropdown-item,
.mega-menu-link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  min-height: 68px;
  border-radius: 12px;
  margin-bottom: 0.45rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.mega-menu .nav-dropdown-item:hover,
.mega-menu-link:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
  transform: translateX(4px);
}

.mega-menu-icon {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.mega-menu .nav-dropdown-item:hover .mega-menu-icon,
.mega-menu-link:hover .mega-menu-icon {
  background: #2563eb;
  color: #ffffff;
}

.mega-menu-icon svg {
  width: 20px;
  height: 20px;
}

.mega-menu-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.mega-menu-copy strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.mega-menu .nav-dropdown-item:hover .mega-menu-copy strong,
.mega-menu-link:hover .mega-menu-copy strong {
  color: #2563eb;
}

.mega-menu-copy small,
.mega-menu .mega-menu-desc {
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.35;
}

.mega-menu-arrow {
  color: #475569;
  font-size: 1.1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mega-menu .nav-dropdown-item:hover .mega-menu-arrow,
.mega-menu-link:hover .mega-menu-arrow {
  color: #2563eb;
  transform: translateX(4px);
}

@media (max-width: 1100px) and (min-width: 993px) {
  .mega-menu {
    grid-template-columns: 310px 1fr;
  }
}

/* Nav Actions (CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  padding: 0;
  position: relative;
  border-radius: var(--radius-md);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary-500);
}

.hamburger-box {
  width: 24px;
  height: 18px;
  position: relative;
  margin: 0 auto;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: #0f172a;
  border-radius: 2px;
  position: absolute;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease, background-color var(--transition-fast);
}

.hamburger-inner {
  top: 8px;
}

.hamburger-inner::before {
  content: '';
  top: -7px;
}

.hamburger-inner::after {
  content: '';
  top: 7px;
}

.nav-toggle.is-active .hamburger-inner {
  transform: rotate(45deg);
}

.nav-toggle.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.nav-toggle.is-active .hamburger-inner::after {
  top: 0;
  transform: rotate(-90deg);
}

/* Mobile Drawer (Slide-Out Navigation) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 420px);
  height: 100vh;
  background: #ffffff;
  z-index: var(--z-drawer);
  box-shadow: var(--shadow-2xl);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-6);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-bg-muted);
}

.drawer-close-btn {
  background: var(--color-bg-subtle);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.drawer-close-btn:hover {
  background: var(--color-primary-50);
  color: #2563eb;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.mobile-nav-link,
.mobile-drawer-link {
  font-size: 1.05rem;
  font-weight: var(--font-weight-semibold);
  color: #0f172a;
  padding: 0.85rem 1rem;
  min-height: 48px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  background: var(--color-primary-50);
  color: #2563eb;
}

.mobile-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-primary-100);
}

.mobile-nav-sub-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #334155; /* Slate 700 (10.25:1 AAA on white) */
  padding: 0.55rem 0.75rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.15s, background-color 0.15s;
}

.mobile-nav-sub-link:hover,
.mobile-nav-sub-link.active {
  color: #2563eb;
  background-color: var(--color-primary-50);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-bg-muted);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 30, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 992px) {
  .top-utility-bar { display: none; }
  .nav-menu { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .nav-brand-logo {
    width: 190px;
    max-height: calc(var(--nav-height) - 0.5rem);
  }
}

/* ==========================================================================
   11. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
.roi-calculator {
  background: #ffffff;
  border: 1px solid var(--color-bg-muted);
  border-radius: var(--radius-3xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-slider-group {
  margin-bottom: var(--space-6);
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.calc-slider-label {
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-primary-900);
}

.calc-slider-value {
  font-weight: var(--font-weight-bold);
  font-size: var(--text-base);
  color: var(--color-primary-600);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-bg-muted);
  outline: none;
  accent-color: var(--color-primary-500);
  cursor: pointer;
}

.calc-results-card {
  background: linear-gradient(135deg, var(--hero-bg-deep) 0%, var(--hero-bg-navy) 100%);
  color: #ffffff;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.calc-results-title {
  color: var(--hero-accent-sky);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--space-4);
}

.calc-stat-value {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--font-weight-extrabold);
  color: #ffffff;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.calc-stat-sub {
  color: var(--hero-text-muted);
  font-size: var(--text-xs);
  margin-bottom: var(--space-6);
}

/* ==========================================================================
   12. ACCORDION & 21ST.DEV FAQ-TABS SYSTEM (White & Blue Enterprise Theme)
   ========================================================================== */
.faq-tabs-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vh, 7rem) 0;
  background: #ffffff;
  color: var(--color-text-main, #0f172a);
  border-top: 1px solid var(--color-bg-muted, #e2e8f0);
}

.faq-ambient-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(380px, 60vw, 760px);
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.04) 40%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.faq-tabs-header {
  position: relative;
  z-index: 2;
  margin-bottom: 2.5rem;
}

.faq-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.faq-tabs-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.faq-tabs-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-tabs-nav-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.faq-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.45rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.faq-tab-btn {
  position: relative;
  overflow: hidden;
  padding: 0.6rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: 0.625rem;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.faq-tab-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-tab-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  border-color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.faq-tab-label {
  position: relative;
  z-index: 2;
}

.faq-tabs-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.faq-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.faq-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.faq-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.faq-card.active {
  border-color: #93c5fd;
  background: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.faq-card-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #0f172a;
  transition: background-color 0.2s ease;
}

.faq-card-header:hover {
  background-color: #f8fafc;
}

.faq-card-header .faq-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  transition: color 0.25s ease;
  flex: 1;
}

.faq-card:hover .faq-card-header .faq-title {
  color: #1d4ed8;
}

/* Open FAQ State: Question title turns brand blue */
.faq-card.active .faq-card-header .faq-title,
.faq-card[aria-expanded="true"] .faq-title,
.faq-header[aria-expanded="true"] .faq-title,
.faq-item.active .faq-header .faq-title {
  color: #1d4ed8 !important;
  font-weight: 700;
}

.faq-plus-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card:hover .faq-plus-icon-wrap {
  border-color: #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
}

.faq-card.active .faq-plus-icon-wrap,
.faq-item.active .faq-plus-icon-wrap,
.faq-header[aria-expanded="true"] .faq-plus-icon-wrap {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(29, 78, 216, 0.35);
}

.faq-plus-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.faq-card.active .faq-plus-icon,
.faq-item.active .faq-plus-icon,
.faq-header[aria-expanded="true"] .faq-plus-icon {
  transform: rotate(45deg); /* + rotates into × smoothly */
}

.faq-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card-body .faq-inner {
  padding: 0 1.5rem 1.35rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.faq-card-body .faq-inner p {
  color: #334155;
  font-size: 0.975rem;
  line-height: 1.7;
  margin: 0;
}

/* Light theme / standard fallback support */
.faq-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.faq-item.active {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--space-4);
  color: #0f172a;
}

.faq-header:hover {
  background-color: #f8fafc;
}

.faq-title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: #0f172a;
  margin: 0;
  transition: color 0.25s ease;
}

.faq-header:hover .faq-title {
  color: #1d4ed8;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-smooth), background-color var(--transition-fast), color var(--transition-fast);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
}

.faq-item.active .faq-icon,
.faq-header[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  background: #1d4ed8;
  color: #ffffff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content,
.faq-inner {
  padding: 0 var(--space-6) var(--space-6);
  color: #334155;
  font-size: var(--text-base);
  line-height: var(--line-height-relaxed);
  border-top: 1px solid #f1f5f9;
  padding-top: var(--space-4);
}

.faq-item.active .faq-content,
.faq-item.active .faq-inner {
  border-top-color: #f1f5f9;
}


/* ==========================================================================
   13. TESTIMONIALS CAROUSEL
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--space-4) 0;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-3xl);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: var(--space-4);
}

.testimonial-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border-subtle);
  border-radius: var(--radius-3xl);
  padding: var(--space-12) var(--space-10);
  box-shadow: var(--shadow-xl);
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.testimonial-quote-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-6);
  color: var(--color-primary-500);
  opacity: 0.35;
}

.testimonial-quote {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-style: italic;
  line-height: var(--line-height-relaxed);
  color: var(--color-primary-900);
  margin-bottom: var(--space-8);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-primary-500);
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: var(--text-base);
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.carousel-btn {
  background: #ffffff;
  border: 1px solid var(--color-bg-muted);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary-900);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--color-primary-500);
  border-color: var(--color-primary-500);
  color: #ffffff;
  box-shadow: var(--shadow-glow-blue);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-bg-muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-normal);
}

.carousel-dot.active {
  width: 28px;
  background: var(--color-primary-500);
}

/* ==========================================================================
   CARTESIA-STYLE DUOTONE TESTIMONIALS CAROUSEL
   ========================================================================== */
.testimonials-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-20, 5rem) 0;
  background: var(--color-bg-subtle, #f8fafc);
}

.testimonials-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.duotone-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .duotone-carousel-wrapper {
    padding: 0 2rem;
  }
}

.duotone-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
  padding: 0.5rem 0;
}

.duotone-carousel-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  gap: 1.5rem;
}

.duotone-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  padding: 0;
}

@media (min-width: 640px) {
  .duotone-carousel-slide {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .duotone-carousel-slide {
    flex: 0 0 calc(33.3333% - 1rem);
    min-width: calc(33.3333% - 1rem);
  }
}

/* Card Root */
.duotone-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  user-select: none;
}

.duotone-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -15px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Duotone Color Palettes */
.duotone-card-emerald {
  background: linear-gradient(175deg, #00d68f 0%, #10b981 30%, #059669 70%, #047857 100%);
  --duotone-stripe-color: rgba(124, 58, 237, 0.28);
  --duotone-accent-bg: rgba(0, 0, 0, 0.12);
}

.duotone-card-amber {
  background: linear-gradient(175deg, #fbbf24 0%, #f59e0b 32%, #d97706 72%, #b45309 100%);
  --duotone-stripe-color: rgba(192, 38, 211, 0.24);
  --duotone-accent-bg: rgba(0, 0, 0, 0.12);
}

.duotone-card-coral {
  background: linear-gradient(175deg, #fb923c 0%, #f97316 30%, #ea580c 70%, #c2410c 100%);
  --duotone-stripe-color: rgba(147, 51, 234, 0.28);
  --duotone-accent-bg: rgba(0, 0, 0, 0.12);
}

.duotone-card-sapphire {
  background: linear-gradient(175deg, #38bdf8 0%, #2563eb 32%, #1d4ed8 72%, #1e40af 100%);
  --duotone-stripe-color: rgba(147, 51, 234, 0.28);
  --duotone-accent-bg: rgba(0, 0, 0, 0.14);
}

/* Scanlines & Horizontal Stripes */
.duotone-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.045) 0px,
    rgba(0, 0, 0, 0.045) 8px,
    transparent 8px,
    transparent 16px
  );
  pointer-events: none;
  z-index: 1;
}

.duotone-stripes {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--duotone-stripe-color) 20%,
    var(--duotone-stripe-color) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Card Header */
.duotone-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 1.75rem 0.5rem;
}

.duotone-brand {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.duotone-brand sup {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  top: -0.6em;
}

.duotone-meta {
  text-align: right;
}

.duotone-author-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.duotone-author-role {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.82);
  line-height: 1.25;
  margin-top: 2px;
}

/* Portrait Area */
.duotone-portrait-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0.5rem;
}

.duotone-portrait-img {
  width: auto;
  height: 100%;
  max-width: 90%;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(145%) brightness(95%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 96%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 96%);
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

.duotone-card:hover .duotone-portrait-img {
  transform: scale(1.08);
}

/* Quote Body */
.duotone-body {
  position: relative;
  z-index: 3;
  padding: 1.25rem 1.75rem;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.duotone-quote {
  font-size: clamp(1.0625rem, 1.35vw, 1.225rem);
  font-weight: 650;
  line-height: 1.4;
  color: #0f172a;
  letter-spacing: -0.012em;
  margin: 0;
  font-style: normal;
}

/* Footer CTA */
.duotone-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.duotone-cta-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  opacity: 0.88;
}

.duotone-cta-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--duotone-accent-bg, rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: transform 0.25s ease, background 0.25s ease;
}

.duotone-card:hover .duotone-cta-btn {
  transform: translateX(3px);
  background: rgba(0, 0, 0, 0.2);
}

/* Floating Navigation Arrows */
.duotone-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.duotone-nav-btn:hover {
  background: #1e293b;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.duotone-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.duotone-nav-prev {
  left: -0.5rem;
}

.duotone-nav-next {
  right: -0.5rem;
}

@media (min-width: 1024px) {
  .duotone-nav-prev {
    left: 0;
  }
  .duotone-nav-next {
    right: 0;
  }
}

/* Pagination Dots */
.duotone-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
}

.duotone-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.duotone-dot.active {
  width: 32px;
  background: #0f172a;
}

/* ==========================================================================
   14. TOASTS, ALERTS & MODAL SYSTEM
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
  max-width: 420px;
  width: 100%;
}

.toast {
  pointer-events: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border-left: 4px solid var(--color-primary-500);
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.toast-success { border-left-color: var(--color-success); }
.toast.toast-error   { border-left-color: var(--color-danger); }
.toast.toast-warning { border-left-color: var(--color-warning); }
.toast.toast-info    { border-left-color: var(--color-info); }

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-900);
  margin-bottom: 2px;
}

.toast-message {
  font-size: var(--text-xs);
  color: var(--color-text-body);
  margin: 0;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 0;
  display: flex;
}

.toast-close:hover {
  color: var(--color-text-main);
}

.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.alert-success {
  background-color: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  color: #065f46;
}

.alert-error,
.alert-danger {
  background-color: var(--color-danger-bg);
  border: 1px solid var(--color-danger-border);
  color: #991b1b;
}

.alert-warning {
  background-color: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  color: #92400e;
}

.alert-info {
  background-color: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  color: #075985;
}

/* Modal Dialog */
.med-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.med-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 30, 0.7);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  max-width: 620px;
  width: 100%;
  box-shadow: var(--shadow-2xl);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

.med-modal.is-active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--color-bg-muted);
}

.modal-title {
  font-size: var(--text-xl);
  margin: 0;
}

.modal-close-btn {
  background: var(--color-bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

.modal-body {
  padding: var(--space-8);
  max-height: 75vh;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-8);
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-bg-muted);
}

/* ==========================================================================
   14B. STRIPE-LIKE FLUID GRADIENT SHADER CTA SECTION
   ========================================================================== */
.cta-section,
section.cta-section {
  position: relative;
  overflow: hidden;
  background: #060b19;
  color: #ffffff !important;
  padding: 5rem 1rem;
}

.cta-gradient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(10, 25, 47, 0.35) 0%, rgba(6, 11, 25, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 10;
}

.cta-section h2,
.cta-section h2.text-slate-900,
.cta-section [class*="text-slate-900"] {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 35px rgba(6, 11, 25, 0.9) !important;
}

.cta-section p,
.cta-section p.text-slate-600,
.cta-section [class*="text-slate-600"],
.cta-section [class*="text-slate-700"],
.cta-section [class*="text-slate-300"] {
  color: #e0f2fe !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75) !important;
}

.cta-section .card-badge {
  position: relative;
  z-index: 10;
  display: inline-block;
  background: rgba(6, 182, 212, 0.20) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.50) !important;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.30) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.cta-section .cta-btn,
.cta-section .btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 4px 25px rgba(2, 132, 199, 0.5), 0 0 15px rgba(37, 99, 235, 0.3) !important;
}

.cta-section .cta-btn span,
.cta-section .btn-primary span {
  color: #ffffff !important;
}

.cta-section .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.cta-section .btn-outline span {
  color: #ffffff !important;
}

.cta-section .btn-outline:hover {
  background: #ffffff !important;
  color: #0a192f !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4) !important;
}

.cta-section .btn-outline:hover span {
  color: #0a192f !important;
}

.cta-section .cta-guarantee,
.cta-section .cta-guarantee small,
.cta-section small {
  color: #cbd5e1 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7) !important;
}

.cta-section .cta-guarantee svg {
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
}

/* ==========================================================================
   15. FULL-WIDTH ENTERPRISE FOOTER (Edge-to-Edge Sapphire Fluted Glass)
   ========================================================================== */
.med-footer.footer-fluted-section {
  position: relative;
  width: 100%;
  background: #060b16;
  color: var(--hero-text-muted);
  overflow: hidden;
  margin-top: auto;
  padding: 0;
  border-top: none;
}

/* Full-width conversion band */
.cta-banner-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(135% 100% at 50% 0%, #0a192f 0%, #0f172a 60%, #080e1e 100%) !important;
  color: #ffffff !important;
  padding: clamp(4rem, 7vw, 5.5rem) 0 !important;
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner-section .cta-card {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cta-banner-section .section-badge {
  display: inline-flex;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
}

.cta-banner-section .cta-title {
  max-width: 760px;
  margin: 0 auto var(--space-4);
  color: #ffffff !important;
  line-height: 1.15;
  font-weight: 800;
}

.cta-banner-section .cta-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: #cbd5e1 !important;
}

.cta-banner-section .cta-action-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-banner-section .btn-outline-light,
.cta-banner-section .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
}

.cta-banner-section .btn-outline-light:hover,
.cta-banner-section .btn-outline:hover {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2) !important;
}

.cta-banner-section .cta-guarantee {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 1.25rem;
  margin-top: var(--space-5);
}

.cta-banner-section .cta-guarantee small {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #94a3b8 !important;
}

.cta-banner-section .cta-glow {
  display: none;
}

/* ==========================================================================
   15A. LARGE STROKE WATERMARK HEADER (Inspired by FooterSection5)
   ========================================================================== */
.footer-stroke-watermark-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 55, 120, 0.15) 100%);
}

.footer-stroke-text {
  font-family: var(--font-family-display, var(--font-family-sans));
  font-size: clamp(80px, 16vw, 220px);
  font-weight: 800;
  letter-spacing: clamp(4px, 1.2vw, 14px);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28);
  line-height: 0.75;
  user-select: none;
  margin-bottom: clamp(-14px, -2vw, -30px);
  opacity: 0.55;
  white-space: nowrap;
  text-align: center;
  filter: drop-shadow(0 -4px 20px rgba(56, 189, 248, 0.15));
}

/* ==========================================================================
   15B. SAPPHIRE FLUTED GLASS PANEL
   ========================================================================== */
.footer-glass-panel {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #103778 0%, #0c2759 40%, #071530 100%);
  border-top: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 -25px 60px rgba(5, 15, 36, 0.7);
  overflow: hidden;
  z-index: 2;
}

/* Fluted Glass Shader Simulation Layer */
.footer-fluted-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    /* Vertical fluted glass ribbed lines */
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 0px,
      rgba(255, 255, 255, 0.045) 1px,
      rgba(255, 255, 255, 0.015) 1px,
      rgba(255, 255, 255, 0.015) 18px,
      rgba(0, 0, 0, 0.18) 18px,
      rgba(0, 0, 0, 0.18) 19px,
      transparent 19px,
      transparent 36px
    ),
    /* Top luminous sapphire/cyan flare */
    radial-gradient(ellipse 70% 30% at 50% 0%, rgba(56, 189, 248, 0.35), transparent 70%),
    /* Ambient corner radiance */
    radial-gradient(circle at 10% 85%, rgba(6, 182, 212, 0.18), transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(16, 185, 129, 0.12), transparent 50%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-panel-content {
  position: relative;
  z-index: 2;
  padding: clamp(2.25rem, 4vw, 3.25rem) 0 1.75rem;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.7fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
}

@media (min-width: 1024px) {
  .footer-panel-content {
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.75fr);
  }
}

@media (max-width: 1023px) {
  .footer-panel-content {
    grid-template-columns: 1fr;
  }
}

/* Left Column Styling */
.footer-left-col {
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  flex-shrink: 0;
}

.footer-brand-header {
  display: flex;
  flex-direction: column;
}

.footer-logo-img {
  height: 48px;
  max-height: 52px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  margin-bottom: var(--space-4, 1rem);
  display: block;
}

.footer-tagline {
  color: #ffffff;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-3);
}

.footer-mission-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}

/* Contact Coordinates */
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.footer-phone-link,
.footer-email-link {
  color: #38bdf8;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-phone-link:hover,
.footer-email-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Trust & Compliance Badge Row in Footer */
.footer-compliance-block {
  margin-top: var(--space-1);
}

.compliance-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.footer-compliance-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.compliance-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 4px 10px;
  height: 42px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compliance-logo-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.compliance-logo-pill img {
  max-height: 28px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Social Strip & Copyright */
.footer-bottom-group,
.footer-social-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.15rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.footer-social-btn:hover {
  background: #1d4ed8;
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-legal-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
}

/* Right Side Link Groups */
.footer-right-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  min-width: 140px;
}

.footer-group-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.footer-links-list a,
.footer-nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

@media (max-width: 640px) {
  .footer-right-cols {
    grid-template-columns: 1fr;
  }
}

.footer-links-list a:hover,
.footer-nav-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Briefing Newsletter Column */
.footer-briefing-col {
  max-width: 280px;
  width: 100%;
}

.footer-briefing-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.newsletter-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-input-wrap .footer-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  outline: none;
  transition: all var(--transition-fast);
}

.newsletter-input-wrap .footer-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-input-wrap .footer-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.btn-briefing-submit {
  width: 100%;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-briefing-submit:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.45);
  transform: translateY(-1px);
}

/* Bottom Sub-Bar */
.footer-sub-bar {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.78rem;
}

.footer-sub-copyright {
  color: rgba(255, 255, 255, 0.65);
}

.footer-sub-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer-sub-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-sub-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: none;
}

/* ==========================================================================
   16. UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.font-normal   { font-weight: var(--font-weight-normal); }
.font-medium   { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold     { font-weight: var(--font-weight-bold); }

.text-navy     { color: var(--color-primary-900); }
.text-blue     { color: var(--color-primary-500); }
.text-cyan     { color: var(--color-accent-500); }
.text-emerald  { color: var(--color-emerald-500); }
.text-muted    { color: var(--color-text-muted); }
.text-white    { color: #ffffff; }

.text-xs       { font-size: var(--text-xs); }
.text-sm       { font-size: var(--text-sm); }
.text-base     { font-size: var(--text-base); }
.text-lg       { font-size: var(--text-lg); }
.text-xl       { font-size: var(--text-xl); }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-1) !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-3 { margin-bottom: var(--space-3) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }
.mb-10{ margin-bottom: var(--space-10) !important; }
.mb-12{ margin-bottom: var(--space-12) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: var(--space-2) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mt-12{ margin-top: var(--space-12) !important; }

.me-2 { margin-right: var(--space-2) !important; }
.ms-2 { margin-left: var(--space-2) !important; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ==========================================================================
   18. SERVICE & ARCHIVE SUB-PAGE DESIGN SYSTEM & UTILITY ENGINE
   ========================================================================== */

/* --------------------------------------------------------------------------
   18.1 SVG & Icon Sizing Engine (Fixes Oversized Vector Scaling)
   -------------------------------------------------------------------------- */
svg.w-3, svg.h-3 { width: 0.75rem !important; height: 0.75rem !important; max-width: 0.75rem !important; max-height: 0.75rem !important; flex-shrink: 0; }
svg.w-3\.5, svg.h-3\.5 { width: 0.875rem !important; height: 0.875rem !important; max-width: 0.875rem !important; max-height: 0.875rem !important; flex-shrink: 0; }
svg.w-4, svg.h-4 { width: 1rem !important; height: 1rem !important; max-width: 1rem !important; max-height: 1rem !important; flex-shrink: 0; }
svg.w-5, svg.h-5 { width: 1.25rem !important; height: 1.25rem !important; max-width: 1.25rem !important; max-height: 1.25rem !important; flex-shrink: 0; }
svg.w-6, svg.h-6 { width: 1.5rem !important; height: 1.5rem !important; max-width: 1.5rem !important; max-height: 1.5rem !important; flex-shrink: 0; }
svg.w-7, svg.h-7 { width: 1.75rem !important; height: 1.75rem !important; max-width: 1.75rem !important; max-height: 1.75rem !important; flex-shrink: 0; }
svg.w-8, svg.h-8 { width: 2rem !important; height: 2rem !important; max-width: 2rem !important; max-height: 2rem !important; flex-shrink: 0; }
svg.w-10, svg.h-10 { width: 2.5rem !important; height: 2.5rem !important; max-width: 2.5rem !important; max-height: 2.5rem !important; flex-shrink: 0; }
svg.w-12, svg.h-12 { width: 3rem !important; height: 3rem !important; max-width: 3rem !important; max-height: 3rem !important; flex-shrink: 0; }
svg.w-16, svg.h-16 { width: 4rem !important; height: 4rem !important; max-width: 4rem !important; max-height: 4rem !important; flex-shrink: 0; }

.w-3 { width: 0.75rem !important; }
.h-3 { height: 0.75rem !important; }
.w-3\.5 { width: 0.875rem !important; }
.h-3\.5 { height: 0.875rem !important; }
.w-4 { width: 1rem !important; }
.h-4 { height: 1rem !important; }
.w-5 { width: 1.25rem !important; }
.h-5 { height: 1.25rem !important; }
.w-6 { width: 1.5rem !important; }
.h-6 { height: 1.5rem !important; }
.w-7 { width: 1.75rem !important; }
.h-7 { height: 1.75rem !important; }
.w-8 { width: 2rem !important; }
.h-8 { height: 2rem !important; }
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.w-16 { width: 4rem !important; }
.h-16 { height: 4rem !important; }
.w-20 { width: 5rem !important; }
.h-20 { height: 5rem !important; }
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.w-auto { width: auto !important; }
.h-auto { height: auto !important; }
.min-w-0 { min-width: 0 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-grow { flex-grow: 1 !important; }

/* Constrain all inline CTA & link arrow SVGs */
a > svg,
button > svg,
.bento-card-subpage a svg,
.color-card-action svg,
.cta-btn svg,
.feature-checklist svg,
.takeaway-item svg,
.badge-pill svg,
.trust-badge svg,
.service-card a svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 1.35rem;
  max-height: 1.35rem;
  flex-shrink: 0;
}

/* FAQ Chevron Indicator */
.faq-chevron {
  width: 1.25rem !important;
  height: 1.25rem !important;
  min-width: 1.25rem !important;
  min-height: 1.25rem !important;
  max-width: 1.25rem !important;
  max-height: 1.25rem !important;
  flex-shrink: 0 !important;
  color: var(--color-text-muted, #64748b) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
}

.faq-item.active .faq-chevron,
.faq-header[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg) !important;
  color: var(--color-primary-600, #2563eb) !important;
}

/* --------------------------------------------------------------------------
   18.2 Core Display, Flexbox & Grid Utility Engine
   -------------------------------------------------------------------------- */
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.inline-grid { display: inline-grid !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.hidden { display: none !important; }

.flex-row { flex-direction: row !important; }
.flex-col { flex-direction: column !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-col-reverse { flex-direction: column-reverse !important; }

.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }

.flex-1 { flex: 1 1 0% !important; }
.flex-auto { flex: 1 1 auto !important; }
.flex-initial { flex: 0 1 auto !important; }
.flex-none { flex: none !important; }

.items-start { align-items: flex-start !important; }
.items-center { align-items: center !important; }
.items-end { align-items: flex-end !important; }
.items-baseline { align-items: baseline !important; }
.items-stretch { align-items: stretch !important; }

.justify-start { justify-content: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.justify-around { justify-content: space-around !important; }
.justify-evenly { justify-content: space-evenly !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-10 { gap: 2.5rem !important; }
.gap-12 { gap: 3rem !important; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

.grid-2-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

.space-y-1 > * + * { margin-top: 0.25rem !important; }
.space-y-2 > * + * { margin-top: 0.5rem !important; }
.space-y-3 > * + * { margin-top: 0.75rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-6 > * + * { margin-top: 1.5rem !important; }
.space-y-8 > * + * { margin-top: 2rem !important; }

/* --------------------------------------------------------------------------
   18.3 Typography, Hierarchy & Palette Utilities
   -------------------------------------------------------------------------- */
.text-slate-900 { color: #0f172a !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-200 { color: #e2e8f0 !important; }
.text-slate-100 { color: #f1f5f9 !important; }
.text-slate-50 { color: #f8fafc !important; }

.text-blue-500 { color: #3b82f6 !important; }
.text-blue-600 { color: #2563eb !important; }
.text-blue-700 { color: #1d4ed8 !important; }
.text-blue-800 { color: #1e40af !important; }
.text-blue-900 { color: #1e3a8a !important; }
.text-emerald-500 { color: #10b981 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-cyan-500 { color: #06b6d4 !important; }
.text-cyan-600 { color: #0891b2 !important; }
.text-cyan { color: #0e7490 !important; }
.text-emerald { color: #047857 !important; }
.text-amber { color: #d97706 !important; }
.text-amber-400 { color: #fbbf24 !important; }
.text-amber-500 { color: #f59e0b !important; }
.text-amber-600 { color: #d97706 !important; }
.text-amber-700 { color: #b45309 !important; }
.text-amber-800 { color: #92400e !important; }
.text-indigo { color: #4f46e5 !important; }
.text-indigo-600 { color: #4f46e5 !important; }
.text-indigo-700 { color: #4338ca !important; }
.text-indigo-800 { color: #3730a3 !important; }
.text-purple { color: #9333ea !important; }
.text-purple-600 { color: #9333ea !important; }
.text-purple-700 { color: #7e22ce !important; }
.text-sky-600 { color: #0369a1 !important; }
.text-red-500 { color: #ef4444 !important; }
.text-red-600 { color: #dc2626 !important; }
.text-white { color: #ffffff !important; }
.text-light { color: #cbd5e1 !important; }
.text-inverse { color: #ffffff !important; }
.text-body { color: #475569 !important; }
.text-main { color: #0f172a !important; }

.uppercase { text-transform: uppercase !important; }
.text-uppercase { text-transform: uppercase !important; }
.lowercase { text-transform: lowercase !important; }
.capitalize { text-transform: capitalize !important; }
.normal-case { text-transform: none !important; }

.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.font-mono { font-family: var(--font-mono, monospace) !important; }

.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
.text-5xl { font-size: 3rem !important; line-height: 1.15 !important; }

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.leading-none { line-height: 1 !important; }
.leading-tight { line-height: 1.25 !important; }
.leading-snug { line-height: 1.375 !important; }
.leading-normal { line-height: 1.5 !important; }
.leading-relaxed { line-height: 1.625 !important; }
.leading-loose { line-height: 2 !important; }

.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-normal { letter-spacing: 0em !important; }
.tracking-wide { letter-spacing: 0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }

/* --------------------------------------------------------------------------
   18.4 Backgrounds, Borders, Radii & Shadows
   -------------------------------------------------------------------------- */
.bg-white { background-color: #ffffff !important; }
.bg-slate-50 { background-color: #f8fafc !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.bg-slate-800 { background-color: #1e293b !important; }
.bg-slate-800\/80 { background-color: rgba(30, 41, 59, 0.8) !important; }
.bg-slate-900 { background-color: #0f172a !important; }
.bg-dark { background-color: #0f172a !important; }
.bg-canvas { background-color: var(--color-bg-canvas, #ffffff) !important; }
.bg-surface { background-color: var(--color-bg-surface, #f8fafc) !important; }
.bg-blue-50 { background-color: #eff6ff !important; }
.bg-blue-100 { background-color: #dbeafe !important; }
.bg-blue-600 { background-color: #2563eb !important; }
.bg-blue-light { background-color: #eff6ff !important; color: #1d4ed8 !important; border: 1px solid #bfdbfe !important; }
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.bg-emerald-100 { background-color: #d1fae5 !important; }
.bg-emerald-600 { background-color: #059669 !important; }
.bg-emerald-light { background-color: #ecfdf5 !important; color: #047857 !important; border: 1px solid #a7f3d0 !important; }
.bg-cyan-50 { background-color: #ecfeff !important; }
.bg-cyan-100 { background-color: #cffafe !important; }
.bg-cyan-600 { background-color: #0891b2 !important; }
.bg-cyan-light { background-color: #ecfeff !important; color: #0e7490 !important; border: 1px solid #a5f3fc !important; }
.bg-amber-50 { background-color: #fffbeb !important; }
.bg-amber-100 { background-color: #fef3c7 !important; }
.bg-amber-600 { background-color: #d97706 !important; }
.bg-amber-light { background-color: #fffbeb !important; color: #b45309 !important; border: 1px solid #fde68a !important; }
.bg-indigo-50 { background-color: #eef2ff !important; }
.bg-indigo-100 { background-color: #e0e7ff !important; }
.bg-indigo-600 { background-color: #4f46e5 !important; }
.bg-indigo-light { background-color: #eef2ff !important; color: #4338ca !important; border: 1px solid #c7d2fe !important; }
.bg-purple-50 { background-color: #faf5ff !important; }
.bg-purple-100 { background-color: #f3e8ff !important; }
.bg-purple-600 { background-color: #9333ea !important; }
.bg-purple-light { background-color: #faf5ff !important; color: #7e22ce !important; border: 1px solid #e9d5ff !important; }
.bg-sky-50 { background-color: #f0f9ff !important; }
.bg-red-50 { background-color: #fef2f2 !important; }
.bg-light-blue { background-color: var(--color-bg-subtle, #f8fafc) !important; }

/* Gradient Presets */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops, #2563eb, #1e40af)) !important; }
.from-slate-900 { --tw-gradient-from: #0f172a; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 23, 42, 0)); }
.to-slate-800 { --tw-gradient-to: #1e293b; }
.from-blue-600 { --tw-gradient-from: #2563eb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0)); }
.to-blue-600 { --tw-gradient-to: #2563eb; }
.from-cyan { --tw-gradient-from: #06b6d4; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 182, 212, 0)); }
.to-indigo-800 { --tw-gradient-to: #3730a3; }
.from-emerald-500 { --tw-gradient-from: #10b981; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(16, 185, 129, 0)); }
.to-teal-700 { --tw-gradient-to: #0f766e; }
.from-indigo-600 { --tw-gradient-from: #4f46e5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(79, 70, 229, 0)); }
.to-purple-800 { --tw-gradient-to: #6b21a8; }

.border { border-width: 1px !important; border-style: solid !important; }
.border-0 { border-width: 0 !important; }
.border-2 { border-width: 2px !important; border-style: solid !important; }
.border-t { border-top-width: 1px !important; border-top-style: solid !important; }
.border-t-4 { border-top-width: 4px !important; border-top-style: solid !important; }
.border-b { border-bottom-width: 1px !important; border-bottom-style: solid !important; }
.border-l { border-left-width: 1px !important; border-left-style: solid !important; }
.border-r { border-right-width: 1px !important; border-right-style: solid !important; }

.border-slate-50 { border-color: #f8fafc !important; }
.border-slate-100 { border-color: #f1f5f9 !important; }
.border-slate-200 { border-color: #e2e8f0 !important; }
.border-slate-200\/60 { border-color: rgba(226, 232, 240, 0.6) !important; }
.border-slate-300 { border-color: #cbd5e1 !important; }
.border-slate-700 { border-color: #334155 !important; }
.border-slate-800 { border-color: #1e293b !important; }
.border-blue-100 { border-color: #dbeafe !important; }
.border-blue-200 { border-color: #bfdbfe !important; }
.border-blue-300 { border-color: #93c5fd !important; }
.border-blue-500 { border-color: #3b82f6 !important; }
.border-emerald-100 { border-color: #d1fae5 !important; }
.border-emerald-500 { border-color: #10b981 !important; }
.border-amber-500 { border-color: #f59e0b !important; }
.border-indigo-500 { border-color: #6366f1 !important; }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3) !important; }
.border-subtle { border-color: #e2e8f0 !important; }

.rounded-none { border-radius: 0 !important; }
.rounded-sm { border-radius: 0.125rem !important; }
.rounded { border-radius: 0.25rem !important; }
.rounded-md { border-radius: 0.375rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-3xl { border-radius: 1.5rem !important; }
.rounded-full { border-radius: 9999px !important; }

.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }

.overflow-hidden { overflow: hidden !important; }
.overflow-x-auto { overflow-x: auto !important; }

/* --------------------------------------------------------------------------
   18.5 Spacing & Layout Constraints
   -------------------------------------------------------------------------- */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }

.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 0.75rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.pt-8 { padding-top: 2rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 0.75rem !important; }
.pb-4 { padding-bottom: 1rem !important; }
.pb-6 { padding-bottom: 1.5rem !important; }
.pb-8 { padding-bottom: 2rem !important; }

.m-0 { margin: 0 !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }
.mt-auto { margin-top: auto !important; }
.mb-auto { margin-bottom: auto !important; }

.mt-0 { margin-top: 0 !important; }
.mt-0\.5 { margin-top: 0.125rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-1\.5 { margin-top: 0.375rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-10 { margin-top: 2.5rem !important; }
.mt-12 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-14 { margin-bottom: 3.5rem !important; }
.mb-16 { margin-bottom: 4rem !important; }

.ml-1 { margin-left: 0.25rem !important; }
.ml-1\.5 { margin-left: 0.375rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-1\.5 { margin-right: 0.375rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.me-1 { margin-right: 0.25rem !important; }

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem !important; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem !important; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem !important; }

.whitespace-nowrap { white-space: nowrap !important; }
.aspect-video { aspect-ratio: 16 / 9 !important; }
.aspect-4\/3 { aspect-ratio: 4 / 3 !important; }
.object-contain { object-fit: contain !important; }
.object-cover { object-fit: cover !important; }
.h-48 { height: 12rem !important; }

.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }

.shadow-xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.transition-shadow { transition-property: box-shadow !important; }

.max-w-xs { max-width: 20rem !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-lg { max-width: 32rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-5xl { max-width: 64rem !important; }
.max-w-6xl { max-width: 72rem !important; }
.max-w-7xl { max-width: 80rem !important; }
.max-w-full { max-width: 100% !important; }

/* --------------------------------------------------------------------------
   18.6 Transitions & Hover States
   -------------------------------------------------------------------------- */
.transition-all { transition-property: all !important; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important; }
.transition-opacity { transition-property: opacity !important; }
.transition-transform { transition-property: transform !important; }

.duration-150 { transition-duration: 150ms !important; }
.duration-200 { transition-duration: 200ms !important; }
.duration-300 { transition-duration: 300ms !important; }
.duration-500 { transition-duration: 500ms !important; }

.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.select-none { user-select: none !important; }

.hover\:text-blue-600:hover { color: #2563eb !important; }
.hover\:text-blue-800:hover { color: #1e40af !important; }
.hover\:text-emerald-600:hover { color: #059669 !important; }
.hover\:text-emerald-800:hover { color: #047857 !important; }
.hover\:text-indigo-600:hover { color: #4f46e5 !important; }
.hover\:text-indigo-800:hover { color: #3730a3 !important; }
.hover\:text-amber-600:hover { color: #d97706 !important; }
.hover\:text-amber-800:hover { color: #92400e !important; }
.hover\:bg-white:hover { background-color: #ffffff !important; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1) !important; }
.hover\:bg-slate-50:hover { background-color: #f8fafc !important; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9 !important; }
.hover\:bg-blue-50:hover { background-color: #eff6ff !important; }
.hover\:border-blue-300:hover { border-color: #93c5fd !important; }
.hover\:border-blue-400:hover { border-color: #60a5fa !important; }
.hover\:border-emerald-400:hover { border-color: #34d399 !important; }
.hover\:border-indigo-400:hover { border-color: #818cf8 !important; }
.hover\:border-amber-400:hover { border-color: #fbbf24 !important; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.hover\:scale-105:hover { transform: scale(1.05) !important; }
.hover\:underline:hover { text-decoration: underline !important; }

/* Group Hover States */
.group:hover .group-hover\:bg-blue-600 { background-color: #2563eb !important; }
.group:hover .group-hover\:bg-emerald-600 { background-color: #059669 !important; }
.group:hover .group-hover\:bg-indigo-600 { background-color: #4f46e5 !important; }
.group:hover .group-hover\:bg-amber-600 { background-color: #d97706 !important; }
.group:hover .group-hover\:text-white { color: #ffffff !important; }
.group:hover .group-hover\:text-blue-600 { color: #2563eb !important; }
.group:hover .group-hover\:text-emerald-600 { color: #059669 !important; }
.group:hover .group-hover\:text-indigo-600 { color: #4f46e5 !important; }
.group:hover .group-hover\:text-amber-600 { color: #d97706 !important; }

/* --------------------------------------------------------------------------
   18.7 Sub-Page Hero, Dark Navy Aesthetics & Ambient Lighting
   -------------------------------------------------------------------------- */
.page-hero-section,
.subpage-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background-color: #030816 !important;
  background: radial-gradient(circle at 50% 0%, #1e3a8a 0%, #0f172a 45%, #080e1e 100%) !important;
  color: #ffffff !important;
  padding: clamp(8rem, 16vh, 12rem) 0 clamp(7rem, 14vh, 11rem);
  overflow: hidden;
  text-align: center;
  border-top: none;
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
}

.page-hero-section > .container,
.subpage-hero > .container,
.page-hero-section > .page-hero-content,
.subpage-hero > .page-hero-content {
  width: 100%;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.page-hero-title,
.subpage-hero h1,
.contact-hero-large .page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  margin-top: 0;
  margin-bottom: var(--space-4);
}

.page-hero-subtitle,
.subpage-hero .hero-subtitle,
.subpage-hero .subtitle,
.contact-hero-large .page-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: #cbd5e1 !important;
  max-width: 820px;
  margin: 0 auto var(--space-8);
}

.page-hero-section .text-gradient,
.subpage-hero .text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.text-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.breadcrumb-nav {
  display: block !important;
  width: 100%;
  margin-bottom: var(--space-4);
  text-align: center;
}
.breadcrumb-list, .breadcrumb-nav ol, .breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}
.breadcrumb-item, .breadcrumb-nav li, .breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  color: #64748b;
}
.page-hero-section .breadcrumb-item a,
.subpage-hero .breadcrumb-item a,
.contact-hero-large .breadcrumb-item a {
  color: #38bdf8 !important;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.page-hero-section .breadcrumb-item a:hover,
.subpage-hero .breadcrumb-item a:hover,
.contact-hero-large .breadcrumb-item a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}
.breadcrumb-item a, .breadcrumb-nav li a, .breadcrumb li a {
  color: #1d4ed8;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.breadcrumb-item a:hover, .breadcrumb-nav li a:hover, .breadcrumb li a:hover {
  color: #1e3a8a;
  text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item::before, .breadcrumb-nav li + li::before, .breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #cbd5e1;
  font-weight: 400;
}
.page-hero-section .breadcrumb-item.active,
.page-hero-section .breadcrumb-item[aria-current="page"],
.subpage-hero .breadcrumb-item.active,
.contact-hero-large .breadcrumb-item.active {
  color: #ffffff !important;
  font-weight: 600;
}
.breadcrumb-item.active, .breadcrumb-item[aria-current="page"], .breadcrumb li[aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}
.breadcrumb-separator {
  display: none !important;
}

.hero-badge-wrapper {
  display: block;
  width: 100%;
  margin-bottom: var(--space-6);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Dark Container Buttons (Hero, Subpages, Dark Sections)
   Guarantees 100% visible, high-contrast white text on all dark backgrounds
   -------------------------------------------------------------------------- */
.hero-section .btn-outline,
.hero-cta-group .btn-outline,
.hero-actions .btn-outline,
.section-dark .btn-outline,
.bg-dark .btn-outline,
.bg-slate-900 .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
}

.hero-section .btn-outline span,
.hero-cta-group .btn-outline span,
.hero-actions .btn-outline span,
.section-dark .btn-outline span,
.bg-dark .btn-outline span,
.bg-slate-900 .btn-outline span {
  color: #ffffff !important;
}

.hero-section .btn-outline:hover,
.hero-cta-group .btn-outline:hover,
.hero-actions .btn-outline:hover,
.section-dark .btn-outline:hover,
.bg-dark .btn-outline:hover,
.bg-slate-900 .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-outline:hover span,
.hero-cta-group .btn-outline:hover span,
.hero-actions .btn-outline:hover span,
.section-dark .btn-outline:hover span,
.bg-dark .btn-outline:hover span,
.bg-slate-900 .btn-outline:hover span {
  color: #ffffff !important;
}

/* Subpage Hero Buttons */
.page-hero-section .btn-outline,
.subpage-hero .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
}
.page-hero-section .btn-outline span,
.subpage-hero .btn-outline span {
  color: #ffffff !important;
}
.page-hero-section .btn-outline:hover,
.subpage-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.page-hero-section .btn-outline:hover span,
.subpage-hero .btn-outline:hover span {
  color: #ffffff !important;
}

/* Hero Stat Highlights */
.stat-card-hero {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb;
  backdrop-filter: none;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card-hero:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  border-left-color: #06b6d4;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.stat-counter-number {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-card-hero .stat-label,
.stat-card-hero [class*="text-slate-300"],
.stat-label {
  color: #1e293b !important;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.375rem;
  line-height: 1.4;
}

.stat-card-hero .stat-subtext,
.stat-card-hero [class*="text-slate-400"],
.stat-subtext {
  color: #475569 !important;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   18.8 Subpage Bento Cards & Feature Components
   -------------------------------------------------------------------------- */
.bento-card-subpage {
  background: #ffffff;
  border: 1px solid var(--color-bg-muted, #e2e8f0);
  border-radius: var(--radius-2xl, 1rem);
  padding: var(--space-8, 2rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card-subpage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  border-radius: 1rem 1rem 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card-subpage:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  border-color: var(--color-primary-300, #93c5fd);
}

.bento-card-subpage:hover::before {
  opacity: 1;
}

.bento-card-subpage:nth-child(2)::before { background: linear-gradient(90deg, #06b6d4, #10b981); }
.bento-card-subpage:nth-child(3)::before { background: linear-gradient(90deg, #10b981, #f59e0b); }
.bento-card-subpage:nth-child(4)::before { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.bento-card-subpage:nth-child(5)::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.bento-card-subpage:nth-child(6)::before { background: linear-gradient(90deg, #ec4899, #8b5cf6); }

.bento-span-2 { grid-column: span 2; }

.badge-pill, .card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--color-bg-subtle, #f8fafc);
  color: var(--color-primary-800, #1e293b);
  border: 1px solid var(--color-primary-100, #e2e8f0);
}

/* AEO Snippet Box */
.aeo-answer-box {
  background: #ffffff;
  border: 1px solid var(--color-accent-200, #bfdbfe);
  border-left: 4px solid var(--color-accent-500, #0ea5e9);
  border-radius: var(--radius-xl, 0.75rem);
  padding: var(--space-8, 2rem);
  box-shadow: var(--shadow-md);
  margin: var(--space-8, 2rem) 0;
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.aeo-answer-box:hover {
  box-shadow: var(--shadow-lg);
  border-left-color: var(--color-primary-500, #2563eb);
}

/* Single-Layer Knowledge Card: Explicitly Neutralize Nested Box Artifacts */
.aeo-direct-answer {
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 var(--space-4, 1rem) 0 !important;
}

.aeo-question, .aeo-answer-box h2 {
  font-size: var(--text-xl, 1.25rem);
  font-weight: 700;
  color: var(--color-primary-900, #0f172a);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: var(--space-3);
}

.direct-answer-text,
.aeo-direct-answer p,
.aeo-answer-box > p {
  color: var(--color-text-body, #475569);
  font-size: var(--text-base, 1rem);
  line-height: 1.7;
}

.aeo-key-takeaways {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-bg-muted, #e2e8f0);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-body, #334155);
  line-height: 1.5;
}

.takeaway-item::before {
  content: '✓';
  color: var(--color-accent-500, #0ea5e9);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   Section 18.10: AEO Media Overview Grid (.aeo-media-grid)
   -------------------------------------------------------------------------- */
.aeo-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-slate-100, #f1f5f9);
}

@media (min-width: 768px) {
  .aeo-media-grid {
    grid-template-columns: 320px 1fr;
    gap: 1.75rem;
  }
}

.aeo-media-image,
.aeo-media-grid img {
  width: 100%;
  max-width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-xl, 0.75rem);
  box-shadow: var(--shadow-md);
  display: block;
}

.aeo-media-text,
.aeo-media-content,
.aeo-media-grid .aeo-media-text,
.aeo-media-grid .aeo-media-content {
  min-width: 0;
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-slate-600, #475569);
}

.aeo-media-text p,
.aeo-media-content p,
.aeo-media-grid p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-slate-600, #475569);
}

.aeo-media-text p:not(:last-child),
.aeo-media-content p:not(:last-child),
.aeo-media-grid p:not(:last-child) {
  margin-bottom: 0.75rem;
}

.aeo-media-text p:last-child,
.aeo-media-content p:last-child,
.aeo-media-grid p:last-child {
  margin-bottom: 0;
}

/* Process Steps & Timelines */
.step-card {
  background: #ffffff;
  border: 1px solid var(--color-bg-muted, #e2e8f0);
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #2563eb, #06b6d4) 1;
  border-radius: var(--radius-2xl, 1rem);
  padding: var(--space-8, 2rem);
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.step-card:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-300, #93c5fd);
}

.step-number {
  font-family: var(--font-mono, monospace);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--color-primary-600, #2563eb), var(--color-accent-500, #0ea5e9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-900, #0f172a);
  margin-bottom: var(--space-3);
  line-height: 1.35;
}

.step-desc {
  color: var(--color-text-muted, #64748b);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Feature Checklist */
.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.feature-checklist li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--color-text-body, #475569);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.feature-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-emerald-500, #10b981);
  font-weight: 800;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   18.9 Enterprise Comparison, Benchmarks & Tables
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-8, 2rem) 0;
  border-radius: var(--radius-xl, 0.75rem);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--color-bg-muted, #e2e8f0);
  background: #ffffff;
}

.comparison-table,
.wage-table,
.table-enterprise {
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  font-size: 0.845rem;
  line-height: 1.5;
  text-align: left;
  table-layout: auto;
}

.comparison-table thead th,
.wage-table thead th,
.table-enterprise thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f8fafc;
  color: #0f172a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.725rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.95rem 1.15rem;
  border-bottom: 2px solid #2563eb;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
  vertical-align: middle;
}

.comparison-table tbody td,
.wage-table tbody td,
.table-enterprise tbody td {
  padding: 0.95rem 1.15rem;
  color: var(--color-text-body, #334155);
  border-bottom: 1px solid var(--color-bg-muted, #f1f5f9);
  vertical-align: middle;
  background: #ffffff;
  transition: background-color 0.15s ease;
  word-break: normal;
  overflow-wrap: break-word;
}

.comparison-table tbody tr:nth-child(even) td,
.wage-table tbody tr:nth-child(even) td,
.table-enterprise tbody tr:nth-child(even) td {
  background-color: var(--color-bg-canvas, #f8fafc);
}

.comparison-table tbody tr:hover td,
.wage-table tbody tr:hover td,
.table-enterprise tbody tr:hover td {
  background-color: var(--color-primary-50, #eff6ff) !important;
}

/* Highlight Column (Medinext Solutions / Core Pods) */
.comparison-table thead th.highlight-col,
.wage-table thead th.highlight-col,
.table-enterprise thead th.highlight-col {
  background-color: #eff6ff;
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.comparison-table tbody td.highlight-col,
.wage-table tbody td.highlight-col,
.table-enterprise tbody td.highlight-col {
  background-color: #f8faff;
}

.comparison-table tbody tr:nth-child(even) td.highlight-col,
.wage-table tbody tr:nth-child(even) td.highlight-col,
.table-enterprise tbody tr:nth-child(even) td.highlight-col {
  background-color: #f1f7ff;
}

/* Wage Benchmark Cell & Chip Utilities */
.wage-role {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.wage-rate {
  font-family: var(--font-mono, monospace) !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
}

.wage-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
  line-height: 1.25;
  white-space: normal;
}

.badge-savings {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
  line-height: 1.25;
  white-space: normal;
}

@media (max-width: 1024px) {
  .comparison-table thead th,
  .wage-table thead th,
  .table-enterprise thead th {
    padding: 0.75rem 0.85rem;
    font-size: 0.7rem;
  }
  .comparison-table tbody td,
  .wage-table tbody td,
  .table-enterprise tbody td {
    padding: 0.75rem 0.85rem;
    font-size: 0.8125rem;
  }
}

/* Tech Stack Showcase & Domain Cards */
.tech-stack-showcase {
  margin-top: 2rem;
}

.tech-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .tech-domain-grid {
    grid-template-columns: 1fr;
  }
}

.tech-domain-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-domain-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.tech-domain-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.tech-domain-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.tech-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tech-domain-card:hover .tech-pill {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

/* Interactive Glossary Lexicon System */
.glossary-controls-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-badge {
  position: absolute;
  left: 1rem;
  display: flex;
  align-items: center;
  color: #64748b;
  pointer-events: none;
}

.glossary-search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.glossary-search-input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-category-filter,
.btn-letter-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-letter-filter {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  font-weight: 700;
}

.btn-category-filter:hover,
.btn-letter-filter:hover {
  border-color: #93c5fd;
  color: #1d4ed8;
  background: #f0f9ff;
}

.btn-category-filter.active,
.btn-letter-filter.active {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}

.glossary-terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .glossary-terms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .glossary-terms-grid {
    grid-template-columns: 1fr;
  }
}

.glossary-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.glossary-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.letter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 800;
  font-size: 0.75rem;
  border: 1px solid #bfdbfe;
}

.glossary-term-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.glossary-definition-box {
  margin-bottom: 0.75rem;
}

.glossary-definition {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Workflow & Timeline Feature Rows */
.workflow-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workflow-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.workflow-feature-item:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.workflow-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Legal Content, Safeguards & CISO Cards */
.legal-card-static {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transform: none !important;
  transition: none !important;
}

.legal-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.legal-section {
  scroll-margin-top: 6rem;
}

.legal-toc-card {
  position: sticky;
  top: 6rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-toc-list a {
  color: #475569;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.legal-toc-list a:hover {
  color: #1d4ed8;
}

/* ==========================================================================
   Professional Legal Document Styling (Zero Animations & Crisp Typography)
   ========================================================================== */
.page-legal-static,
.page-legal-static * {
  animation: none !important;
}

.page-legal-static .page-hero-section {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, #080e1e 0%, #0a192f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-legal-static .page-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  opacity: 1 !important;
  transform: none !important;
}

.page-legal-static .page-hero-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 0;
  opacity: 1 !important;
  transform: none !important;
}

.page-legal-static .section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 1 !important;
  transform: none !important;
}

.page-legal-static .legal-toc-card {
  position: sticky;
  top: 6.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transform: none !important;
}

.page-legal-static .legal-toc-list a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 0.375rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.page-legal-static .legal-toc-list a:hover {
  color: #1d4ed8;
  background-color: #f0f9ff;
}

.page-legal-static .legal-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.page-legal-static .legal-section {
  scroll-margin-top: 6.5rem;
}

.page-legal-static .legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.page-legal-static .legal-section p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-legal-static .feature-checklist {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.page-legal-static .feature-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #334155;
  font-size: 0.925rem;
  line-height: 1.6;
}

.page-legal-static .feature-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1d4ed8;
  font-weight: 700;
}

.page-legal-static .tilt-glare-wrapper,
.page-legal-static .tilt-glare {
  display: none !important;
}

.safeguards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 640px) {
  .safeguards-grid {
    grid-template-columns: 1fr;
  }
}

.safeguard-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
}

.ciso-contact-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

/* --------------------------------------------------------------------------
   18.10 FAQ System & Accordion Styles
   -------------------------------------------------------------------------- */
.faq-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-header:hover {
  background-color: #f8fafc;
  color: #1d4ed8;
}

.faq-item.active .faq-header,
.faq-item.active .faq-header .faq-title,
.faq-header[aria-expanded="true"],
.faq-header[aria-expanded="true"] .faq-title,
.faq-card.active .faq-header .faq-title {
  color: #1d4ed8 !important;
}

.faq-body {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   18.12 High-Conversion CTA Section (Sub-Pages & Enterprise Hubs)
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 50%, #e0f2fe 100%) !important;
  color: #0f172a !important;
  padding: clamp(4rem, 7vw, 5.5rem) 0 !important;
  border-top: 1px solid #bfdbfe;
  border-bottom: 1px solid #bfdbfe;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(380px, 60vw, 760px);
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2,
.cta-section h2.text-white,
.cta-section .cta-title,
.cta-section [id^="cta-"] {
  color: #0f172a !important;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-section p,
.cta-section p.text-slate-300,
.cta-section .cta-subtitle {
  color: #475569 !important;
  line-height: 1.7;
}

.cta-section .card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #dbeafe;
  color: #1e3a8a;
  border: 1px solid #93c5fd;
}

.cta-section .btn-outline,
.cta-section a.btn-outline {
  color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  background: transparent !important;
  backdrop-filter: none;
}

.cta-section .btn-outline span,
.cta-section a.btn-outline span {
  color: #1d4ed8 !important;
}

.cta-section .btn-outline:hover,
.cta-section a.btn-outline:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.3);
}

.cta-section .btn-outline:hover span,
.cta-section a.btn-outline:hover span {
  color: #ffffff !important;
}

.cta-section .cta-guarantee small,
.cta-guarantee small,
.cta-section small.text-slate-400,
.cta-section .cta-guarantee [class*="text-slate-400"] {
  color: #334155 !important;
}

/* ==========================================================================
   19. MODERN 2-COLUMN CONTACT US & MAP SECTION (Design Spec)
   ========================================================================== */
.contact-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .contact-split-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.contact-assist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.contact-assist-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: #1e1b4b;
  flex-shrink: 0;
}

.contact-main-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-main-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: #475569;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 650px;
}

.contact-form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .contact-form-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-control-modern,
.form-select-modern,
.form-textarea-modern {
  width: 100%;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.5rem !important;
  padding: 0.85rem 1.15rem !important;
  font-size: 0.95rem !important;
  color: #0f172a !important;
  font-family: inherit !important;
  line-height: 1.5 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.form-control-modern::placeholder,
.form-textarea-modern::placeholder {
  color: #64748b !important;
  font-weight: 400 !important;
}

.form-select-modern:invalid,
.form-select-modern option[value=""][disabled] {
  color: #64748b !important;
}

.form-control-modern:focus,
.form-select-modern:focus,
.form-textarea-modern:focus {
  outline: none !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  background-color: #ffffff !important;
}

.form-select-modern {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23334155'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1.15rem !important;
  padding-right: 2.75rem !important;
  cursor: pointer !important;
}

.form-select-modern option {
  color: #0f172a !important;
  background-color: #ffffff !important;
}

.form-textarea-modern {
  resize: vertical !important;
  min-height: 175px !important;
  margin-bottom: 1.25rem !important;
}

.contact-consent-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-consent-checkbox {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.25rem;
  border: 1px solid #cbd5e1;
  accent-color: #1e1b4b;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-consent-label {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  cursor: pointer;
  user-select: none;
}

.contact-consent-label a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

.contact-consent-label a:hover {
  text-decoration: underline;
}

.btn-contact-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #1e1b4b !important; /* Deep dark purple/indigo from screenshot */
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.75rem 2.25rem !important;
  border-radius: 0.5rem !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(30, 27, 75, 0.2) !important;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

.btn-contact-submit:hover {
  background-color: #2e1065 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(30, 27, 75, 0.35) !important;
}

.btn-contact-submit:active {
  transform: translateY(0) !important;
}

.contact-side-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.contact-info-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-info-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.85rem;
  margin-bottom: 1.15rem;
}

.contact-info-item {
  transition: transform 0.2s ease;
}

.contact-info-item:hover {
  transform: translateY(-2px);
}

.contact-map-card {
  width: 100%;
  flex: 1;
  min-height: 340px;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background-color: #f8fafc;
}

.contact-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

@media (min-width: 1024px) {
  .contact-map-card,
  .contact-map-iframe {
    min-height: 360px;
  }
}

.contact-hero-large {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: clamp(8rem, 16vh, 12rem) 0 clamp(7rem, 14vh, 11rem) !important;
  box-sizing: border-box !important;
  position: relative;
}

.contact-hero-large .page-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  margin-top: 0.75rem !important;
}

.contact-hero-large .breadcrumb-nav {
  margin-bottom: 0.5rem !important;
}

.contact-hero-large .breadcrumb-item a {
  color: #38bdf8 !important;
  font-weight: 600 !important;
}

.contact-hero-large .breadcrumb-item.active {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   18.11 Responsive Media Query Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:flex-row { flex-direction: row !important; }
}

@media (min-width: 768px) {
  .md\:text-base { font-size: 1rem !important; }
  .md\:text-lg { font-size: 1.125rem !important; }
  .md\:text-xl { font-size: 1.25rem !important; }
  .md\:text-2xl { font-size: 1.5rem !important; }
  .md\:text-3xl { font-size: 1.875rem !important; }
  .md\:text-4xl { font-size: 2.25rem !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .md\:py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

  /* Defensive Layout Utilities for Legacy AEO & Uncompiled Tailwind */
  .md\:w-1\/2,
  [class*="md:w-1/2"] {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  .md\:w-full,
  [class*="md:w-full"] {
    width: 100% !important;
  }
  .min-w-0 {
    min-width: 0 !important;
  }

  /* Robust flex containment for legacy AEO template markup */
  .aeo-answer-box .flex-col.md\:flex-row {
    align-items: center !important;
    gap: 1.75rem !important;
  }
  .aeo-answer-box .flex-col.md\:flex-row > * {
    min-width: 0 !important;
  }
  .aeo-answer-box .flex-col.md\:flex-row img {
    max-width: 320px !important;
    flex: 0 0 320px !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: var(--radius-xl, 0.75rem) !important;
  }
  .aeo-answer-box .flex-col.md\:flex-row div {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   IT Recruitment & Career Services Modern Components
   -------------------------------------------------------------------------- */
.role-discipline-card {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle, #e2e8f0);
  border-radius: var(--radius-xl, 1rem);
  padding: 1.75rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.role-discipline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
  border-color: var(--color-primary-300, #93c5fd);
}
.role-discipline-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}
.role-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.role-badge-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.775rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  transition: all var(--transition-fast);
}
.role-badge-item:hover {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

.career-service-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #06b6d4 !important;
  border-radius: var(--radius-xl, 1rem) !important;
  padding: 1.75rem !important;
  position: relative;
  text-align: left;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
  color: #334155;
}
.career-service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(6, 182, 212, 0.15);
  border-color: #06b6d4 !important;
  background: #f0fdfa !important;
}
.career-service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  color: #0891b2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.career-service-box h3,
.career-service-box .career-service-title {
  color: #0f172a !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.career-service-box p.career-service-lead,
.career-service-box p.text-slate-200,
.career-service-box p.text-slate-300 {
  color: #334155 !important;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.career-service-box p.career-service-sub,
.career-service-box p.text-slate-400 {
  color: #64748b !important;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.matching-factors-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.matching-factor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-fast);
}
.matching-factor-pill:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  background: #eff6ff !important;
}

.industry-support-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl, 1rem);
  padding: 1.75rem;
  text-align: left;
  transition: all var(--transition-normal);
}
.industry-support-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
  border-color: #38bdf8;
}

.dual-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.dual-cta-card {
  border-radius: var(--radius-2xl, 1.25rem);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.dual-cta-employer {
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  color: #0f172a;
}
.dual-cta-candidate {
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  color: #0f172a;
}

@media (max-width: 992px) {
  .dual-cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .lg\:flex-row { flex-direction: row !important; }
}

@media (max-width: 768px) {
  .grid-4-col, .grid-3-col, .grid-2-col {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .bento-span-2 {
    grid-column: span 1;
  }
  .aeo-answer-box {
    padding: var(--space-5);
  }
}

/* Colorful Section Background Variants */
.section-light-blue { background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%); }
.section-light-emerald { background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%); }
.section-light-amber { background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 100%); }
.section-light-violet { background: linear-gradient(180deg, #f5f3ff 0%, #f8fafc 100%); }
.section-light-cyan { background: linear-gradient(180deg, #ecfeff 0%, #f8fafc 100%); }
.section-light-rose { background: linear-gradient(180deg, #fff1f2 0%, #f8fafc 100%); }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .faq-chevron,
  .faq-body,
  .bento-card-subpage,
  .step-card,
  .btn-magnetic {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   21. ENTERPRISE WCAG 2.1 AA HIGH-CONTRAST CONSOLIDATED RESOLUTION
   ========================================================================== */

/* 1. Hero Stat Cards: Eliminate unreadable light slate text on white cards */
.stat-card-hero .stat-label,
.stat-card-hero [class*="text-slate-300"] {
  color: #1e293b !important; /* 14.63:1 (AAA) */
  font-weight: 600 !important;
}

.stat-card-hero .stat-subtext,
.stat-card-hero [class*="text-slate-400"] {
  color: #475569 !important; /* 7.48:1 (AAA) */
}

/* 2. Hero Titles & Subtitles: Pure white and light slate for high-contrast on dark overlay */
.page-hero-section .page-hero-title,
.page-hero-section h1.text-white,
.contact-hero-large .page-hero-title {
  color: #ffffff !important;
}

.page-hero-section .page-hero-subtitle,
.page-hero-section p.text-slate-200,
.page-hero-section p.text-slate-300,
.contact-hero-large .page-hero-subtitle {
  color: #cbd5e1 !important;
}

.contact-hero-large .breadcrumb-item.active {
  color: #ffffff !important;
}

.contact-hero-large .breadcrumb-item a {
  color: #38bdf8 !important;
}

/* 3. Badges & Pills: Crisp high-contrast foreground text over pastel backgrounds */
.card-badge.bg-cyan-light,
.badge-pill.bg-cyan-light,
.bg-cyan-light.text-cyan,
.badge-cyan {
  background-color: #ecfeff !important;
  color: #0e7490 !important; /* 5.15:1 on white, 4.65:1 on ecfeff */
  border: 1px solid #a5f3fc !important;
}

.card-badge.bg-emerald-light,
.badge-pill.bg-emerald-light,
.bg-emerald-light.text-emerald,
.badge-emerald {
  background-color: #ecfdf5 !important;
  color: #047857 !important; /* 5.21:1 on white, 4.57:1 on ecfdf5 */
  border: 1px solid #a7f3d0 !important;
}

.badge-savings {
  background-color: #ecfdf5 !important;
  color: #047857 !important; /* 4.57:1 on ecfdf5 */
  border: 1px solid #a7f3d0 !important;
}

/* 4. The #0284c7 Resolution (FAQ headers, active tabs, wage rates, filter buttons) */
.faq-badge {
  background: #eff6ff !important;
  color: #1d4ed8 !important; /* 6.16:1 */
  border: 1px solid #bfdbfe !important;
}

.faq-header:hover,
.faq-header:hover .faq-title,
.faq-item.active .faq-header,
.faq-item.active .faq-header .faq-title,
.faq-header[aria-expanded="true"],
.faq-header[aria-expanded="true"] .faq-title,
.faq-card.active .faq-header .faq-title,
.faq-card.active .faq-card-header .faq-title {
  color: #1d4ed8 !important; /* 6.70:1 on white, 6.39:1 on f8fafc */
}

.faq-tab-btn.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  color: #ffffff !important; /* 6.70:1 on 1d4ed8 stop */
  border-color: #1d4ed8 !important;
}

.wage-rate {
  color: #1d4ed8 !important; /* 6.70:1 on white, 6.39:1 on even rows */
}

.btn-category-filter:hover,
.btn-letter-filter:hover {
  color: #1d4ed8 !important; /* 6.54:1 on f0f9ff */
  border-color: #93c5fd !important;
}

.btn-category-filter.active,
.btn-letter-filter.active {
  background: #1d4ed8 !important;
  color: #ffffff !important; /* 6.70:1 */
  border-color: #1d4ed8 !important;
}

/* 5. CTA Section: Guarantee subtext and outline button contrast */
.cta-section .cta-guarantee small,
.cta-guarantee small,
.cta-section small.text-slate-400,
.cta-section .cta-guarantee [class*="text-slate-400"] {
  color: #334155 !important; /* 9.24:1 on eff6ff/dbeafe */
}

.cta-section .btn-outline,
.cta-section a.btn-outline {
  color: #1d4ed8 !important; /* 5.49:1 on dbeafe */
  border-color: #1d4ed8 !important;
}

.cta-section .btn-outline span,
.cta-section a.btn-outline span {
  color: #1d4ed8 !important;
}

.cta-section .btn-outline:hover,
.cta-section a.btn-outline:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}

.cta-section .btn-outline:hover span,
.cta-section a.btn-outline:hover span {
  color: #ffffff !important;
}

/* 6. Form Controls: Accessible visible placeholders and high-contrast boundaries */
.form-control-modern,
.form-select-modern,
.form-textarea-modern {
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.form-control-modern::placeholder,
.form-textarea-modern::placeholder {
  color: #64748b !important; /* 4.76:1 on white */
}

.form-select-modern:invalid,
.form-select-modern option[value=""][disabled] {
  color: #64748b !important;
}

/* 7. Bento & Domain Tags (Industries, IT, Healthcare, E-Commerce) */
.bento-card-subpage .text-slate-400,
.color-change-card .text-slate-400 {
  color: #475569 !important; /* 7.48:1 on white */
}

/* 8. Takeaway checkmark contrast */
.takeaway-item::before {
  color: #2563eb !important; /* 5.17:1 on white */
}

/* --------------------------------------------------------------------------
   Section 18.15: Visual Photo Enhancements & Media Cards
   -------------------------------------------------------------------------- */
.photo-feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-slate-200, #e2e8f0);
  border-radius: var(--radius-2xl, 1rem);
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.photo-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.12);
  border-color: var(--color-primary-300, #93c5fd);
}

.photo-feature-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--color-slate-100, #f1f5f9);
}

.photo-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.photo-feature-card:hover .photo-feature-img {
  transform: scale(1.05);
}

.photo-feature-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.photo-split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .photo-split-section {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-2xl, 1.25rem);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-frame:hover img {
  transform: scale(1.03);
}

.photo-badge-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}



/* ==========================================================================
   14. 21ST.DEV ENTERPRISE BLOG SYSTEM & LONG-FORM PROSE ENGINE
   ========================================================================== */

/* Blog Hub Page Container */
.blog-hub-page,
.blog-detail-page {
  background-color: #ffffff;
  color: #0f172a;
}

/* Category Filter Tabs */
.category-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.category-filter-btn:hover {
  color: #2563eb;
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateY(-1px);
}

.category-filter-btn.active {
  color: #ffffff;
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.category-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
}

/* 21st.dev Blog Card Layout */
.blog-card-21st {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.blog-card-21st:hover .blog-card-inner {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.15);
  border-color: #93c5fd;
}

/* Image Wrapper with 16:10 Ratio & Hover Zoom */
.blog-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.blog-card-21st:hover .blog-card-img {
  transform: scale(1.06);
}

/* Floating #CATEGORY Badge */
.blog-card-category-badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Content Area */
.blog-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem 1.75rem;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: #2563eb;
}

.blog-card-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Footer Strip with 21st.dev Read More Dual Arrow Button */
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-readmore:hover {
  color: #1d4ed8;
}

/* Dual Arrow Keyframe Hover System */
.blog-card-arrow-box {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #eff6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #2563eb;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.blog-card-21st:hover .blog-card-arrow-box,
.blog-card-readmore:hover .blog-card-arrow-box {
  background: #2563eb;
  color: #ffffff;
}

.blog-arrow-primary {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(0);
}

.blog-arrow-secondary {
  position: absolute;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-150%);
}

.blog-card-21st:hover .blog-arrow-primary,
.blog-card-readmore:hover .blog-arrow-primary {
  transform: translateX(150%);
}

.blog-card-21st:hover .blog-arrow-secondary,
.blog-card-readmore:hover .blog-arrow-secondary {
  transform: translateX(0);
}

.blog-card-date-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}

.blog-card-date-divider {
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: #cbd5e1;
  border-radius: 9999px;
}

/* ==========================================================================
   Long-Form Prose & Rich Section Styling
   ========================================================================== */
.blog-prose {
  color: #1e293b;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.blog-prose .blog-h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.blog-prose .blog-h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.blog-prose .blog-h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.blog-prose p {
  margin-bottom: 1.5rem;
  color: #334155;
}

.blog-prose ul,
.blog-prose ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.blog-prose li {
  margin-bottom: 0.6rem;
  color: #334155;
}

.blog-prose strong {
  color: #0f172a;
  font-weight: 700;
}

/* AEO Direct Answer Callout Box */
.aeo-answer-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid #0284c7;
  border-radius: 1rem;
  padding: 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px -4px rgba(2, 132, 199, 0.08);
}

.aeo-answer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0.375rem;
  margin-bottom: 0.85rem;
}

.aeo-answer-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: #0c4a6e;
  line-height: 1.7;
  margin-bottom: 0 !important;
}

/* Key Takeaways Card */
.key-takeaways-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.key-takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #edf2f7;
  font-size: 0.95rem;
  color: #334155;
}

.key-takeaway-item:last-child {
  border-bottom: none;
}

.key-takeaway-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
  margin-top: 0.15rem;
}

/* Rich Tables for Comparative Data */
.blog-prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.blog-prose th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.blog-prose td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.blog-prose tr:last-child td {
  border-bottom: none;
}

.blog-prose tr:nth-child(even) td {
  background: #fbfcfe;
}

/* Strategic Framework & Highlight Box */
.framework-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  margin: 1.75rem 0;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.framework-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}


/* ==========================================================================
   ENTERPRISE LOGO MARQUEE / RUNNING TICKER ANIMATION
   ========================================================================== */
.logo-marquee-section {
  position: relative;
  background: #ffffff;
  padding: 2.25rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  z-index: 10;
}

.logo-marquee-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 0 1rem;
}

.logo-marquee-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
}

.logo-marquee-title::before,
.logo-marquee-title::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #cbd5e1;
  vertical-align: middle;
}

.logo-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 0.5rem 0;
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.5rem;
  animation: logoMarqueeScroll 38s linear infinite;
  will-change: transform;
}

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

.logo-marquee-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 140px;
  padding: 0.5rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.logo-marquee-item:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.12);
}

.logo-marquee-img {
  max-height: 34px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.72);
  transition: filter 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  vertical-align: middle;
}

.logo-marquee-item:hover .logo-marquee-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.04);
}

@keyframes logoMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-marquee-section {
    padding: 1.75rem 0;
  }
  .logo-marquee-item {
    height: 52px;
    min-width: 120px;
    padding: 0.375rem 1rem;
  }
  .logo-marquee-img {
    max-height: 28px;
    max-width: 95px;
  }
  .logo-marquee-track {
    gap: 1rem;
    animation-duration: 28s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .logo-marquee-item {
    scroll-snap-align: center;
  }
}

/* ==========================================================================
   19. CAREERS PLATFORM DESIGN SYSTEM (PUBLIC CAREERS & TALENT COMMUNITY)
   ========================================================================== */

/* Section Spacing & Layout */
.careers-section {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.careers-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}

.careers-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.careers-section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.careers-section-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  color: #475569;
  line-height: 1.6;
}

/* 19.1 Culture Pillars Bento Grid (4 Cards) */
.careers-culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

@media (max-width: 768px) {
  .careers-culture-grid {
    grid-template-columns: 1fr;
  }
}

.culture-pillar-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.culture-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.10);
  border-color: #93c5fd;
}

.culture-pillar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.pillar-icon-box svg {
  width: 26px;
  height: 26px;
}

.pillar-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.culture-pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
}

.culture-pillar-desc {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pillar-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pillar-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

/* 19.2 Global Perks & Benefits (6 Cards) */
.careers-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

@media (max-width: 1024px) {
  .careers-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .careers-perks-grid {
    grid-template-columns: 1fr;
  }
}

.perk-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: clamp(1.5rem, 2vw, 2rem);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.perk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.09);
  border-color: #93c5fd;
}

.perk-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
  margin-bottom: 1.25rem;
}

.perk-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.perk-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.perk-card-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* 19.3 Career Progression Framework (4-Tier Steps) */
.progression-track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.5vw, 1.5rem);
  position: relative;
}

@media (max-width: 1024px) {
  .progression-track-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .progression-track-grid {
    grid-template-columns: 1fr;
  }
}

.progression-tier-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.progression-tier-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.12);
}

.tier-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  margin-bottom: 1rem;
}

.tier-level-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.tier-timeline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 1rem;
}

.tier-scope {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.tier-skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.tier-skills-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.4;
}

.tier-skills-list li svg {
  width: 15px;
  height: 15px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 19.4 Dynamic Job Openings Section */
.jobs-filter-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.job-filter-pill {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.job-filter-pill:hover {
  border-color: #94a3b8;
  color: #0f172a;
  background: #f8fafc;
}

.job-filter-pill.is-active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.job-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .job-cards-grid {
    grid-template-columns: 1fr;
  }
}

.job-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
  border-color: #93c5fd;
}

.job-card.is-featured {
  border-color: #60a5fa;
  box-shadow: 0 4px 20px -2px rgba(37, 99, 235, 0.12);
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}

.job-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.55rem;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.job-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.job-meta-pill svg {
  width: 13px;
  height: 13px;
  color: #64748b;
}

.job-summary {
  font-size: 0.9125rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  gap: 1rem;
  flex-wrap: wrap;
}

.job-salary-tag {
  font-size: 0.875rem;
  font-weight: 700;
  color: #059669;
}

/* 19.5 Strict Zero-Seeded Invariant: Branded Empty State Card */
.empty-talent-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
}

.empty-talent-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.15);
}

.empty-talent-icon-box svg {
  width: 36px;
  height: 36px;
}

.empty-talent-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}

.empty-talent-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.empty-talent-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 19.6 Application Modal System */
.careers-apply-modal .modal-dialog {
  max-width: 680px;
  width: 92%;
}

.careers-apply-modal .modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.careers-apply-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.careers-apply-modal .modal-subtitle {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
}

.careers-apply-modal .modal-body {
  padding: 1.75rem;
  max-height: 75vh;
  overflow-y: auto;
}

.careers-apply-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

@media (max-width: 640px) {
  .careers-apply-grid {
    grid-template-columns: 1fr;
  }
}

.file-upload-box {
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  background: #f8fafc;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.file-upload-box:hover {
  border-color: #3b82f6;
  background: #f0f9ff;
}

.file-upload-icon {
  width: 32px;
  height: 32px;
  color: #0284c7;
  margin: 0 auto 0.5rem;
}

.file-upload-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.file-upload-hint {
  font-size: 0.75rem;
  color: #64748b;
}

.careers-form-status {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.careers-form-status.is-success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.careers-form-status.is-error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}