/* ==========================================================================
   FINORA ENTERPRISE DATA GOVERNANCE - COMPLIVERSE DESIGN SYSTEM
   Fonts: Poppins (Display/Headings/Nav) + Inter (Body/UI) + JetBrains Mono
   Brand Palette: Deep Corporate Navy, Ice Blue, Electric Cyan
   ========================================================================== */

:root {
  /* Compliverse Typography Tokens */
  --font-display: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Source Serif 4', Georgia, serif;

  /* Brand Colors */
  --brand-navy-950: #040c18;
  --brand-navy-900: #07152b;
  --brand-navy-850: #0a1e3f;
  --brand-navy-800: #0b2545;
  --brand-navy-700: #133e87;
  --brand-navy-600: #1a4f9c;
  --brand-navy-500: #2563eb;
  --brand-btn-navy: #0b3c74;

  /* Primary Brand Accent (Electric Cyan / Deep Sky) */
  --brand: #0084d1;
  --brand-strong: #0070b3;
  --brand-deep: #075985;
  --brand-ink: #0c4a6e;
  --brand-50: #f0f9ff;
  --brand-100: #e0f2fe;
  --brand-200: #bae6fd;
  --brand-300: #7dd3fc;
  --brand-400: #38bdf8;
  --brand-500: #00a8e8;
  
  /* Text & Ink Tokens */
  --ink: #0b132b;
  --ink-heading: #07152b;
  --ink-muted: #475569;
  --ink-soft: #64748b;
  --ink-faint: #94a3b8;
  --on-brand: #ffffff;
  
  /* Surfaces & Lines */
  --bg-page: #f8fafc;
  --surface-white: #ffffff;
  --surface-soft: #f1f5f9;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --line-warm: #cbd5e1;
  --line-brand: #bae6fd;

  /* Semantic Status */
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --rose-600: #dc2626;
  --rose-500: #ef4444;
  --rose-100: #fee2e2;
  --rose-50: #fef2f2;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 35px -10px rgba(15, 23, 42, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-app: 0 30px 70px -30px rgba(0, 132, 209, 0.35), 0 8px 24px -12px rgba(15, 23, 42, 0.12);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface-white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Selection & Focus */
::selection {
  background: #bae6fd;
  color: #07152b;
}

:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

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

p {
  color: var(--ink-muted);
  max-width: 72ch;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: all 0.15s ease;
}

button {
  font-family: var(--font-display);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR (MATCHING USER SCREENSHOT & COMPLIVERSE FONT STYLE)
   ========================================================================== */
.cv-header-wrap {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.03);
}

.cv-navbar {
  max-width: 1240px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

/* Logo on Left (Exact colors from reference: deep midnight navy + azure cyan) */
.brand-anchor {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-finora {
  color: #07152b;
  font-weight: 800;
  font-family: var(--font-display);
}

.brand-ai {
  color: #0284c7;
  font-weight: 800;
  font-family: var(--font-display);
}

/* Middle Navigation Links (Platform, Modules, The Spine, Linkage, Roles) */
.cv-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.25rem;
}

.cv-nav-btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.15s ease;
}

.cv-nav-btn:hover, .cv-nav-btn.active {
  color: #07152b;
  font-weight: 600;
}

/* Right Action Button: Book a demo → (Exact deep royal navy from reference) */
.cv-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-book-demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0e4b8c;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(14, 75, 140, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-book-demo-pill:hover {
  background: #093c72;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 75, 140, 0.38);
}

.btn-book-demo-pill .arrow-glyph {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.btn-book-demo-pill:hover .arrow-glyph {
  transform: translateX(3px);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (COMPLIVERSE STYLE)
   ========================================================================== */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #d8eefc 0%, #edf7ff 28%, #f8fcff 60%, #ffffff 100%);
  padding-top: 60px;
  padding-bottom: 70px;
}

.hero-radial-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 18% 0%, rgba(0, 132, 209, 0.16), transparent 60%),
              radial-gradient(ellipse 40% 35% at 90% 20%, rgba(37, 99, 235, 0.1), transparent 55%);
  pointer-events: none;
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-ink);
  margin-bottom: 1.1rem;
}

.hero-tag-pill svg {
  color: var(--brand);
}

.hero-heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.025em;
  color: var(--ink-heading);
  margin-bottom: 1.25rem;
}

.hero-heading span.gradient-text {
  background: linear-gradient(135deg, #07152b 20%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-muted);
  max-width: 490px;
  margin-bottom: 1.75rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--radius-full);
  background: #0e4b8c;
  color: #ffffff;
  padding: 0.75rem 1.65rem;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 8px 20px -6px rgba(14, 75, 140, 0.45);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-hero-primary:hover {
  background: #093c72;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px rgba(14, 75, 140, 0.55);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #dce3ed;
  color: #1e293b;
  padding: 0.75rem 1.65rem;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0e4b8c;
  transform: translateY(-1px);
}

/* Hero Animated Typing Ticker Box */
.hero-type-ticker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ticker-icon-box {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand-100);
  color: var(--brand-ink);
  border: 1px solid var(--brand-200);
}

.ticker-text-line {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-deep);
  display: flex;
  align-items: center;
}

.ticker-text-line span.highlight-pill {
  background: rgba(224, 242, 254, 0.8);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.ticker-caret {
  display: inline-block;
  width: 2.5px;
  height: 1.1em;
  background: var(--brand-deep);
  margin-left: 3px;
  animation: cv-caret 1s step-end infinite;
}

@keyframes cv-caret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero 3-Stat Matrix Card (Compliverse Style) */
.hero-stat-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 500px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.stat-cell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-right: 1px solid #dbeafe;
}
.stat-cell:last-child {
  border-right: none;
}

.stat-cell-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-heading);
  line-height: 1;
}

.stat-cell-dotgrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  width: fit-content;
}

.cv-stat-dot {
  width: 5px;
  height: 5px;
  border-radius: 1.5px;
  background: var(--brand);
}

.stat-cell-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.stat-struck-icons {
  display: flex;
  align-items: center;
  gap: 3px;
}

.struck-icon-box {
  position: relative;
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #94a3b8;
  font-size: 9px;
}

.struck-icon-box::after {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  width: 19px;
  height: 1px;
  background: #64748b;
  transform: rotate(-25deg);
}

/* Hero Right App Mockup (Compliverse Style) */
.hero-mockup-wrap {
  position: relative;
}

.cv-app-window {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-app);
}

.app-window-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: #fbfdfd;
  border-bottom: 1px solid var(--line-soft);
}

.app-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.app-dot.red { background: #ff5f57; }
.app-dot.yellow { background: #febc2e; }
.app-dot.green { background: #28c840; }

.app-window-url {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  margin-left: 0.5rem;
}

.app-window-content {
  background: #f8fafc;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.app-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-dash-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.app-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-ink);
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.app-metrics-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.app-metric-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.65rem 0.75rem;
}

.app-tile-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}

.app-tile-val {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.app-tile-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--line-soft);
  margin-top: 0.35rem;
  overflow: hidden;
}

.app-progress-bar {
  height: 100%;
  border-radius: 2px;
  background: var(--brand);
}

/* App Alert List */
.app-alerts-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.85rem;
}

.app-alerts-title {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.5rem;
}

.app-alert-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-top: 1px solid #f8fafc;
  font-size: 11px;
}

.alert-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.alert-badge {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Floating Badges (Compliverse cv-float-y) */
.cv-floating-card-1 {
  position: absolute;
  right: -14px;
  top: -22px;
  width: 255px;
  background: #ffffff;
  border: 1px solid var(--brand-200);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: 0 20px 44px -18px rgba(0, 132, 209, 0.4);
  animation: cv-float-1 5s ease-in-out infinite;
  z-index: 10;
}

.cv-floating-card-2 {
  position: absolute;
  left: -18px;
  bottom: -20px;
  width: 250px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: 0 20px 44px -18px rgba(15, 23, 42, 0.25);
  animation: cv-float-2 6s 0.8s ease-in-out infinite;
  z-index: 10;
}

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

@keyframes cv-float-2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
}

.float-tag-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-ink);
  margin-bottom: 0.35rem;
}

.float-body-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: #334155;
  margin-bottom: 0.5rem;
}

.float-action-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--brand-btn-navy);
  color: #ffffff;
}

/* ==========================================================================
   WHY FINORA SECTION (IT'S ALL HERE)
   ========================================================================== */
.why-finora-section {
  padding: 5.5rem 0 4.5rem 0;
  background-color: var(--surface-white);
  border-bottom: 1px solid var(--line-soft);
}

.why-finora-header {
  margin-bottom: 2.75rem;
  max-width: 680px;
}

.why-finora-main-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
}

.why-finora-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.why-finora-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

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

.why-finora-card {
  background: var(--surface-white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.04);
}

.why-finora-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
}

.why-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.why-finora-card:hover .why-icon-box {
  background: #0284c7;
  color: #ffffff;
  transform: scale(1.05);
}

.why-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.why-card-desc {
  font-family: var(--font-body);
  font-size: 0.925rem;
  line-height: 1.62;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.why-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.25rem;
}

.why-checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.why-check-icon {
  color: #0284c7;
  font-size: 0.95rem;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .why-finora-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-finora-grid {
    grid-template-columns: 1fr;
  }
  .why-finora-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   THE 10-MODULE SOLUTIONS DIRECTORY (ORGANIZED BY SOLUTION AREA)
   ========================================================================== */
.modules-section-clean {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.modules-section-clean::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, rgba(14, 75, 140, 0.015) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.modules-section-clean .container {
  position: relative;
  z-index: 1;
}

.cv-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-ink);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.cv-section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 1rem;
}

.cv-section-desc {
  font-size: 16.5px;
  color: var(--ink-muted);
  max-width: 680px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.filter-pills-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: #ffffff;
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin: 0 auto 3.5rem auto;
  max-width: fit-content;
}

.filter-pill-btn {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.filter-pill-btn i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.filter-pill-btn:hover {
  color: #07152b;
  background: #f1f5f9;
}

.filter-pill-btn.active {
  background: #0e4b8c;
  border-color: #0e4b8c;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(14, 75, 140, 0.28);
}

.filter-pill-btn.active i {
  color: #ffffff;
}

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

.clean-mod-card {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  padding: 2rem 1.85rem 1.75rem 1.85rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 6px 16px -4px rgba(15, 23, 42, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.clean-mod-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0284c7, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.clean-mod-card:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: 0 20px 35px -8px rgba(2, 132, 199, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.clean-mod-card:hover::before {
  opacity: 1;
}

.mod-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mod-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  line-height: 1;
}

/* 3 Tag Color Accents */
.mod-card-tag.tag-data,
.clean-mod-card[data-solutions*="data"] .mod-card-tag {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #e0f2fe;
}

.mod-card-tag.tag-protection,
.clean-mod-card[data-solutions*="protection"] .mod-card-tag {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ede9fe;
}

.mod-card-tag.tag-control,
.clean-mod-card[data-solutions*="control"] .mod-card-tag {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
}

.mod-card-arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 11px;
  transition: all 0.2s ease;
  border: 1px solid #f1f5f9;
}

.clean-mod-card:hover .mod-card-arrow {
  background: #0e4b8c;
  color: #ffffff;
  border-color: #0e4b8c;
  transform: translate(2px, -2px);
}

.mod-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #07152b;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem 0;
  line-height: 1.25;
  transition: color 0.15s ease;
}

.clean-mod-card:hover .mod-card-title {
  color: #0e4b8c;
}

.mod-card-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 60%, transparent 100%);
  margin-bottom: 1.15rem;
}

.mod-card-bullet-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}

.mod-blue-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284c7;
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clean-mod-card[data-solutions*="protection"] .mod-blue-dot {
  background: #7c3aed;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.6);
}

.clean-mod-card[data-solutions*="control"] .mod-blue-dot {
  background: #059669;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.6);
}

.clean-mod-card:hover .mod-blue-dot {
  transform: scale(1.3);
}

.mod-card-text {
  flex-grow: 1;
}

@media (max-width: 992px) {
  .module-clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .module-clean-grid {
    grid-template-columns: 1fr;
  }
  .clean-mod-card {
    padding: 1.75rem 1.5rem;
  }
}

/* ==========================================================================
   THE 360° LINKAGE MODEL (COMBINED ORBITAL RADAR & BEFORE/AFTER COMPARISON)
   ========================================================================== */
.linkage-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.linkage-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 30%;
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.linkage-header-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

/* Mode Switcher (Option 3 Integration) */
.linkage-mode-switcher-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.linkage-mode-switcher {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 5px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  gap: 0.35rem;
}

.linkage-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.linkage-mode-btn:hover {
  color: #07152b;
  background: #f1f5f9;
}

.linkage-mode-btn.active {
  background: #0e4b8c;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 75, 140, 0.25);
}

.linkage-mode-btn.active.silos-active {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.mode-badge-live {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==================== VIEW 1: 360° ORBITAL RADAR GRID ==================== */
.linkage-interactive-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Orbital Stage (Option 2 Integration) */
.linkage-orbital-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-glow-bg {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(14, 75, 140, 0.03) 50%, transparent 70%);
  pointer-events: none;
  animation: pulseCoreGlow 4s ease-in-out infinite;
}

@keyframes pulseCoreGlow {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Central Hub */
.orbital-center-hub {
  position: absolute;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.orbital-core-rings {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.core-ring {
  position: absolute;
  border-radius: 50%;
}

.core-ring.ring-1 {
  width: 170px;
  height: 170px;
  border: 1px solid rgba(2, 132, 199, 0.25);
  animation: pulseRing 3s ease-in-out infinite;
}

.core-ring.ring-2 {
  width: 215px;
  height: 215px;
  border: 1px dashed rgba(2, 132, 199, 0.18);
  animation: spinRing 25s linear infinite;
}

.core-ring.ring-3 {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

@keyframes pulseRing {
  0%, 100% { transform: scale(0.98); opacity: 0.4; }
  50% { transform: scale(1.02); opacity: 0.8; }
}

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

.orbital-core-content {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #38bdf8;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15), inset 0 0 15px rgba(2, 132, 199, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  text-align: center;
  z-index: 2;
}

.core-logo-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0e4b8c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-bottom: 2px;
}

.core-logo-badge .spin-icon {
  animation: spinRing 8s linear infinite;
}

.core-title {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  color: #07152b;
  line-height: 1;
  margin-bottom: 3px;
}

.core-record-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 1px 6px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 2px;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0284c7;
  animation: pulseDot 1.5s infinite;
}

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

.core-time-badge {
  font-size: 8px;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 1px 5px;
  border-radius: 4px;
}

/* SVG Circular Laser Track */
.orbital-svg-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.orbital-circle-path {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.orbital-laser-particle {
  fill: none;
  stroke: #0284c7;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 60 1100;
  animation: orbitLaser 8s linear infinite;
  filter: drop-shadow(0 0 6px rgba(2, 132, 199, 0.8));
}

@keyframes orbitLaser {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -1160; }
}

.spoke-line {
  stroke: #f1f5f9;
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  transition: all 0.3s ease;
}

.spoke-line.active {
  stroke: #0284c7;
  stroke-width: 2.5;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 4px rgba(2, 132, 199, 0.5));
}

/* 6 Orbiting Node Cards */
.orbital-nodes-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.orbital-node-card {
  position: absolute;
  width: 125px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.65rem 0.6rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  pointer-events: auto;
}

.orbital-node-card:hover {
  transform: scale(1.05);
  border-color: #0284c7;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
}

.orbital-node-card.active {
  background: #ffffff;
  border: 2px solid #0284c7;
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
  z-index: 25;
}

/* 6 Exact Hexagonal Orbital Positions */
.orbital-node-card.pos-1 { top: 8px; left: 50%; transform: translateX(-50%); }
.orbital-node-card.pos-1.active { transform: translateX(-50%) scale(1.08); }

.orbital-node-card.pos-2 { top: 110px; right: 8px; }
.orbital-node-card.pos-3 { bottom: 130px; right: 8px; }

.orbital-node-card.pos-4 { bottom: 30px; left: 50%; transform: translateX(-50%); }
.orbital-node-card.pos-4.active { transform: translateX(-50%) scale(1.08); }

.orbital-node-card.pos-5 { bottom: 130px; left: 8px; }
.orbital-node-card.pos-6 { top: 110px; left: 8px; }

.node-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 2px;
}

.node-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f9ff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  font-size: 11px;
  transition: all 0.2s ease;
}

.node-icon-box.quality { background: #f0f9ff; color: #0284c7; }
.node-icon-box.lineage { background: #f0fdf4; color: #16a34a; }
.node-icon-box.privacy, .node-icon-box.ai { background: #f5f3ff; color: #7c3aed; }
.node-icon-box.access { background: #fffbeb; color: #d97706; }
.node-icon-box.gate { background: #eff6ff; color: #2563eb; }
.node-icon-box.seal { background: #ecfdf5; color: #059669; }

.node-name {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  color: #07152b;
  line-height: 1.2;
}

.node-sub {
  font-size: 9px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Playback Control Bar */
.orbital-playback-bar {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  white-space: nowrap;
  z-index: 30;
  pointer-events: auto;
}

.playback-btn {
  background: #0e4b8c;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.playback-btn:hover {
  background: #093c72;
}

.playback-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11.5px;
  color: #64748b;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  animation: pulseDot 1.5s infinite;
}

/* Right Side: Active Telemetry Detail Card */
.linkage-detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detail-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.telemetry-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11.5px;
  font-weight: 600;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.detail-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #07152b;
  line-height: 1.25;
  margin: 0;
}

.detail-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Detail Terminal Box */
.detail-terminal-box {
  background: #07152b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(7, 21, 43, 0.15);
}

.terminal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0b1d3a;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.terminal-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.terminal-dots .dot.red { background: #ef4444; }
.terminal-dots .dot.yellow { background: #f59e0b; }
.terminal-dots .dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94a3b8;
}

.terminal-body {
  padding: 1.15rem;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Manual Navigation Controls */
.detail-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
}

.detail-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.detail-step-btn:hover {
  background: #0e4b8c;
  color: #ffffff;
  border-color: #0e4b8c;
}

.detail-step-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-dot.active {
  width: 22px;
  border-radius: 9999px;
  background: #0284c7;
}

/* ==================== VIEW 2: WITHOUT FINORA (6 DISCONNECTED SILOS) ==================== */
.linkage-view-silos {
  background: #ffffff;
  border: 1px solid #fee2e2;
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.05);
}

.silos-banner-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.silo-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.silo-banner-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #07152b;
  margin-bottom: 0.75rem;
}

.silo-banner-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

.silos-broken-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.silo-broken-card {
  flex: 1;
  min-width: 140px;
  max-width: 165px;
  background: #fffafa;
  border: 1px solid #fecaca;
  border-radius: 16px;
  padding: 1.15rem 0.85rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.04);
}

.silo-card-num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 2px;
}

.silo-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 13px;
}

.silo-card-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #07152b;
  margin-bottom: 4px;
}

.silo-card-issue {
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 45px;
}

.silo-delay-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  color: #d97706;
  background: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
}

.silo-delay-pill.warning {
  color: #dc2626;
  background: #fee2e2;
}

.silo-broken-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.broken-line {
  width: 25px;
  height: 2px;
  background: #fca5a5;
  border-style: dashed;
}

.broken-badge {
  font-size: 8px;
  font-weight: 700;
  color: #ef4444;
  white-space: nowrap;
}

/* KPI Comparison Matrix */
.silos-kpi-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 750px;
  margin: 0 auto;
}

.silo-kpi-box {
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
}

.silo-kpi-box.bad {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.silo-kpi-box.good {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.kpi-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.silo-kpi-box.bad .kpi-tag { color: #dc2626; }
.silo-kpi-box.good .kpi-tag { color: #16a34a; }

.kpi-metric {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.silo-kpi-box.bad .kpi-metric { color: #dc2626; }
.silo-kpi-box.good .kpi-metric { color: #16a34a; }

.kpi-label {
  font-size: 13px;
  font-weight: 700;
  color: #07152b;
  margin-bottom: 0.25rem;
}

.kpi-sub {
  font-size: 11.5px;
  color: #64748b;
}

.silo-kpi-vs {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 0.5rem 0.75rem;
  border-radius: 50%;
}

.btn-return-finora {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0e4b8c;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 75, 140, 0.25);
  transition: all 0.2s ease;
}

.btn-return-finora:hover {
  background: #093c72;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .linkage-interactive-grid {
    grid-template-columns: 1fr;
  }
  .silos-broken-grid {
    flex-direction: column;
  }
  .broken-line {
    width: 2px;
    height: 18px;
  }
  .silo-broken-card {
    max-width: 100%;
    width: 100%;
  }
}

/* ==========================================================================
   THE 9-STEP SPINE: INTERACTIVE WORKFLOW
   ========================================================================== */
.spine-section-light {
  padding: 90px 0;
  background: #ffffff;
}

.spine-interactive-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.spine-shell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 1rem;
}

.spine-rail-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.35rem;
  padding: 1.75rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--line-soft);
}

.spine-step-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.spine-step-pill:hover {
  background: var(--brand-50);
  border-color: var(--brand-200);
}

.spine-step-pill.active {
  background: var(--brand-100);
  border-color: var(--brand-400);
  box-shadow: 0 4px 15px -4px rgba(0, 132, 209, 0.4);
}

.spine-step-pill.gate-node {
  border-color: var(--amber-200);
  background: var(--amber-50);
}

.spine-step-pill.gate-node.active {
  border-color: var(--amber-500);
  background: #fef3c7;
  box-shadow: 0 4px 15px -4px rgba(245, 158, 11, 0.5);
}

.spine-pill-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--line-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

.spine-step-pill.active .spine-pill-circle {
  background: var(--brand-btn-navy);
  border-color: var(--brand-btn-navy);
  color: #ffffff;
}

.spine-step-pill.gate-node.active .spine-pill-circle {
  background: var(--amber-500);
  border-color: var(--amber-600);
  color: #ffffff;
}

.spine-pill-title {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.spine-pill-tag {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

.spine-pill-tag.human {
  color: var(--amber-600);
  font-weight: 700;
}

.spine-pane-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 2.5rem;
  gap: 2.5rem;
  background: #ffffff;
}

.spine-step-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-deep);
  background: var(--brand-100);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 0.85rem;
}

.spine-step-heading {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 0.85rem;
}

.spine-step-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
}

.spine-meta-boxes-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spine-meta-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.spine-meta-box-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.spine-meta-box-val {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.spine-sandbox-terminal {
  background: var(--brand-navy-950);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--brand-navy-800);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sandbox-term-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 11px;
  color: #94a3b8;
}

.sandbox-term-body {
  flex-grow: 1;
  line-height: 1.6;
  max-height: 220px;
  overflow-y: auto;
}

.sandbox-term-gate-actions {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 0.5rem;
}

/* ==========================================================================
   THE APPROVAL TRAP & CRITICAL THINKING SECTION
   ========================================================================== */
.trap-section-wrap {
  padding: 85px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf7fc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trap-split-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.trap-col-card {
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.trap-col-card.red-side {
  border-color: var(--rose-200);
  background: linear-gradient(175deg, #ffffff 0%, var(--rose-50) 100%);
}

.trap-col-card.blue-side {
  border-color: var(--brand-300);
  background: linear-gradient(175deg, #ffffff 0%, var(--brand-50) 100%);
  box-shadow: 0 15px 35px -10px rgba(0, 132, 209, 0.18);
}

.trap-badge-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.trap-col-card.red-side .trap-badge-title { color: var(--rose-600); }
.trap-col-card.blue-side .trap-badge-title { color: var(--brand-deep); }

.trap-col-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.trap-items-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.trap-item-li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.trap-item-li i {
  margin-top: 3px;
}

.trap-col-card.red-side .trap-item-li i { color: var(--rose-500); }
.trap-col-card.blue-side .trap-item-li i { color: var(--brand); }

.trap-outcome-banner {
  font-family: var(--font-display);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
}

.trap-col-card.red-side .trap-outcome-banner {
  background: var(--rose-100);
  color: var(--rose-600);
}

.trap-col-card.blue-side .trap-outcome-banner {
  background: var(--brand-100);
  color: var(--brand-deep);
}

.trap-vs-orb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: var(--brand-deep);
  box-shadow: 0 4px 15px rgba(0, 132, 209, 0.3);
  align-self: center;
}

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

.framework-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.framework-step-pill {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-btn-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.framework-card h4 {
  font-size: 16px;
  margin-bottom: 0.35rem;
}

.framework-card p {
  font-size: 13px;
  line-height: 1.5;
}

/* ==========================================================================
   ROI & DEFICIENCY CALCULATOR
   ========================================================================== */
.calculator-section {
  padding: 80px 0;
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calc-card-container {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.calc-slider-box {
  margin-bottom: 1.75rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.calc-slider-val {
  color: var(--brand);
  font-family: var(--font-mono);
  font-weight: 700;
}

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

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-btn-navy);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(11, 60, 116, 0.4);
}

.calc-results-panel {
  background: var(--brand-navy-950);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 15px 30px rgba(7, 21, 43, 0.3);
}

.calc-big-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--brand-300);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.calc-sublabel {
  font-family: var(--font-display);
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   BOTTOM CTA & FOOTER
   ========================================================================== */
.bottom-cta-banner {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 100%);
  text-align: center;
}

.cta-inner-box {
  max-width: 700px;
  margin: 0 auto;
}

.cta-big-heading {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-body-sub {
  font-size: 17px;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cv-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}

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

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

.footer-links-list a {
  font-family: var(--font-display);
  color: var(--ink-muted);
  font-size: 13.5px;
}

.footer-links-list a:hover {
  color: var(--brand);
}

.footer-bottom-line {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-main-grid {
    grid-template-columns: 1fr;
  }
  .hero-heading {
    font-size: 38px;
  }
  .module-clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spine-pane-split, .calc-card-container {
    grid-template-columns: 1fr;
  }
  .trap-split-grid {
    grid-template-columns: 1fr;
  }
  .framework-4col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .linkage-flow-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cv-nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .module-clean-grid, .framework-4col-grid {
    grid-template-columns: 1fr;
  }
  .spine-rail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .linkage-flow-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stat-matrix {
    grid-template-columns: 1fr;
  }
  .stat-cell {
    border-right: none;
    border-bottom: 1px solid #dbeafe;
  }
  .footer-4col {
    grid-template-columns: 1fr;
  }
}
