.landing-demo-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 64px auto 86px;
  padding: 0 4px;
  overflow: hidden;
}

.landing-demo-copy {
  min-width: 0;
}

.landing-demo-label {
  margin: 0 0 14px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-demo-copy h2 {
  margin: 0;
  color: #0f172a;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.12;
}

.landing-demo-description {
  max-width: 620px;
  margin: 18px 0 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.75;
}

.landing-demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.landing-demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.landing-demo-button:hover {
  transform: translateY(-1px);
}

.landing-demo-button-primary {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.landing-demo-button-secondary {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

.landing-demo-command {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 11px 13px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.landing-demo-command code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.landing-demo-command-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.landing-demo-command-hint {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.landing-demo-command.is-copied .landing-demo-command-hint {
  color: #166534;
}

.landing-demo-stage {
  position: relative;
  min-width: 0;
  min-height: 560px;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.36), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(16, 185, 129, 0.28), transparent 24%),
    linear-gradient(135deg, #08111f 0%, #111827 45%, #172554 100%);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.landing-demo-glow {
  position: absolute;
  inset: auto -80px -120px auto;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.28);
  filter: blur(8px);
}

.landing-demo-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.landing-demo-report {
  width: min(100%, 560px);
  margin-left: auto;
}

.landing-demo-terminal {
  position: absolute;
  right: 42px;
  bottom: 34px;
  width: min(420px, 66%);
  background: rgba(2, 6, 23, 0.9);
  transform: translateX(-118px);
}

.landing-demo-window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
  background: rgba(15, 23, 42, 0.72);
}

.landing-demo-window-bar strong {
  min-width: 0;
  overflow: hidden;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-demo-window-bar > span {
  margin-left: auto;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.landing-demo-window-controls {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.landing-demo-window-controls span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #64748b;
}

.landing-demo-window-controls span:first-child {
  background: #fb7185;
}

.landing-demo-window-controls span:nth-child(2) {
  background: #fbbf24;
}

.landing-demo-window-controls span:nth-child(3) {
  background: #34d399;
}

.landing-demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.landing-demo-metrics div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.landing-demo-metrics span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.landing-demo-metrics strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
}

.landing-demo-alert {
  display: flex;
  gap: 12px;
  margin: 0 16px 16px;
  padding: 15px;
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.1);
}

.landing-demo-alert-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f59e0b;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.landing-demo-alert strong,
.landing-demo-feed-row strong {
  display: block;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 800;
}

.landing-demo-alert p,
.landing-demo-feed-row p {
  margin: 4px 0 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.45;
}

.landing-demo-feed {
  display: grid;
  gap: 10px;
  padding: 0 16px 18px;
}

.landing-demo-feed-row {
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 13px;
  background: rgba(15, 23, 42, 0.58);
}

.landing-demo-risk {
  display: inline-flex;
  width: 58px;
  height: 26px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.landing-demo-risk.high {
  background: rgba(248, 113, 113, 0.16);
  color: #fecaca;
}

.landing-demo-risk.medium {
  background: rgba(96, 165, 250, 0.16);
  color: #bfdbfe;
}

.landing-demo-risk.low {
  background: rgba(52, 211, 153, 0.16);
  color: #bbf7d0;
}

.landing-demo-terminal-body {
  padding: 14px 16px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.8;
}

.landing-demo-terminal-body p {
  margin: 0;
  color: #dbeafe;
  overflow-wrap: anywhere;
}

.landing-demo-terminal-body span {
  color: #22c55e;
}

.landing-demo-terminal-body .is-dim {
  color: #94a3b8;
}

.landing-demo-terminal-body .is-success {
  color: #86efac;
}

@media (max-width: 980px) {
  .landing-demo-section {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 48px auto 68px;
  }

  .landing-demo-copy h2 {
    font-size: 36px;
  }

  .landing-demo-stage {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .landing-demo-section {
    margin: 36px auto 52px;
    padding: 0;
  }

  .landing-demo-copy h2 {
    font-size: 30px;
  }

  .landing-demo-description {
    font-size: 15px;
  }

  .landing-demo-button {
    width: 100%;
  }

  .landing-demo-command {
    width: 100%;
    align-items: flex-start;
  }

  .landing-demo-command-hint {
    display: none;
  }

  .landing-demo-stage {
    min-height: auto;
    padding: 14px;
    border-radius: 20px;
  }

  .landing-demo-report {
    width: 100%;
  }

  .landing-demo-terminal {
    display: none;
  }

  .landing-demo-metrics {
    grid-template-columns: 1fr;
  }
}
