:root {
  --bg: #07080b;
  --bg-2: #0b0f17;
  --bg-3: #111826;
  --text: #e9edf5;
  --muted: #a7b0c0;
  --accent: #27e3c1;
  --accent-2: #69a8ff;
  --accent-3: #f3c16b;
  --accent-4: #5bffb4;
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --font-display: "Space Grotesk", "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px 64px 48px;
  gap: 80px;
}

.bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.28) 32%,
      rgba(0, 0, 0, 0) 70%
    ),
    radial-gradient(circle at 30% 20%, rgba(39, 227, 193, 0.18), transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(105, 168, 255, 0.2), transparent 45%),
    radial-gradient(circle at 50% 60%, rgba(12, 18, 26, 0.85), transparent 60%);
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: pulse 10s ease-in-out infinite;
  transform: translate3d(0, var(--parallax, 0px), 0);
  z-index: 0;
}

.glow-a {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(105, 168, 255, 0.7), transparent 65%);
  top: -120px;
  left: -80px;
}

.glow-b {
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(39, 227, 193, 0.6), transparent 65%);
  right: -240px;
  top: 10%;
  animation-delay: -6s;
}

.glow-c {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(243, 193, 107, 0.5), transparent 65%);
  left: 10%;
  bottom: -240px;
  animation-delay: -12s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.08;
  transform: perspective(800px) rotateX(60deg) translateY(-200px);
  transform-origin: top;
  filter: blur(0.3px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 65%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 65%);
  z-index: 0;
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 26px;
  margin: 0 auto;
  width: 100%;
  max-width: 1240px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.48),
    rgba(8, 12, 18, 0.34)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.compact {
  /* Keep nav size stable while scrolling; only tighten styling */
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.42),
    rgba(8, 12, 18, 0.28)
  );
  border-color: rgba(61, 215, 197, 0.3);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  box-shadow: var(--shadow);
  filter: drop-shadow(0 6px 16px rgba(39, 227, 193, 0.35));
}

.links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  z-index: 2;
  margin-top: 9vh;
  max-width: 1120px;
  animation: fadeUp 1s ease forwards;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.terminal-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(10, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.terminal-title {
  font-size: 12px;
  color: rgba(233, 237, 245, 0.65);
  margin-bottom: 10px;
}

.terminal-line {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  color: #c7f9ff;
}

.prompt {
  color: var(--accent-4);
  margin-right: 6px;
}

.terminal-pill {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(39, 227, 193, 0.15);
  color: var(--accent-4);
  border: 1px solid rgba(39, 227, 193, 0.4);
}



.feature-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(10, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature-card p {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(233, 237, 245, 0.7);
}

.feature-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-tags span {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cluster-card {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  background: rgba(10, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cluster-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 54px;
  bottom: 16px;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    rgba(39, 227, 193, 0.52),
    rgba(39, 227, 193, 0.52) 6px,
    transparent 6px,
    transparent 14px
  );
  opacity: 0.5;
  pointer-events: none;
}

.cluster-card > * {
  position: relative;
  z-index: 1;
}

.cluster-title {
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(233, 237, 245, 0.8);
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cluster-node {
  font-size: 12px;
  margin-bottom: 6px;
  color: rgba(233, 237, 245, 0.7);
}

.cluster-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(39, 227, 193, 0.12);
  border: 1px solid rgba(39, 227, 193, 0.3);
  margin-bottom: 6px;
  display: inline-flex;
}

.trusted {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  text-align: center;
  color: rgba(233, 237, 245, 0.7);
}

.trusted-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.trusted-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  opacity: 0.7;
}

.trusted-row span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
}

.logo-strip {
  filter: blur(6px);
  opacity: 0.3;
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.logo-strip.visible {
  opacity: 1;
  filter: blur(0);
}

.showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(260px, 320px) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
}

.showcase-panel {
  display: grid;
  gap: 16px;
  position: relative;
}



.activity-column {
  display: grid;
  gap: 16px;
}

.activity-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(10, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 120%;
  background: radial-gradient(circle at 20% 20%, rgba(39, 227, 193, 0.18), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.activity-title {
  font-size: 12px;
  color: rgba(233, 237, 245, 0.6);
  margin-bottom: 8px;
}

.activity-item {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.activity-meta {
  font-size: 12px;
  color: rgba(233, 237, 245, 0.7);
}

.showcase-content h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
}

.showcase-content p {
  margin: 0 0 18px;
  color: var(--muted);
}

.pulse-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pulse-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(233, 237, 245, 0.85);
}

.pulse-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(122, 162, 255, 0.9);
  box-shadow: 0 0 12px rgba(105, 168, 255, 0.7);
}

.node-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.node-stack-copy h2 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 36px);
}

.node-stack-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.node-stack-tags span {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.node-stack-visual {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  background: rgba(7, 13, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.node-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.node-lines line {
  stroke: rgba(105, 168, 255, 0.55);
  stroke-dasharray: 6 8;
  stroke-width: 2;
  stroke-dashoffset: 28;
  opacity: 0.4;
}

.node-stack.visible .node-lines line {
  animation: dash 5s linear infinite;
  opacity: 0.9;
}

.stack-node {
  position: absolute;
  width: 130px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(10, 18, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.stack-node.center {
  width: 150px;
  border-color: rgba(39, 227, 193, 0.5);
}

.stack-node h4 {
  margin: 0 0 4px;
  font-size: 13px;
}

.stack-node p {
  margin: 0;
  font-size: 11px;
  color: rgba(233, 237, 245, 0.7);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  letter-spacing: -0.045em;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero h1 span {
  color: var(--accent-2);
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05060a;
  box-shadow: 0 16px 40px rgba(61, 215, 197, 0.25);
}

.cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(61, 215, 197, 0.35);
}

.cta.ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.cta.ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.metrics {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.metric {
  font-size: 20px;
  font-weight: 700;
}

.label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.footer {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(233, 237, 245, 0.6);
}

.floating-badge {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 4;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(10, 16, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: rgba(233, 237, 245, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.floating-badge strong {
  color: #ffb347;
}



.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  position: relative;
  z-index: 2;
  background: rgba(6, 12, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.section-header {
  max-width: 680px;
  margin-bottom: 28px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
}

.section p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cards article {
  background: rgba(11, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px;
  min-height: 140px;
  transition: transform 0.2s ease, border 0.2s ease;
}

.cards article:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 215, 197, 0.4);
}

.cards h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.cards p {
  margin: 0;
  font-size: 14px;
  color: rgba(233, 237, 245, 0.75);
}

.section.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: 32px;
}

.section.diagram {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.diagram-copy ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.diagram-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(233, 237, 245, 0.8);
  font-size: 14px;
}

.diagram-copy li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-4);
  box-shadow: 0 0 12px rgba(91, 255, 180, 0.6);
}

.diagram-canvas {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  background: rgba(8, 14, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.diagram-canvas.animated {
  box-shadow: inset 0 0 80px rgba(39, 227, 193, 0.12);
}

.orbit-pulse {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(39, 227, 193, 0.25);
  top: 120px;
  left: 210px;
  animation: spin 14s linear infinite;
  opacity: 0.6;
}

.orbit-pulse.second {
  width: 230px;
  height: 230px;
  top: 95px;
  left: 185px;
  animation-duration: 20s;
  opacity: 0.35;
}

.diagram-canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.flow-path {
  stroke: rgba(180, 220, 255, 1);
  stroke-dasharray: 6 8;
  stroke-width: 3.2;
  stroke-linecap: round;
  fill: none;
  animation: dash 4s linear infinite;
}

.flow-dot {
  fill: #bfe7ff;
  filter: drop-shadow(0 0 16px rgba(190, 230, 255, 1));
  animation: glowPulse 1.4s ease-in-out infinite;
}

.node {
  z-index: 2;
}

.node {
  position: absolute;
  width: 140px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(11, 18, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  animation: nodeFloat 6s ease-in-out infinite;
}

.node h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.node p {
  margin: 0;
  font-size: 12px;
  color: rgba(233, 237, 245, 0.7);
}

.node.primary {
  width: 160px;
  background: rgba(12, 26, 30, 0.95);
  border-color: rgba(39, 227, 193, 0.45);
  animation-delay: -2s;
}

.node:nth-of-type(2) {
  animation-delay: -1s;
}

.node:nth-of-type(3) {
  animation-delay: -3s;
}

.node:nth-of-type(4) {
  animation-delay: -4s;
}

.node:nth-of-type(5) {
  animation-delay: -5s;
}

.node:nth-of-type(6) {
  animation-delay: -6s;
}

.section.stack {
  overflow: hidden;
}

.marquee {
  margin-top: 24px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}

.track span {
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(233, 237, 245, 0.85);
}

.stack-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 2;
}

.stack-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: rgba(10, 18, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.stack-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}

.architecture {
  position: relative;
}

.arch-frame {
  margin-top: 24px;
  border-radius: 22px;
  background: rgba(8, 14, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  box-shadow: var(--shadow);
}

.arch-diagram {
  width: 100%;
  height: 520px;
}

.arch-group {
  fill: rgba(8, 14, 22, 0.6);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.2;
}

.arch-card {
  fill: rgba(12, 20, 30, 0.9);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.2;
}

.arch-label {
  fill: rgba(125, 185, 255, 0.9);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.arch-title {
  fill: #e9edf5;
  font-size: 14px;
  font-weight: 600;
}

.arch-sub {
  fill: rgba(233, 237, 245, 0.7);
  font-size: 12px;
}

.arch-icon {
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(125, 185, 255, 0.6));
  transform: translateY(1px);
}

.arch-link {
  stroke: rgba(160, 210, 255, 0.95);
  stroke-width: 2.8;
  stroke-dasharray: 8 10;
  stroke-linecap: round;
  fill: none;
  animation: dash 4s linear infinite;
}

.arch-diagram image {
  image-rendering: auto;
}


.stack-logo {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(39, 227, 193, 0.4));
  opacity: 0.95;
}

.stack-logos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(39, 227, 193, 0.5) 40%, transparent 60%);
  opacity: 0.22;
  transform: translateX(-120%);
  animation: sweep 6s ease-in-out infinite;
  pointer-events: none;
}

.stack-card h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.stack-card p {
  margin: 0;
  font-size: 12px;
  color: rgba(233, 237, 245, 0.7);
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 18, 0.8);
}

.step span {
  font-weight: 700;
  color: var(--accent-4);
}

.step h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.step p {
  margin: 0;
  font-size: 13px;
  color: rgba(233, 237, 245, 0.7);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    filter: blur(2px);
  }
  50% {
    opacity: 0.8;
    filter: blur(8px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -28;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-120%);
  }
  60% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .page {
    padding: 24px;
    gap: 40px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    position: sticky;
    top: 12px;
  }

  .nav.compact {
    width: 100%;
  }

  .links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    margin-top: 6vh;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 48px);
  }

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

  .showcase-panel {
    order: 2;
  }

  .cluster-card::before {
    content: none;
  }

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

  .showcase-content {
    order: 3;
  }

  .activity-column {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .trusted {
    margin-top: 0;
  }

  .section {
    padding: 24px;
  }

  .arch-diagram {
    height: 440px;
  }

  .diagram-canvas {
    min-height: 360px;
  }

  .footer {
    flex-direction: column;
  }

  .floating-badge {
    left: 16px;
    bottom: 16px;
  }


}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .hero,
  .track,
  .diagram-canvas path,
  .orbit-pulse,
  .node {
    animation: none;
  }

  .flow-dot {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

body.debug .diagram-canvas,
body.debug .stack-diagram {
  outline: 2px solid rgba(255, 255, 255, 0.25);
}

body.debug .flow-path {
  stroke: #7ffcff;
  stroke-width: 4;
  opacity: 1;
}

body.debug .flow-dot {
  fill: #fff;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 1));
}
