/* ==========================================================================
   MOSAED TECH (مُساعد) - Modern B2B Enterprise Design System
   Version: 2.0 (Ported from v2 React/Tailwind design)
   ========================================================================== */

:root {
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif;

  /* Color Palette - Light Mode (Clean, high-contrast, modern SaaS) */
  --bg-main: #F4F6FA;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --bg-surface-tint: #F8FAFC;
  --bg-accent-soft: #EFF6FF;
  --text-main: #0F172A;
  --text-muted: #334155;
  --text-subtle: #475569;
  --border-color: #E2E8F0;
  --border-subtle: #EEF2F6;
  --border-strong: #CBD5E1;

  /* Brand Accents */
  --brand-navy: #0A1931;
  --brand-navy-hover: #132A52;
  --brand-blue: #2563EB;
  --brand-blue-hover: #1D4ED8;
  --brand-blue-light: #60A5FA;
  --brand-cyan: #0284C7;
  --brand-cyan-light: #38BDF8;

  /* Semantic Feedback */
  --success: #059669;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --danger: #E11D48;
  --danger-bg: #FFF1F2;
  --danger-border: #FECDD3;

  /* Shadows */
  --shadow-2xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* Dimensions & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container-max: 1280px;

  color-scheme: light;
}

/* Color Palette - Dark Mode (Default / Executive Dark #070D18) */
[data-theme="dark"] {
  --bg-main: #070D18;
  --bg-surface: #0B1322;
  --bg-surface-alt: #0F192E;
  --bg-surface-tint: #0A1224;
  --bg-accent-soft: rgba(37, 99, 235, 0.08);
  --text-main: #F8FAFC;
  --text-muted: #CBD5E1;
  --text-subtle: #94A3B8;
  --border-color: #1E293B;
  --border-subtle: #142035;
  --border-strong: #334155;

  --brand-navy: #2563EB;
  --brand-navy-hover: #3B82F6;
  --brand-blue: #3B82F6;
  --brand-blue-hover: #60A5FA;

  --success-bg: rgba(5, 150, 105, 0.15);
  --success-border: rgba(5, 150, 105, 0.3);
  --danger-bg: rgba(225, 29, 72, 0.15);
  --danger-border: rgba(225, 29, 72, 0.3);

  --shadow-2xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ar);
  font-size: 15px;
  line-height: 1.65;
  background-color: var(--bg-main);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: var(--font-sans);
}

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

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #FFFFFF;
}

/* Section Header Styles */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #38BDF8;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}

[data-theme="light"] .section-tag {
  color: #1D4ED8;
  background: #EFF6FF;
  border-color: #BFDBFE;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.08);
}
[data-theme="light"] .section-tag::before {
  background: #2563EB;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
}

.section-title {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-subtitle {
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 500;
  text-wrap: pretty;
}

[data-theme="light"] .section-subtitle {
  color: #334155;
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 40%, #38BDF8 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 18px -2px rgba(14, 165, 233, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(2, 44, 100, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 40%, #38BDF8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -2px rgba(14, 165, 233, 0.65), 0 0 20px 2px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-2xs);
}
.btn-secondary:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--border-strong);
  color: var(--brand-blue);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
html[dir="rtl"] .btn-icon-arrow {
  transform: scaleX(-1);
}
.btn:hover .btn-icon-arrow {
  transform: translateX(3px);
}
html[dir="rtl"] .btn:hover .btn-icon-arrow {
  transform: scaleX(-1) translateX(3px);
}

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  padding-block: 16px;
  background: transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
body.blog-page .site-header {
  padding-block: 11px;
  background-color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #E2E8F0 !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="dark"] .site-header.is-scrolled,
[data-theme="dark"] body.blog-page .site-header {
  background-color: #070D18 !important;
  background-color: rgba(7, 13, 24, 0.98) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 35px -10px rgba(0, 0, 0, 0.8), 0 0 20px -8px rgba(37, 99, 235, 0.25) !important;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.brand-link:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.brand-logo {
  height: clamp(40px, 3.4vw, 48px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 14px rgba(56, 189, 248, 0.28));
}

@media (max-width: 640px) {
  .brand-logo {
    height: 38px;
    max-width: 165px;
  }
}

/* ==========================================================================
   Page Transition Loader with 3D Brand Emblem
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #070D18;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

[data-theme="light"] .page-loader {
  background-color: #F8FAFC;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.loader-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-halo-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 70%);
  filter: blur(14px);
  animation: loaderPulse 2s infinite ease-in-out;
}

.loader-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: #38BDF8;
  border-inline-end-color: #2563EB;
  animation: loaderSpin 1.2s infinite linear;
}

.loader-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 16px rgba(37, 99, 235, 0.55));
  animation: logoFloat 2.4s infinite ease-in-out;
}

.loader-brand-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.loader-brand-name {
  font-family: 'Cairo', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

[data-theme="light"] .loader-brand-name {
  color: #0F172A;
}

.loader-brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.22em;
}

[data-theme="light"] .loader-brand-sub {
  color: #0284C7;
}

.loader-progress-track {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

[data-theme="light"] .loader-progress-track {
  background: #E2E8F0;
}

.loader-progress-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #38BDF8 0%, #2563EB 50%, #818CF8 100%);
  animation: loaderProgress 1.4s infinite ease-in-out;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes loaderProgress {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.brand-link-footer {
  display: inline-block;
  margin-bottom: 14px;
}

.brand-logo-footer {
  height: 90px;
  width: auto;
  max-width: 115px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 82, 255, 0.2));
}

/* Dual Theme Dynamic Logo Switching */
.brand-logo-dark,
.brand-logo-vertical-dark {
  display: block;
}
.brand-logo-light,
.brand-logo-vertical-light {
  display: none;
}

[data-theme="dark"] .brand-logo-dark,
[data-theme="dark"] .brand-logo-vertical-dark {
  display: block !important;
}
[data-theme="dark"] .brand-logo-light,
[data-theme="dark"] .brand-logo-vertical-light {
  display: none !important;
}

[data-theme="light"] .brand-logo-dark,
[data-theme="light"] .brand-logo-vertical-dark {
  display: none !important;
}
[data-theme="light"] .brand-logo-light,
[data-theme="light"] .brand-logo-vertical-light {
  display: block !important;
}

.hero-kicker-icon {
  height: 18px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 153, 255, 0.45));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--text-main);
  user-select: none;
}
.brand-text-ar {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.brand-text-en {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Nav Links */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.icon-btn:hover {
  background-color: var(--bg-surface-alt);
  color: var(--text-main);
}
.icon-btn svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}
@media (max-width: 639px) {
  .nav-actions > .btn {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 20px clamp(16px, 4vw, 32px);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 12px;
}
.mobile-drawer.is-open {
  display: flex;
}
.mobile-nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  padding-block: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 4px;
}

/* ==========================================================================
   Hero Section & Premium 3D Emblem Showcase
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: clamp(130px, 15vw, 175px);
  padding-bottom: clamp(60px, 8vw, 90px);
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

/* Ambient Aurora Spotlight */
.hero-aurora {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 98vw);
  height: 600px;
  background: radial-gradient(ellipse 65% 55% at 50% 35%, rgba(0, 153, 255, 0.2) 0%, rgba(37, 99, 235, 0.08) 45%, transparent 75%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .hero-aurora {
  background: radial-gradient(ellipse 65% 55% at 50% 35%, rgba(37, 99, 235, 0.12) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 75%);
  filter: blur(55px);
}

/* Architectural Brand Logo Backdrop in Hero */
.hero-brand-backdrop {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(420px, 48vw, 760px);
  height: clamp(420px, 48vw, 760px);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.12;
  transition: opacity 0.4s ease;
}

.hero-brand-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 65px rgba(56, 189, 248, 0.45));
}

.hero-brand-backdrop-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24) 0%, rgba(37, 99, 235, 0.12) 45%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
}

[data-theme="light"] .hero-brand-backdrop {
  opacity: 0.08;
}

[data-theme="light"] .hero-brand-backdrop img {
  filter: drop-shadow(0 0 50px rgba(37, 99, 235, 0.28));
}

[data-theme="light"] .hero-brand-backdrop-glow {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 70%);
}

/* Background Grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 50%, transparent 100%);
}
[data-theme="dark"] .hero-grid-bg {
  opacity: 0.16;
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.hero-headline {
  max-width: 940px;
  margin-inline: auto;
}

/* --- 3D Brand Emblem Showcase Stage --- */
.hero-emblem-stage {
  position: relative;
  width: 140px;
  height: 140px;
  margin-inline: auto;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.hero-emblem-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.4) 0%, rgba(37, 99, 235, 0.18) 40%, transparent 70%);
  filter: blur(20px);
  animation: emblem-glow-pulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

[data-theme="light"] .hero-emblem-ambient {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(56, 189, 248, 0.12) 40%, transparent 70%);
  filter: blur(22px);
}

@keyframes emblem-glow-pulse {
  0%, 100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.hero-emblem-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.3);
  animation: ring-rotate 35s linear infinite;
  pointer-events: none;
}

[data-theme="light"] .hero-emblem-ring-outer {
  border-color: rgba(37, 99, 235, 0.25);
}

@keyframes ring-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-emblem-ring-inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 80%);
  pointer-events: none;
}

[data-theme="light"] .hero-emblem-ring-inner {
  border-color: rgba(37, 99, 235, 0.15);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 80%);
}

.hero-emblem-core {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: emblem-float 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  cursor: pointer;
}

.hero-emblem-core:hover {
  transform: translateY(-4px) scale(1.08);
}

@keyframes emblem-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.hero-emblem-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 140, 255, 0.5));
  transition: filter 0.3s ease;
}

.hero-emblem-core:hover .hero-emblem-img {
  filter: drop-shadow(0 16px 36px rgba(0, 170, 255, 0.7));
}

@media (max-width: 640px) {
  .hero-emblem-stage {
    width: 110px;
    height: 110px;
    margin-bottom: 16px;
  }
  .hero-emblem-core,
  .hero-emblem-img {
    width: 76px;
    height: 76px;
  }
}

/* --- Kicker Badge --- */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(11, 19, 34, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  color: #38BDF8;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="light"] .hero-kicker {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(37, 99, 235, 0.22);
  color: var(--brand-blue);
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-kicker:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.25);
}

/* Beacon Status Pulse Dot */
.hero-kicker-beacon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
}

.beacon-core {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #38BDF8;
}

[data-theme="light"] .beacon-core {
  background-color: var(--brand-blue);
}

.beacon-ping {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: rgba(56, 189, 248, 0.6);
  animation: beacon-ping-anim 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beacon-ping-anim {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hero-kicker-badge-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  letter-spacing: 0.04em;
}

[data-theme="light"] .hero-kicker-badge-tag {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue);
}

/* --- Hero Headline & Dynamic Highlight --- */
.hero-headline {
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 900;
  line-height: 1.22;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-headline-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #60A5FA 0%, #38BDF8 50%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 24px rgba(56, 189, 248, 0.35));
}

[data-theme="light"] .hero-headline-highlight {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

/* --- Hero Lead --- */
.hero-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 38px;
  font-weight: 500;
  text-wrap: pretty;
}

/* --- Hero CTAs --- */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
}
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    gap: 18px;
  }
}

.hero-btn-primary {
  padding: 15px 32px;
  font-size: 15.5px;
  font-weight: 800;
  border-radius: var(--radius-md, 12px);
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 40%, #38BDF8 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 24px -2px rgba(14, 165, 233, 0.55), 0 0 20px -2px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(2, 44, 100, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 40%, #38BDF8 100%);
  box-shadow: 0 10px 32px -2px rgba(14, 165, 233, 0.7), 0 0 28px 2px rgba(56, 189, 248, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-btn-primary:hover::before {
  left: 100%;
}

.hero-btn-secondary {
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md, 12px);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #F8FAFC;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .hero-btn-secondary {
  background: #FFFFFF;
  border-color: rgba(2, 132, 199, 0.25);
  color: #0F172A;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.06), inset 0 1px 0 #FFFFFF;
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(56, 189, 248, 0.45);
  color: #38BDF8;
  box-shadow: 0 8px 24px -4px rgba(14, 165, 233, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .hero-btn-secondary:hover {
  background: #F0F9FF;
  border-color: #38BDF8;
  color: #0284C7;
  box-shadow: 0 6px 18px -2px rgba(14, 165, 233, 0.15);
}

/* ==========================================================================
   Hero Executive Proof Cards (4 Core Value Metrics - Expanded Breadth)
   ========================================================================== */
.hero-proofs {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: start;
  position: relative;
}

@media (min-width: 640px) {
  .hero-proofs {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .hero-proofs {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

/* Master Proof Card Container - Generous Width & Polished Depth */
.proof-card {
  position: relative;
  background: linear-gradient(165deg, rgba(17, 27, 49, 0.78) 0%, rgba(10, 18, 33, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg, 16px);
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 145px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.25s ease;
  cursor: default;
}

[data-theme="light"] .proof-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .proof-label {
  color: #0F172A;
}

[data-theme="light"] .proof-desc {
  color: #475569;
}

/* Ambient Inner Glow Aura */
.proof-card-glow {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.65;
  filter: blur(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.proof-card-blue .proof-card-glow {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(37, 99, 235, 0) 70%);
}
.proof-card-indigo .proof-card-glow {
  background: radial-gradient(circle, rgba(129, 140, 248, 0.35) 0%, rgba(99, 102, 241, 0) 70%);
}
.proof-card-amber .proof-card-glow {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, rgba(217, 119, 6, 0) 70%);
}
.proof-card-emerald .proof-card-glow {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.35) 0%, rgba(16, 185, 129, 0) 70%);
}

[data-theme="light"] .proof-card-blue .proof-card-glow {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(37, 99, 235, 0) 70%);
}
[data-theme="light"] .proof-card-indigo .proof-card-glow {
  background: radial-gradient(circle, rgba(129, 140, 248, 0.16) 0%, rgba(99, 102, 241, 0) 70%);
}
[data-theme="light"] .proof-card-amber .proof-card-glow {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, rgba(217, 119, 6, 0) 70%);
}
[data-theme="light"] .proof-card-emerald .proof-card-glow {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.16) 0%, rgba(16, 185, 129, 0) 70%);
}

/* Top bar: Icon and Badge */
.proof-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

/* Icon Box Enhancement - Compact */
.proof-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.proof-icon-blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(56, 189, 248, 0.12) 100%);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}
.proof-icon-indigo {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(129, 140, 248, 0.12) 100%);
  color: #818CF8;
  border: 1px solid rgba(129, 140, 248, 0.32);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}
.proof-icon-amber {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.22) 0%, rgba(245, 158, 11, 0.12) 100%);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.32);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.2);
}
.proof-icon-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(52, 211, 153, 0.12) 100%);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.32);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .proof-icon-blue {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}
[data-theme="light"] .proof-icon-indigo {
  background: #EEF2FF;
  color: #4F46E5;
  border: 1px solid #C7D2FE;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.1);
}
[data-theme="light"] .proof-icon-amber {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.1);
}
[data-theme="light"] .proof-icon-emerald {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
}

/* Micro-Pill Badges - Compact */
.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.proof-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.9;
}

.proof-badge-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.22);
}
.proof-badge-blue .proof-badge-dot {
  background-color: #38BDF8;
  box-shadow: 0 0 5px #38BDF8;
}

.proof-badge-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #A5B4FC;
  border: 1px solid rgba(129, 140, 248, 0.22);
}
.proof-badge-indigo .proof-badge-dot {
  background-color: #818CF8;
  box-shadow: 0 0 5px #818CF8;
}

.proof-badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.proof-badge-amber .proof-badge-dot {
  background-color: #FBBF24;
  box-shadow: 0 0 5px #FBBF24;
}

.proof-badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #6EE7B7;
  border: 1px solid rgba(52, 211, 153, 0.22);
}
.proof-badge-emerald .proof-badge-dot {
  background-color: #34D399;
  box-shadow: 0 0 5px #34D399;
}

[data-theme="light"] .proof-badge-blue {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
[data-theme="light"] .proof-badge-indigo {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}
[data-theme="light"] .proof-badge-amber {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}
[data-theme="light"] .proof-badge-emerald {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

/* Card Content Area */
.proof-card-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

/* Metric Typography - Reduced Size */
.proof-metric {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 4px;
  display: inline-block;
  font-feature-settings: "tnum" 1;
}

.proof-card-blue .proof-metric {
  background: linear-gradient(135deg, #BAE6FD 0%, #38BDF8 60%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.22));
}
.proof-card-indigo .proof-metric {
  background: linear-gradient(135deg, #DDD6FE 0%, #818CF8 60%, #A5B4FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(129, 140, 248, 0.22));
}
.proof-card-amber .proof-metric {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 60%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.22));
}
.proof-card-emerald .proof-metric {
  background: linear-gradient(135deg, #A7F3D0 0%, #34D399 60%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(52, 211, 153, 0.22));
}

[data-theme="light"] .proof-card-blue .proof-metric {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 60%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}
[data-theme="light"] .proof-card-indigo .proof-metric {
  background: linear-gradient(135deg, #3730A3 0%, #4F46E5 60%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}
[data-theme="light"] .proof-card-amber .proof-metric {
  background: linear-gradient(135deg, #92400E 0%, #D97706 60%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}
[data-theme="light"] .proof-card-emerald .proof-metric {
  background: linear-gradient(135deg, #065F46 0%, #059669 60%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

/* Card Label - Compact */
.proof-label {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 3px;
}

/* Card Description - Compact */
.proof-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Bottom Interactive Indicator Bar */
.proof-card-line {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  opacity: 0.45;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.proof-line-blue {
  background: linear-gradient(90deg, transparent 0%, #38BDF8 50%, transparent 100%);
}
.proof-line-indigo {
  background: linear-gradient(90deg, transparent 0%, #818CF8 50%, transparent 100%);
}
.proof-line-amber {
  background: linear-gradient(90deg, transparent 0%, #F59E0B 50%, transparent 100%);
}
.proof-line-emerald {
  background: linear-gradient(90deg, transparent 0%, #34D399 50%, transparent 100%);
}

/* Card Hover States */
.proof-card:hover {
  transform: translateY(-4px);
}

.proof-card-blue:hover {
  border-color: rgba(56, 189, 248, 0.38);
  box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.3), 0 0 20px -4px rgba(56, 189, 248, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.proof-card-indigo:hover {
  border-color: rgba(129, 140, 248, 0.38);
  box-shadow: 0 12px 28px -8px rgba(99, 102, 241, 0.3), 0 0 20px -4px rgba(129, 140, 248, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.proof-card-amber:hover {
  border-color: rgba(245, 158, 11, 0.38);
  box-shadow: 0 12px 28px -8px rgba(217, 119, 6, 0.3), 0 0 20px -4px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.proof-card-emerald:hover {
  border-color: rgba(52, 211, 153, 0.38);
  box-shadow: 0 12px 28px -8px rgba(16, 185, 129, 0.3), 0 0 20px -4px rgba(52, 211, 153, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .proof-card-blue:hover {
  border-color: #93C5FD;
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.14);
}
[data-theme="light"] .proof-card-indigo:hover {
  border-color: #C7D2FE;
  box-shadow: 0 10px 24px -4px rgba(99, 102, 241, 0.14);
}
[data-theme="light"] .proof-card-amber:hover {
  border-color: #FDE68A;
  box-shadow: 0 10px 24px -4px rgba(217, 119, 6, 0.14);
}
[data-theme="light"] .proof-card-emerald:hover {
  border-color: #A7F3D0;
  box-shadow: 0 10px 24px -4px rgba(16, 185, 129, 0.14);
}

.proof-card:hover .proof-icon-box {
  transform: scale(1.06);
}
.proof-card:hover .proof-card-line {
  height: 3px;
  opacity: 1;
}
.proof-card:hover .proof-card-glow {
  opacity: 1;
  transform: scale(1.15);
}

/* ==========================================================================
   Capabilities Section (4 Core Domains)
   ========================================================================== */
.capabilities-section {
  padding-block: clamp(64px, 8vw, 100px);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.section-header-center .section-tag {
  margin-bottom: 16px;
}

.section-header-center .section-title {
  margin-bottom: 14px;
  text-align: center;
}

.section-header-center .section-subtitle {
  font-size: clamp(15.5px, 1.85vw, 18px);
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 500;
  max-width: 760px;
  margin-inline: auto;
  text-wrap: balance;
}

[data-theme="light"] .section-header-center .section-subtitle {
  color: #334155;
}

/* Executive Featured Subtitle Pill for 4 Pillars */
.capabilities-subtitle-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(99, 102, 241, 0.07) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  box-shadow: 0 4px 24px -4px rgba(14, 165, 233, 0.16), 
              0 2px 6px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-inline: auto;
  max-width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.capabilities-subtitle-box:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 32px -4px rgba(14, 165, 233, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

[data-theme="light"] .capabilities-subtitle-box {
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.95) 0%, rgba(238, 242, 255, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 18px -2px rgba(14, 165, 233, 0.14), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .capabilities-subtitle-box:hover {
  border-color: rgba(2, 132, 199, 0.65);
  box-shadow: 0 8px 24px -2px rgba(14, 165, 233, 0.2), inset 0 1px 0 #FFFFFF;
}

.capabilities-subtitle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

[data-theme="light"] .capabilities-subtitle-icon {
  background: #E0F2FE;
  border-color: #7DD3FC;
  color: #0284C7;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.15);
}

.capabilities-subtitle-box .capabilities-subtitle-highlight {
  font-size: clamp(14.5px, 1.7vw, 16px) !important;
  color: #E2E8F0 !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
  margin: 0 !important;
  max-width: none !important;
  width: auto !important;
  text-wrap: nowrap !important;
  white-space: nowrap !important;
  text-align: center;
}

[data-theme="light"] .capabilities-subtitle-box .capabilities-subtitle-highlight {
  color: #1E293B !important;
}

@media (max-width: 920px) {
  .capabilities-subtitle-box {
    border-radius: 18px;
    padding: 12px 18px;
    max-width: 95%;
  }
  .capabilities-subtitle-box .capabilities-subtitle-highlight {
    white-space: normal !important;
    text-wrap: pretty !important;
  }
}

.subtitle-core {
  font-weight: 800;
  background: linear-gradient(135deg, #BAE6FD 0%, #38BDF8 60%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

[data-theme="light"] .subtitle-core {
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 60%, #4338CA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle-peak {
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  padding: 1px 8px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: inline-block;
  white-space: nowrap;
}

[data-theme="light"] .subtitle-peak {
  color: #0369A1;
  background: #E0F2FE;
  border-color: #BAE6FD;
}

@media (max-width: 640px) {
  .capabilities-subtitle-box {
    border-radius: 16px;
    padding: 12px 16px;
    gap: 10px;
    align-items: flex-start;
  }
  .capabilities-subtitle-icon {
    width: 28px;
    height: 28px;
    margin-top: 2px;
  }
  .capabilities-subtitle-highlight {
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: start;
  }
}

/* 4 Domain Segmented Switchers */
.domain-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
@media (min-width: 1024px) {
  .domain-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.domain-tab {
  text-align: start;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(17, 27, 49, 0.6) 0%, rgba(10, 18, 33, 0.82) 100%);
  color: var(--text-muted);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.25s ease, 
              border-color 0.25s ease, 
              background 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .domain-tab {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .domain-tab-title {
  color: #1E293B;
  font-weight: 700;
}

[data-theme="light"] .domain-tab-num {
  color: #2563EB;
}

.domain-tab:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

[data-theme="light"] .domain-tab:hover {
  border-color: #BFDBFE;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.12);
}

.domain-tab.is-active {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: rgba(56, 189, 248, 0.5);
  color: #FFFFFF;
  box-shadow: 0 12px 30px -6px rgba(37, 99, 235, 0.35), 0 0 20px -4px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .domain-tab.is-active {
  background: linear-gradient(145deg, #EFF6FF 0%, #FFFFFF 100%);
  border-color: #2563EB;
  color: #0F172A;
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.18), inset 0 1px 0 #FFFFFF;
}

.domain-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.domain-tab-icon {
  width: 20px;
  height: 20px;
  color: #60A5FA;
  transition: transform 0.25s ease, color 0.25s ease;
}
.domain-tab:hover .domain-tab-icon {
  transform: scale(1.1);
  color: #38BDF8;
}
.domain-tab.is-active .domain-tab-icon {
  color: #38BDF8;
}

[data-theme="light"] .domain-tab-icon {
  color: #2563EB;
}
[data-theme="light"] .domain-tab.is-active .domain-tab-icon {
  color: #1D4ED8;
}

.domain-tab-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-subtle);
  line-height: 1;
}
.domain-tab.is-active .domain-tab-num {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.35);
  color: #93C5FD;
}

[data-theme="light"] .domain-tab-num {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #64748B;
}
[data-theme="light"] .domain-tab.is-active .domain-tab-num {
  background: #DBEAFE;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

.domain-tab-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
}

/* Deep-Dive Showcase Master Card */
.showcase-card {
  background: linear-gradient(165deg, rgba(13, 23, 42, 0.88) 0%, rgba(8, 14, 26, 0.96) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3.5vw, 34px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .showcase-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.08), inset 0 1px 0 #FFFFFF;
}

/* Command Bar (Header Bar) */
.showcase-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .showcase-command-bar {
  border-bottom: 1px solid #E2E8F0;
}

.showcase-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.showcase-domain-num {
  font-family: monospace;
  font-size: 13px;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  letter-spacing: 0.05em;
}

[data-theme="light"] .showcase-domain-num {
  background: #E0F2FE;
  border-color: #BAE6FD;
  color: #0284C7;
}

.showcase-divider-slash {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
  font-size: 14px;
}

[data-theme="light"] .showcase-divider-slash {
  color: #CBD5E1;
}

.showcase-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background-color: rgba(15, 23, 42, 0.6);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

[data-theme="light"] .showcase-tagline {
  background-color: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

.showcase-tagline-icon {
  width: 14px;
  height: 14px;
  color: #38BDF8;
  flex-shrink: 0;
}

[data-theme="light"] .showcase-tagline-icon {
  color: #0284C7;
}

.showcase-system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.status-radar-beacon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
}

.beacon-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.beacon-wave {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid #10B981;
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

@keyframes radar-ping {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Main 2-Column Split Layout */
.showcase-main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .showcase-main-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
  }
}

/* Right Column: Strategic Narrative */
.showcase-narrative-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.showcase-title {
  font-size: clamp(21px, 2.3vw, 26px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.showcase-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Executive ROI Spotlight Card */
.showcase-roi-card {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 4px 18px -4px rgba(14, 165, 233, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .showcase-roi-card {
  background: linear-gradient(145deg, #F0F9FF 0%, #EEF2FF 100%);
  border: 1px solid #BAE6FD;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.08), inset 0 1px 0 #FFFFFF;
}

.roi-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.roi-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  flex-shrink: 0;
}

[data-theme="light"] .roi-icon-bubble {
  background: #E0F2FE;
  border-color: #7DD3FC;
  color: #0284C7;
}

.roi-label-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 8px;
  flex-wrap: wrap;
}

.roi-label {
  font-size: 12px;
  font-weight: 700;
  color: #38BDF8;
}

[data-theme="light"] .roi-label {
  color: #0284C7;
}

.roi-tag {
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.15);
  color: #BAE6FD;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

[data-theme="light"] .roi-tag {
  background: #E0F2FE;
  color: #0369A1;
  border-color: #BAE6FD;
}

.roi-statement {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.55;
}

/* Strategic Action Bar */
.showcase-action-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.showcase-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  align-self: flex-start;
  width: auto;
}

@media (max-width: 640px) {
  .showcase-cta-btn {
    width: 100%;
  }
}

.showcase-assurance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.showcase-assurance-badge svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Left Column: Engineered Deliverables Deck */
.showcase-deliverables-col {
  display: flex;
}

.deliverables-deck-card {
  width: 100%;
  background: linear-gradient(165deg, rgba(17, 27, 49, 0.72) 0%, rgba(10, 18, 33, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .deliverables-deck-card {
  background: linear-gradient(165deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05), inset 0 1px 0 #FFFFFF;
}

.deliverables-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .deliverables-deck-header {
  border-bottom: 1px solid #E2E8F0;
}

.deck-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deck-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  flex-shrink: 0;
}

[data-theme="light"] .deck-icon-badge {
  background: #E0F2FE;
  border-color: #BAE6FD;
  color: #0284C7;
}

.deck-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.deck-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.2;
}

.deck-count-pill {
  font-size: 11px;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 3px 8px;
  border-radius: 6px;
}

[data-theme="light"] .deck-count-pill {
  background: #E0F2FE;
  border-color: #BAE6FD;
  color: #0284C7;
}

.deliverables-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.deliverable-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.2s ease, 
              background 0.2s ease;
  cursor: default;
}

[data-theme="light"] .deliverable-item-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.deliverable-item-card:hover {
  transform: translateX(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.05);
}

html[dir="ltr"] .deliverable-item-card:hover {
  transform: translateX(4px);
}

[data-theme="light"] .deliverable-item-card:hover {
  border-color: #BAE6FD;
  background: #F0F9FF;
}

.deliverable-item-idx {
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="light"] .deliverable-item-idx {
  background: #E0F2FE;
  color: #0284C7;
}

.deliverable-item-content {
  flex: 1;
}

.deliverable-item-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

.deliverable-item-status {
  margin-inline-start: auto;
  color: var(--success);
  opacity: 0.85;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.deliverables-deck-specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

[data-theme="light"] .deliverables-deck-specs {
  border-top: 1px solid #E2E8F0;
}

.deck-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.deck-spec-item svg {
  color: #38BDF8;
  flex-shrink: 0;
}

[data-theme="light"] .deck-spec-item svg {
  color: #0284C7;
}

.deck-spec-dot {
  color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .deck-spec-dot {
  color: #CBD5E1;
}

/* ==========================================================================
   Transformation Section (Before vs After Split Ledger)
   ========================================================================== */
.transformation-section {
  padding-block: clamp(64px, 8vw, 100px);
  background-color: var(--bg-surface-alt);
  border-block: 1px solid var(--border-color);
  position: relative;
}

.scenario-switch-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.scenario-switch {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

[data-theme="light"] .scenario-switch {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.scenario-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  background: transparent;
}
.scenario-btn:hover {
  color: var(--text-main);
}
.scenario-btn.is-active {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
}

/* Split Ledger Comparison Card - Executive Contrast Engine */
.split-ledger {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .split-ledger {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.03);
}

/* Ledger Summary Bar */
.ledger-summary-bar {
  padding: 18px 28px;
  background: rgba(10, 18, 33, 0.95);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(12px);
}
@media (min-width: 768px) {
  .ledger-summary-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
}

[data-theme="light"] .ledger-summary-bar {
  background: #F8FAFC;
  border-bottom-color: #E2E8F0;
}

.ledger-summary-heading-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ledger-route-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="light"] .ledger-route-icon {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #2563EB;
}

.ledger-summary-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
}

.ledger-summary-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12.5px;
  color: #34D399;
  background: rgba(5, 150, 105, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.1);
}
.ledger-summary-metric-badge svg {
  flex-shrink: 0;
}
[data-theme="light"] .ledger-summary-metric-badge {
  color: #047857;
  background: #ECFDF5;
  border-color: #A7F3D0;
  box-shadow: none;
}

/* Ledger Two Columns */
.ledger-columns {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 840px) {
  .ledger-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.ledger-col {
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
}

/* Before Column (Friction / Manual) */
.ledger-col-before {
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.05) 0%, rgba(225, 29, 72, 0.015) 100%);
  border-bottom: 1px solid var(--border-color);
}
@media (min-width: 840px) {
  .ledger-col-before {
    border-bottom: none;
    border-inline-end: 1px solid var(--border-color);
  }
}
[data-theme="light"] .ledger-col-before {
  background: linear-gradient(180deg, #FFF8F8 0%, #FFFFFF 100%);
  border-color: #E2E8F0;
}

/* After Column (Velocity / Automation) */
.ledger-col-after {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.07) 0%, rgba(16, 185, 129, 0.03) 100%);
}
[data-theme="light"] .ledger-col-after {
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
}

/* Column Header */
.col-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .col-header {
  border-bottom-color: #E2E8F0;
}

.col-header-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.col-header-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 4px 0;
}
.col-header-before .col-header-title {
  color: #FB7185;
}
[data-theme="light"] .col-header-before .col-header-title {
  color: #E11D48;
}
.col-header-after .col-header-title {
  color: #38BDF8;
}
[data-theme="light"] .col-header-after .col-header-title {
  color: #0284C7;
}

.col-header-sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.col-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.col-status-friction {
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: #FB7185;
}
[data-theme="light"] .col-status-friction {
  background: #FEF2F2;
  border-color: #FECDD3;
  color: #BE123C;
}

.col-status-velocity {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34D399;
}
[data-theme="light"] .col-status-velocity {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
}

.badge-x {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(225, 29, 72, 0.18);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: #FB7185;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
[data-theme="light"] .badge-x {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
}

.badge-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
[data-theme="light"] .badge-check {
  background: #D1FAE5;
  border-color: #6EE7B7;
  color: #059669;
}

/* Steps Cards List */
.steps-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Micro-Cards for Stages */
.contrast-step-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 12px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

/* Before Step Card */
.contrast-step-before {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(225, 29, 72, 0.16);
}
.contrast-step-before:hover {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.35);
  transform: translateX(-2px);
}
html[dir="ltr"] .contrast-step-before:hover {
  transform: translateX(2px);
}
[data-theme="light"] .contrast-step-before {
  background: #FFFFFF;
  border: 1px solid rgba(239, 68, 68, 0.2);
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.04);
}
[data-theme="light"] .contrast-step-before:hover {
  background: #FEF2F2;
  border-color: rgba(239, 68, 68, 0.4);
}

/* After Step Card */
.contrast-step-after {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 4px 14px -6px rgba(37, 99, 235, 0.15);
}
.contrast-step-after:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateX(-3px);
  box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.25);
}
html[dir="ltr"] .contrast-step-after:hover {
  transform: translateX(3px);
}
[data-theme="light"] .contrast-step-after {
  background: #FFFFFF;
  border: 1px solid rgba(14, 165, 233, 0.28);
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.06);
}
[data-theme="light"] .contrast-step-after:hover {
  background: #F0F9FF;
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.12);
}

/* Card Header (Stage badge + contrast tag) */
.contrast-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contrast-stage-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.85;
}

.contrast-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  line-height: 1.3;
}
.contrast-tag-friction {
  color: #FB7185;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.22);
}
[data-theme="light"] .contrast-tag-friction {
  color: #BE123C;
  background: #FEE2E2;
  border-color: #FECDD3;
}

.contrast-tag-velocity {
  color: #38BDF8;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}
[data-theme="light"] .contrast-tag-velocity {
  color: #0369A1;
  background: #E0F2FE;
  border-color: #BAE6FD;
}

/* Card Body (Icon + Text) */
.contrast-step-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contrast-icon-wrap {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contrast-icon-wrap svg {
  width: 12px;
  height: 12px;
}

.contrast-icon-danger {
  background: rgba(225, 29, 72, 0.15);
  color: #FB7185;
  border: 1px solid rgba(225, 29, 72, 0.3);
}
[data-theme="light"] .contrast-icon-danger {
  background: #FEE2E2;
  color: #DC2626;
  border-color: #FCA5A5;
}

.contrast-icon-success {
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
[data-theme="light"] .contrast-icon-success {
  background: #D1FAE5;
  color: #059669;
  border-color: #6EE7B7;
}

.contrast-step-text {
  font-size: 13.5px;
  line-height: 1.6;
  flex: 1;
  min-width: 0;
}
.contrast-step-before .contrast-step-text {
  color: var(--text-muted);
}
.contrast-step-after .contrast-step-text {
  color: var(--text-main);
  font-weight: 600;
}

/* Full-Width Ledger Bottom Action Banner */
.ledger-bottom-banner {
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(20, 32, 58, 0.95) 100%);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .ledger-bottom-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 22px 36px;
  }
}
[data-theme="light"] .ledger-bottom-banner {
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border-top-color: #E2E8F0;
}

.ledger-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.banner-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}
[data-theme="light"] .banner-icon-bubble {
  background: #DBEAFE;
  border-color: #93C5FD;
  color: #1D4ED8;
  box-shadow: none;
}

.ledger-banner-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 3px 0;
  line-height: 1.35;
}

.ledger-banner-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  max-width: 580px;
}

.ledger-banner-btn {
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}
@media (min-width: 768px) {
  .ledger-banner-btn {
    align-self: center;
  }
}

/* ==========================================================================
   Process Timeline Section (4 Phases Roadmap & Flow Animation)
   ========================================================================== */
.process-section {
  padding-block: clamp(64px, 8vw, 100px);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

/* 0. Process Header Row & Executive Assurance Capsule */
.process-header-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.process-header-row::after {
  content: '';
  position: absolute;
  bottom: -1px;
  inset-inline-start: 0;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, #38BDF8, transparent);
}

@media (min-width: 900px) {
  .process-header-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
  }
}

.process-header-main {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.process-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
}

.process-title-accent {
  background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 40%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  display: inline-block;
  position: relative;
  text-shadow: 0 0 28px rgba(56, 189, 248, 0.2);
}

/* Executive Assurance Capsule (Left-hand prominent assurance card) */
.process-assurance-capsule {
  max-width: 520px;
  width: 100%;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.88) 0%, rgba(10, 18, 33, 0.96) 100%);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 24px -6px rgba(14, 165, 233, 0.12);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-assurance-capsule:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 32px -4px rgba(14, 165, 233, 0.2);
  transform: translateY(-2px);
}

.process-assurance-capsule::before {
  content: '';
  position: absolute;
  top: -40px;
  inset-inline-end: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.capsule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.capsule-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  padding: 5px 14px;
  letter-spacing: 0.02em;
}

.capsule-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 10px #38BDF8;
  animation: pulseCyanDot 2s infinite ease-in-out;
  display: inline-block;
  flex-shrink: 0;
}

.capsule-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  flex-shrink: 0;
  box-shadow: 0 0 12px -2px rgba(56, 189, 248, 0.25);
  transition: transform 0.25s ease;
}

.process-assurance-capsule:hover .capsule-icon-wrap {
  transform: scale(1.08) rotate(4deg);
}

.capsule-body-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: #CBD5E1;
  margin: 0 0 12px 0;
  font-weight: 400;
}

.capsule-strong {
  color: #FFFFFF;
  font-weight: 800;
  display: inline;
}

.capsule-pill {
  color: #38BDF8;
  font-weight: 700;
  background: rgba(14, 165, 233, 0.14);
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 0 12px -2px rgba(56, 189, 248, 0.15);
}

.capsule-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.capsule-metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 10px;
  transition: all 0.2s ease;
}

.capsule-metric-chip svg {
  color: #38BDF8;
  flex-shrink: 0;
}

.capsule-metric-chip:hover {
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
}

@keyframes pulseCyanDot {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(56, 189, 248, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

/* Light Theme Overrides for Process Header & Capsule */
[data-theme="light"] .process-header-row {
  border-bottom-color: rgba(226, 232, 240, 0.9);
}

[data-theme="light"] .process-title-accent {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 60%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

[data-theme="light"] .process-assurance-capsule {
  background: #FFFFFF;
  border-color: rgba(2, 132, 199, 0.28);
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(14, 165, 233, 0.06), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .process-assurance-capsule:hover {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(14, 165, 233, 0.1), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .process-assurance-capsule::before {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .capsule-badge {
  color: #0284C7;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.22);
}

[data-theme="light"] .capsule-pulse-dot {
  background: #0284C7;
  box-shadow: 0 0 8px #0284C7;
}

[data-theme="light"] .capsule-icon-wrap {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  color: #0284C7;
  box-shadow: none;
}

[data-theme="light"] .capsule-body-text {
  color: #334155;
}

[data-theme="light"] .capsule-strong {
  color: #0F172A;
}

[data-theme="light"] .capsule-pill {
  color: #0369A1;
  background: rgba(2, 132, 199, 0.09);
  border-color: rgba(2, 132, 199, 0.24);
}

[data-theme="light"] .capsule-metrics {
  border-top-color: #E2E8F0;
}

[data-theme="light"] .capsule-metric-chip {
  color: #475569;
  background: #F1F5F9;
  border-color: #E2E8F0;
}

[data-theme="light"] .capsule-metric-chip svg {
  color: #0284C7;
}

[data-theme="light"] .capsule-metric-chip:hover {
  color: #0284C7;
  background: #E0F2FE;
  border-color: #BAE6FD;
}

/* 1. Live Flow Pipeline Navigation Bar */
.process-pipeline-bar {
  margin-bottom: 36px;
  display: none;
}
@media (min-width: 860px) {
  .process-pipeline-bar {
    display: block;
  }
}

.pipeline-track-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(10, 18, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .pipeline-track-container {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
}

.pipeline-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
  font-family: inherit;
  text-align: start;
}
.pipeline-node:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}
[data-theme="light"] .pipeline-node:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.pipeline-node.is-active {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
}
[data-theme="light"] .pipeline-node.is-active {
  background: #EFF6FF;
  border-color: #38BDF8;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.pipeline-node-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #60A5FA;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.pipeline-node.is-active .pipeline-node-num {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border-color: #93C5FD;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

.pipeline-node-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pipeline-node-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.3;
  transition: color 0.25s ease;
}
.pipeline-node.is-active .pipeline-node-title {
  color: var(--text-main);
  font-weight: 800;
}

.pipeline-node-duration {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-subtle);
}

.pipeline-node-pulse {
  position: absolute;
  top: 6px;
  inset-inline-end: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pipeline-node.is-active .pipeline-node-pulse {
  opacity: 1;
  box-shadow: 0 0 8px #34D399;
  animation: pulseDot 1.6s infinite;
}

/* Pipeline Conduit between Nodes */
.pipeline-conduit {
  flex: 1;
  height: 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
}

.conduit-line-rail {
  position: absolute;
  inset: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
[data-theme="light"] .conduit-line-rail {
  background: #E2E8F0;
}

.conduit-beam {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #38BDF8, transparent);
  opacity: 0.4;
  animation: conduitBeamFlowRTL 2.2s linear infinite;
}
html[dir="ltr"] .conduit-beam {
  animation: conduitBeamFlowLTR 2.2s linear infinite;
}

.pipeline-conduit.is-flowing .conduit-beam {
  width: 70%;
  background: linear-gradient(90deg, transparent, #60A5FA, #34D399, transparent);
  opacity: 1;
  animation-duration: 1.2s;
  box-shadow: 0 0 10px #38BDF8;
}

.conduit-arrow-badge {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  transition: all 0.25s ease;
}
[data-theme="light"] .conduit-arrow-badge {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #2563EB;
}

.pipeline-conduit.is-flowing .conduit-arrow-badge {
  background: #2563EB;
  border-color: #93C5FD;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
  transform: scale(1.1);
}

.conduit-arrow-svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}
html[dir="rtl"] .conduit-arrow-svg {
  transform: rotate(180deg);
}

/* 2. Process Stepper Cards Grid */
.process-stepper-wrap {
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}
@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

/* 3. Executive Phase Card */
.phase-card {
  position: relative;
  background: linear-gradient(165deg, rgba(17, 27, 49, 0.8) 0%, rgba(10, 18, 33, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.32s ease, 
              border-color 0.32s ease,
              background 0.32s ease;
  cursor: pointer;
}

[data-theme="light"] .phase-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.06), inset 0 1px 0 #FFFFFF;
}

.phase-card:hover,
.phase-card.is-active {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 48px -12px rgba(37, 99, 235, 0.35), 
              0 0 24px -2px rgba(56, 189, 248, 0.2), 
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .phase-card:hover,
[data-theme="light"] .phase-card.is-active {
  border-color: #38BDF8;
  box-shadow: 0 18px 40px -10px rgba(37, 99, 235, 0.18),
              0 0 20px rgba(56, 189, 248, 0.14);
}

/* Card Glow Spotlight */
.phase-card-glow {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.phase-card:hover .phase-card-glow,
.phase-card.is-active .phase-card-glow {
  opacity: 1;
}

/* Top Shimmer Progress Bar */
.phase-top-bar {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  background: transparent;
}
.phase-top-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563EB, #38BDF8, #34D399);
  transition: width 0.3s ease;
}
.phase-card.is-active .phase-top-bar-fill {
  animation: phaseTopFill 4.2s linear forwards;
}

/* Phase Header */
.phase-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.phase-meta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phase-number-wrap {
  position: relative;
  width: 44px;
  height: 44px;
}

.phase-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
  border: 2px solid rgba(56, 189, 248, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phase-card:hover .phase-number,
.phase-card.is-active .phase-number {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6);
}

.phase-pulse-dot {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #34D399;
  border: 2px solid var(--bg-surface);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.phase-card.is-active .phase-pulse-dot {
  opacity: 1;
  animation: pulseDot 1.6s infinite;
}

.phase-labels {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phase-step-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #38BDF8;
}
[data-theme="light"] .phase-step-tag {
  color: #1D4ED8;
}

.phase-duration-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Phase Architectural Icon Bubble */
.phase-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.phase-icon-bubble svg {
  width: 20px;
  height: 20px;
}
[data-theme="light"] .phase-icon-bubble {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #2563EB;
}

.phase-card:hover .phase-icon-bubble,
.phase-card.is-active .phase-icon-bubble {
  transform: scale(1.1);
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(56, 189, 248, 0.45);
  color: #60A5FA;
}
[data-theme="light"] .phase-card:hover .phase-icon-bubble,
[data-theme="light"] .phase-card.is-active .phase-icon-bubble {
  background: #DBEAFE;
  border-color: #93C5FD;
  color: #1D4ED8;
}

/* Phase Body */
.phase-card-body {
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
  flex: 1;
}

.phase-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.35;
}

.phase-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Key Deliverable Box */
.phase-deliverable-box {
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  transition: all 0.25s ease;
}
[data-theme="light"] .phase-deliverable-box {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.phase-card:hover .phase-deliverable-box,
.phase-card.is-active .phase-deliverable-box {
  background: rgba(37, 99, 235, 0.09);
  border-color: rgba(56, 189, 248, 0.3);
}
[data-theme="light"] .phase-card:hover .phase-deliverable-box,
[data-theme="light"] .phase-card.is-active .phase-deliverable-box {
  background: #F0F9FF;
  border-color: #BAE6FD;
}

.phase-del-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.phase-del-icon {
  width: 14px;
  height: 14px;
  color: #34D399;
  flex-shrink: 0;
}
[data-theme="light"] .phase-del-icon {
  color: #059669;
}

.phase-del-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-subtle);
}

.phase-del-val {
  font-size: 12px;
  font-weight: 700;
  color: #38BDF8;
  line-height: 1.5;
}
[data-theme="light"] .phase-del-val {
  color: #0284C7;
}

.phase-transition-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: color 0.25s ease;
}
[data-theme="light"] .phase-transition-footer {
  border-top-color: #E2E8F0;
}

.phase-card:hover .phase-transition-footer,
.phase-card.is-active .phase-transition-footer {
  color: #38BDF8;
}
[data-theme="light"] .phase-card:hover .phase-transition-footer,
[data-theme="light"] .phase-card.is-active .phase-transition-footer {
  color: #0284C7;
}

.phase-transition-footer.is-final {
  color: #34D399;
}
[data-theme="light"] .phase-transition-footer.is-final {
  color: #059669;
}

.phase-trans-label {
  font-size: 11.5px;
  line-height: 1.4;
  flex: 1;
}

.phase-trans-arrow {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.phase-trans-arrow svg {
  width: 14px;
  height: 14px;
}
html[dir="rtl"] .phase-trans-arrow svg {
  transform: rotate(180deg);
}

.phase-card:hover .phase-trans-arrow,
.phase-card.is-active .phase-trans-arrow {
  transform: translateX(-4px);
}
html[dir="ltr"] .phase-card:hover .phase-trans-arrow,
html[dir="ltr"] .phase-card.is-active .phase-trans-arrow {
  transform: translateX(4px);
}

/* 4. Desktop Inter-Card Flow Connector */
.phase-inter-connector {
  display: none;
}
@media (min-width: 1024px) {
  .phase-inter-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 48px;
    inset-inline-end: -29px;
    width: 30px;
    height: 20px;
    z-index: 5;
    pointer-events: none;
  }
}

.connector-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(56, 189, 248, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="light"] .connector-track {
  background: rgba(37, 99, 235, 0.25);
}

.connector-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #38BDF8, transparent);
  opacity: 0.5;
}

.connector-particle {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 10px #38BDF8;
  animation: travelPulseRTL 1.8s linear infinite;
}
html[dir="ltr"] .connector-particle {
  animation: travelPulseLTR 1.8s linear infinite;
}

.phase-inter-connector.is-streaming .connector-particle {
  background: #34D399;
  box-shadow: 0 0 14px #34D399, 0 0 6px #60A5FA;
  animation-duration: 0.9s;
}

.connector-chevrons-wrap {
  display: flex;
  align-items: center;
  gap: 3px;
  position: absolute;
}
html[dir="rtl"] .connector-chevrons-wrap {
  flex-direction: row-reverse;
}

.chevron-arrow {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #38BDF8;
  border-top: 1.5px solid #38BDF8;
  transform: rotate(45deg);
  opacity: 0.3;
  animation: chevronPulse 1.4s ease-in-out infinite;
}
html[dir="rtl"] .chevron-arrow {
  border-right: none;
  border-top: none;
  border-left: 1.5px solid #38BDF8;
  border-bottom: 1.5px solid #38BDF8;
}

.chevron-arrow.c-1 { animation-delay: 0s; }
.chevron-arrow.c-2 { animation-delay: 0.25s; }
.chevron-arrow.c-3 { animation-delay: 0.5s; }

/* Keyframe Animations for Process Flow */
@keyframes travelPulseRTL {
  0% {
    right: -2px;
    opacity: 0;
    transform: scale(0.6);
  }
  25% {
    opacity: 1;
    transform: scale(1.2);
  }
  75% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    right: 100%;
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes travelPulseLTR {
  0% {
    left: -2px;
    opacity: 0;
    transform: scale(0.6);
  }
  25% {
    opacity: 1;
    transform: scale(1.2);
  }
  75% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    left: 100%;
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes chevronPulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes phaseTopFill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes pulseDot {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

@keyframes conduitBeamFlowRTL {
  0% {
    right: -40%;
  }
  100% {
    right: 120%;
  }
}

@keyframes conduitBeamFlowLTR {
  0% {
    left: -40%;
  }
  100% {
    left: 120%;
  }
}

/* ==========================================================================
   Why Mosaed Section (Manifesto & 3 Pillar Cards)
   ========================================================================== */
.why-section {
  padding-block: clamp(64px, 8vw, 100px);
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   Why Mosaed Section - Executive Manifesto Card & 3 Pillars
   ========================================================================== */

/* 1. Core Manifesto Doctrine Card */
.manifesto-card {
  position: relative;
  margin-bottom: 56px;
  border-radius: var(--radius-2xl, 24px);
  background: linear-gradient(135deg, rgba(12, 25, 48, 0.94) 0%, rgba(6, 14, 28, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 24px 60px -15px rgba(2, 6, 23, 0.8), 0 0 36px -10px rgba(56, 189, 248, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(28px, 4vw, 44px);
}

.manifesto-ambient-glow {
  position: absolute;
  top: -60px;
  inset-inline-end: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.12) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(48px);
}

/* Background Architectural Brand Watermark */
.manifesto-brand-watermark {
  position: absolute;
  bottom: -40px;
  inset-inline-end: -20px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  user-select: none;
  opacity: 0.08;
  transform: rotate(-10deg);
  transition: opacity 0.3s ease, transform 0.4s ease;
  z-index: 1;
}

.manifesto-brand-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.4));
}

.manifesto-card:hover .manifesto-brand-watermark {
  opacity: 0.12;
  transform: rotate(-6deg) scale(1.03);
}

@media (max-width: 768px) {
  .manifesto-brand-watermark {
    width: 220px;
    height: 220px;
    opacity: 0.05;
    bottom: -20px;
    inset-inline-end: -10px;
  }
}

.manifesto-content-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .manifesto-content-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
  }
}

.manifesto-main {
  flex: 1;
}

.manifesto-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  max-width: 100%;
}

@media (max-width: 480px) {
  .manifesto-top-badge {
    font-size: 11px;
    padding: 5px 12px;
    gap: 6px;
    letter-spacing: 0.02em;
  }
}

.manifesto-badge-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(56, 189, 248, 0.5));
}

.manifesto-quote-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

/* Executive Brand Emblem Seal (Replacing generic quote box) */
.manifesto-brand-emblem-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(37, 99, 235, 0.28) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 8px 24px -4px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-top: 4px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.manifesto-card:hover .manifesto-brand-emblem-wrap {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 12px 30px -4px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.manifesto-brand-emblem {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 82, 255, 0.4));
}

.manifesto-emblem-quote-mark {
  position: absolute;
  bottom: -4px;
  inset-inline-end: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0284C7;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(12, 25, 48, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.manifesto-quote {
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 800;
  line-height: 1.55;
  color: #F8FAFC;
  margin: 0;
  text-wrap: balance;
}

.manifesto-author-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  padding-inline-start: clamp(0px, 4vw, 68px);
}

/* Author Signature Brand */
.manifesto-author-brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.manifesto-author-brand:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
}

.manifesto-signature-logo {
  height: 18px;
  width: auto;
  object-fit: contain;
  display: block;
}

.manifesto-author-name {
  font-weight: 800;
  color: #7DD3FC;
}

.manifesto-author-dash {
  color: rgba(255, 255, 255, 0.3);
}

.manifesto-author-role {
  color: #94A3B8;
  font-weight: 500;
}

.manifesto-aside-badge {
  flex-shrink: 0;
}

.aside-stat-bubble {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.aside-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aside-stat-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.aside-stat-content {
  display: flex;
  flex-direction: column;
}

.aside-stat-val {
  font-size: 26px;
  font-weight: 900;
  color: #38BDF8;
  line-height: 1;
  font-family: var(--font-english, monospace);
}

.aside-stat-sub {
  font-size: 12px;
  font-weight: 700;
  color: #E2E8F0;
  line-height: 1.4;
  margin-top: 5px;
}

/* Light Theme Overrides for Manifesto Card */
[data-theme="light"] .manifesto-card {
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 60%, #EEF4FF 100%);
  border: 1px solid #BFDBFE;
  box-shadow: 0 20px 48px -12px rgba(37, 99, 235, 0.12), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .manifesto-ambient-glow {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
}

[data-theme="light"] .manifesto-brand-watermark {
  opacity: 0.055;
}

[data-theme="light"] .manifesto-brand-watermark img {
  filter: drop-shadow(0 0 24px rgba(37, 99, 235, 0.2));
}

[data-theme="light"] .manifesto-card:hover .manifesto-brand-watermark {
  opacity: 0.09;
}

[data-theme="light"] .manifesto-brand-emblem-wrap {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
  border-color: #BFDBFE;
  box-shadow: 0 8px 22px -4px rgba(37, 99, 235, 0.16), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .manifesto-emblem-quote-mark {
  background: #2563EB;
  border-color: #FFFFFF;
}

[data-theme="light"] .manifesto-author-brand {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .manifesto-top-badge {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

[data-theme="light"] .manifesto-quote {
  color: #0F172A;
}

[data-theme="light"] .manifesto-author-name {
  color: #1D4ED8;
}

[data-theme="light"] .manifesto-author-role {
  color: #64748B;
}

[data-theme="light"] .aside-stat-bubble {
  background: #FFFFFF;
  border-color: #BFDBFE;
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.1), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .aside-stat-icon-wrap {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

[data-theme="light"] .aside-stat-val {
  color: #1D4ED8;
}

[data-theme="light"] .aside-stat-sub {
  color: #334155;
}

/* 2. Three Editorial Pillar Columns */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 992px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  position: relative;
  background: linear-gradient(170deg, rgba(16, 26, 46, 0.85) 0%, rgba(10, 17, 32, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl, 20px);
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.35s ease, 
              border-color 0.35s ease;
  cursor: default;
}

.pillar-card:hover {
  transform: translateY(-8px);
}

.pillar-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Top Indicator Bar */
.pillar-top-indicator {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.pillar-indicator-line {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.pillar-indicator-dot {
  position: absolute;
  top: -1px;
  width: 22px;
  height: 5px;
  border-radius: 999px;
}

/* Header Row: Meta Badge & Category Tag */
.pillar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.pillar-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pillar-num-label {
  opacity: 0.75;
  font-size: 10px;
  font-weight: 700;
}

.pillar-num {
  font-weight: 900;
  font-size: 12px;
  font-family: var(--font-english, monospace);
}

.pillar-category-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-subtle, #94A3B8);
}

/* Headline Block: Icon Bubble & Title */
.pillar-headline-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pillar-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon-bubble svg {
  width: 24px;
  height: 24px;
}

.pillar-title {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.38;
  margin: 0;
}

.pillar-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 20px;
}

/* Checklist Points */
.pillar-points-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pillar-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary, #CBD5E1);
}

.point-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.point-check-icon svg {
  width: 12px;
  height: 12px;
}

/* Strategic Outcome Box */
.pillar-outcome-box {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.pillar-outcome-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-outcome-icon svg {
  width: 14px;
  height: 14px;
}

.pillar-outcome-text {
  flex: 1;
}

/* Glow Backgrounds */
.pillar-card-glow {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.7;
}

/* Bottom Border Glow Line */
.pillar-card-line {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  opacity: 0.35;
  transition: opacity 0.35s ease, height 0.35s ease;
}

.pillar-card:hover .pillar-card-line {
  opacity: 1;
  height: 3px;
}

/* --- Pillar 01 Color Variant: Cyan (Business First & ROI) --- */
.pillar-cyan .pillar-card-glow {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32) 0%, transparent 70%);
}
.pillar-cyan .pillar-indicator-line {
  background: linear-gradient(90deg, transparent, #38BDF8, transparent);
}
.pillar-cyan .pillar-indicator-dot {
  background: #38BDF8;
  box-shadow: 0 0 10px #38BDF8;
}
.pillar-cyan .pillar-meta-badge {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.28);
}
.pillar-cyan .pillar-icon-bubble {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(37, 99, 235, 0.12) 100%);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 6px 18px -3px rgba(56, 189, 248, 0.25);
}
.pillar-cyan .point-check-icon {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}
.pillar-cyan .pillar-outcome-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #E0F2FE;
}
.pillar-cyan .pillar-outcome-icon {
  background: rgba(56, 189, 248, 0.2);
  color: #38BDF8;
}
.pillar-cyan .pillar-card-line {
  background: linear-gradient(90deg, transparent, #38BDF8, transparent);
}
.pillar-cyan:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.35), 0 0 25px rgba(56, 189, 248, 0.15);
}

/* --- Pillar 02 Color Variant: Indigo (Ownership & No Lock-in) --- */
.pillar-indigo .pillar-card-glow {
  background: radial-gradient(circle, rgba(129, 140, 248, 0.32) 0%, transparent 70%);
}
.pillar-indigo .pillar-indicator-line {
  background: linear-gradient(90deg, transparent, #818CF8, transparent);
}
.pillar-indigo .pillar-indicator-dot {
  background: #818CF8;
  box-shadow: 0 0 10px #818CF8;
}
.pillar-indigo .pillar-meta-badge {
  background: rgba(129, 140, 248, 0.12);
  color: #A5B4FC;
  border: 1px solid rgba(129, 140, 248, 0.28);
}
.pillar-indigo .pillar-icon-bubble {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.2) 0%, rgba(79, 70, 229, 0.12) 100%);
  color: #A5B4FC;
  border: 1px solid rgba(129, 140, 248, 0.35);
  box-shadow: 0 6px 18px -3px rgba(129, 140, 248, 0.25);
}
.pillar-indigo .point-check-icon {
  background: rgba(129, 140, 248, 0.15);
  color: #A5B4FC;
}
.pillar-indigo .pillar-outcome-box {
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.22);
  color: #EEF2FF;
}
.pillar-indigo .pillar-outcome-icon {
  background: rgba(129, 140, 248, 0.2);
  color: #A5B4FC;
}
.pillar-indigo .pillar-card-line {
  background: linear-gradient(90deg, transparent, #818CF8, transparent);
}
.pillar-indigo:hover {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 20px 45px -10px rgba(99, 102, 241, 0.35), 0 0 25px rgba(129, 140, 248, 0.15);
}

/* --- Pillar 03 Color Variant: Emerald (Strategic Alliance) --- */
.pillar-emerald .pillar-card-glow {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.32) 0%, transparent 70%);
}
.pillar-emerald .pillar-indicator-line {
  background: linear-gradient(90deg, transparent, #34D399, transparent);
}
.pillar-emerald .pillar-indicator-dot {
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
}
.pillar-emerald .pillar-meta-badge {
  background: rgba(52, 211, 153, 0.12);
  color: #6EE7B7;
  border: 1px solid rgba(52, 211, 153, 0.28);
}
.pillar-emerald .pillar-icon-bubble {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(16, 185, 129, 0.12) 100%);
  color: #6EE7B7;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 6px 18px -3px rgba(52, 211, 153, 0.25);
}
.pillar-emerald .point-check-icon {
  background: rgba(52, 211, 153, 0.15);
  color: #6EE7B7;
}
.pillar-emerald .pillar-outcome-box {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.22);
  color: #ECFDF5;
}
.pillar-emerald .pillar-outcome-icon {
  background: rgba(52, 211, 153, 0.2);
  color: #6EE7B7;
}
.pillar-emerald .pillar-card-line {
  background: linear-gradient(90deg, transparent, #34D399, transparent);
}
.pillar-emerald:hover {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 20px 45px -10px rgba(16, 185, 129, 0.35), 0 0 25px rgba(52, 211, 153, 0.15);
}

[data-theme="light"] .pillar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 32px -4px rgba(15, 23, 42, 0.07), 0 2px 8px -2px rgba(15, 23, 42, 0.03), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .pillar-card:hover {
  transform: translateY(-8px);
  border-color: #38BDF8;
  box-shadow: 0 20px 44px -8px rgba(37, 99, 235, 0.15), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .pillar-card .pillar-title {
  color: #0F172A;
  font-weight: 800;
}

[data-theme="light"] .pillar-card .pillar-desc {
  color: #334155;
  line-height: 1.68;
}

[data-theme="light"] .pillar-points-list {
  border-top-color: #E2E8F0;
}

[data-theme="light"] .pillar-point-item {
  color: #1E293B;
  font-weight: 600;
}

[data-theme="light"] .pillar-step-tag {
  color: #475569;
  font-weight: 700;
}

[data-theme="light"] .pillar-cyan {
  border-color: #E2E8F0;
}
[data-theme="light"] .pillar-cyan:hover {
  border-color: #93C5FD;
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.16);
}
[data-theme="light"] .pillar-cyan .pillar-meta-badge {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}
[data-theme="light"] .pillar-cyan .pillar-icon-bubble {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}
[data-theme="light"] .pillar-cyan .point-check-icon {
  background: #EFF6FF;
  color: #1D4ED8;
}
[data-theme="light"] .pillar-cyan .pillar-outcome-box {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0369A1;
}
[data-theme="light"] .pillar-cyan .pillar-outcome-icon {
  background: #E0F2FE;
  color: #0284C7;
}

[data-theme="light"] .pillar-indigo {
  border-color: #E2E8F0;
}
[data-theme="light"] .pillar-indigo:hover {
  border-color: #C7D2FE;
  box-shadow: 0 16px 36px -8px rgba(99, 102, 241, 0.16);
}
[data-theme="light"] .pillar-indigo .pillar-meta-badge {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
}
[data-theme="light"] .pillar-indigo .pillar-icon-bubble {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
}
[data-theme="light"] .pillar-indigo .point-check-icon {
  background: #EEF2FF;
  color: #4338CA;
}
[data-theme="light"] .pillar-indigo .pillar-outcome-box {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
}
[data-theme="light"] .pillar-indigo .pillar-outcome-icon {
  background: #E0E7FF;
  color: #4F46E5;
}

[data-theme="light"] .pillar-emerald {
  border-color: #E2E8F0;
}
[data-theme="light"] .pillar-emerald:hover {
  border-color: #A7F3D0;
  box-shadow: 0 16px 36px -8px rgba(16, 185, 129, 0.16);
}
[data-theme="light"] .pillar-emerald .pillar-meta-badge {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
}
[data-theme="light"] .pillar-emerald .pillar-icon-bubble {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
}
[data-theme="light"] .pillar-emerald .point-check-icon {
  background: #ECFDF5;
  color: #047857;
}
[data-theme="light"] .pillar-emerald .pillar-outcome-box {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
}
[data-theme="light"] .pillar-emerald .pillar-outcome-icon {
  background: #D1FAE5;
  color: #059669;
}

/* ==========================================================================
   Portfolio Section - Selected Deployments (أعمالنا ومشاريعنا المنجزة)
   ========================================================================== */
.portfolio-section {
  padding-block: clamp(70px, 9vw, 110px);
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.portfolio-ambient-glow {
  position: absolute;
  top: -100px;
  inset-inline-start: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(99, 102, 241, 0.06) 45%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.portfolio-brand-backdrop {
  position: absolute;
  top: 50%;
  inset-inline-end: -60px;
  transform: translateY(-50%) rotate(8deg);
  width: 480px;
  height: 480px;
  pointer-events: none;
  user-select: none;
  opacity: 0.045;
  filter: drop-shadow(0 0 60px rgba(56, 189, 248, 0.3));
  z-index: 0;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .portfolio-brand-backdrop {
  opacity: 0.035;
  filter: grayscale(1) opacity(0.5);
}

.portfolio-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.portfolio-header-content {
  max-width: 680px;
}

.portfolio-kicker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.portfolio-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #34D399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.portfolio-pulse-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-beacon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-beacon {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}

/* Portfolio Cards Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--radius-2xl, 24px);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(9, 15, 29, 0.96) 100%);
  border: 1px solid rgba(56, 189, 248, 0.16);
  box-shadow: 0 20px 48px -12px rgba(2, 6, 23, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  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;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 28px 60px -15px rgba(14, 165, 233, 0.22), 0 0 30px rgba(56, 189, 248, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Big Image Banner at card top */
.portfolio-card-img-banner {
  width: 100%;
  height: 200px;
  background: #FFFFFF;
  border-radius: 22px 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.portfolio-card-img-banner.banner-dark {
  background: #0F1C2E;
  border-bottom-color: rgba(56, 189, 248, 0.08);
}

.portfolio-card:hover .portfolio-card-img-banner {
  opacity: 0.92;
}

.portfolio-client-img {
  max-height: 100px;
  max-width: 75%;
  width: auto;
  object-fit: contain;
  display: block;
}

.portfolio-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.portfolio-client-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.portfolio-client-img {
  max-height: 90px;
  max-width: 80%;
  width: auto;
  object-fit: contain;
  display: block;
}

.portfolio-client-emblem-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.client-emblem-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(14, 165, 233, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  flex-shrink: 0;
}

.client-emblem-name {
  font-size: 1rem;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: -0.01em;
}

.portfolio-cat-badge {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  color: #7DD3FC;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.portfolio-status-dot-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  color: #34D399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.status-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #10B981;
}

/* Card Body Typography */
.portfolio-card-body {
  flex: 1;
  padding: 24px 28px 0;
}

.portfolio-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.4;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.portfolio-card-system-type {
  font-size: 0.82rem;
  font-weight: 600;
  color: #38BDF8;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.portfolio-card-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.7;
  margin: 0;
}

/* Card Foot Action */
.portfolio-card-foot {
  padding: 20px 28px 28px;
}

.portfolio-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 18px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #38BDF8;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.portfolio-card-cta:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(14, 165, 233, 0.25) 100%);
  border-color: rgba(56, 189, 248, 0.5);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
}

.portfolio-card-cta .cta-arrow-icon {
  transition: transform 0.25s ease;
}

[dir="rtl"] .portfolio-card-cta .cta-arrow-icon {
  transform: rotate(180deg);
}

.portfolio-card-cta:hover .cta-arrow-icon {
  transform: translateX(-4px);
}

[dir="rtl"] .portfolio-card-cta:hover .cta-arrow-icon {
  transform: rotate(180deg) translateX(4px);
}

/* Bottom Consultation Prompt Banner */
.portfolio-bottom-banner {
  margin-top: 48px;
  padding: 24px 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(10, 18, 36, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.portfolio-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 780px;
}

.portfolio-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  flex-shrink: 0;
}

.portfolio-banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 4px;
}

.portfolio-banner-desc {
  font-size: 0.86rem;
  color: #94A3B8;
  margin: 0;
  line-height: 1.5;
}

.portfolio-banner-btn {
  flex-shrink: 0;
}

/* Light Mode Overrides for Portfolio Section */
[data-theme="light"] .portfolio-section {
  background-color: #F8FAFC;
}

[data-theme="light"] .portfolio-filter-bar {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .portfolio-filter-btn {
  color: #64748B;
}

[data-theme="light"] .portfolio-filter-btn:hover {
  color: #0F172A;
  background: #F1F5F9;
}

[data-theme="light"] .portfolio-filter-btn.is-active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #2563EB 0%, #0284C7 100%);
}

[data-theme="light"] .portfolio-card {
  background: #FFFFFF;
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .portfolio-card-img-banner {
  background: #F8FAFC;
  border-bottom-color: #E2E8F0;
}

[data-theme="light"] .portfolio-card:hover .portfolio-card-img-banner {
  background: #F1F5F9;
}

[data-theme="light"] .portfolio-card-title {
  color: #0F172A;
}

[data-theme="light"] .portfolio-card-desc {
  color: #475569;
}

[data-theme="light"] .client-emblem-name {
  color: #0F172A;
}

[data-theme="light"] .portfolio-card-system-type {
  color: #0284C7;
}

[data-theme="light"] .portfolio-card-cta {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0284C7;
}

[data-theme="light"] .portfolio-card-cta:hover {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  color: #FFFFFF;
}

[data-theme="light"] .portfolio-bottom-banner {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .portfolio-banner-title {
  color: #0F172A;
}

[data-theme="light"] .portfolio-banner-desc {
  color: #334155;
}

/* Responsive Media Queries */
@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card-img-banner {
    height: 140px;
  }

  .portfolio-bottom-banner {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-banner-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Lead Form Section - Executive Consultation Hub
   ========================================================================== */
.lead-section {
  padding-block: clamp(64px, 8vw, 100px);
  background-color: var(--bg-surface-tint);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

/* 1. Master Unified Console Card */
.consult-hub-card {
  position: relative;
  border-radius: var(--radius-2xl, 24px);
  background: linear-gradient(150deg, rgba(13, 23, 42, 0.94) 0%, rgba(7, 14, 27, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 24px 64px -12px rgba(2, 6, 23, 0.85), 0 0 40px -10px rgba(56, 189, 248, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.consult-ambient-glow {
  position: absolute;
  top: -120px;
  inset-inline-end: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(99, 102, 241, 0.1) 40%, transparent 70%);
  filter: blur(64px);
  pointer-events: none;
  z-index: 1;
}

.consult-hub-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .consult-hub-layout {
    grid-template-columns: 1.25fr 0.95fr;
    gap: 48px;
    align-items: start;
  }
}

/* 2. Form Column (Clean, Low-Friction) */
.consult-form-column {
  display: flex;
  flex-direction: column;
}

.consult-form-header {
  margin-bottom: 20px;
}

.consult-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #38BDF8;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.consult-form-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  color: #F8FAFC;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  line-height: 1.32;
}

.consult-form-desc {
  font-size: 13.5px;
  color: var(--text-muted, #94A3B8);
  line-height: 1.6;
}

/* Compact Objective Selector (Goal Chips) */
.chips-block {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chips-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.chips-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-main, #F1F5F9);
}

.chips-optional-hint {
  font-size: 11px;
  color: var(--text-subtle, #64748B);
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #CBD5E1;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip-btn:hover {
  border-color: rgba(56, 189, 248, 0.35);
  color: #FFFFFF;
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-1px);
}

.chip-btn.is-selected {
  background: linear-gradient(135deg, #0284C7 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border-color: #38BDF8;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-subtle, #64748B);
  display: inline-block;
}
.chip-btn.is-selected .chip-dot {
  background: #FFFFFF;
}

.chip-check-icon {
  width: 12px;
  height: 12px;
  stroke: #FFFFFF;
  flex-shrink: 0;
}

/* Fast Form Fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main, #F1F5F9);
}

.text-input, 
.textarea-input {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(10, 18, 33, 0.85);
  color: #F8FAFC;
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.textarea-input {
  resize: vertical;
  min-height: 64px;
  line-height: 1.5;
}

.text-input:focus, 
.textarea-input:focus {
  outline: none;
  border-color: #38BDF8;
  background-color: rgba(10, 18, 33, 0.95);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

.field-error {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--danger, #EF4444);
}

/* Phone Selector */
.phone-input-wrap {
  display: flex;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(10, 18, 33, 0.85);
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.phone-input-wrap:focus-within {
  border-color: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

.country-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  background-color: rgba(15, 23, 42, 0.6);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  flex-shrink: 0;
  color: #F8FAFC;
}
html[dir="rtl"] .country-trigger {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.phone-raw-input {
  flex: 1;
  padding: 10px 13px;
  border: none;
  background: transparent;
  color: #F8FAFC;
  font-size: 13.5px;
}
.phone-raw-input:focus {
  outline: none;
}

.country-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  width: min(300px, 90vw);
  max-height: 250px;
  background-color: #0F172A;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.country-dropdown.is-open {
  display: flex;
}
.country-search-box {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.country-search-input {
  width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0A1221;
  color: #F8FAFC;
  font-size: 12px;
}
.country-list {
  overflow-y: auto;
  flex: 1;
}
.country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  color: #E2E8F0;
}
.country-item:hover {
  background-color: rgba(56, 189, 248, 0.12);
}
.country-item-flag {
  margin-inline-end: 8px;
  font-size: 15px;
}
.country-item-name {
  flex: 1;
  font-weight: 600;
}
.country-item-code {
  color: var(--text-subtle, #94A3B8);
  font-weight: 700;
  font-family: var(--font-english, monospace);
}

/* Submit Block */
.form-submit-wrap {
  margin-top: 4px;
}

.consult-submit-btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 800;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284C7 0%, #1D4ED8 100%);
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.consult-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.6);
}

.form-submit-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  text-align: center;
}
.form-submit-guarantee svg {
  color: #38BDF8;
  flex-shrink: 0;
}

/* Form Success Card */
.form-success-card {
  display: none;
  text-align: center;
  padding: 36px 16px;
}
.form-success-card.is-visible {
  display: block;
}
.success-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(5, 150, 105, 0.18);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(5, 150, 105, 0.35);
}
.success-title {
  font-size: 20px;
  font-weight: 800;
  color: #F8FAFC;
  margin-bottom: 8px;
}
.success-msg {
  font-size: 13.5px;
  color: #CBD5E1;
  max-width: 440px;
  margin-inline: auto;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* 3. Assurance & Deliverables Column (Right side in RTL) */
.consult-assurance-column {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.assurance-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.assurance-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.assurance-icon-tag {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.assurance-icon-tag svg {
  width: 20px;
  height: 20px;
}

.assurance-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0;
  line-height: 1.3;
}

.assurance-subtitle {
  font-size: 11.5px;
  color: #94A3B8;
  margin: 2px 0 0;
}

.assurance-points-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.assurance-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.point-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.point-icon-box svg {
  width: 15px;
  height: 15px;
}

.point-text-block {
  flex: 1;
}

.point-main-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #F1F5F9;
  margin: 0 0 2px;
  line-height: 1.35;
}

.point-sub-desc {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

/* NDA Seal */
.nda-seal-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #6EE7B7;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 18px;
}
.nda-seal-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nda-seal-icon svg {
  width: 16px;
  height: 16px;
}
.nda-seal-text {
  flex: 1;
  line-height: 1.4;
}

/* Direct Channels Dock */
.direct-channels-dock {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.dock-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #94A3B8;
  display: block;
  margin-bottom: 9px;
}

.dock-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 480px) and (max-width: 1023px) {
  .dock-links {
    flex-direction: row;
  }
}

.dock-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.dock-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dock-btn-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #4ADE80;
}
.dock-btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.dock-btn-email {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7DD3FC;
}
.dock-btn-email:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   Light Mode Overrides for Executive Consultation Hub
   ========================================================================== */
[data-theme="light"] .consult-hub-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.08), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .consult-ambient-glow {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(99, 102, 241, 0.06) 40%, transparent 70%);
}

[data-theme="light"] .consult-kicker-badge {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

[data-theme="light"] .consult-form-title {
  color: #0F172A;
}

[data-theme="light"] .consult-form-desc {
  color: #334155;
}

[data-theme="light"] .chips-block {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

[data-theme="light"] .chips-label {
  color: #0F172A;
}

[data-theme="light"] .chips-optional-hint {
  color: #475569;
}

[data-theme="light"] .chip-btn {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #1E293B;
  font-weight: 700;
}
[data-theme="light"] .chip-btn:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}
[data-theme="light"] .chip-btn.is-selected {
  background: #2563EB;
  border-color: #1D4ED8;
  color: #FFFFFF;
}

[data-theme="light"] .field-label {
  color: #1E293B;
}

[data-theme="light"] .text-input, 
[data-theme="light"] .textarea-input {
  background-color: #FFFFFF;
  border-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .text-input:focus, 
[data-theme="light"] .textarea-input:focus {
  border-color: #2563EB;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .phone-input-wrap {
  background-color: #FFFFFF;
  border-color: #CBD5E1;
}
[data-theme="light"] .phone-input-wrap:focus-within {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .country-trigger {
  background-color: #F1F5F9;
  border-inline-end-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .phone-raw-input {
  color: #0F172A;
}

[data-theme="light"] .country-dropdown {
  background-color: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
}
[data-theme="light"] .country-search-box {
  border-bottom-color: #E2E8F0;
}
[data-theme="light"] .country-search-input {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}
[data-theme="light"] .country-item {
  color: #1E293B;
}
[data-theme="light"] .country-item:hover {
  background-color: #EFF6FF;
}

[data-theme="light"] .consult-submit-btn {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  border-color: #1D4ED8;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.35);
}

[data-theme="light"] .form-submit-guarantee {
  color: #334155;
  font-weight: 600;
}

[data-theme="light"] .consult-assurance-column {
  background: #F8FAFC;
  border-color: #E2E8F0;
  box-shadow: inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .assurance-header {
  border-bottom-color: #E2E8F0;
}
[data-theme="light"] .assurance-icon-tag {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #2563EB;
}
[data-theme="light"] .assurance-title {
  color: #0F172A;
}
[data-theme="light"] .assurance-subtitle {
  color: #64748B;
}

[data-theme="light"] .point-icon-box {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #2563EB;
}
[data-theme="light"] .point-main-title {
  color: #0F172A;
}
[data-theme="light"] .point-sub-desc {
  color: #475569;
}

[data-theme="light"] .nda-seal-pill {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
}

[data-theme="light"] .direct-channels-dock {
  border-top-color: #E2E8F0;
}
[data-theme="light"] .dock-label {
  color: #64748B;
}
[data-theme="light"] .dock-btn-whatsapp {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #16A34A;
}
[data-theme="light"] .dock-btn-email {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

/* ==========================================================================
   Corporate Footer - Executive Upgrade & Architectural Brand Backdrop
   ========================================================================== */
.site-footer {
  background-color: #040811;
  color: #94A3B8;
  padding-top: clamp(60px, 8vw, 92px);
  padding-bottom: 40px;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Horizon Ambient Glow Bar */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0284C7 20%, #38BDF8 50%, #818CF8 80%, transparent);
  opacity: 0.8;
}

/* Architectural Brand Logo Backdrop in Footer */
.footer-brand-backdrop {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 46vw, 700px);
  height: clamp(420px, 46vw, 700px);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.065;
  transition: opacity 0.4s ease;
}

.footer-brand-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 80px rgba(56, 189, 248, 0.45));
}

.footer-brand-backdrop-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(37, 99, 235, 0.08) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 1;
}

/* Grid Layout */
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 5fr 3fr 4.2fr;
    gap: 48px;
    align-items: flex-start;
  }
}

/* 1. Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-link-footer {
  display: inline-block;
  margin-bottom: 4px;
}

.footer-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.02em;
  margin-top: 14px;
  margin-bottom: 12px;
}

.footer-pulse-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  animation: pulseCyanDot 2s infinite ease-in-out;
}

.footer-brand-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #94A3B8;
  max-width: 440px;
  margin-bottom: 20px;
}

.footer-system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #34D399;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.24);
  border-radius: 999px;
  padding: 4px 14px;
}

.status-indicator-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}

/* 2. Navigation Column */
.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #38BDF8, transparent);
  border-radius: 2px;
}

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

.footer-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-item-arrow {
  color: rgba(56, 189, 248, 0.4);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
html[dir="rtl"] .footer-item-arrow {
  transform: rotate(180deg);
}

.footer-nav-item:hover {
  color: #38BDF8;
  transform: translateX(-3px);
}
html[dir="ltr"] .footer-nav-item:hover {
  transform: translateX(3px);
}

.footer-nav-item:hover .footer-item-arrow {
  color: #38BDF8;
}

.footer-nav-highlight {
  color: #38BDF8;
  font-weight: 700;
}

/* 3. Contact & Channels Column */
.footer-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-card,
.footer-coverage-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-contact-card:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(14, 165, 233, 0.2);
}

.contact-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.contact-icon-mail {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #38BDF8;
}

.contact-icon-wa {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #25D366;
}

.contact-icon-geo {
  background: rgba(129, 140, 248, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.28);
  color: #818CF8;
}

.footer-contact-card:hover .contact-card-icon {
  transform: scale(1.08);
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card-label {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
}

.contact-card-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #F1F5F9;
  font-family: inherit;
}

/* 4. Footer Bottom Bar */
.footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12.5px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #64748B;
}

.footer-trust-tag {
  font-size: 11.5px;
  color: #94A3B8;
  font-weight: 500;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12.5px;
  color: #94A3B8;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.back-to-top-btn:hover {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3) 0%, rgba(14, 165, 233, 0.35) 100%);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 6px 18px -2px rgba(14, 165, 233, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   Light Theme Overrides for Site Footer
   ========================================================================== */
[data-theme="light"] .site-footer {
  background-color: #F8FAFC;
  border-top-color: #CBD5E1;
  color: #475569;
}

[data-theme="light"] .site-footer::before {
  background: linear-gradient(90deg, transparent, #BFDBFE 20%, #0284C7 50%, #38BDF8 80%, transparent);
  opacity: 0.6;
}

[data-theme="light"] .footer-brand-backdrop {
  opacity: 0.045;
}

[data-theme="light"] .footer-brand-backdrop img {
  filter: drop-shadow(0 0 60px rgba(37, 99, 235, 0.25));
}

[data-theme="light"] .footer-brand-backdrop-glow {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(56, 189, 248, 0.06) 45%, transparent 70%);
}

[data-theme="light"] .footer-top {
  border-bottom-color: #E2E8F0;
}

[data-theme="light"] .footer-verified-badge {
  color: #0284C7;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.22);
}

[data-theme="light"] .footer-brand-title {
  color: #0F172A;
}

[data-theme="light"] .footer-desc {
  color: #475569;
}

[data-theme="light"] .footer-col-title {
  color: #0F172A;
}

[data-theme="light"] .footer-nav-item {
  color: #475569;
}

[data-theme="light"] .footer-nav-item:hover {
  color: #0284C7;
}

[data-theme="light"] .footer-contact-card,
[data-theme="light"] .footer-coverage-pill {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .footer-contact-card:hover {
  background: #F0F9FF;
  border-color: #BAE6FD;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.12);
}

[data-theme="light"] .contact-card-val {
  color: #0F172A;
}

[data-theme="light"] .footer-bottom-info {
  color: #334155;
  font-weight: 500;
}

[data-theme="light"] .footer-trust-tag {
  color: #475569;
}

[data-theme="light"] .back-to-top-btn {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #475569;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .back-to-top-btn:hover {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0284C7;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.15);
}
