/* ==========================================================================
   STRATOFOUNDRY VERSION 2.0 — ENTERPRISE COMPONENT LIBRARY
   Inspired by Neo4j's Information Architecture & Enterprise UX
   Styled strictly with StratoFoundry's Architectural Strata Charter
   ========================================================================== */

/* 1. TOP ANNOUNCEMENT BAR */
.announcement-bar {
  background: var(--sf-navy-900);
  color: var(--sf-alabaster-100);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(184, 197, 209, 0.18);
  position: relative;
  z-index: 1001;
}

.announcement-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sf-steel-600);
  color: var(--sf-white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement-link {
  color: var(--sf-mist-300);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.announcement-link:hover {
  color: var(--sf-white);
}

/* 2. STICKY ENTERPRISE NAVIGATION & MEGA-MENU */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 242, 236, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-subtle);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.site-footer .brand-logo {
  background: var(--sf-alabaster-100);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: var(--border-strong);
}

.site-footer .brand-logo img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sf-navy-900);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-trigger:hover,
.nav-item:hover .nav-trigger,
.nav-trigger.active {
  background: rgba(71, 106, 138, 0.1);
  color: var(--sf-steel-700);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
  opacity: 0.7;
}

.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Mega-Menu Dropdown */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(calc(-50% + var(--mega-shift, 0px))) translateY(8px);
  width: 680px;
  background: var(--sf-white);
  border: var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.mega-menu.mega-wide {
  width: 820px;
}

/* Invisible bridge over the gap between trigger and panel so the pointer never leaves the hover zone. */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 20px;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--mega-shift, 0px))) translateY(0);
}

.nav-item.is-open .nav-trigger {
  background: rgba(71, 106, 138, 0.1);
  color: var(--sf-steel-700);
}

.nav-item.is-open .nav-chevron {
  transform: rotate(180deg);
}

/* While another menu is open via hover-intent, suppress CSS-only hover on siblings to avoid two panels. */
.main-nav.has-open .nav-item:not(.is-open) .mega-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mega-grid-3 {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.95fr;
  gap: 20px;
}

.mega-col-title {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--sf-steel-600);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: var(--border-subtle);
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mega-link:hover {
  background: var(--sf-alabaster-100);
}

.mega-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(71, 106, 138, 0.12);
  color: var(--sf-steel-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.mega-icon.alert {
  background: var(--sf-terracotta-100);
  color: var(--sf-terracotta-600);
}

.mega-icon.verified {
  background: var(--sf-verified-100);
  color: var(--sf-verified-600);
}

.mega-link-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sf-navy-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-link-desc {
  font-size: 0.78rem;
  color: var(--sf-text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.mega-Highlight {
  background: var(--sf-alabaster-100);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(24, 33, 43, 0.06);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-btn {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  color: var(--sf-text-muted);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--sf-navy-900);
  color: var(--sf-white);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: var(--border-strong);
  align-items: center;
  justify-content: center;
  color: var(--sf-navy-900);
}

/* 3. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--sf-navy-900);
  color: var(--sf-white);
  border: 1px solid var(--sf-navy-900);
  box-shadow: 0 4px 14px rgba(24, 33, 43, 0.18);
}

.btn-primary:hover {
  background: var(--sf-steel-600);
  border-color: var(--sf-steel-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(71, 106, 138, 0.28);
}

.btn-steel {
  background: var(--sf-steel-600);
  color: var(--sf-white);
  border: 1px solid var(--sf-steel-600);
  box-shadow: 0 4px 14px rgba(71, 106, 138, 0.24);
}

.btn-steel:hover {
  background: var(--sf-steel-700);
  border-color: var(--sf-steel-700);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--sf-white);
  color: var(--sf-navy-900);
  border: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--sf-steel-600);
  color: var(--sf-steel-600);
  background: var(--sf-alabaster-50);
  transform: translateY(-1px);
}

.surface-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sf-white);
  border-color: rgba(184, 197, 209, 0.3);
}

.surface-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--sf-white);
}

/* 4. HERO SECTION & INTERACTIVE STRATA ARCHITECTURE */
.hero-section {
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(71, 106, 138, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(184, 197, 209, 0.25) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 40px;
  align-items: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust-row {
  margin-top: 36px;
  padding-top: 24px;
  border-top: var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-trust-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--sf-navy-900);
}

.hero-trust-label {
  font-size: 0.8rem;
  color: var(--sf-text-muted);
}

/* Interactive Strata Stack (Distinctive non-graph architectural visual) */
.strata-visualizer {
  background: var(--sf-white);
  border: var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-strata);
  position: relative;
}

.strata-visualizer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: var(--border-subtle);
}

.strata-mode-tabs {
  display: inline-flex;
  background: var(--sf-alabaster-100);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 4px;
}

.strata-mode-tab {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 6px;
  color: var(--sf-text-muted);
  transition: all var(--transition-fast);
}

.strata-mode-tab.active {
  background: var(--sf-navy-900);
  color: var(--sf-white);
}

.strata-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stratum-layer {
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  background: var(--sf-alabaster-50);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stratum-layer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--sf-steel-600);
  transition: width var(--transition-fast);
}

.stratum-layer.layer-evidence::before { background: var(--sf-verified-600); }
.stratum-layer.layer-memory::before { background: var(--sf-cobalt-600); }
.stratum-layer.layer-guardian::before { background: var(--sf-terracotta-600); }
.stratum-layer.layer-s3::before { background: var(--sf-navy-900); }

.stratum-layer:hover,
.stratum-layer.active {
  background: var(--sf-white);
  border-color: var(--sf-steel-600);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.stratum-layer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stratum-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sf-steel-600);
  background: rgba(71, 106, 138, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.stratum-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--sf-navy-900);
}

.stratum-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: var(--border-subtle);
  background: var(--sf-white);
  color: var(--sf-text-muted);
}

.stratum-detail {
  font-size: 0.84rem;
  color: var(--sf-text-secondary);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(184, 197, 209, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.strata-3d-preview {
  display: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-subtle);
  background: var(--sf-alabaster-100);
}

.strata-3d-preview.active {
  display: block;
}

.strata-stack.hidden {
  display: none;
}

/* 5. AGNOSTIC S3 COMPATIBILITY BAR */
.agnostic-bar {
  background: var(--sf-white);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  padding: 28px 0;
}

.agnostic-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.agnostic-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sf-text-muted);
  max-width: 260px;
}

.agnostic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

.agnostic-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--sf-alabaster-50);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--sf-navy-900);
  transition: all var(--transition-fast);
}

.agnostic-pill:hover {
  border-color: var(--sf-steel-600);
  background: var(--sf-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

.agnostic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sf-verified-600);
}

/* 6. ARCHITECTURAL CARDS & BENTO MODULES */
.strata-card {
  background: var(--sf-white);
  border: var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.strata-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sf-steel-600);
}

.strata-card.card-alabaster {
  background: var(--sf-alabaster-50);
}

.strata-card.card-dark {
  background: var(--sf-navy-800);
  border-color: rgba(184, 197, 209, 0.22);
  color: var(--sf-white);
}

.strata-card.card-alert {
  border-top: 4px solid var(--sf-terracotta-600);
}

.strata-card.card-steel {
  border-top: 4px solid var(--sf-steel-600);
}

.strata-card.card-verified {
  border-top: 4px solid var(--sf-verified-600);
}

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(71, 106, 138, 0.12);
  border: 1px solid rgba(71, 106, 138, 0.25);
  color: var(--sf-steel-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.card-icon-box.alert {
  background: var(--sf-terracotta-100);
  border-color: var(--sf-terracotta-border);
  color: var(--sf-terracotta-600);
}

.card-icon-box.verified {
  background: var(--sf-verified-100);
  border-color: var(--sf-verified-border);
  color: var(--sf-verified-600);
}

/* 7. INTERACTIVE PLATFORM WORKBENCH (Neo4j Code/Architecture Tab Equivalent) */
.workbench {
  background: var(--sf-navy-900);
  border: 1px solid rgba(184, 197, 209, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--sf-white);
}

.workbench-tabs {
  display: flex;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.75);
  border-bottom: 1px solid rgba(184, 197, 209, 0.16);
  padding: 8px 12px 0;
  gap: 6px;
}

.workbench-tab {
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sf-mist-300);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.workbench-tab:hover {
  color: var(--sf-white);
}

.workbench-tab.active {
  color: var(--sf-white);
  border-bottom-color: var(--sf-steel-400);
  background: rgba(71, 106, 138, 0.18);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.workbench-panel {
  display: none;
  padding: 36px;
}

.workbench-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.code-terminal {
  background: #0B1118;
  border: 1px solid rgba(184, 197, 209, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-terminal-bar {
  background: rgba(24, 33, 43, 0.9);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(184, 197, 209, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--sf-mist-300);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(184, 197, 209, 0.28);
}

.terminal-dots span:nth-child(1) { background: var(--sf-terracotta-600); }
.terminal-dots span:nth-child(2) { background: var(--sf-amber-500); }
.terminal-dots span:nth-child(3) { background: var(--sf-verified-500); }

.code-terminal pre {
  padding: 20px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #E2E8F0;
  overflow-x: auto;
}

.tok-comment { color: #7FA1BE; font-style: italic; }
.tok-key { color: #93C5FD; font-weight: 600; }
.tok-str { color: #A7F3D0; }
.tok-num { color: #FDE68A; }
.tok-alert { color: #FCA5A5; font-weight: 600; }
.tok-verified { color: #86EFAC; font-weight: 600; }

/* 8. QUANTIFIABLE METRICS BAND */
.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-tile {
  background: var(--sf-white);
  border: var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.metric-tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sf-navy-900), var(--sf-steel-600));
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  font-weight: 800;
  color: var(--sf-navy-900);
  line-height: 1;
  margin-bottom: 10px;
}

.metric-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--sf-navy-900);
  margin-bottom: 6px;
}

/* 9. COMPARISON TABLE (Classic S3 Replication vs S3Guardian / Memory Layer) */
.comparison-table-wrap {
  background: var(--sf-white);
  border: var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: var(--border-subtle);
  font-size: 0.92rem;
}

.comparison-table thead th {
  background: var(--sf-navy-900);
  color: var(--sf-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.comparison-table thead th.col-highlight {
  background: var(--sf-steel-600);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: var(--sf-alabaster-50);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.status-pill.danger {
  background: var(--sf-terracotta-100);
  color: var(--sf-terracotta-700);
  border: 1px solid var(--sf-terracotta-border);
}

.status-pill.success {
  background: var(--sf-verified-100);
  color: var(--sf-verified-700);
  border: 1px solid var(--sf-verified-border);
}

.status-pill.warning {
  background: var(--sf-amber-100);
  color: var(--sf-amber-700);
  border: 1px solid var(--sf-amber-border);
}

/* 10. 5-STEP PIPELINE TIMELINE (From PPTX Slide 8 & 17) */
.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.pipeline-step {
  background: var(--sf-white);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
  transition: all var(--transition-base);
}

.pipeline-step:hover {
  border-color: var(--sf-steel-600);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--sf-navy-900);
  color: var(--sf-white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pipeline-step.step-gate .step-badge {
  background: var(--sf-terracotta-600);
}

.pipeline-step.step-pitr .step-badge {
  background: var(--sf-verified-600);
}

.pipeline-step.step-guard .step-badge {
  background: var(--sf-amber-600);
}

/* S3Guardian 5-step PoC journey */
.poc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.poc-steps .pipeline-step::after {
  content: "\2192";
  position: absolute;
  top: 28px;
  right: -14px;
  color: var(--sf-steel-400);
  font-weight: 700;
  font-size: 0.9rem;
}

.poc-steps .pipeline-step:last-child::after {
  display: none;
}

.poc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.poc-chips span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sf-terracotta-100);
  color: var(--sf-terracotta-700);
}

.poc-cta {
  margin-top: 24px;
  padding: 20px 24px;
  border: var(--border-strong);
  border-left: 4px solid var(--sf-steel-600);
  border-radius: var(--radius-md);
  background: var(--sf-white);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.poc-cta p {
  flex: 1 1 380px;
  margin: 0;
}

/* 11. PRODUCT CATALOG FILTER & CARDS */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: var(--border-strong);
  background: var(--sf-white);
  color: var(--sf-text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--sf-navy-900);
  color: var(--sf-white);
  border-color: var(--sf-navy-900);
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  background: var(--sf-alabaster-100);
  color: var(--sf-steel-700);
  border: var(--border-subtle);
}

/* 12. FAQ ACCORDION (Neo4j "Get to know..." style) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--sf-white);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--sf-steel-600);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--sf-navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  background: var(--sf-alabaster-100);
  border: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--sf-steel-600);
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.faq-item[open] .faq-toggle-icon {
  background: var(--sf-navy-900);
  color: var(--sf-white);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--sf-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--sf-alabaster-200);
  padding-top: 16px;
}

/* 13. ENTERPRISE FOOTER */
.site-footer {
  background: var(--sf-navy-900);
  color: var(--sf-mist-200);
  padding: 72px 0 36px;
  border-top: 4px solid var(--sf-steel-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(184, 197, 209, 0.16);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--sf-white);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--sf-mist-300);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--sf-white);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--sf-mist-400);
}

/* 14. RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
  .hero-grid,
  .workbench-panel.active {
    grid-template-columns: 1fr;
  }
  .pipeline-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .poc-steps .pipeline-step::after {
    display: none;
  }
  .metrics-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--sf-white);
    border-bottom: var(--border-strong);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    align-items: stretch;
  }
  .mega-menu,
  .mega-menu.mega-wide {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 10px 0 10px 12px;
    display: none;
  }
  .nav-item.open .mega-menu {
    display: block;
  }
  .mega-menu::before {
    display: none;
  }
  .mega-grid,
  .mega-grid-3 {
    grid-template-columns: 1fr;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .pipeline-steps,
  .metrics-band,
  .hero-trust-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .announcement-inner {
    flex-direction: column;
    text-align: center;
  }
}
