:root {
  --brand: #c86b4b;
  --brand-dark: #9e4e35;
  --brand-soft: #f6e7df;
  --brand-line: #e6c8bb;
  --ink: #2f2a25;
  --text: #5f574f;
  --muted: #81776d;
  --faint: #a59a90;
  --line: #e7ddd3;
  --surface: #fffdf9;
  --surface-soft: #f8f4ed;
  --shadow-sm: 0 1px 2px rgba(66, 49, 38, 0.05);
  --shadow-md: 0 12px 35px rgba(85, 60, 44, 0.09);
  --shadow-lg: 0 28px 80px rgba(77, 52, 37, 0.14);
  --radius: 18px;
  --ease: 0.22s cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(230, 200, 186, 0.34), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(246, 231, 219, 0.62), transparent 30%),
    #faf7f1;
  font-family: Inter, "Segoe UI", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(229, 217, 206, 0.82);
  background: rgba(250, 247, 241, 0.84);
  backdrop-filter: blur(18px) saturate(1.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}

.brand b {
  color: var(--brand);
}

.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #dd987a, #b45a3d);
  font-size: 11px;
  letter-spacing: -0.04em;
  box-shadow: 0 6px 16px rgba(172, 84, 55, 0.2);
}

.nav-links {
  display: flex;
  gap: 23px;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color var(--ease);
}

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

.nav-spacer {
  flex: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  padding: 0 14px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 600;
  transition: background var(--ease), transform var(--ease);
}

.nav-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c6f6df;
  box-shadow: 0 0 0 0 rgba(198, 246, 223, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(198, 246, 223, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 246, 223, 0); }
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 74px 0 88px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 58px;
}

.eyebrow,
.kicker {
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: var(--brand-soft);
}

.eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero h1 {
  margin: 24px 0 20px;
  color: var(--ink);
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

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

.hero-copy > p {
  max-width: 570px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions.centered {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn.primary {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 26px rgba(21, 155, 121, 0.2);
}

.btn.primary:hover {
  background: var(--brand-dark);
}

.btn.ghost:hover {
  border-color: var(--brand-line);
  background: var(--brand-soft);
}

.stack-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 34px;
  color: var(--faint);
  font-size: 11px;
}

.stack-line span + span::before {
  content: "·";
  margin-right: 15px;
  color: #c2ceca;
}

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

.hero-glow-a {
  top: 80px;
  right: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(220, 164, 139, 0.22), transparent 68%);
}

.hero-glow-b {
  bottom: -180px;
  left: 16%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(244, 226, 214, 0.5), transparent 70%);
}

.hero-visual {
  position: relative;
}

.hero-window {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
  backdrop-filter: blur(24px);
}

.window-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(52, 96, 84, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfdad6;
}

.window-bar i:first-child { background: #ef8d83; }
.window-bar i:nth-child(2) { background: #ecc56b; }
.window-bar i:nth-child(3) { background: #d89778; }

.window-bar span {
  margin-left: 7px;
  color: var(--faint);
  font-size: 9px;
}

.hero-app {
  height: 430px;
  display: grid;
  grid-template-columns: 58px 1fr;
  background:
    radial-gradient(circle at 25% 15%, rgba(236, 210, 197, 0.34), transparent 34%),
    linear-gradient(150deg, #fffdf9, #f7f0e8);
}

.mini-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 15px 8px;
  border-right: 1px solid rgba(52, 96, 84, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.mini-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
  font-size: 11px;
  font-weight: 700;
}

.mini-button {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #edf4f1;
}

.mini-button.active {
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}

.mini-canvas {
  position: relative;
  overflow: hidden;
}

.hero-node {
  position: absolute;
  width: 170px;
  min-height: 82px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(34, 83, 69, 0.1);
}

.hero-node .node-tag {
  display: block;
  color: var(--brand);
  font-size: 8px;
  font-weight: 700;
}

.hero-node strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 11px;
}

.hero-node small {
  display: block;
  margin-top: 9px;
  color: var(--faint);
  font-size: 8px;
}

.node-a { left: 48px; top: 166px; }
.node-b { right: 64px; top: 72px; }
.node-c { right: 64px; top: 266px; }

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

.hero-lines path {
  fill: none;
  stroke: #d1a08b;
  stroke-width: 1.6;
  stroke-dasharray: 5 4;
  animation: dash 10s linear infinite;
}

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

.route-label {
  position: absolute;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  font-size: 7px;
}

.route-a { top: 127px; left: 49%; }
.route-b { top: 270px; left: 49%; }

.cost-float {
  position: absolute;
  right: 18px;
  bottom: 17px;
  display: flex;
  flex-direction: column;
  padding: 10px 13px;
  border: 1px solid var(--brand-line);
  border-radius: 10px;
  background: rgba(253, 247, 242, 0.94);
  box-shadow: var(--shadow-md);
}

.cost-float span { color: var(--muted); font-size: 7px; }
.cost-float strong { color: var(--brand-dark); font-size: 13px; }
.cost-float small { color: var(--faint); font-size: 7px; }

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
  font-size: 9px;
  font-weight: 600;
  backdrop-filter: blur(16px);
}

.hero-badge span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 8px;
}

.badge-model { top: 54px; left: -24px; }
.badge-cost { right: -18px; bottom: 52px; }

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-head h2 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-head p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.demo-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 250, 248, 0.72);
}

.product-demo {
  max-width: 1080px;
  margin: 14px auto 0;
}

.legacy-product-demo {
  display: none;
}

.live-app-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: var(--shadow-lg);
}

.guided-demo-frame {
  display: block;
  width: 100%;
  height: 650px;
  border: 0;
  background: #f8f3ed;
}

.demo-toolbar {
  max-width: 1080px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 10px;
}

.guide-steps {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.guide-steps > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 249, 0.78);
  font-size: 8px;
  transition: all 0.25s ease;
}

.guide-steps > span b {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b4aaa0;
  font-family: Consolas, monospace;
  font-size: 7px;
}

.guide-steps > span.active {
  color: var(--brand-dark);
  border-color: var(--brand-line);
  background: var(--brand-soft);
  font-weight: 600;
}

.guide-steps > span.active b,
.guide-steps > span.done b {
  background: var(--brand);
}

.guide-steps > span.done {
  color: var(--brand-dark);
  border-color: rgba(200, 107, 75, 0.2);
}

.guide-steps > i {
  color: #c7bdb4;
  font-size: 11px;
  font-style: normal;
}

.demo-player-actions {
  display: flex;
  gap: 7px;
}

.demo-player-actions button {
  height: 31px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 253, 249, 0.9);
  font-size: 9px;
  cursor: pointer;
}

.demo-player-actions button.primary {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.demo-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: #fffdf9;
  box-shadow: var(--shadow-lg);
}

.demo-chrome {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  background: #faf6f0;
  font-size: 10px;
}

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

.demo-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7cec4;
}

.demo-dots i:first-child { background: #d98d76; }
.demo-dots i:nth-child(2) { background: #d9b36e; }
.demo-dots i:nth-child(3) { background: #d89778; }

.demo-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
}

.demo-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  animation: livePulse 1.8s infinite;
}

.demo-app {
  height: 550px;
  display: grid;
  grid-template-columns: 64px 1fr;
  background:
    radial-gradient(circle at 17% 10%, rgba(239, 215, 202, 0.25), transparent 32%),
    #f8f3ec;
}

.demo-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 8px;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.8);
}

.demo-rail-logo,
.demo-rail-item {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--muted);
  background: #f1ebe4;
  font-size: 11px;
  font-weight: 700;
}

.demo-rail-logo {
  margin-bottom: 8px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 7px 18px rgba(181, 96, 66, 0.22);
}

.demo-rail-label {
  margin: 4px 0;
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.demo-rail-item.active {
  color: var(--brand-dark);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}

.demo-rail-item.small {
  font-size: 10px;
}

.demo-rail-spacer {
  flex: 1;
}

.demo-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.demo-scene {
  position: absolute;
  inset: 0;
  display: block;
  visibility: hidden;
  padding: 24px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.demo-scene.active {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.scene-toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
}

.scene-toolbar > span {
  height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 253, 249, 0.9);
  font-size: 8px;
}

.scene-toolbar .scene-chip {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.scene-title {
  position: absolute;
  top: 78px;
  left: 28px;
}

.scene-title span {
  color: var(--brand);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.scene-title b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 15px;
}

.scene-links {
  position: absolute;
  inset: 50px 30px 20px 30px;
  width: calc(100% - 60px);
  height: calc(100% - 70px);
}

.scene-links path {
  fill: none;
  stroke: #d2a28d;
  stroke-width: 1.8;
  stroke-dasharray: 6 5;
  animation: lineFlow 1.2s linear infinite;
}

.scene-node {
  position: absolute;
  z-index: 2;
  width: 205px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 15px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 12px 28px rgba(95, 65, 47, 0.1);
  animation: nodeFloat 4s ease-in-out infinite;
}

.scene-node-tag {
  display: block;
  color: var(--brand);
  font-size: 8px;
  font-weight: 700;
}

.scene-node b {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 13px;
}

.scene-node small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

.scene-node em {
  display: inline-flex;
  margin-top: 13px;
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 7px;
  font-style: normal;
}

.node-triage { left: 7%; top: 47%; }
.node-tech { right: 8%; top: 19%; animation-delay: 0.35s; }
.node-sales { right: 8%; bottom: 13%; animation-delay: 0.7s; }

.scene-route {
  position: absolute;
  z-index: 2;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fffdf9;
  font-size: 7px;
}

.route-tech { left: 48%; top: 33%; }
.route-sales { left: 48%; bottom: 32%; }

.demo-cursor {
  position: absolute;
  z-index: 5;
  left: 25%;
  top: 56%;
  width: 16px;
  height: 22px;
  animation: cursorTravel 4s ease-in-out infinite;
}

.demo-cursor::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 15px solid var(--brand);
  border-right: 8px solid transparent;
  filter: drop-shadow(0 2px 4px rgba(97, 59, 42, 0.25));
  transform: rotate(-12deg);
}

.demo-cursor span {
  position: absolute;
  left: 8px;
  top: 12px;
  width: 32px;
  height: 18px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: var(--brand-soft);
}

.scene-prompt.active,
.scene-model.active {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(260px, 1.05fr);
  align-items: center;
  gap: 36px;
  padding: 30px 46px;
}

.config-preview {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fffdf9;
  box-shadow: var(--shadow-md);
}

.config-preview-head > span,
.scene-side-note > span {
  color: var(--brand);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.config-preview-head h3 {
  margin: 6px 0 3px;
  color: var(--ink);
  font-size: 17px;
}

.config-preview-head p {
  margin-bottom: 17px;
  color: var(--faint);
  font-size: 8px;
}

.config-field {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbf8f3;
}

.config-field.active {
  border-color: var(--brand-line);
  background: #fffaf6;
  box-shadow: 0 0 0 3px rgba(200, 107, 75, 0.07);
  animation: fieldPulse 2s ease-in-out infinite;
}

.config-field label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
}

.config-field > div {
  color: var(--ink);
  font-size: 9px;
}

.config-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.billing-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  margin-top: 14px;
  padding: 11px;
  border: 1px solid #e9d9c6;
  border-radius: 9px;
  background: #fdf8ef;
  font-size: 8px;
}

.billing-preview span { color: var(--muted); }
.billing-preview b { color: #7d5d3d; }

.scene-side-note {
  max-width: 310px;
}

.scene-side-note b {
  display: block;
  margin: 10px 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.scene-side-note p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.scene-chat {
  padding: 24px 50px;
}

.chat-preview {
  max-width: 760px;
  height: 100%;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 253, 249, 0.93);
  box-shadow: var(--shadow-md);
}

.chat-preview-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.chat-agent-dot {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
  font-size: 10px;
}

.chat-preview-head div b {
  display: block;
  color: var(--ink);
  font-size: 11px;
}

.chat-preview-head div small {
  display: block;
  color: var(--faint);
  font-size: 7px;
}

.chat-cost {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 7px;
}

.chat-message.user {
  width: max-content;
  max-width: 72%;
  margin: 16px 0 12px auto;
  padding: 8px 11px;
  border-radius: 11px 3px 11px 11px;
  color: #fff;
  background: var(--brand);
  font-size: 9px;
  animation: messageIn 0.5s both;
}

.chat-collab {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbf8f3;
}

.collab-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 8px;
  background: #fff;
  opacity: 0;
  animation: messageIn 0.5s 0.4s both;
}

.collab-item > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  font-size: 7px;
}

.collab-item div {
  min-width: 0;
  flex: 1;
}

.collab-item b {
  display: block;
  color: var(--ink);
  font-size: 8px;
}

.collab-item small {
  display: block;
  color: var(--faint);
  font-size: 7px;
}

.collab-item em {
  color: var(--faint);
  font-size: 7px;
  font-style: normal;
}

.collab-item.streaming {
  animation-delay: 0.9s;
}

.collab-item.streaming em {
  color: var(--brand);
  animation: blinkText 1s infinite;
}

.chat-answer {
  margin-top: 11px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  opacity: 0;
  animation: answerReveal 0.7s 1.4s both;
}

.chat-answer p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 8px;
}

.chat-answer b {
  color: var(--ink);
}

.scene-billing {
  padding: 34px 44px;
}

.billing-demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.billing-metric {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fffdf9;
  opacity: 0;
  animation: messageIn 0.45s both;
}

.billing-metric:nth-child(2) { animation-delay: 0.08s; }
.billing-metric:nth-child(3) { animation-delay: 0.16s; }
.billing-metric:nth-child(4) { animation-delay: 0.24s; }

.billing-metric span {
  color: var(--muted);
  font-size: 7px;
}

.billing-metric b {
  display: block;
  margin: 5px 0 2px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.billing-metric small {
  color: var(--faint);
  font-size: 6px;
}

.billing-demo-panels {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  margin-top: 12px;
}

.billing-bars,
.billing-recent {
  min-height: 250px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-title b {
  color: var(--ink);
  font-size: 9px;
}

.panel-title span {
  color: var(--faint);
  font-size: 6px;
}

.cost-row {
  margin-top: 14px;
}

.cost-row > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.cost-row b {
  color: var(--ink);
}

.cost-row i {
  display: block;
  height: 5px;
  margin: 6px 0;
  overflow: hidden;
  border-radius: 4px;
  background: #efe7de;
}

.cost-row em {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), #e1a68e);
  animation: barGrow 1s 0.4s both;
  transform-origin: left;
}

.cost-row small {
  color: var(--faint);
  font-size: 6px;
}

.billing-recent p {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.billing-recent p > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.billing-recent p > span {
  flex: 1;
}

.billing-recent p b {
  display: block;
  color: var(--ink);
  font-size: 7px;
}

.billing-recent p small {
  display: block;
  color: var(--faint);
  font-size: 6px;
}

.billing-recent p em {
  color: #a76a4f;
  font-size: 7px;
  font-style: normal;
}

.demo-controls {
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
  background: #fffdf9;
}

.demo-progress {
  height: 3px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 3px;
  background: #eee6dc;
}

.demo-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--brand);
  transition: width 0.18s linear;
}

.demo-scene-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.demo-scene-nav > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: #fff;
  font-size: 9px;
  text-align: left;
  transition: all var(--ease);
}

.demo-scene-nav > span b {
  color: var(--faint);
  font-family: Consolas, monospace;
  font-size: 8px;
}

.demo-scene-nav > span.active {
  color: var(--brand-dark);
  border-color: var(--brand-line);
  background: var(--brand-soft);
  font-weight: 600;
}

.demo-scene-nav > span.active b,
.demo-scene-nav > span.done b {
  color: var(--brand);
}

.demo-scene-nav > span.done {
  border-color: rgba(200, 107, 75, 0.16);
  color: var(--brand-dark);
  background: rgba(255, 249, 244, 0.92);
}

.manual-caption {
  position: absolute;
  z-index: 7;
  left: 22px;
  bottom: 16px;
  padding: 7px 11px;
  border: 1px solid var(--brand-line);
  border-radius: 9px;
  color: var(--brand-dark);
  background: rgba(255, 250, 245, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 8px;
  font-weight: 600;
  display: none;
}

.scene-create.active {
  display: grid;
  place-items: center;
}

.create-demo-card {
  width: min(700px, calc(100% - 70px));
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow-md);
}

.demo-kicker {
  color: var(--brand);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.create-demo-card h3 {
  margin: 5px 0 3px;
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -0.03em;
}

.create-demo-card > p {
  color: var(--muted);
  font-size: 8px;
}

.create-demo-fields {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 9px;
  margin-top: 18px;
}

.create-demo-fields > div {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbf8f3;
}

.create-demo-fields label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 7px;
}

.create-demo-fields span {
  color: var(--ink);
  font-size: 8px;
}

.template-choice-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.template-choice {
  min-height: 82px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbf8f3;
  opacity: 0;
  animation: messageIn 0.45s both;
}

.template-choice:nth-child(2) { animation-delay: 0.12s; }
.template-choice:nth-child(3) { animation-delay: 0.24s; }

.template-choice.active {
  border-color: var(--brand);
  background: #fff7f2;
  box-shadow: 0 0 0 3px rgba(200, 107, 75, 0.08);
}

.template-choice i {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-style: normal;
}

.template-choice b {
  display: block;
  color: var(--ink);
  font-size: 8px;
}

.template-choice small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 6px;
}

.manual-primary-button,
.manual-secondary-button {
  border-radius: 9px;
  cursor: pointer;
  font-size: 8px;
  font-weight: 600;
}

.manual-primary-button {
  display: block;
  margin: 14px 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
}

.manual-secondary-button {
  align-self: end;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--brand-line);
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.drag-ghost-node {
  position: absolute;
  left: 43%;
  bottom: 13%;
  width: 140px;
  min-height: 56px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--brand);
  border-radius: 12px;
  color: var(--brand-dark);
  background: rgba(255, 250, 245, 0.82);
  font-size: 8px;
  opacity: 0;
  transform: translate(-20px, 18px) rotate(-2deg);
  transition:
    left 0.7s cubic-bezier(0.22, 0.8, 0.2, 1),
    bottom 0.7s cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 0.2s ease;
}

.drag-ghost-node.visible {
  opacity: 1;
  animation: dragPulse 2.8s ease-in-out infinite;
}

.prompt-preview {
  max-width: 460px;
}

.prompt-typed > div {
  color: var(--brand-dark);
}

.prompt-tip {
  margin-top: 13px;
  color: var(--faint);
  font-size: 7px;
}

.model-preview {
  max-width: 470px;
}

.model-pull-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px;
}

.model-dropdown {
  position: absolute;
  right: 27%;
  bottom: 27%;
  z-index: 4;
  width: 180px;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 9px;
  background: #fffdf9;
  box-shadow: var(--shadow-md);
  visibility: hidden;
  opacity: 0;
}

.model-dropdown.visible {
  visibility: visible;
  opacity: 1;
  animation: dropdownIn 0.28s ease both;
}

.model-dropdown span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 8px;
}

.model-dropdown span:last-child {
  border-bottom: 0;
}

.model-dropdown span:first-child {
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 600;
}

.model-dropdown i {
  color: var(--brand);
  font-style: normal;
}

.final-output-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: stretch;
  padding-top: 18px;
}

.final-answer-card,
.billing-demo-compact {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: var(--shadow-sm);
}

.final-answer-card > span {
  color: var(--brand);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.final-answer-card h3 {
  margin: 7px 0 12px;
  color: var(--ink);
  font-size: 17px;
}

.final-answer-card > p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 9px;
}

.final-trace {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.final-trace i {
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 7px;
  font-style: normal;
}

.final-trace span {
  color: var(--faint);
  font-size: 7px;
}

.billing-demo-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.billing-demo-compact .billing-metric {
  padding: 10px;
}

.billing-demo-compact .cost-row {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.billing-demo-compact .cost-row + .cost-row {
  margin-top: 0;
}

.typing-caret {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--brand);
  animation: caretBlink 0.75s steps(2, end) infinite;
}

.manual-cursor {
  position: absolute;
  z-index: 50;
  left: 28px;
  top: 28px;
  width: 16px;
  height: 22px;
  pointer-events: none;
  opacity: 0;
  transition:
    left 0.55s cubic-bezier(0.22, 0.8, 0.2, 1),
    top 0.55s cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 0.2s ease;
}

.manual-cursor.visible {
  opacity: 1;
}

.manual-cursor::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 17px solid #5c4437;
  border-right: 9px solid transparent;
  filter: drop-shadow(0 2px 4px rgba(72, 45, 31, 0.24));
  transform: rotate(-12deg);
}

.manual-cursor::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  opacity: 0;
}

.manual-cursor.clicking::after {
  animation: clickRipple 0.45s ease-out;
}

.manual-cursor span {
  position: absolute;
  left: 9px;
  top: 13px;
  width: 29px;
  height: 18px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: rgba(246, 231, 223, 0.9);
}

.manual-primary-button.clicked {
  transform: scale(0.96);
  filter: brightness(0.92);
}

@keyframes dragPulse {
  0%, 100% { transform: translate(0, 0) rotate(-1deg); }
  50% { transform: translate(22px, -8px) rotate(1deg); }
}

@keyframes caretBlink {
  50% { opacity: 0; }
}

@keyframes clickRipple {
  from { opacity: 0.75; transform: scale(0.5); }
  to { opacity: 0; transform: scale(2.2); }
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-5px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes livePulse {
  50% { opacity: 0.45; transform: scale(0.8); }
}

@keyframes lineFlow {
  to { stroke-dashoffset: -22; }
}

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

@keyframes cursorTravel {
  0%, 15% { left: 25%; top: 57%; }
  40% { left: 37%; top: 46%; }
  65%, 100% { left: 55%; top: 32%; }
}

@keyframes fieldPulse {
  50% { box-shadow: 0 0 0 5px rgba(200, 107, 75, 0.1); }
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

@keyframes answerReveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes blinkText {
  50% { opacity: 0.35; }
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 174, 138, 0.08), transparent 68%);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 30px;
  margin-bottom: 20px;
  border: 1px solid var(--brand-line);
  border-radius: 9px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.feature-card h3 {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.feature-note {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.feature-note b {
  margin-right: 6px;
  color: var(--brand-dark);
}

.difference-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 35px;
  margin-top: 18px;
  padding: 30px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(235, 250, 245, 0.9), rgba(255, 255, 255, 0.85));
}

.difference-card h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

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

.difference-list span {
  padding: 10px 12px;
  border: 1px solid rgba(191, 231, 218, 0.8);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.difference-list b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 12px;
}

.engineering-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f4faf7;
}

.engineering-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

.engineering-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.e-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: all var(--ease);
}

.e-tab span {
  color: var(--faint);
  font-family: Consolas, monospace;
  font-size: 9px;
}

.e-tab:hover {
  background: rgba(255, 255, 255, 0.6);
}

.e-tab.active {
  border-color: var(--brand-line);
  color: var(--brand-dark);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.engineering-panel {
  min-height: 350px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.panel-label {
  color: var(--brand);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.engineering-panel h3 {
  margin: 15px 0 10px;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.025em;
}

.engineering-panel > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.engineering-panel ul {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.engineering-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 12px;
}

.engineering-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.panel-code {
  padding: 12px 14px;
  border: 1px solid #dce8e3;
  border-radius: 9px;
  color: #60716a;
  background: #f7faf9;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.panel-code span {
  color: var(--brand-dark);
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.metric {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.75);
}

.metric > span {
  color: var(--muted);
  font-size: 10px;
}

.metric strong {
  display: block;
  margin: 10px 0 5px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.metric strong small {
  margin-left: 4px;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0;
}

.metric p {
  color: var(--faint);
  font-size: 9px;
}

.metric-note {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--faint);
  font-size: 10px;
  text-align: center;
}

.architecture-section {
  background: #f7faf9;
  border-top: 1px solid var(--line);
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr 0.45fr 1fr 0.45fr 1fr;
  align-items: center;
  gap: 12px;
}

.arch-card {
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.arch-card span {
  display: block;
  color: var(--brand);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
}

.arch-card b {
  display: block;
  margin: 14px 0 5px;
  color: var(--ink);
  font-size: 15px;
}

.arch-card small {
  color: var(--faint);
  font-size: 9px;
}

.arch-arrow {
  color: var(--faint);
  font-size: 8px;
  font-style: normal;
  text-align: center;
}

.final-cta {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(188, 237, 222, 0.45), transparent 36%),
    #fbfdfc;
}

.final-cta h2 {
  max-width: 700px;
  margin: 12px auto;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.final-cta p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 10px;
}

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

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

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p {
    margin: 0 auto;
  }

  .hero-actions,
  .stack-line {
    justify-content: center;
  }

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

  .demo-app {
    height: 520px;
  }

  .scene-prompt.active,
  .scene-model.active {
    gap: 18px;
    padding: 24px;
  }

  .scene-side-note b {
    font-size: 20px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .architecture-flow {
    grid-template-columns: 1fr;
  }

  .arch-arrow {
    padding: 3px 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .topnav {
    padding: 0 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-app {
    height: 360px;
  }

  .hero-node {
    width: 135px;
  }

  .node-a { left: 24px; }
  .node-b, .node-c { right: 24px; }
  .badge-model { left: 4px; }

  .section {
    padding: 65px 0;
  }

  .demo-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .guide-steps {
    gap: 5px;
  }

  .guide-steps > span {
    font-size: 7px;
    padding: 0 7px;
  }

  .guide-steps > i {
    display: none;
  }

  .feature-grid,
  .difference-card,
  .engineering-layout,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .demo-app {
    height: 520px;
    grid-template-columns: 46px 1fr;
  }

  .demo-rail {
    padding: 10px 5px;
  }

  .demo-rail-logo,
  .demo-rail-item {
    width: 28px;
    height: 28px;
  }

  .demo-rail-label {
    display: none;
  }

  .demo-stage {
    overflow-y: auto;
  }

  .demo-scene {
    padding: 15px;
  }

  .scene-title {
    top: 65px;
    left: 18px;
  }

  .scene-node {
    width: 145px;
    min-height: 100px;
    padding: 11px;
  }

  .node-triage { left: 2%; }
  .node-tech, .node-sales { right: 2%; }

  .scene-prompt.active,
  .scene-model.active {
    display: block;
    padding: 18px;
  }

  .scene-side-note {
    display: none;
  }

  .scene-chat {
    padding: 14px;
  }

  .scene-billing {
    padding: 16px;
  }

  .billing-demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .billing-demo-panels {
    grid-template-columns: 1fr;
  }

  .demo-scene-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .engineering-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .difference-card {
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    text-align: center;
  }
}
