/* Landing / Homepage Styles — Flexera Enterprise Design System (Design 2 V4) */

:root {
  /* Brand Constants — Aligned with Nikanity Portal Brand (#60a5fa / #00A1DE) */
  --azure: #00A1DE;
  --azure-hover: #0088BC;
  --azure-soft: rgba(0, 161, 222, 0.15);
  --teal-accent: #00C49F;
  --cyan: #60A5FA;

  /* Default Dark Theme — Matches Nikanity Internal Portal Neutral Graphite Palette */
  --navy-obsidian: #131518;
  --navy-deep: #17191d;
  --navy-core: #202328;
  --navy-mid: #292d33;
  
  --bg-page: #17191d;
  --bg-canvas: #17191d;
  --bg-ice: #1b1e23;
  --bg-card: #202328;
  --bg-card-hover: #292d33;
  --bg-card-active: #32373e;
  
  --text-dark: #f3f4f6;
  --text-primary: #f3f4f6;
  --text-heading: #ffffff;
  --text-secondary: #c0c4cb;
  --text-muted: #9299a3;
  --text-light: #f8fafc;
  
  --border-subtle: #3a4048;
  --border-strong: #535b66;
  --border-dark: #3a4048;
  
  --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);

  /* Workbench Variables - Dark Mode (Neutral Graphite Surfaces) */
  --wb-shell-bg: #1c1f24;
  --wb-header-bg: #202328;
  --wb-table-bg: #1c1f24;
  --wb-table-hover: #292d33;
  --wb-tab-bg: #252930;
  --wb-tab-text: #c0c4cb;
  --wb-tab-border: #3a4048;
  --wb-tab-active-bg: var(--azure);
  --wb-tab-active-text: #ffffff;
  --wb-code-color: #60a5fa;
  --wb-th-bg: #202328;
  --wb-th-text: #9299a3;
  --wb-td-text: #f3f4f6;
  --wb-btn-sec-bg: #292d33;
  --wb-btn-sec-text: #f3f4f6;
  --wb-btn-sec-border: #3a4048;
}

:root[data-theme="light"] {
  /* Light Theme Variant */
  --navy-obsidian: #060B18;
  --navy-deep: #001B3A;
  --navy-core: #002B53;
  --navy-mid: #004580;
  
  --bg-page: #F8FAFC;
  --bg-canvas: #F8FAFC;
  --bg-ice: #F0F7FC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-card-active: #FDFEFF;
  
  --text-dark: #0A192F;
  --text-primary: #0A192F;
  --text-heading: #002B53;
  --text-secondary: #425466;
  --text-muted: #627D98;
  --text-light: #F8FAFC;
  
  --border-subtle: #D8E6F2;
  --border-strong: #A8C7DF;
  --border-dark: rgba(0, 43, 83, 0.12);
  
  --card-shadow: 0 16px 40px rgba(0, 43, 83, 0.08);

  /* Workbench Variables - Light Mode */
  --wb-shell-bg: #FFFFFF;
  --wb-header-bg: #F0F7FC;
  --wb-table-bg: #FFFFFF;
  --wb-table-hover: #F0F7FC;
  --wb-tab-bg: #FFFFFF;
  --wb-tab-text: #002B53;
  --wb-tab-border: #D8E6F2;
  --wb-tab-active-bg: #002B53;
  --wb-tab-active-text: #FFFFFF;
  --wb-code-color: #004580;
  --wb-th-bg: #F8FAFC;
  --wb-th-text: #627D98;
  --wb-td-text: #0A192F;
  --wb-btn-sec-bg: #E2E8F0;
  --wb-btn-sec-text: #002B53;
  --wb-btn-sec-border: #CBD5E1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
}

/* TOP STATUS AUDIT BAR */
.top-telemetry-strip {
  background: var(--navy-obsidian);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}
.telemetry-left, .telemetry-right { display: flex; gap: 20px; align-items: center; }
.telemetry-item strong { color: #FFFFFF; }
.live-pulse-dot {
  width: 6px; height: 6px; background: var(--teal-accent);
  border-radius: 50%; display: inline-block; box-shadow: 0 0 6px var(--teal-accent);
}

/* NAVIGATION */
.main-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky; top: 0; z-index: 100;
  padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.2s ease, border-color 0.2s ease;
}
:root[data-theme="dark"] .main-nav {
  background: rgba(25, 27, 31, 0.94);
  backdrop-filter: blur(12px);
}
.brand-group { display: flex; align-items: center; gap: 12px; }
.brand-title {
  font-size: 20px; font-weight: 800; color: var(--text-heading); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.brand-mark {
  width: 22px; height: 22px; background: var(--azure); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 14px; height: 14px; fill: #FFFFFF; }
.brand-badge {
  font-size: 10.5px; font-weight: 700; background: var(--azure-soft);
  color: var(--azure); border: 1px solid rgba(0, 161, 222, 0.3);
  padding: 2px 8px; border-radius: 4px; text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.nav-links a { text-decoration: none; color: inherit; transition: color 0.15s; }
.nav-links a:hover { color: var(--azure); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* Theme Toggle Button in Navbar */
.main-nav .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.main-nav .theme-toggle:hover {
  background: var(--bg-ice);
  color: var(--azure);
  border-color: var(--azure);
}
.main-nav .theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.btn-primary-azure {
  background: var(--azure); color: #FFFFFF; font-size: 13px; font-weight: 700;
  padding: 9px 18px; border-radius: 6px; border: none; text-decoration: none; cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary-azure:hover { background: var(--azure-hover); }
.btn-outline-navy {
  background: transparent; color: var(--text-heading); font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 6px; border: 1px solid var(--border-strong);
  text-decoration: none; cursor: pointer; transition: all 0.15s ease;
}
.btn-outline-navy:hover {
  background: var(--bg-ice);
  border-color: var(--azure);
  color: var(--azure);
}

/* Sign-in menu & Identity Provider selectors */
.signin-menu {
  position: relative;
  display: inline-flex;
  z-index: 50;
}
.signin-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.signin-menu-trigger:hover,
.signin-menu.open .signin-menu-trigger {
  background: var(--bg-ice);
  border-color: var(--azure);
  color: var(--azure);
}
.signin-trigger-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.signin-caret {
  display: inline-block;
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.15s ease;
  margin-left: 2px;
}
.signin-menu.open .signin-caret {
  transform: rotate(180deg);
}
.signin-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 268px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.signin-options::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.signin-menu.open .signin-options,
.signin-menu:hover .signin-options,
.signin-menu:focus-within .signin-options {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.signin-provider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--bg-ice);
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.signin-provider:hover,
.signin-provider:focus-visible {
  background: var(--bg-card-hover);
  border-color: var(--azure);
  outline: none;
}
.signin-provider span strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-heading);
}
.signin-provider span small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}
.provider-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.provider-icon-microsoft {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.provider-icon-microsoft i {
  display: block;
  width: 8px;
  height: 8px;
}
.provider-icon-microsoft i:nth-child(1) { background: #F25022; }
.provider-icon-microsoft i:nth-child(2) { background: #7FBA00; }
.provider-icon-microsoft i:nth-child(3) { background: #00A4EF; }
.provider-icon-microsoft i:nth-child(4) { background: #FFB900; }
.provider-icon-google {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: conic-gradient(from -45deg, #4285F4 0 25%, #34A853 0 42%, #FBBC05 0 67%, #EA4335 0 86%, #4285F4 0);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

/* Customer Workspace Variant */
.customer-signin-action .signin-menu {
  width: 100%;
}
.customer-signin-action .signin-menu-trigger {
  width: 100%;
  min-height: 48px;
  background: var(--azure);
  color: #FFFFFF;
  border: none;
  font-size: 15px;
  font-weight: 700;
}
.customer-signin-action .signin-menu-trigger:hover {
  background: var(--azure-hover);
}
.customer-signin-action .signin-options {
  width: 100%;
  left: 0;
  right: auto;
}
body.customer-login-ready .customer-signin-action .signin-options {
  display: none !important;
}

/* DEEP COMMAND HERO BANNER */
.hero-command-band {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-obsidian) 100%);
  color: #FFFFFF;
  padding: 60px 32px 88px;
  border-bottom: 4px solid var(--azure);
  position: relative;
}
.hero-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}

.hero-scope-toggle {
  display: inline-flex; background: rgba(0,0,0,0.4); border: 1px solid var(--border-dark);
  border-radius: 6px; padding: 3px; margin-bottom: 20px;
}
.scope-btn {
  background: transparent; border: none; color: var(--text-secondary); font-size: 11.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 4px; cursor: pointer; /* font-family inherited */
}
.scope-btn.active { background: var(--navy-mid); color: #FFFFFF; }

.hero-heading {
  font-size: 44px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  margin-bottom: 20px; color: #FFFFFF;
}
.hero-heading span.cyan { color: var(--azure); }
.hero-subtext {
  font-size: 16px; color: var(--text-secondary); max-width: 680px; line-height: 1.6; margin-bottom: 32px;
}
.hero-cta-group { display: flex; gap: 14px; align-items: center; }

/* MINI REAL-TIME TELEMETRY PANEL IN HERO */
.hero-telemetry-hud {
  background: rgba(32, 35, 40, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  /* font-family inherited */
}
.hud-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle); padding-bottom: 10px; margin-bottom: 14px;
}
.hud-header strong { color: var(--azure); }
.hud-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.hud-kpi-cell {
  background: rgba(23, 25, 29, 0.6); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 10px 12px;
}
.hud-kpi-lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.hud-kpi-val { font-size: 20px; font-weight: 700; color: #FFF; margin: 2px 0; }
.hud-kpi-sub { font-size: 10.5px; color: var(--teal-accent); }

.hud-feed-row {
  display: flex; justify-content: space-between; font-size: 11px; color: var(--text-secondary);
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hud-feed-row:last-child { border-bottom: none; }

/* FLOATING 4-DOMAIN RIBBON: USER-REQUESTED EXACT SEQUENCE */
.domain-ribbon-container {
  max-width: 1240px; margin: -44px auto 56px; padding: 0 20px; position: relative; z-index: 20;
}
.domain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.domain-tab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.domain-tab-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}
.domain-tab-card.active {
  border-color: var(--azure);
  border-width: 2px;
  background: var(--bg-card-active);
  box-shadow: 0 12px 32px rgba(0, 161, 222, 0.2);
}
.tab-index-row {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.domain-chip {
  font-size: 10.5px; font-weight: 800; color: var(--azure);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.domain-metric-badge {
  font-size: 11px; font-weight: 700;
  background: var(--bg-ice); color: var(--azure);
  border: 1px solid var(--border-subtle);
  padding: 1px 7px; border-radius: 4px;
}
.domain-name { font-size: 16px; font-weight: 800; color: var(--text-heading); margin-bottom: 4px; }
.domain-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }

/* THE SHARED KNOWLEDGE LAYER WORKBENCH */
.knowledge-workbench-section {
  max-width: 1240px; margin: 0 auto 64px; padding: 0 24px;
}
.section-headline-block { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.section-tag {
  font-size: 11px; font-weight: 800; color: var(--azure);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; display: inline-block;
}
.section-title { font-size: 32px; font-weight: 800; color: var(--text-heading); margin-bottom: 12px; letter-spacing: -0.02em; }
.section-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* WORKBENCH CARD SHELL */
.workbench-shell {
  background: var(--wb-shell-bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.workbench-top-controls {
  background: var(--wb-header-bg);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}

/* USER-REQUESTED PLATFORM TABS */
.filter-tabs-group { display: flex; gap: 8px; flex-wrap: wrap; }
.cloud-filter-btn {
  background: var(--wb-tab-bg);
  border: 1px solid var(--wb-tab-border);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--wb-tab-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.cloud-filter-btn.active {
  background: var(--wb-tab-active-bg);
  color: var(--wb-tab-active-text);
  border-color: var(--wb-tab-active-bg);
  box-shadow: 0 2px 8px rgba(0, 161, 222, 0.25);
}
.cloud-filter-btn:hover:not(.active) {
  background: var(--wb-table-hover);
  border-color: var(--azure);
  color: #FFFFFF;
}
.workbench-live-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.wb-live-time {
  color: var(--teal-accent);
}
.wb-live-crit {
  color: #EF4444;
}

.workbench-table-wrap { padding: 0; overflow-x: auto; }
.workbench-table {
  width: 100%; border-collapse: collapse; font-size: 12.5px; text-align: left;
  background: var(--wb-table-bg);
}
.workbench-table th {
  background: var(--wb-th-bg); color: var(--wb-th-text); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 12px 18px; border-bottom: 1px solid var(--border-subtle); font-weight: 700;
  white-space: nowrap;
}
.workbench-table td {
  padding: 14px 18px; border-bottom: 1px solid var(--border-subtle); color: var(--wb-td-text);
  vertical-align: middle;
}
.workbench-table td strong {
  color: var(--text-heading);
  font-weight: 700;
}
.workbench-table tr:last-child td { border-bottom: none; }
.workbench-table tbody tr {
  transition: background 0.12s ease;
}
.workbench-table tbody tr:hover td { background: var(--wb-table-hover); }

/* Platform category badges - clear, high-contrast, luminous */
.platform-pill {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 4px; display: inline-block; white-space: nowrap;
}
.pill-public { background: rgba(0, 161, 222, 0.16); color: #38BDF8; border: 1px solid rgba(0, 161, 222, 0.35); }
.pill-private { background: rgba(168, 85, 247, 0.16); color: #C084FC; border: 1px solid rgba(168, 85, 247, 0.35); }
.pill-data { background: rgba(16, 185, 129, 0.16); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.35); }
.pill-ai { background: rgba(245, 158, 11, 0.16); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.35); }
.pill-saas { background: rgba(236, 72, 153, 0.16); color: #F472B6; border: 1px solid rgba(236, 72, 153, 0.35); }

.code-ident { font-weight: 600; color: var(--wb-code-color); }
.badge-crit {
  background: rgba(239, 68, 68, 0.18); color: #F87171; font-weight: 800; font-size: 10.5px;
  padding: 3px 8px; border-radius: 4px; display: inline-block; border: 1px solid rgba(239, 68, 68, 0.4);
}
.badge-warn {
  background: rgba(245, 158, 11, 0.18); color: #FBBF24; font-weight: 800; font-size: 10.5px;
  padding: 3px 8px; border-radius: 4px; display: inline-block; border: 1px solid rgba(245, 158, 11, 0.4);
}

.btn-runbook-action {
  background: var(--azure); color: #FFF; font-weight: 700; font-size: 11.5px;
  padding: 7px 14px; border-radius: 4px; border: none; cursor: pointer; white-space: nowrap;
  transition: all 0.15s ease;
}
.btn-runbook-action:hover { background: var(--azure-hover); transform: translateY(-1px); }
.btn-action-secondary {
  background: var(--wb-btn-sec-bg); color: var(--wb-btn-sec-text); border: 1px solid var(--wb-btn-sec-border); font-weight: 700;
}
.btn-action-secondary:hover { background: rgba(255, 255, 255, 0.15); color: #FFFFFF; border-color: var(--azure); }

/* NIKAN AI SECTION (CONCISE, NO BULLET SECRETS, CONSOLIDATED 2-LINERS) */
.section-ai-intelligence {
  background: var(--bg-ice);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 64px 24px;
}
.ai-inner { max-width: 1240px; margin: 0 auto; }
.ai-grid-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; margin-bottom: 24px;
}
.ai-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}
.ai-tier-tag {
  font-size: 11px; font-weight: 800; color: var(--azure);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; display: block;
}
.ai-tier-title { font-size: 20px; font-weight: 800; color: var(--text-heading); margin-bottom: 12px; }
.ai-tier-prose {
  font-size: 14px; color: var(--text-secondary); line-height: 1.65;
}

/* CONSOLIDATED TWO-LINERS ROW */
.ai-twoliners-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.twoliner-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--azure);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: var(--card-shadow);
}
.twoliner-box.sovereignty { border-left-color: var(--teal-accent); }
.twoliner-tag {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  color: var(--azure); margin-bottom: 4px; display: block;
}
.twoliner-text {
  font-size: 13px; color: var(--text-secondary); line-height: 1.5; font-weight: 500;
}
.twoliner-text strong { color: var(--text-heading); }

/* CORE CAPABILITIES / FEATURE STRIP */
.proof-stats-strip {
  background: var(--navy-core);
  color: #FFFFFF;
  padding: 40px 32px;
  margin-bottom: 64px;
}
.features-strip-header {
  text-align: center;
  margin-bottom: 24px;
}
.features-strip-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--teal-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: inline-block;
}
.features-strip-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.proof-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: left;
}
.proof-stat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.proof-stat-item:hover {
  transform: translateY(-2px);
  border-color: var(--azure);
}
.proof-stat-item .feat-icon {
  font-size: 20px;
  color: var(--azure);
  margin-bottom: 10px;
  display: inline-block;
}
.proof-stat-item h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.proof-stat-item p {
  font-size: 12px;
  color: #B0C8DF;
  line-height: 1.5;
  margin: 0;
}
.proof-stat-item strong {
  display: block; font-size: 36px; font-weight: 800; color: #FFFFFF; margin-bottom: 4px;
}
.proof-stat-item strong span { color: var(--azure); }
.proof-stat-item span.lbl { font-size: 12.5px; color: #B0C8DF; font-weight: 500; }

/* 4-STAGE SYSTEM OF RECORD */
.section-lifecycle {
  max-width: 1240px; margin: 0 auto 64px; padding: 0 24px;
}
.lifecycle-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px;
}
.lifecycle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--card-shadow);
}
.lc-stage-chip {
  font-size: 11px; font-weight: 800; color: var(--azure);
  margin-bottom: 8px; text-transform: uppercase;
}
.lc-title { font-size: 17px; font-weight: 800; color: var(--text-heading); margin-bottom: 8px; }
.lc-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; }
.lc-stat-box {
  background: var(--bg-ice); border: 1px solid var(--border-subtle); border-radius: 6px;
  padding: 10px 12px; font-size: 11.5px;
  display: flex; justify-content: space-between; align-items: center; font-weight: 700;
}
.lc-stat-box span { color: var(--text-muted); }
.lc-stat-box strong { color: var(--azure); }

/* MULTI-CUSTOMER MSP ISOLATION PANEL */
.msp-isolation-section {
  max-width: 1240px; margin: 0 auto 64px; padding: 0 24px;
}
.msp-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 32px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center;
  box-shadow: var(--card-shadow);
}
.msp-panel-left h3 { font-size: 22px; font-weight: 800; color: var(--text-heading); margin-bottom: 10px; }
.msp-panel-left p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.msp-metrics-row { display: flex; gap: 24px; }
.msp-metric-pill strong { font-size: 22px; font-weight: 800; color: var(--text-heading); display: block; }
.msp-metric-pill span { font-size: 11.5px; color: var(--text-muted); }

.msp-enclave-visual {
  background: var(--navy-obsidian); border: 1px solid var(--border-dark); border-radius: 8px;
  padding: 16px; font-size: 12px; color: #FFF;
}
.enclave-title-row {
  display: flex; justify-content: space-between; font-size: 10.5px; color: #8FAEC7;
  border-bottom: 1px solid var(--border-dark); padding-bottom: 8px; margin-bottom: 10px;
}
.enclave-item {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.enclave-item:last-child { border-bottom: none; }
.enclave-badge {
  font-size: 10px; background: rgba(0, 161, 222, 0.15); color: var(--azure);
  border: 1px solid rgba(0, 161, 222, 0.4); padding: 2px 7px; border-radius: 3px; font-weight: 700;
}

/* COMPLIANCE TRUST AND STANDARDS MATRIX */
.compliance-trust-band {
  background: var(--bg-ice); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
  padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.trust-label { font-size: 11.5px; font-weight: 800; color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.05em; }
.trust-badges-list { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-chip {
  background: var(--bg-card); border: 1px solid var(--border-strong); padding: 6px 12px;
  border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* FOOTER */
.enterprise-footer {
  max-width: 1240px; margin: 0 auto; padding: 40px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: var(--text-muted);
}
.enterprise-footer strong { color: var(--text-heading); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--azure); }

@media(max-width: 900px) {
  .hero-inner, .ai-grid-2col, .ai-twoliners-grid { grid-template-columns: 1fr; }
  .domain-grid, .lifecycle-grid, .proof-inner, .msp-panel { grid-template-columns: 1fr; }
  .hero-heading { font-size: 30px; }
  .hero-command-band { padding: 36px 16px 64px; }
  .main-nav { padding: 0 16px; }
  .nav-links { display: none; }
  .top-telemetry-strip { display: none; }
}


/* ==========================================================================
   CUSTOMER SIGNIN / SSO ROUTE STYLES (REQUIRED FOR AMPLIFY SSO VALIDATION)
   ========================================================================== */
.customer-signin-shell {
  display: none;
  min-height: 100vh;
  background: var(--bg-canvas, #17191d);
  color: var(--text-dark, #F8FAFC);
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
body.customer-login-route .customer-signin-shell {
  display: flex !important;
}
body.customer-login-route > header,
body.customer-login-route > section,
body.customer-login-route > footer {
  display: none !important;
}
.customer-signin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.customer-signin-intro h1 {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 8px 0;
}
.customer-signin-intro p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.customer-signin-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #00A1DE;
  font-weight: 700;
  text-transform: uppercase;
}
.customer-signin-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.customer-login-ready {
  opacity: 1;
}

/* Cookie consent modal & full-width banner */
.cookie-consent {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  background: #191b1f !important;
  color: #FFFFFF !important;
  padding: 16px 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  z-index: 9999 !important;
  border-top: 1px solid var(--border-subtle) !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5) !important;
  box-sizing: border-box !important;
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent > p {
  margin: 0 !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #CAD9E8 !important;
  line-height: 1.5 !important;
  max-width: none !important;
}
.cookie-consent-actions {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.cookie-accept {
  background: #00A1DE !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 9px 20px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}
.cookie-accept:hover {
  background: #0088bd !important;
}
.cookie-text-button {
  background: transparent !important;
  color: #CAD9E8 !important;
  border: none !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 6px 10px !important;
}
.cookie-text-button:hover {
  color: #FFFFFF !important;
}
.cookie-preferences-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(4px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10000 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}
.cookie-preferences-backdrop[hidden] { display: none !important; }
.cookie-preferences {
  background: #FFFFFF !important;
  color: #0A192F !important;
  padding: 28px !important;
  border-radius: 12px !important;
  max-width: 520px !important;
  width: 100% !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4) !important;
  box-sizing: border-box !important;
}
.cookie-preferences h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0A192F !important;
  margin: 0 0 16px !important;
}
.cookie-option {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  font-size: 13.5px !important;
  color: #334E68 !important;
  cursor: pointer !important;
}
.cookie-option input[type="checkbox"] {
  margin-top: 3px !important;
}
.cookie-option strong {
  display: block !important;
  font-size: 14.5px !important;
  color: #0A192F !important;
}
.cookie-option small {
  display: block !important;
  color: #627D98 !important;
  font-size: 12.5px !important;
  margin-top: 2px !important;
}
.cookie-option a {
  display: inline-block !important;
  color: #00A1DE !important;
  font-size: 12.5px !important;
  margin-top: 4px !important;
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  .cookie-consent {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 20px !important;
    gap: 14px !important;
  }
  .cookie-consent-actions {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}

/* TOP ANNOUNCEMENT RIBBON */
.top-announcement-bar {
  background: linear-gradient(90deg, #001f3f 0%, #003366 50%, #002b4d 100%);
  color: #CAD9E8;
  font-size: 13px;
  padding: 9px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 161, 222, 0.3);
  position: relative;
  z-index: 1000;
}
.top-announcement-bar strong {
  color: #FFFFFF;
}
.top-announcement-bar a {
  color: #00C49F;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}
.top-announcement-bar a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.announcement-chip {
  background: rgba(0, 196, 159, 0.2);
  color: #00C49F;
  border: 1px solid rgba(0, 196, 159, 0.4);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ECOSYSTEM INTEGRATION STRIP */
.ecosystem-strip {
  background: #1b1e23;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px;
  text-align: center;
}
.ecosystem-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.ecosystem-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 36px;
  max-width: 1100px;
  margin: 0 auto;
}
.ecosystem-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #CBD5E1;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ecosystem-logo-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.ecosystem-logo-item span.icon-mark {
  font-size: 16px;
}

/* TOP FEATURE PILLS UNDER HERO HEADLINE */
.hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.feature-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #E2E8F0;
}
.feature-pill-item svg {
  width: 14px;
  height: 14px;
  fill: #00C49F;
}

/* CORE PLATFORM MODULES GRID */
.platform-modules-section {
  max-width: 1240px;
  margin: 64px auto 40px;
  padding: 0 24px;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.module-card:hover {
  transform: translateY(-2px);
  border-color: var(--azure);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.module-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.module-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 161, 222, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--azure);
  flex-shrink: 0;
}
.module-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}
.module-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}
.module-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
  color: var(--text-heading);
  font-weight: 600;
  display: grid;
  gap: 6px;
}
.module-feature-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.module-feature-list li::before {
  content: '✓';
  color: var(--azure);
  font-weight: 800;
}

/* CUSTOMER TYPES SECTION */
.customer-types-section {
  max-width: 1240px;
  margin: 64px auto;
  padding: 0 24px;
}
.customer-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.customer-types-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.customer-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.customer-type-card:hover {
  transform: translateY(-2px);
  border-color: var(--azure);
}
.customer-type-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--azure);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.customer-type-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 10px;
}
.customer-type-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 18px;
  flex-grow: 1;
}
.customer-type-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
  color: var(--text-heading);
  font-weight: 600;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.customer-type-highlights li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.customer-type-highlights li::before {
  content: '▸';
  color: var(--teal-accent);
  font-weight: 800;
}

/* PRICING SECTION */
.pricing-section {
  max-width: 1240px;
  margin: 64px auto 72px;
  padding: 0 24px;
}
.pricing-view-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 24px auto 8px;
}
.pricing-view-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: 30px;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.pricing-toggle-btn {
  background: transparent;
  border: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.pricing-toggle-btn:hover {
  color: var(--text-primary);
}
.pricing-toggle-btn.active {
  background: var(--azure);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 161, 222, 0.28);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}
.pricing-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-3px);
  border-color: var(--azure);
}
.pricing-card.is-popular {
  border: 2px solid var(--azure);
  box-shadow: 0 12px 36px rgba(0, 161, 222, 0.15);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--azure);
  color: #FFFFFF;
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-tier-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 6px;
}
.pricing-tier-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 16px;
  min-height: 40px;
}
.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-heading);
}
.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--text-heading);
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.pricing-features li::before {
  content: '✓';
  color: var(--azure);
  font-weight: 800;
}
.pricing-btn {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .modules-grid,
  .customer-types-grid,
  .customer-types-grid-2col,
  .pricing-grid,
  .pricing-grid-2col {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
