:root {
  --bg: #040508;
  --bg-elevated: #0a0e16;
  --bg-card: #0d121c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef2ff;
  --muted: #94a3b8;
  --accent: #5eead4;
  --accent-dim: rgba(94, 234, 212, 0.12);
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --warn: #fb923c;
  --danger: #be123c;
  --ok: #059669;
  --ok-bright: #34d399;
  --font: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.aurora {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: auroraDrift 18s ease-in-out infinite alternate;
}
.aurora-a {
  width: 55vw;
  height: 45vh;
  top: -10%;
  left: -15%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 70%);
}
.aurora-b {
  width: 50vw;
  height: 40vh;
  bottom: 10%;
  right: -10%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.3), transparent 70%);
  animation-delay: -6s;
}
@keyframes auroraDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 6%) scale(1.08); }
}

main { position: relative; z-index: 1; }
.site-header { z-index: 100; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(8, 12, 20, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 80px rgba(0, 0, 0, 0.45);
}

.pill-outline {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

.section-glow::before {
  content: "";
  position: absolute;
  left: 10%;
  top: 20%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(129, 140, 248, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.section-split { position: relative; }
.section-split > * { position: relative; z-index: 1; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9999;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(4, 5, 8, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34, 211, 238, 0.08);
  z-index: 100;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.logo-icon {
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}
.logo-z { color: var(--cyan); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-vayu {
  display: none;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.header-vayu:hover { opacity: 1; }
.header-vayu img,
.header-vayu .vayu-logo-img {
  display: block;
  max-height: 32px;
  max-width: 115px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Logo Vayu — aspect ratio reale (~1181×841), mai width+height fissi discordanti */
.vayu-logo-img {
  display: block;
  height: auto;
  width: auto;
  max-height: 36px;
  max-width: min(160px, 42vw);
  object-fit: contain;
}
.vayu-logo-img--cta {
  max-height: 42px;
  max-width: 180px;
  margin: 0 auto;
}
.vayu-logo-img--color {
  max-height: 48px;
  max-width: 200px;
}
@media (min-width: 900px) {
  .header-vayu { display: block; }
}

.boss-banner {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border-radius: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 860px) {
  .boss-banner {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 2.5rem 3rem;
  }
}
.boss-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.boss-roomz { filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.25)); }
.boss-plus {
  font-size: 1.5rem;
  color: var(--muted);
  font-weight: 300;
}
.boss-vayu-color {
  display: block;
}

.cta-partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2rem;
}
.cta-vayu-link {
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.cta-vayu-link:hover { opacity: 1; }
.cta-partners-meta a { color: var(--muted); }
.cta-partners-meta a:hover { color: var(--cyan); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}
@media (min-width: 700px) {
  .site-footer {
    grid-template-columns: 1fr auto 1fr;
  }
  .footer-center { text-align: center; }
  .footer-vayu { justify-self: end; }
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}
.footer-vayu img {
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-vayu:hover img { opacity: 1; }

.logo span { color: var(--accent); }

.nav-desktop { display: none; gap: 1.5rem; }
.nav-desktop a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.nav-desktop a:hover { color: var(--text); }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #042f2e; }
.btn-primary:hover { background: #99f6e4; }
.btn-gradient {
  background: linear-gradient(135deg, #22d3ee, #818cf8);
  color: #0f172a;
}
.btn-gradient:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }

.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 3rem) 1.5rem 4rem;
  display: grid;
  gap: 2.5rem;
  max-width: 1240px;
  margin: 0 auto;
  align-items: center;
  position: relative;
}

@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 1.1fr; min-height: 92vh; }
}

.hero-stage {
  position: relative;
  aspect-ratio: 5/4;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.15);
  background: radial-gradient(ellipse at 60% 30%, rgba(34, 211, 238, 0.08), transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(129, 140, 248, 0.1), transparent 45%),
              #060912;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(4, 5, 8, 0.75) 100%);
  pointer-events: none;
}

.rack-towers {
  display: none;
}

.rack-callout {
  position: absolute;
  z-index: 5;
  font-family: var(--mono);
  font-size: clamp(0.62rem, 1.8vw, 0.72rem);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  animation: calloutFloat 4s ease-in-out infinite;
  max-width: 90%;
}
.rack-callout-warn {
  top: 18%;
  left: 8%;
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.55);
  background: rgba(67, 20, 7, 0.75);
  box-shadow: 0 0 24px rgba(234, 88, 12, 0.25);
}
.rack-callout-ok {
  bottom: 22%;
  right: 6%;
  color: #a5f3fc;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(8, 47, 73, 0.7);
  animation-delay: -2s;
}
.callout-icon { margin-right: 0.35rem; opacity: 0.9; }
@keyframes calloutFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 959px) {
  .rack-callout-warn { top: 8%; left: 4%; }
  .rack-callout-ok { bottom: 8%; right: 4%; }
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 1rem;
}
.eyebrow-fair {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  color: var(--muted);
}
.dot-fair {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.gradient-text {
  background: linear-gradient(90deg, #67e8f9, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.warn-line { color: var(--warn); font-size: 0.85rem; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--muted);
}

.lead { font-size: 1.1rem; color: var(--muted); max-width: 36rem; margin: 0 0 1.75rem; }
.lead.narrow { max-width: 28rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.hero-stats strong { display: block; color: var(--text); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }

.hero-visual {
  position: relative;
}

/* legacy removed: hero-art, hero-float-card */

.pill {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
}
.pill-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--ok);
  border-radius: 50%;
  margin-right: 0.35rem;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.card-title { margin: 0.5rem 0 0.25rem; font-weight: 600; }
.card-meta { margin: 0; font-size: 0.85rem; color: var(--muted); }
.card-meta .ok { color: var(--ok); }
.card-meta .warn { color: var(--warn); }

.mini-faceplate {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin-top: 0.75rem;
}
.mini-faceplate span {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--ok);
  opacity: 0.85;
  transform: scale(0.95);
  transition: transform 0.2s;
}
.mini-faceplate span.busy { background: var(--danger); }
.mini-faceplate span.highlight {
  transform: scale(1.15);
  box-shadow: 0 0 8px var(--accent);
  z-index: 1;
}

.strip {
  border-y: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.strip-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}
.strip strong { color: var(--text); }

.section-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
@media (min-width: 900px) {
  .section-split { grid-template-columns: 1.05fr 1fr; }
}
.split-visual { position: relative; }
.faceplate-showcase {
  position: relative;
  padding: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
}
.faceplate-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 50%, rgba(34, 211, 238, 0.15), transparent 55%);
  pointer-events: none;
}
.faceplate-inner {
  position: relative;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(51, 65, 85, 0.6);
  background: rgba(2, 6, 14, 0.8);
}
.faceplate-id {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ok-bright);
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}
.showcase-grid {
  margin: 0;
  gap: 6px;
  position: relative;
  z-index: 2;
  min-height: 88px;
}
.showcase-grid .port {
  min-height: 14px;
  background: linear-gradient(145deg, #10b981, #059669);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.showcase-grid .port.used {
  background: linear-gradient(145deg, #fb7185, #be123c);
}
.showcase-grid .port.path {
  background: linear-gradient(145deg, #22d3ee, #0891b2);
}
.faceplate-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.5);
}
.path-svg {
  position: absolute;
  inset: 1.25rem;
  width: calc(100% - 2.5rem);
  height: calc(100% - 2.5rem);
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}
.path-curve {
  fill: none;
  stroke: url(#pathGrad);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  animation: dash 1.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.8));
}
.leg {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.leg-free { background: #065f46; box-shadow: 0 0 8px rgba(52, 211, 153, 0.35); }
.leg-used { background: #881337; }
.leg-path { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.noc-flow {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 800px) {
  .noc-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
  }
}
.noc-step {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.noc-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
}
.noc-step h3 { margin: 0.35rem 0 0.5rem; font-size: 1rem; }
.noc-step p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.noc-arrow {
  display: none;
  color: var(--muted);
  font-size: 1.5rem;
  padding-top: 2rem;
  text-align: center;
}
@media (min-width: 800px) {
  .noc-arrow { display: block; }
}
.noc-examples {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .noc-examples { grid-template-columns: repeat(3, 1fr); }
}
.noc-examples article {
  padding: 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(94, 234, 212, 0.05);
  font-size: 0.88rem;
  color: var(--muted);
}
.noc-examples strong { color: var(--text); }

.ai-group-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 1.25rem;
}
.ai-group-commercial { margin-top: 2.5rem; color: var(--muted); }
.ai-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .ai-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.ai-card-tech { border-color: rgba(94, 234, 212, 0.12); }
.ai-card-tech code {
  font-family: var(--mono);
  font-size: 0.78em;
  color: var(--accent);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.section-dark { background: var(--bg-elevated); max-width: none; padding-left: max(1.5rem, calc((100vw - 1200px) / 2)); padding-right: max(1.5rem, calc((100vw - 1200px) / 2)); }
.section-elevated { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%); max-width: none; }
#boss.section-elevated {
  max-width: none;
  padding: 4rem 1.5rem;
}

.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin: 0; }

.copilot-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 960px) {
  .copilot-layout { grid-template-columns: 1.2fr 1fr; }
}

.terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0e14;
}
.terminal-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  background: #06080c;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.terminal-bar .terminal-brand {
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.terminal-log .sys {
  color: #a78bfa;
}

.copilot-scenarios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.copilot-scenarios .copilot-run.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--accent-dim);
}

.terminal-log {
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  padding: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
}
.terminal-log .line { margin-bottom: 0.75rem; }
.terminal-log .user { color: var(--accent); }
.terminal-log .sys { color: var(--muted); }
.terminal-log .result { color: var(--text); padding-left: 0.5rem; border-left: 2px solid var(--accent-dim); }
.terminal-log .typing::after {
  content: "▋";
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.terminal-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 0.75rem;
}
.terminal-suggestions button {
  font-family: var(--font);
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.terminal-suggestions button:hover { border-color: var(--accent); color: var(--accent); }

.terminal-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
}
.terminal-input input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.terminal-input input:focus { outline: 1px solid var(--accent); }

.copilot-context h3 { font-size: 0.9rem; margin: 0 0 0.75rem; color: var(--muted); }
.context-panel {
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 100px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.context-panel .muted { color: var(--muted); }
.context-panel .highlight-rack { color: var(--warn); font-weight: 600; }

.floor-svg { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.svg-label { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.floor-rack {
  cursor: pointer;
  transition: fill 0.2s;
}
.floor-rack rect { fill: #1e293b; stroke: #334155; stroke-width: 1; }
.floor-rack.active rect { fill: rgba(94, 234, 212, 0.25); stroke: var(--accent); }
.floor-rack.warn rect { fill: rgba(251, 191, 36, 0.2); stroke: var(--warn); }
.floor-rack text { fill: var(--muted); font-size: 9px; font-family: var(--mono); }

.demo-stage {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.demo-scenario {
  font-family: var(--font);
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.demo-scenario.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

.demo-split {
  display: grid;
  min-height: 320px;
}
@media (min-width: 800px) {
  .demo-split { grid-template-columns: 1fr 1fr; }
}
.demo-pane {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) {
  .demo-pane:first-child { border-bottom: none; border-right: 1px solid var(--border); }
}
.pane-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.75rem;
}

.demo-chat { font-size: 0.88rem; }
.demo-chat .step {
  opacity: 0;
  transform: translateY(8px);
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.demo-chat .step.visible { animation: stepIn 0.45s ease forwards; }
@keyframes stepIn { to { opacity: 1; transform: translateY(0); } }

.visual-stack {
  position: relative;
  min-height: 280px;
  background: linear-gradient(160deg, #0a0e14, #060912);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.5);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  align-items: stretch;
}
@media (max-width: 520px) {
  .visual-stack { grid-template-columns: 1fr; }
}
.visual-layer { min-height: 120px; }
.faceplate-layer { position: relative; }
.demo-fp-grid { margin-top: 0.35rem; gap: 5px; }

.path-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
}
.path-overlay.show {
  opacity: 1;
}
.path-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.5);
  background: rgba(8, 47, 73, 0.85);
  color: #a5f3fc;
  animation: pathPulse 1.5s ease infinite;
}

#demo-play.is-playing {
  border-color: var(--cyan);
  color: var(--cyan);
}

.elevation-bars {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  max-width: 120px;
  margin: 0 auto;
}
.elevation-bars .u {
  height: 8px;
  background: #1e293b;
  border-radius: 1px;
  font-size: 0;
}
.elevation-bars .u.odf { background: linear-gradient(90deg, #334155, #475569); }
.elevation-bars .u.colo { background: rgba(94, 234, 212, 0.3); }

.faceplate-label,
.elevation-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.faceplate-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: 1rem;
}
.faceplate-grid .port {
  aspect-ratio: 1;
  min-height: 12px;
  border-radius: 6px;
  background: linear-gradient(145deg, #10b981, #059669);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.faceplate-grid .port:hover { transform: scale(1.08); }
.faceplate-grid .port.used {
  background: linear-gradient(145deg, #fb7185, #be123c);
  opacity: 1;
}
.faceplate-grid .port.path {
  background: linear-gradient(145deg, #0891b2, #06b6d4);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.75);
  transform: scale(1.12);
  z-index: 2;
  animation: pathPulse 1.8s ease infinite;
}
@keyframes pathPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--accent); }
  50% { box-shadow: 0 0 12px var(--accent); }
}

.path-overlay {
  position: absolute;
  inset: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.path-overlay.show { opacity: 1; }
.path-line {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 8 4;
  animation: dash 1s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -12; } }

.ai-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .ai-grid { grid-template-columns: repeat(3, 1fr); }
}

.ai-card {
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(13, 18, 28, 0.95), rgba(8, 11, 18, 0.98));
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.ai-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.ai-icon {
  font-size: 1.25rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}
.ai-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.ai-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.billing-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .billing-layout { grid-template-columns: 1fr 1fr; padding-bottom: 5rem; }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.check-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.invoice-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.invoice-table th, .invoice-table td {
  text-align: left;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid var(--border);
}
.invoice-table th { color: var(--muted); font-weight: 500; }
.invoice-foot { font-size: 0.72rem; color: var(--muted); margin: 1rem 0 0; }

.cta { padding-bottom: 6rem; }
.cta-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(129, 140, 248, 0.1), transparent 50%),
    rgba(13, 18, 28, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.cta-box h2 { font-size: 1.5rem; margin: 0 0 0.75rem; }
.cta-box > p { color: var(--muted); margin: 0 0 1.5rem; }

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cta-form input {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}
.cta-note { min-height: 1.5rem; font-size: 0.85rem; color: var(--ok); margin-top: 0.75rem; }