/**
 * gardai labs · Enterprise AI Security & Governance Platform
 * Homepage & Marketing Stylesheet
 */

:root {
  --ink: #0f172a;
  --navy: #0b1329;
  --navy-2: #101c38;
  --navy-3: #162447;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-dark: #1e40af;
  --cyan: #38bdf8;
  --gold: #fbbf24;
  --paper: #f8fafc;
  --muted: #64748b;
  --line: #e2e8f0;
  --white: #ffffff;
  --accent-green: #10b981;
  --shadow-card: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font: 15px/1.6 "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* Site Header */
.site-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #fbbf24;
  font: 800 14px "IBM Plex Sans", sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.brand strong {
  font: 700 18px "IBM Plex Sans", sans-serif;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 36px;
  margin: auto;
}

.nav-links a,
.secondary-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #475569;
  transition: color 0.16s ease;
}

.nav-links a:hover,
.secondary-link:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.button-small {
  padding: 8px 16px;
  gap: 8px;
  font-size: 12px;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 28%, rgba(37, 99, 235, 0.12) 0%, transparent 45%), linear-gradient(#ffffff 0%, #f8faff 100%);
  border-bottom: 1px solid var(--line);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding-block: 76px 64px;
}

.kicker {
  font: 700 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero-copy > .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
}

.hero-copy > .kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

h1 {
  font: 800 clamp(42px, 4.8vw, 66px)/1.06 "IBM Plex Sans", sans-serif;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  color: #0b1329;
}

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 580px;
  color: #334155;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0 0 12px;
}

.lede-sub {
  color: #64748b;
  max-width: 580px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.hero-proof {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #64748b;
}

.hero-proof span {
  font: 800 10px "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  color: #94a3b8;
}

.hero-proof b {
  font-weight: 700;
  color: #334155;
}

/* Decision Card (Security Terminal Showcase) */
.decision-card {
  background: linear-gradient(180deg, #0b1329 0%, #070d1e 100%);
  color: #fff;
  border: 1px solid #1e2f56;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(11, 19, 41, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

.decision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, #10b981 100%);
}

.decision-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #0e1832;
  border-bottom: 1px solid #1a294d;
  font: 700 10px "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  color: #94a3b8;
}

.decision-head div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
}

.decision-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.request-row {
  padding: 22px 24px 18px;
}

.decision-card small {
  font: 700 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  color: #8298b6;
  text-transform: uppercase;
}

.request-row p {
  margin: 8px 0 0;
  font: 500 14px/1.5 "IBM Plex Mono", monospace;
  color: #dbe4f0;
}

.request-row mark {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.16);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.decision-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 24px;
}

.decision-flow span {
  height: 1px;
  background: #1e2f56;
  flex: 1;
}

.decision-flow b {
  font: 700 8px "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  color: #64748b;
  text-transform: uppercase;
}

.checks {
  padding: 14px 24px;
}

.checks > div {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #162447;
}

.checks i {
  font-style: normal;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.checks span b,
.checks span small {
  display: block;
}

.checks span b {
  font-size: 12px;
  color: #f1f5f9;
}

.checks span small {
  margin-top: 1px;
  color: #94a3b8;
  font-size: 11px;
}

/* Scenario Tabs */
.decision-tabs {
  display: flex;
  background: #080f22;
  border-bottom: 1px solid #1a294d;
  padding: 8px 12px;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.decision-tabs::-webkit-scrollbar {
  display: none;
}

.decision-tab {
  background: transparent;
  border: 1px solid transparent;
  color: #7184a4;
  font: 600 11px/1.3 "IBM Plex Mono", monospace;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.decision-tab:hover {
  color: #dbe4f0;
  background: rgba(255, 255, 255, 0.04);
}

.decision-tab.active {
  background: rgba(37, 99, 235, 0.22);
  color: #60a5fa;
  border-color: rgba(37, 99, 235, 0.45);
  font-weight: 700;
}

.checks em {
  font: 600 10px "IBM Plex Mono", monospace;
  font-style: normal;
  color: #7184a4;
}

.checks .flag i {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.checks .flag.threat i {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
}

.checks .flag.warning i {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
}

.checks .flag.clear i {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
}

.outcome {
  margin: 0 24px 18px;
  padding: 15px 18px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.outcome.blocked {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
}

.outcome.blocked i {
  background: #ef4444;
}

.outcome.blocked code {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.outcome.held {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.outcome.held i {
  background: #f59e0b;
}

.outcome.held code {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}

.outcome > span {
  display: grid;
  grid-template-columns: 8px auto;
  column-gap: 10px;
  align-items: center;
}

.outcome i {
  grid-row: 1/3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.outcome strong {
  font-size: 13px;
  color: #ffffff;
}

.outcome code {
  font-size: 10px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-family: "IBM Plex Mono", monospace;
}

.evidence {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #060b17;
  padding: 12px 24px;
  font: 600 9px "IBM Plex Mono", monospace;
  color: #7184a4;
  border-top: 1px solid #162447;
}

.signal {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-block: 22px;
  font: 700 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  color: #64748b;
  border-top: 1px solid var(--line);
}

/* Sections */
.section {
  padding-block: 100px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 56px;
}

.section-heading h2,
.controls-copy h2 {
  font: 800 clamp(34px, 3.8vw, 48px)/1.12 "IBM Plex Sans", sans-serif;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  color: #0b1329;
}

.section-heading > p:last-child,
.controls-copy > p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

/* Outcomes & Platform Loop */
.loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.loop article {
  position: relative;
  padding: 30px 22px;
  min-height: 270px;
  border-right: 1px solid var(--line);
  background: #ffffff;
  transition: all 0.2s ease;
}

.loop article:last-child {
  border-right: 0;
}

.loop article:hover {
  background: #f8fbff;
}

.loop article > span {
  position: absolute;
  right: 18px;
  top: 16px;
  font: 700 10px "IBM Plex Mono", monospace;
  color: #94a3b8;
}

.loop article > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 6px 0 28px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--blue);
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.loop h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.4;
}

.loop p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* Controls Section (Dark) */
.controls-section {
  background: linear-gradient(180deg, #0b1329 0%, #070d1e 100%);
  color: #fff;
  border-top: 1px solid #1e2f56;
  border-bottom: 1px solid #1e2f56;
}

.controls-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.controls-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.controls-copy h2 {
  color: #ffffff;
}

.controls-copy > p {
  color: #94a3b8;
  margin-bottom: 32px;
}

.light-kicker {
  color: #38bdf8;
}

.button-light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.button-light:hover {
  background: #f1f5f9;
}

.control-list {
  display: grid;
  gap: 12px;
}

.control-list article {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid #1e2f56;
  border-radius: 12px;
  background: #0f1c3a;
  transition: all 0.2s ease;
}

.control-list article:hover {
  border-color: #2563eb;
  background: #122144;
}

.control-list article > i {
  font: 700 11px "IBM Plex Mono", monospace;
  font-style: normal;
  color: #64748b;
}

.control-list h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #ffffff;
}

.control-list p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.control-list article > span {
  font: 700 8px "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(56, 189, 248, 0.08);
}

/* Capability Grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.capability-grid article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
  border-top: 4px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
}

.capability-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.capability-grid article.available {
  border-top-color: #10b981;
}

.capability-grid article.preview {
  border-top-color: #f59e0b;
}

.capability-grid article.roadmap-item {
  border-top-color: #94a3b8;
}

.capability-grid h3 {
  font: 700 18px/1.3 "IBM Plex Sans", sans-serif;
  margin: 14px 0 8px;
  color: var(--ink);
}

.capability-grid p {
  color: #475569;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.available .pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.preview .pill {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.roadmap-item .pill {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

/* Architecture */
.deployment .section-heading {
  text-align: center;
  margin-inline: auto;
}

.architecture {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 48px 0 64px;
}

.arch-node,
.arch-core {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 28px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.arch-node small,
.arch-core small {
  display: block;
  font: 700 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  color: #94a3b8;
  text-transform: uppercase;
}

.arch-node strong,
.arch-core strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.arch-core {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #0b1329;
  color: #ffffff;
  border-color: #1e2f56;
  padding: 22px 34px;
  box-shadow: 0 16px 36px rgba(11, 19, 41, 0.25);
}

.arch-core > b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #fbbf24;
  font: 800 13px "IBM Plex Sans", sans-serif;
}

.arrow {
  padding: 0 24px;
  color: #94a3b8;
  font-size: 18px;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.enterprise-grid article {
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.enterprise-grid article > span {
  font: 700 10px "IBM Plex Mono", monospace;
  color: var(--blue);
}

.enterprise-grid h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--ink);
}

.enterprise-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* Final CTA */
.final-cta {
  padding-block: 84px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #fff;
  border-top: 1px solid #1e2f56;
}

.final-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta h2 {
  font: 800 clamp(30px, 3.2vw, 42px)/1.2 "IBM Plex Sans", sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
}

.cta-sub {
  color: #cbd5e1;
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: 16px;
}

/* Footer */
footer {
  background: #070d1e;
  color: #94a3b8;
  padding-block: 40px;
  border-top: 1px solid #162447;
}

.footer-grid {
  display: flex;
  gap: 36px;
  align-items: center;
}

.footer-brand {
  color: #fff;
}

.footer-grid p {
  font-size: 12px;
  margin-right: auto;
  color: #64748b;
}

.footer-grid nav {
  display: flex;
  gap: 24px;
}

.footer-grid nav a {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: #ffffff;
}

.footer-grid small {
  font-size: 11px;
  padding-left: 24px;
  border-left: 1px solid #1e2f56;
  color: #64748b;
}

/* Nav Status Pill */
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  font: 700 10px "IBM Plex Mono", monospace;
  color: #059669;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.16s ease;
}

.nav-status:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
}

.nav-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

/* Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
}

.metric-card:hover::before {
  opacity: 1;
}

.metric-val {
  font: 800 32px/1 "IBM Plex Sans", sans-serif;
  color: #0b1329;
  letter-spacing: -0.03em;
}

.metric-val.gradient {
  background: linear-gradient(135deg, #0b1329 0%, #1e40af 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font: 700 13px "IBM Plex Sans", sans-serif;
  color: #1e293b;
  margin: 8px 0 3px;
}

.metric-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Architecture Showcase */
.arch-showcase {
  background: linear-gradient(180deg, #0b1329 0%, #070d1e 100%);
  border: 1px solid #1e2f56;
  border-radius: 16px;
  padding: 34px 36px;
  margin: 36px 0 28px;
  box-shadow: 0 24px 60px rgba(11, 19, 41, 0.35);
  color: #ffffff;
}

.arch-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1.35fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.arch-block {
  background: #0f1c3a;
  border: 1px solid #1e2f56;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.arch-block:hover {
  border-color: #2563eb;
  background: #132247;
}

.arch-block.hub {
  background: linear-gradient(135deg, #122146 0%, #0c1632 100%);
  border: 2px solid #2563eb;
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.22);
}

.arch-block-tag {
  font: 700 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  color: #8298b6;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.arch-block strong {
  font: 700 15px "IBM Plex Sans", sans-serif;
  color: #ffffff;
  display: block;
}

.arch-block p {
  font-size: 12px;
  color: #94a3b8;
  margin: 6px 0 0;
  line-height: 1.45;
}

.arch-block .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.arch-block .tags span {
  font: 600 9px "IBM Plex Mono", monospace;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.arch-hub-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.arch-hub-features div {
  font: 600 11px "IBM Plex Mono", monospace;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  padding: 6px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 68px;
}

.arch-arrow span {
  font: 700 8px "IBM Plex Mono", monospace;
  color: #38bdf8;
  letter-spacing: 0.1em;
}

.arch-arrow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1e2f56, #38bdf8, #1e2f56);
  position: relative;
}

.arch-arrow-line::after {
  content: "▶";
  position: absolute;
  right: -3px;
  top: -6px;
  font-size: 8px;
  color: #38bdf8;
}

/* Code Showcase / Quickstart */
.code-showcase {
  margin: 36px 0 0;
  background: #070d1e;
  border: 1px solid #1e2f56;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 19, 41, 0.35);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0b1428;
  border-bottom: 1px solid #162447;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.code-tabs {
  display: flex;
  gap: 4px;
}

.code-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #8298b6;
  font: 600 11px "IBM Plex Mono", monospace;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.code-tab-btn:hover {
  color: #dbe4f0;
  background: rgba(255, 255, 255, 0.04);
}

.code-tab-btn.active {
  background: rgba(37, 99, 235, 0.22);
  color: #60a5fa;
  border-color: rgba(37, 99, 235, 0.45);
  font-weight: 700;
}

.code-badge {
  font: 700 9px "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.code-body {
  padding: 22px 24px;
  font: 500 13px/1.7 "IBM Plex Mono", monospace;
  color: #dbe4f0;
  margin: 0;
  overflow-x: auto;
}

.code-body pre {
  margin: 0;
  font-family: inherit;
}

.code-cm { color: #64748b; }
.code-kw { color: #f43f5e; font-weight: 600; }
.code-str { color: #34d399; }
.code-fn { color: #38bdf8; }
.code-val { color: #fbbf24; }

.code-hi {
  background: rgba(37, 99, 235, 0.18);
  margin: 2px -24px;
  padding: 2px 24px;
  border-left: 3px solid #38bdf8;
  display: block;
}

/* Capability Card Hover Glow */
.capability-grid article {
  position: relative;
}

.capability-grid article.available:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.08);
}

.capability-grid article.preview:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.08);
}

.capability-grid article.roadmap-item:hover {
  border-color: rgba(148, 163, 184, 0.5);
}

/* Mobile & Tablet */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .decision-card { max-width: 600px; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .arch-pipeline { grid-template-columns: 1fr; gap: 20px; }
  .arch-arrow { transform: rotate(90deg); margin: 8px auto; }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .controls-layout { grid-template-columns: 1fr; }
  .controls-copy { position: static; }
  .architecture { flex-direction: column; }
  .arrow { transform: rotate(90deg); padding: 14px; }
  .enterprise-grid { grid-template-columns: 1fr; }
  .final-cta .container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .hero-grid { padding-block: 50px; }
  .hero h1 { font-size: 38px; }
  .metrics-strip { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .control-list article { grid-template-columns: 28px 1fr; }
  .control-list article > span { display: none; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-grid p { margin: 0; }
  .footer-grid small { padding: 0; border: 0; }
  .code-header { flex-wrap: wrap; gap: 10px; }
}
