/* ==========================================================================
   MK CYBER CREW (MKCC) - COMPREHENSIVE CYBERSECURITY DESIGN SYSTEM
   Inspired by Systems Dex Editorial Architecture & Visual Quality
   Official Tagline: "Empowering Future Digital Innovators"
   ========================================================================== */

/* --- Typography & Global Tokens --- */
:root {
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --transition-fast: 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Global Dark Theme Tokens (Default) */
  --dark-bg-base: #050B14;
  --dark-bg-surface: #091322;
  --dark-bg-card: #0D1B2E;
  --dark-bg-elevated: #13253F;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-border-subtle: rgba(255, 255, 255, 0.04);
  --dark-border-highlight: rgba(0, 207, 255, 0.32);
  --dark-text-primary: #F8FAFC;
  --dark-text-secondary: #94A3B8;
  --dark-text-muted: #64748B;
  --dark-cyan: #00CFFF;
  --dark-cyan-hover: #38D9FF;
  --dark-blue: #247BFF;
  --dark-blue-hover: #4592FF;

  /* Global Light Theme Tokens */
  --light-bg-base: #F8FAFC;
  --light-bg-surface: #FFFFFF;
  --light-bg-card: #FFFFFF;
  --light-bg-elevated: #F1F5F9;
  --light-border: #E2E8F0;
  --light-border-subtle: #EDF2F7;
  --light-border-highlight: rgba(2, 132, 199, 0.38);
  --light-text-primary: #07111F;
  --light-text-secondary: #475569;
  --light-text-muted: #64748B;
  --light-cyan: #0284C7;
  --light-cyan-hover: #0369A1;
  --light-blue: #1D4ED8;
  --light-blue-hover: #1E40AF;
}

/* --- Dark Theme Active --- */
[data-theme="dark"] {
  --bg-main: var(--dark-bg-base);
  --bg-surface: var(--dark-bg-surface);
  --bg-card: var(--dark-bg-card);
  --bg-card-hover: var(--dark-bg-elevated);
  --bg-card-glass: rgba(13, 27, 46, 0.85);
  --bg-input: #071220;
  --bg-nav: rgba(5, 11, 20, 0.88);
  
  --text-main: var(--dark-text-primary);
  --text-secondary: var(--dark-text-secondary);
  --text-muted: var(--dark-text-muted);
  --text-inverse: #050B14;
  
  --color-primary: var(--dark-cyan);
  --color-primary-hover: var(--dark-cyan-hover);
  --color-primary-glow: rgba(0, 207, 255, 0.18);
  --color-secondary: var(--dark-blue);
  --color-secondary-hover: var(--dark-blue-hover);
  
  --border-color: var(--dark-border);
  --border-subtle: var(--dark-border-subtle);
  --border-highlight: var(--dark-border-highlight);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 32px rgba(0, 207, 255, 0.22);
  
  --badge-bg: rgba(0, 207, 255, 0.08);
  --badge-text: #00CFFF;
  --badge-border: rgba(0, 207, 255, 0.25);
  --footer-bg: #03080F;
  --footer-heading: #F8FAFC;
  --footer-text-muted: #94A3B8;
  --grid-pattern-opacity: 0.05;
}

/* --- Light Theme Active (Systems Dex High-Contrast Editorial) --- */
[data-theme="light"] {
  --bg-main: #FFFFFF;
  --bg-surface: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-card-glass: rgba(255, 255, 255, 0.95);
  --bg-input: #FFFFFF;
  --bg-nav: rgba(255, 255, 255, 0.9);
  
  --text-main: #080808;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  
  --color-primary: #080808;
  --color-primary-hover: #262626;
  --color-primary-glow: rgba(0, 0, 0, 0.08);
  --color-secondary: #00CFFF;
  --color-secondary-hover: #38D9FF;
  
  --border-color: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-highlight: #080808;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 24px rgba(0, 207, 255, 0.15);
  
  --badge-bg: #F1F5F9;
  --badge-text: #080808;
  --badge-border: #CBD5E1;
  --footer-bg: #080808;
  --footer-heading: #FFFFFF;
  --footer-text-muted: #94A3B8;
  --grid-pattern-opacity: 0.03;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.62;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Subtle Grid Texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, var(--grid-pattern-opacity)) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, var(--grid-pattern-opacity)) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

/* Top Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  z-index: 9999;
  transition: width 0.08s linear;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

.main-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
}

/* --- Layout & Typography Helpers --- */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-primary) 70%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #07111F 0%, var(--color-primary) 80%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary { color: var(--color-primary); }
.text-center { text-align: center; }
.text-start { text-align: left; }
.text-end { text-align: right; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow-1 { flex-grow: 1; }

.gap-1 { gap: 0.35rem; }
.gap-2 { gap: 0.65rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }

/* Systems Dex-Inspired Editorial Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}

.section-padding {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.8rem;
}

.section-header.text-center {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.65;
  font-weight: 400;
}

/* --- Grid Systems --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- Buttons (Systems Dex Pill Standard) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.6rem;
  min-height: 48px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.btn-primary {
  background: var(--color-primary);
  color: #050B14;
  border-color: var(--color-primary);
  box-shadow: 0 4px 18px rgba(0, 207, 255, 0.28);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #050B14;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 207, 255, 0.4);
}

/* Systems Dex Hero Buttons */
.hero-section .btn-primary {
  background: #00CFFF;
  color: #050B14;
  border-color: #00CFFF;
  box-shadow: 0 4px 20px rgba(0, 207, 255, 0.35);
}

.hero-section .btn-primary:hover {
  background: #38D9FF;
  border-color: #38D9FF;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 207, 255, 0.5);
}

.hero-section .btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-section .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Light Theme: Primary CTA Standard (Matching Services Page Reference) */
[data-theme="light"] .btn-primary {
  color: #FFFFFF;
  background: #080808;
  border-color: #080808;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

[data-theme="light"] .btn-primary i {
  color: #FFFFFF;
  transition: color var(--transition-fast);
}

[data-theme="light"] .btn-primary:hover {
  color: #FFFFFF;
  background: #0284C7;
  border-color: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .btn-primary:hover i {
  color: #FFFFFF;
}

[data-theme="light"] .btn-primary:focus,
[data-theme="light"] .btn-primary:focus-visible {
  color: #FFFFFF;
  background: #0284C7;
  border-color: #0284C7;
  outline: 2px solid #0284C7;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .btn-primary:active {
  color: #FFFFFF;
  background: #0369A1;
  border-color: #0369A1;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Light Theme: Secondary CTA Standard (Outlined / Subtle Cyan Hover) */
[data-theme="light"] .btn-outline {
  background: transparent;
  border-color: #CBD5E1;
  color: #080808;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

[data-theme="light"] .btn-outline i {
  color: #080808;
  transition: color var(--transition-fast);
}

[data-theme="light"] .btn-outline:hover {
  background: #F0F9FF;
  border-color: #0284C7;
  color: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .btn-outline:hover i {
  color: #0284C7;
}

[data-theme="light"] .btn-outline:focus,
[data-theme="light"] .btn-outline:focus-visible {
  background: #F0F9FF;
  border-color: #0284C7;
  color: #0284C7;
  outline: 2px solid #0284C7;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .btn-outline:active {
  background: #E0F2FE;
  border-color: #0284C7;
  color: #0284C7;
  transform: translateY(0);
}

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

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

.btn-utility-verify {
  background: var(--badge-bg);
  color: var(--color-primary);
  border: 1px solid var(--border-highlight);
  font-size: 0.82rem;
  padding: 0.52rem 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
}

.btn-utility-verify:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #050B14;
}

.btn-footer-lookup {
  background: var(--bg-card);
  color: var(--color-primary);
  border: 1px solid var(--border-highlight);
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.btn-footer-lookup:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #050B14;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.52rem 1.05rem;
  font-size: 0.8rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.w-100 { width: 100%; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-info {
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
}

.badge-success {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.32);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.32);
}

.badge-secondary {
  background: rgba(148, 163, 184, 0.12);
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

/* --- Header & Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-nav);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  background: transparent;
}

.navbar-logo {
  height: 42px;
  width: auto;
  display: block;
  background: transparent;
  transition: transform var(--transition-fast);
}

.navbar-company-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.03);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.45rem 0;
  transition: color var(--transition-fast);
  letter-spacing: -0.01em;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: rotate(15deg);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ==========================================================================
   HERO SECTION (Systems Dex Editorial Standards)
   ========================================================================== */
.hero-section {
  background: #050B14; /* Always deep, sleek obsidian */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section::before {
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(#000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(#000 60%, transparent 100%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  border: 1px solid rgba(0, 207, 255, 0.15);
  border-radius: 50%;
  width: 640px;
  height: 640px;
  position: absolute;
  top: -180px;
  right: -200px;
  box-shadow: 0 0 0 80px rgba(5, 11, 20, 0.6), 0 0 0 81px rgba(36, 123, 255, 0.08), 0 0 0 180px rgba(5, 11, 20, 0.8), 0 0 0 181px rgba(0, 207, 255, 0.05);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4.5rem;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 680px;
  z-index: 3;
}

.hero-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(0, 207, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #00CFFF;
  margin-bottom: 1.25rem;
}

.hero-telemetry-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #00CFFF;
  box-shadow: 0 0 10px #00CFFF;
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0 0 1.5rem;
  color: #FFFFFF;
}

.hero-title .word {
  display: block;
}

.hero-title .word i {
  font-style: normal;
}

.hero-title .word-accent {
  color: #00CFFF;
}

.hero-title .word-muted {
  color: #94A3B8;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.68;
  color: #94A3B8;
  max-width: 580px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 5;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #64748B;
  font-size: 0.86rem;
  font-family: var(--font-mono);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-note div {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-note i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00CFFF;
  box-shadow: 0 0 8px #00CFFF;
}

/* --- High-Contrast Editorial Light Mode Overrides for Hero Section --- */
[data-theme="light"] .hero-section {
  background: #FFFFFF;
  color: #080808;
  border-bottom: 1px solid #E2E8F0;
}

[data-theme="light"] .hero-section::before {
  background-image: linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  mask-image: linear-gradient(#000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
}

[data-theme="light"] .hero-section::after {
  border: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: 0 0 0 80px rgba(248, 250, 252, 0.7), 0 0 0 81px rgba(2, 132, 199, 0.05), 0 0 0 180px rgba(248, 250, 252, 0.85), 0 0 0 181px rgba(2, 132, 199, 0.03);
}

[data-theme="light"] .hero-telemetry-badge {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0284C7;
}

[data-theme="light"] .hero-telemetry-pulse {
  background-color: #0284C7;
  box-shadow: 0 0 10px #0284C7;
}

[data-theme="light"] .hero-title,
[data-theme="light"] .hero-title .hero-title-lead {
  color: #0A1120;
}

[data-theme="light"] .hero-title .word-accent {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
  color: #0284C7;
  font-weight: 800;
}

[data-theme="light"] .hero-title .word-muted {
  color: #64748B;
}

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

[data-theme="light"] .hero-section .btn-primary {
  background: #080808;
  color: #FFFFFF;
  border-color: #080808;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .hero-section .btn-primary:hover {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.38);
}

[data-theme="light"] .hero-section .btn-primary:focus,
[data-theme="light"] .hero-section .btn-primary:focus-visible {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  outline: 2px solid #0284C7;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .hero-section .btn-ghost,
[data-theme="light"] .hero-section .btn-outline {
  background: #FFFFFF;
  color: #080808;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .hero-section .btn-ghost:hover,
[data-theme="light"] .hero-section .btn-outline:hover {
  background: #F0F9FF;
  border-color: #0284C7;
  color: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18);
}

[data-theme="light"] .hero-section .btn-ghost:hover i,
[data-theme="light"] .hero-section .btn-outline:hover i {
  color: #0284C7;
}

[data-theme="light"] .hero-section .btn-ghost:focus,
[data-theme="light"] .hero-section .btn-outline:focus {
  background: #F0F9FF;
  border-color: #0284C7;
  color: #0284C7;
  outline: 2px solid #0284C7;
  outline-offset: 2px;
}

[data-theme="light"] .hero-note {
  color: #64748B;
  border-top: 1px solid #E2E8F0;
}

[data-theme="light"] .hero-note i {
  background: #0284C7;
  box-shadow: 0 0 8px #0284C7;
}

/* --- Dedicated Right-Side Cyber Defense Stage (Light Theme Overrides) --- */
[data-theme="light"] .hero-cyber-stage {
  background: #FFFFFF radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.06) 0%, rgba(240, 249, 255, 0.6) 60%, #FFFFFF 100%);
  border: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .hero-cyber-stage:hover {
  border-color: #0284C7;
  box-shadow: 0 20px 48px rgba(2, 132, 199, 0.14), 0 2px 10px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .stage-badge-live {
  background: #FFFFFF;
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .stage-badge-live .pulse-dot {
  background: #0284C7;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.7);
}

[data-theme="light"] .stage-tag-target {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .stage-bottom-hud {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(2, 132, 199, 0.2);
  backdrop-filter: blur(12px);
}

[data-theme="light"] .stage-hud-chip {
  border-right: 1px solid #E2E8F0;
}

[data-theme="light"] .stage-hud-chip:last-child {
  border-right: none;
}

[data-theme="light"] .stage-hud-label {
  color: #64748B;
}

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

[data-theme="light"] .stage-hud-val.accent {
  color: #0284C7;
}

/* --- Dedicated Right-Side Cyber Defense Stage --- */
.hero-visual-slot {
  width: min(100%, 480px);
  aspect-ratio: 1;
  justify-self: end;
  position: relative;
  perspective: 1200px;
}

.hero-cyber-stage {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 207, 255, 0.06) 0%, rgba(9, 19, 34, 0.85) 60%, #050B14 100%);
  border: 1px solid rgba(0, 207, 255, 0.22);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 32px rgba(0, 207, 255, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease-out, border-color var(--transition-normal);
}

.hero-cyber-stage:hover {
  border-color: rgba(0, 207, 255, 0.45);
}

.hero-stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.stage-top-hud {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 4;
}

.stage-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
}

.stage-badge-live .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.stage-tag-target {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94A3B8;
  letter-spacing: 0.05em;
  background: rgba(5, 11, 20, 0.7);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-bottom-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(5, 11, 20, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  pointer-events: none;
  z-index: 4;
}

.stage-hud-chip {
  padding: 0.65rem 0.85rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.stage-hud-chip:last-child {
  border-right: none;
}

.stage-hud-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.05em;
}

.stage-hud-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #F8FAFC;
}

.stage-hud-val.accent {
  color: #00CFFF;
}

/* ==========================================================================
   TECHNOLOGY STACK MARQUEE BAND (Systems Dex-Inspired Infinite Ticker)
   ========================================================================== */
.stack-band {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
  padding: 1.25rem 0;
  overflow: hidden;
}

.stack-track {
  width: max-content;
  display: flex;
  animation: 32s linear infinite ticker;
}

.stack-track span {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stack-track span::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SYSTEMS DEX ASYMMETRIC BENTO GRID (Services Preview Section)
   ========================================================================== */
.service-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 3.5rem;
}

.service-bento-card {
  border-radius: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 34px;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

/* Card 1: 7-columns, dark featured card */
.service-bento-card:nth-child(1) {
  grid-column: span 7;
  min-height: 390px;
  background: #091322;
  color: #FFFFFF;
  border-color: rgba(0, 207, 255, 0.3);
}

.service-bento-card:nth-child(1)::before {
  content: "";
  border: 1px solid rgba(0, 207, 255, 0.15);
  border-radius: 50%;
  width: 420px;
  height: 420px;
  position: absolute;
  top: -190px;
  right: -130px;
  box-shadow: 0 0 0 50px rgba(0, 207, 255, 0.04), 0 0 0 100px rgba(0, 207, 255, 0.02);
  pointer-events: none;
}

.service-bento-card:nth-child(1) h3 {
  color: #FFFFFF;
}

.service-bento-card:nth-child(1) p {
  color: #94A3B8;
}

.service-bento-card:nth-child(1) .service-bento-num {
  color: #94A3B8;
}

.service-bento-card:nth-child(1) .service-bento-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 207, 255, 0.3);
  color: #00CFFF;
}

.service-bento-card:nth-child(1) a.service-bento-link {
  color: #00CFFF;
}

.service-bento-card:nth-child(1) a.service-bento-link:hover,
.service-bento-card:nth-child(1) a.service-bento-link:focus {
  color: #38D9FF;
}

/* Card 2: 5-columns */
.service-bento-card:nth-child(2) {
  grid-column: span 5;
  background: var(--bg-surface);
}

/* Card 3: 5-columns */
.service-bento-card:nth-child(3) {
  grid-column: span 5;
  background: var(--bg-card);
}

/* Card 4: 7-columns, high contrast card */
.service-bento-card:nth-child(4) {
  grid-column: span 7;
  min-height: 390px;
  background: var(--bg-surface);
}

.service-bento-card:nth-child(4)::before {
  content: "";
  border: 1px solid rgba(36, 123, 255, 0.15);
  border-radius: 50%;
  width: 380px;
  height: 380px;
  position: absolute;
  top: -180px;
  right: -120px;
  box-shadow: 0 0 0 50px rgba(36, 123, 255, 0.03);
  pointer-events: none;
}

.service-bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}

.service-bento-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.service-bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--color-primary);
  transition: transform 0.35s ease;
}

.service-bento-card:hover .service-bento-icon {
  transform: scale(1.1) rotate(-6deg);
}

.service-bento-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 2.5rem 0 0.75rem;
}

.service-bento-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.service-bento-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.service-bento-tags span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.service-bento-card:nth-child(1) .service-bento-tags span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
}

.service-bento-card a.service-bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1rem;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

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

/* Light Theme Overrides for Penetration Testing Featured Bento Card (Card 1) - Normalized to Card 2 Muted Slate */
[data-theme="light"] .service-bento-card:nth-child(1) {
  background: #FFFFFF;
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .service-bento-card:nth-child(1)::before {
  display: none;
}

[data-theme="light"] .service-bento-card:nth-child(1) h3 {
  color: #080808;
}

[data-theme="light"] .service-bento-card:nth-child(1) p {
  color: #475569;
}

[data-theme="light"] .service-bento-card:nth-child(1) .service-bento-num {
  color: var(--text-muted);
}

[data-theme="light"] .service-bento-card:nth-child(1) .service-bento-icon {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--color-primary);
}

[data-theme="light"] .service-bento-card:nth-child(1) .service-bento-tags span {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #334155;
}

[data-theme="light"] .service-bento-card:nth-child(1):hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .service-bento-card a.service-bento-link {
  color: #080808;
}

[data-theme="light"] .service-bento-card a.service-bento-link:hover,
[data-theme="light"] .service-bento-card a.service-bento-link:focus {
  color: #0284C7;
}

/* ==========================================================================
   SECTION C: SECURITY POSITIONING (4 Editorial Principles)
   ========================================================================== */
.principles-numbered-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.principle-editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.principle-editorial-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 8px 24px var(--color-primary-glow);
}

.principle-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.principle-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.principle-icon-wrap {
  font-size: 1.4rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.principle-editorial-card:hover .principle-icon-wrap {
  color: var(--color-primary);
}

.principle-title {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.principle-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE CYBER DEFENSE ARCHITECTURE (Systems Dex 4-Layers Inspired)
   ========================================================================== */
.architecture-shell {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.architecture-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.arch-tab-btn {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-color);
  padding: 1.35rem 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
  font-family: var(--font-heading);
}

.arch-tab-btn:last-child {
  border-right: none;
}

.arch-tab-btn strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  transition: color var(--transition-fast);
}

.arch-tab-btn span {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.arch-tab-btn.active {
  background: var(--bg-card);
  box-shadow: inset 0 -3px 0 var(--color-primary);
}

.arch-tab-btn.active strong {
  color: var(--color-primary);
}

.arch-canvas-viewport {
  padding: 3rem;
  background: radial-gradient(circle at 10% 20%, rgba(0, 207, 255, 0.04) 0%, transparent 50%);
}

.arch-panel-view {
  display: none;
  animation: fadeIn 0.35s ease;
}

.arch-panel-view.active {
  display: block;
}

.arch-view-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.arch-view-copy h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.arch-view-copy p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.68;
}

.arch-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.arch-point-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.arch-point-box b {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.arch-point-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: block;
}

.arch-view-telemetry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-sm);
}

.arch-view-telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: var(--color-primary);
}

.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.82rem;
}

.telemetry-row:last-child {
  border-bottom: none;
}

.telemetry-row .label { color: var(--text-muted); }
.telemetry-row .val { color: var(--text-main); font-weight: 600; }
.telemetry-row .val.status-ok { color: #10B981; }
.telemetry-row .val.status-alert { color: #EF4444; }

/* ==========================================================================
   SECTION D: REFINED SERVICES SHOWCASE (Primary Focus)
   ========================================================================== */
.services-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.service-card-modern:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 10px 28px var(--color-primary-glow);
}

.service-card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.service-index-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.85;
}

.service-icon-glyph {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: transform var(--transition-fast);
}

.service-card-modern:hover .service-icon-glyph {
  transform: scale(1.08);
}

.service-card-category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-card-title {
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.service-scope-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-direct-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.service-card-modern:hover .service-direct-link {
  color: var(--color-primary);
  gap: 0.75rem;
}

/* ==========================================================================
   SECTION E: SECURITY PROCESS (5 Connected Steps)
   ========================================================================== */
.process-timeline-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.35rem;
  position: relative;
}

.process-timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}

.process-timeline-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.timeline-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.timeline-step-index {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.timeline-step-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.timeline-step-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.timeline-step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.timeline-step-output {
  margin-top: auto;
  padding: 0.65rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.timeline-step-output i {
  color: var(--color-primary);
}

/* ==========================================================================
   SECTION F: WHY MKCC (Editorial Asymmetric Layout)
   ========================================================================== */
.why-asymmetric-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.why-editorial-intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.why-editorial-intro p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 2rem;
}

.why-points-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-point-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.65rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.why-point-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateX(4px);
}

.why-point-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-point-content h4 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
}

.why-point-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SECTION G: ENVIRONMENTS & ATTACK SURFACES
   ========================================================================== */
.environments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.env-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition-fast);
}

.env-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
}

.env-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.35rem;
}

.env-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.env-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SECTION H: COMMUNITY & LEARNING (Secondary Section)
   ========================================================================== */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.community-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.community-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}

.community-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.85rem;
  flex: 1;
}

/* ==========================================================================
   SECTION I: FINAL EDITORIAL CTA ("Let's Talk Security")
   ========================================================================== */
.cta-editorial-box {
  background: radial-gradient(circle at 50% 0%, rgba(0, 207, 255, 0.12) 0%, rgba(13, 27, 46, 0.9) 65%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 207, 255, 0.1);
}

[data-theme="light"] .cta-editorial-box {
  background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.12) 0%, rgba(255, 255, 255, 0.95) 75%);
  border-color: var(--border-highlight);
}

.cta-editorial-box h2 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.15rem;
  letter-spacing: -0.035em;
}

.cta-editorial-box p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   SERVICES PAGE (Complete Visual Transformation)
   ========================================================================== */
.services-catalog-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill-btn:hover, .filter-pill-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #050B14;
}

[data-theme="light"] .filter-pill-btn:hover, [data-theme="light"] .filter-pill-btn.active {
  color: #FFFFFF;
}

.service-detailed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.service-detailed-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md), 0 8px 30px var(--color-primary-glow);
}

.service-detailed-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-detailed-title {
  font-size: 1.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  letter-spacing: -0.02em;
}

.service-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-breakdown-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.breakdown-col-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.breakdown-col-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.service-detailed-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.service-accordion-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.service-accordion-btn:hover,
.service-accordion-btn:focus {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

[data-theme="light"] .service-accordion-btn:hover,
[data-theme="light"] .service-accordion-btn:focus {
  border-color: #0284C7;
  color: #0284C7;
  background: #F0F9FF;
}

[data-theme="light"] .service-detailed-action-bar .btn-primary:hover,
[data-theme="light"] .service-detailed-action-bar .btn-primary:focus {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.service-details-panel {
  display: none;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border-color);
  animation: fadeIn 0.3s ease;
}

.service-details-panel.open {
  display: block;
}

.details-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.details-spec-list {
  list-style: none;
  padding: 0;
}

.details-spec-list li {
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.details-spec-list li i {
  color: var(--color-primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   CARDS, FORMS & CERTIFICATE VERIFICATION
   ========================================================================== */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 8px 24px var(--color-primary-glow);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.35rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
  line-height: 1.62;
}

.card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

/* Certificate Verification Results Card */
.cert-credential-card {
  background: var(--bg-card);
  border: 2px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 30px rgba(16, 185, 129, 0.12);
}

.cert-credential-header {
  padding: 1.5rem 2rem;
  background: rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cert-credential-body {
  padding: 2.5rem 2rem;
}

.cert-holder-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.cert-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.cert-detail-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.cert-detail-item span {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Alerts */
.alert {
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.3);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.3);
}

.alert-info {
  background: var(--badge-bg);
  color: var(--badge-text);
  border-color: var(--badge-border);
}

/* ==========================================================================
   FOOTER (Integrated Editorial Finish)
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text-muted);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  transition: background-color var(--transition-normal);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-logo {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--footer-heading);
  font-weight: 700;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--footer-text-muted);
  line-height: 1.62;
  max-width: 320px;
}

.footer-title {
  color: var(--footer-heading);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.35rem;
  letter-spacing: -0.015em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  color: var(--footer-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover,
.footer-link:focus {
  color: #38D9FF;
  outline: none;
}

.site-footer .text-primary,
.site-footer .footer-link i {
  color: #00CFFF !important;
  transition: color var(--transition-fast);
}

.site-footer .footer-link:hover i,
.site-footer .footer-link:focus i {
  color: #38D9FF !important;
}

.site-footer .btn-footer-lookup {
  background: rgba(255, 255, 255, 0.06);
  color: #00CFFF;
  border: 1px solid rgba(0, 207, 255, 0.35);
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  transition: all var(--transition-fast);
}

.site-footer .btn-footer-lookup:hover,
.site-footer .btn-footer-lookup:focus {
  background: #00CFFF;
  border-color: #00CFFF;
  color: #050B14;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 207, 255, 0.3);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom a.footer-link:hover,
.footer-bottom a.footer-link:focus {
  color: #38D9FF;
}

/* --- Scroll Reveal & Micro Animations --- */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.55s ease;
}

.reveal-up.active,
.reveal-fade.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger-item.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .principles-numbered-grid, .environments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline-layout {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-asymmetric-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .arch-view-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4.5rem 0;
  }

  .navbar-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.75rem;
    gap: 1.25rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .navbar-menu.active {
    display: flex;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .hero-credo-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .architecture-nav {
    grid-template-columns: 1fr 1fr;
  }

  .arch-canvas-viewport {
    padding: 1.75rem;
  }

  .arch-points-grid {
    grid-template-columns: 1fr;
  }

  .grid-2, .grid-3, .grid-4, .principles-numbered-grid, .services-editorial-grid, .process-timeline-layout, .environments-grid, .community-grid, .service-breakdown-grid, .details-spec-grid, .cert-detail-grid {
    grid-template-columns: 1fr;
  }

  .cta-editorial-box {
    padding: 3.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .service-detailed-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .service-detailed-action-bar .btn, .service-detailed-action-bar .service-accordion-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   ECOSYSTEM & LEARNING HUB (3 Dedicated Sections: Verify, Events, Programs)
   ========================================================================== */
.ecosystem-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.ecosystem-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.ecosystem-tab-btn i {
  color: var(--color-primary);
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.ecosystem-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.ecosystem-tab-btn:hover i {
  transform: scale(1.15);
}

.ecosystem-tab-btn.active {
  background: var(--color-primary);
  color: #050B14;
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 207, 255, 0.35);
}

[data-theme="light"] .ecosystem-tab-btn.active {
  color: #FFFFFF;
  background: var(--color-primary);
}

.ecosystem-tab-btn.active i {
  color: inherit;
}

.ecosystem-tab-pane {
  display: none;
  animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ecosystem-tab-pane.active {
  display: block;
}

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

/* ==========================================================================
   SYSTEMS DEX VALUE LAB / INTERACTIVE RISK ESTIMATOR
   ========================================================================== */
.value-lab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-top: 2.5rem;
}

.value-lab-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.range-control-group {
  margin-bottom: 2rem;
}

.range-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.range-label-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.range-live-pill {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--color-primary);
}

[data-theme="light"] .range-live-pill {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #080808;
}

.range-input {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.value-metrics-board {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.value-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border-color);
}

.value-metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.value-metric-meta b {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.value-metric-meta span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.value-metric-stat {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

[data-theme="light"] .value-metric-stat {
  color: #080808;
}

/* ==========================================================================
   SYSTEMS DEX TRUST ARCHITECTURE & CONTROLS
   ========================================================================== */
.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

.trust-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

[data-theme="light"] .trust-card-icon {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #080808;
}

.trust-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.trust-status-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-status-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.trust-status-text b {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-main);
}

.trust-status-text span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SYSTEMS DEX DECISION ARTIFACTS (Deliverables Section)
   ========================================================================== */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.deliverable-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.deliverable-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.deliverable-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.deliverable-format-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--badge-bg);
  color: var(--color-primary);
  border: 1px solid var(--badge-border);
}

[data-theme="light"] .deliverable-format-tag {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #080808;
}

.deliverable-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.deliverable-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 1.75rem;
  flex: 1;
}

.deliverable-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.deliverable-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}

.deliverable-features li i {
  color: #10B981;
  font-size: 0.85rem;
}

/* ==========================================================================
   SYSTEMS DEX COLLAPSIBLE FAQ ACCORDION
   ========================================================================== */
.faq-accordion-wrap {
  max-width: 900px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.open {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  padding: 1.5rem 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  gap: 1.5rem;
}

.faq-q i {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.open .faq-q i {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.85rem;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 1.65rem;
}

.faq-a p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin: 0;
}

/* ==========================================================================
   SYSTEMS DEX PROJECT SCOPING BRIEF / CONTACT CARD
   ========================================================================== */
.scoping-brief-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 980px;
  margin: 2.5rem auto 0;
}

.scoping-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.scoping-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.scoping-chip-btn:hover, .scoping-chip-btn.selected {
  background: var(--color-primary);
  color: var(--text-inverse);
  border-color: var(--color-primary);
}

[data-theme="light"] .scoping-chip-btn,
[data-theme="light"] .scoping-chip-btn.selected {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #080808;
  box-shadow: none;
}

[data-theme="light"] .scoping-chip-btn i,
[data-theme="light"] .scoping-chip-btn.selected i {
  color: #080808;
  transition: color var(--transition-fast);
}

[data-theme="light"] .scoping-chip-btn:hover,
[data-theme="light"] .scoping-chip-btn.selected:hover {
  background: #F1F5F9;
  border-color: #080808;
  color: #080808;
  box-shadow: none;
}

[data-theme="light"] .scoping-chip-btn:hover i,
[data-theme="light"] .scoping-chip-btn.selected:hover i {
  color: #080808;
}

[data-theme="light"] .scoping-chip-btn:focus,
[data-theme="light"] .scoping-chip-btn:focus-visible,
[data-theme="light"] .scoping-chip-btn.selected:focus,
[data-theme="light"] .scoping-chip-btn.selected:focus-visible {
  background: #F1F5F9;
  border-color: #080808;
  color: #080808;
  outline: 2px solid #080808;
  outline-offset: 2px;
  box-shadow: none;
}

[data-theme="light"] .scoping-chip-btn:focus i,
[data-theme="light"] .scoping-chip-btn:focus-visible i,
[data-theme="light"] .scoping-chip-btn.selected:focus i,
[data-theme="light"] .scoping-chip-btn.selected:focus-visible i {
  color: #080808;
}

[data-theme="light"] .scoping-chip-btn:active,
[data-theme="light"] .scoping-chip-btn.selected:active {
  background: #E2E8F0;
  border-color: #080808;
  color: #080808;
  box-shadow: none;
}

[data-theme="light"] .scoping-chip-btn:active i,
[data-theme="light"] .scoping-chip-btn.selected:active i {
  color: #080808;
}

/* Scoping Brief Primary CTA Button - Standardized in Light Mode */
[data-theme="light"] .scoping-brief-card .btn-primary {
  background: #080808;
  border-color: #080808;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .scoping-brief-card .btn-primary i {
  color: #FFFFFF;
}

[data-theme="light"] .scoping-brief-card .btn-primary:hover {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .scoping-brief-card .btn-primary:hover i {
  color: #FFFFFF;
}

[data-theme="light"] .scoping-brief-card .btn-primary:focus,
[data-theme="light"] .scoping-brief-card .btn-primary:focus-visible {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  outline: 2px solid #0284C7;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .scoping-brief-card .btn-primary:active {
  background: #0369A1;
  border-color: #0369A1;
  color: #FFFFFF;
  transform: translateY(0);
}

/* Scoping Brief Secondary CTA Button */
[data-theme="light"] .scoping-brief-card .btn-outline {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #080808;
}

[data-theme="light"] .scoping-brief-card .btn-outline:hover {
  background: #F0F9FF;
  border-color: #0284C7;
  color: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual-slot {
    justify-self: center;
    width: min(100%, 420px);
  }

  .value-lab-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .trust-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .architecture-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .arch-view-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-bento-card:nth-child(1),
  .service-bento-card:nth-child(2),
  .service-bento-card:nth-child(3),
  .service-bento-card:nth-child(4) {
    grid-column: span 12;
  }
}

@media (max-width: 576px) {
  .trust-cards-grid {
    grid-template-columns: 1fr;
  }

  .architecture-nav {
    grid-template-columns: 1fr;
  }

  .value-lab-card, .scoping-brief-card {
    padding: 2rem 1.25rem;
  }
}

/* Accessibility: Respect Reduced Motion Preferences for Buttons */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:hover,
  .btn:focus,
  .btn-primary,
  .btn-primary:hover,
  .btn-outline,
  .btn-outline:hover,
  .btn-ghost,
  .btn-ghost:hover {
    transition: none !important;
    transform: none !important;
  }
}



