@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap");

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate-900);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 999px;
}

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

.grid-pattern {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
}

.dot-pattern {
  background-size: 24px 24px;
  background-image: radial-gradient(rgba(148, 163, 184, 0.15) 1px, transparent 1px);
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  transition: 0.25s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--slate-900);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0;
}

.brand-name span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links button,
.mobile-menu button {
  background: transparent;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-links button:hover,
.mobile-menu button:hover {
  color: var(--slate-900);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--slate-950);
  color: white;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.mobile-menu-button {
  display: none;
  width: 34px;
  height: 34px;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--slate-700);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  padding: 132px 0 112px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(100px);
}

.hero-glow-a {
  width: 600px;
  height: 300px;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(219, 234, 254, 0.64);
}

.hero-glow-b {
  width: 350px;
  height: 350px;
  top: 22%;
  left: 24%;
  background: rgba(238, 242, 255, 0.8);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 64px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(147, 197, 253, 0.55);
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--blue);
}

.hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 5px;
  border-radius: 999px;
  background: #dbeafe;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 auto 38px;
  color: var(--slate-600);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.primary-button {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.16);
}

.primary-button:hover {
  background: var(--blue-dark);
}

.secondary-button {
  background: var(--slate-100);
  color: var(--slate-800);
}

.secondary-button:hover {
  background: var(--slate-200);
}

.mock-window {
  position: relative;
  z-index: 2;
  max-width: 1024px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  background: white;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.12);
}

.mock-header {
  min-height: 64px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.traffic {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-400);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  white-space: nowrap;
}

.traffic span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--slate-200);
}

.traffic strong {
  margin-left: 10px;
  font-weight: 500;
}

.segmented,
.play-control {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(226, 232, 240, 0.75);
}

.segmented button,
.play-control button {
  padding: 7px 12px;
  border-radius: 9px;
  background: transparent;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.segmented button.active,
.play-control button.active {
  background: white;
  color: var(--blue);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.08);
}

.hero-panel {
  min-height: 380px;
  padding: 40px;
  background: radial-gradient(circle at top, white, rgba(248, 250, 252, 0.84));
}

.flow-grid {
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  gap: 40px;
}

.flow-column {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.column-label {
  color: var(--slate-400);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.source-card,
.dest-card {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--slate-200);
  background: white;
  transition: 0.25s ease;
}

.source-card:hover,
.dest-card:hover {
  transform: scale(1.015);
  border-color: #bfdbfe;
}

.source-card > div,
.dest-card > div {
  min-width: 0;
  flex: 1;
}

.source-card strong,
.dest-card strong {
  display: block;
  color: var(--slate-900);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-card small,
.dest-card small {
  display: block;
  margin-top: 3px;
  color: var(--slate-500);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
}

.source-card.emerald {
  background: rgba(236, 253, 245, 0.45);
  border-color: #d1fae5;
}

.source-card.violet {
  background: rgba(245, 243, 255, 0.45);
  border-color: #ede9fe;
}

.source-card.sky {
  background: rgba(240, 249, 255, 0.45);
  border-color: #e0f2fe;
}

.mini-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: white;
  color: var(--blue);
  border: 1px solid var(--slate-100);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 800;
}

.source-card i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dest-card b {
  color: var(--blue);
}

.engine-node {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

.engine-card {
  width: 200px;
  min-height: 156px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  border-radius: 22px;
  background: var(--slate-900);
  color: white;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22);
}

.engine-card span {
  color: #60a5fa;
  font-weight: 900;
  animation: pulse 1.8s ease-in-out infinite;
}

.engine-card strong {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.engine-card small {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.75);
  color: #93c5fd;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
}

.flow-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.flow-lines path {
  fill: none;
  stroke: var(--slate-200);
  stroke-width: 2;
}

.flow-lines circle {
  fill: var(--blue);
}

.hidden {
  display: none !important;
}

.metrics-view {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 20px 0;
}

.metric-card {
  padding: 22px;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  background: white;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.metric-card small,
.metric-card span {
  display: block;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--slate-900);
  font-family: "JetBrains Mono", monospace;
  font-size: 24px;
}

.bars {
  height: 26px;
  display: flex;
  align-items: end;
  gap: 4px;
  margin-top: 18px;
}

.bars span {
  flex: 1;
  border-radius: 3px;
  background: var(--blue);
  animation: barPulse 2.5s ease-in-out infinite alternate;
}

.trust {
  padding: 56px 0;
  border-top: 1px solid var(--slate-100);
  background: white;
  text-align: center;
}

.trust p {
  margin: 0 0 30px;
  color: var(--slate-400);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.66;
  color: var(--slate-500);
  font-weight: 800;
  font-size: 14px;
}

.features,
.impact {
  padding: 96px 0;
  background-color: var(--slate-50);
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading > span,
.demo-heading > div > span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.demo-heading h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p,
.demo-heading p {
  margin: 16px 0 0;
  color: var(--slate-500);
  line-height: 1.7;
}

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

.capability-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 24px;
  background: white;
  transition: 0.25s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--slate-300);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.cap-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 24px;
}

.capability-card h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.capability-card > small {
  color: var(--slate-400);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.capability-card p {
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.75;
  margin: 18px 0 24px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
  margin-bottom: 22px;
}

.highlight-grid span {
  display: block;
  color: var(--slate-400);
  font-size: 10px;
  font-weight: 700;
}

.highlight-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--slate-800);
  font-size: 13px;
}

.capability-card ul {
  padding: 18px 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--slate-100);
  list-style: none;
}

.capability-card li {
  color: var(--slate-600);
  font-size: 12px;
  margin-top: 12px;
}

.capability-card li::before {
  content: "✓";
  color: var(--blue);
  margin-right: 10px;
  font-weight: 900;
}

.demo {
  padding: 96px 0;
  background: white;
}

.demo-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.demo-heading > div:first-child {
  max-width: 650px;
}

.demo-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 5fr 7fr;
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.console-panel {
  padding: 32px;
  border-right: 1px solid var(--slate-200);
  background: rgba(248, 250, 252, 0.66);
}

.console-panel h3 {
  margin: 0 0 26px;
  font-size: 16px;
}

.console-panel label,
.load-control label {
  display: block;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.choice-stack {
  display: grid;
  gap: 10px;
  margin: 12px 0 20px;
}

.choice-stack button {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: white;
  color: var(--slate-700);
  cursor: pointer;
  text-align: left;
}

.choice-stack button.selected {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.15);
}

.choice-stack span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 900;
}

.choice-stack .selected span {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.choice-stack strong {
  display: grid;
  font-size: 12px;
}

.choice-stack small {
  margin-top: 3px;
  color: var(--slate-400);
  font-size: 10px;
  font-weight: 600;
}

.choice-stack .selected small {
  color: #dbeafe;
}

.choice-stack b {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.arrow-down {
  text-align: center;
  color: var(--slate-300);
  transform: rotate(90deg);
  margin-bottom: 20px;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 28px;
}

.target-grid button {
  padding: 14px 8px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: white;
  color: var(--slate-700);
  cursor: pointer;
}

.target-grid button.selected {
  background: var(--slate-950);
  border-color: var(--slate-950);
  color: white;
}

.target-grid strong,
.target-grid small {
  display: block;
}

.target-grid strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
}

.target-grid small {
  margin-top: 4px;
  color: var(--slate-400);
  font-size: 9px;
}

.load-control {
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.load-control > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.load-control output {
  padding: 4px 8px;
  border-radius: 7px;
  background: #eff6ff;
  color: #1d4ed8;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
}

.load-control input {
  width: 100%;
  margin-top: 14px;
  accent-color: var(--blue);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--slate-400);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
}

.visual-panel {
  padding: 32px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.summary-grid > div {
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  background: var(--slate-50);
}

.summary-grid small {
  display: block;
  color: var(--slate-400);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-grid strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--slate-800);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(20px, 2vw, 26px);
}

.summary-grid div:first-child strong {
  color: var(--blue);
  animation: pulse 1.5s ease-in-out infinite;
}

.summary-grid span {
  color: var(--slate-500);
  font-size: 10px;
}

.summary-grid em {
  float: right;
  color: var(--slate-700);
  font-style: normal;
  font-size: 12px;
}

.summary-grid i {
  display: block;
  overflow: hidden;
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--slate-200);
}

.summary-grid i b {
  display: block;
  width: 42.8%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 0.3s ease;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--slate-800);
  font-size: 12px;
  font-weight: 800;
}

.chart-header p {
  margin: 0;
}

.chart-header time {
  color: var(--slate-400);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  white-space: nowrap;
}

.blue-dot,
.gray-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-inline: 10px 6px;
  border-radius: 50%;
}

.blue-dot {
  background: var(--blue);
  margin-left: 0;
}

.gray-dot {
  background: var(--slate-200);
}

.chart-box {
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 20px;
  background: var(--slate-50);
  margin-bottom: 24px;
}

.chart-box svg {
  display: block;
  width: 100%;
  height: auto;
}

.terminal {
  padding: 16px;
  border-radius: 16px;
  background: var(--slate-900);
  color: var(--slate-300);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.terminal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--slate-800);
}

.terminal header span {
  color: var(--slate-400);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.terminal header strong {
  color: #34d399;
  font-size: 9px;
}

.log-list {
  min-height: 96px;
  display: grid;
  gap: 7px;
}

.log-list div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-list time {
  color: var(--slate-500);
}

.log-list b {
  margin-inline: 8px;
  color: #60a5fa;
}

.log-list b.success {
  color: #34d399;
}

.log-list b.warn {
  color: #f59e0b;
}

.log-list span {
  color: var(--slate-100);
}

.demo-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: 16px 24px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: 20px;
  background: var(--slate-50);
}

.demo-footnote p {
  margin: 0;
  color: var(--slate-500);
  font-size: 12px;
}

.demo-footnote button {
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.stats-grid > div {
  padding: 24px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 20px;
  background: white;
  box-shadow: 0 1px 5px rgba(15, 23, 42, 0.03);
}

.stats-grid span:first-child {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--blue);
  margin-bottom: 18px;
}

.stats-grid strong {
  display: block;
  color: var(--slate-900);
  font-family: "JetBrains Mono", monospace;
  font-size: 30px;
  font-weight: 900;
}

.stats-grid small {
  color: var(--slate-500);
  font-size: 14px;
  margin-left: 2px;
}

.stats-grid b {
  display: block;
  margin: 8px 0 4px;
  font-size: 12px;
}

.stats-grid p {
  margin: 0;
  color: var(--slate-400);
  font-size: 11px;
  line-height: 1.55;
}

.case-card {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 32px;
  padding: 32px;
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.case-card aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.case-card aside span {
  color: var(--slate-400);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-card aside h4 {
  margin: 2px 0 12px;
  font-size: 20px;
}

.case-card aside button {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid var(--slate-200);
  border-radius: 15px;
  background: white;
  color: var(--slate-700);
  text-align: left;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.case-card aside button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.14);
}

.case-card article {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--slate-100);
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.72);
}

.case-card article i {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  margin-bottom: 20px;
}

.case-card article h4 {
  margin: 0 0 14px;
  font-size: 20px;
}

.case-card article p {
  margin: 0 0 24px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.75;
}

.case-card article > strong {
  color: var(--slate-400);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-card article ul {
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.case-card article li {
  margin-top: 12px;
  color: var(--slate-700);
  font-size: 13px;
  line-height: 1.6;
}

.case-card article li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.case-card article footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-400);
  font-size: 10px;
}

.case-card article footer button {
  background: transparent;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 28px 32px;
  border: 1px solid #172554;
  border-radius: 22px;
  background: #1e3a8a;
  color: white;
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.16);
}

.support-band h4 {
  margin: 0 0 8px;
}

.support-band h4 span {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-band p {
  max-width: 700px;
  margin: 0;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.7;
}

.support-band button {
  flex: 0 0 auto;
  padding: 12px 22px;
  border-radius: 10px;
  background: white;
  color: var(--slate-900);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.footer {
  background: white;
  border-top: 1px solid var(--slate-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 5fr 3fr;
  gap: 48px;
  padding: 64px 0;
}

.footer-grid p {
  max-width: 380px;
  color: var(--slate-500);
  font-size: 12px;
  line-height: 1.75;
  margin: 24px 0;
}

.footer-grid small {
  color: var(--slate-400);
  font-size: 11px;
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.footer-grid h4 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-grid a {
  display: block;
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 12px;
}

.footer-grid a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.consult {
  padding: 24px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 20px;
  background: var(--slate-50);
}

.consult p {
  margin: 0 0 18px;
}

.consult a {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--slate-900);
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px;
  border-top: 1px solid var(--slate-100);
  background: rgba(248, 250, 252, 0.64);
  color: var(--slate-400);
  font-size: 10px;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.55;
  }
}

@keyframes barPulse {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1);
  }
}

@media (max-width: 1040px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-menu.open {
    display: grid;
    gap: 14px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px 24px 24px;
    border-bottom: 1px solid var(--slate-200);
    background: white;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
  }

  .mobile-menu button {
    text-align: left;
    padding: 8px 0;
  }

  .mobile-menu .mobile-cta {
    padding: 12px;
    border-radius: 12px;
    background: var(--slate-950);
    color: white;
    text-align: center;
  }

  .flow-grid,
  .demo-card,
  .case-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .flow-lines {
    display: none;
  }

  .engine-node {
    padding: 8px 0;
  }

  .metrics-view,
  .capability-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-heading,
  .support-band,
  .demo-footnote {
    align-items: flex-start;
    flex-direction: column;
  }

  .console-panel {
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
  }
}

@media (max-width: 700px) {
  .container,
  .nav-inner {
    width: min(100% - 32px, 1280px);
  }

  .hero {
    padding: 116px 0 72px;
  }

  .hero-actions,
  .hero-actions button {
    width: 100%;
  }

  .mock-header,
  .chart-header,
  .terminal header,
  .case-card article footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-panel,
  .console-panel,
  .visual-panel,
  .case-card,
  .case-card article {
    padding: 22px;
  }

  .metrics-view,
  .capability-grid,
  .stats-grid,
  .summary-grid,
  .footer-grid nav {
    grid-template-columns: 1fr;
  }

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

  .brand-row {
    gap: 22px;
  }
}
