:root {
  --demo-navy: #07111f;
  --demo-blue: #2563eb;
  --demo-cyan: #06b6d4;
  --demo-green: #10b981;
  --demo-purple: #7c3aed;
  --demo-amber: #f59e0b;
  --demo-red: #ef4444;
  --demo-ink: #0f172a;
  --demo-muted: #64748b;
  --demo-card: rgba(255, 255, 255, 0.9);
  --demo-line: rgba(148, 163, 184, 0.28);
  --demo-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.14), transparent 30rem),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 48%, #eef5ff 100%);
}

.site-header {
  background:
    radial-gradient(circle at 15% 0%, rgba(59, 130, 246, 0.4), transparent 24rem),
    linear-gradient(135deg, #050b16, #0f172a 58%, #143c6d);
  border-bottom: 1px solid rgba(191, 219, 254, 0.18);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.25);
}

.brand {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.28rem 0.72rem 0.28rem 0.34rem;
}

.main-nav a {
  background: rgba(255, 255, 255, 0.04);
}

.page-shell {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--demo-shadow);
  backdrop-filter: blur(14px);
}

.demo-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 22px;
  color: #eff6ff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.94), rgba(15, 23, 42, 0.91)),
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.26), transparent 20rem);
  box-shadow: 0 25px 65px rgba(15, 23, 42, 0.22);
}

.demo-hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -10rem auto;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
}

.demo-hero > * {
  position: relative;
  z-index: 1;
}

.demo-hero h2 {
  margin: 0.25rem 0 0.55rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.demo-hero p {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.62;
}

.demo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #60a5fa;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-eyebrow::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.12);
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.hero-insight-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-insight-card strong {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.demo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.demo-kpi-card,
.demo-card {
  border: 1px solid var(--demo-line);
  border-radius: 18px;
  background: var(--demo-card);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.demo-kpi-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 1rem;
}

.demo-kpi-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--demo-blue);
}

.demo-kpi-card span {
  color: var(--demo-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-kpi-card strong {
  display: block;
  margin: 0.5rem 0 0.2rem;
  color: var(--demo-ink);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  letter-spacing: -0.04em;
}

.demo-kpi-card small {
  color: var(--demo-muted);
  font-weight: 650;
}

.accent-green::before {
  background: var(--demo-green);
}

.accent-purple::before {
  background: var(--demo-purple);
}

.accent-amber::before {
  background: var(--demo-amber);
}

.accent-red::before {
  background: var(--demo-red);
}

.accent-blue::before {
  background: var(--demo-cyan);
}

.demo-card {
  padding: 1rem;
  margin-bottom: 1rem;
}

.demo-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.demo-section-head h3,
.demo-card h3 {
  margin: 0.2rem 0 0;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.demo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sales-impact-row,
.readiness-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.sales-impact-row > div,
.readiness-facts span {
  border: 1px solid var(--demo-line);
  border-radius: 14px;
  background: #f8fbff;
  padding: 0.8rem;
}

.sales-impact-row span,
.source-row span,
.hot-deal p,
.table-subtle {
  color: var(--demo-muted);
  font-size: 0.82rem;
}

.sales-impact-row strong,
.model-demand-list strong {
  display: block;
  color: #0f172a;
  font-size: 1.1rem;
}

.hot-deal-list,
.source-list,
.model-demand-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.hot-deal,
.source-row,
.model-demand-list > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--demo-line);
  border-radius: 14px;
  background: #fff;
  padding: 0.75rem;
}

.hot-deal > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #075985;
  background: #e0f2fe;
  font-weight: 900;
}

.hot-deal p {
  margin: 0.14rem 0 0;
}

.hot-deal em {
  color: #166534;
  font-style: normal;
  font-weight: 900;
}

.readiness-meter {
  display: block;
  width: 100%;
  height: 18px;
  margin: 1rem 0;
  accent-color: var(--demo-green);
}

.source-meter {
  width: 100%;
  height: 10px;
  accent-color: var(--demo-cyan);
}

.source-row {
  grid-template-columns: minmax(130px, 0.95fr) minmax(120px, 1fr) auto;
}

.source-row > div:first-child {
  display: grid;
}

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.pipeline-column {
  min-width: 190px;
  border: 1px solid var(--demo-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  padding: 0.75rem;
}

.pipeline-column-head,
.deal-title-row,
.deal-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  align-items: center;
}

.pipeline-column-head span {
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 26px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-weight: 900;
}

.pipeline-total {
  margin: 0.45rem 0 0.7rem;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 900;
}

.deal-card {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 14px;
  background: #fff;
  padding: 0.72rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.deal-card p,
.deal-meta {
  margin: 0;
  color: var(--demo-muted);
  font-size: 0.82rem;
}

.sales-canvas {
  display: block;
  width: 100%;
  height: 285px;
  border: 1px solid var(--demo-line);
  border-radius: 14px;
  background: #fff;
}

.polished-table {
  border-color: var(--demo-line);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.polished-table .data-table thead {
  background: #eaf3ff;
}

.polished-table .data-table tbody tr {
  background: #fff;
}

.polished-table .data-table tbody tr:hover {
  background: #f8fbff;
}

.model-demand-list > div {
  grid-template-columns: minmax(0, 1fr) auto;
}

.integration-story p {
  color: var(--demo-muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .demo-hero,
  .demo-grid-2 {
    grid-template-columns: 1fr;
  }

  .pipeline-board {
    grid-template-columns: repeat(6, 220px);
  }
}

@media (max-width: 680px) {
  .demo-hero {
    padding: 1rem;
  }

  .demo-hero h2 {
    font-size: 2.25rem;
  }

  .demo-section-head,
  .sales-impact-row,
  .readiness-facts,
  .source-row,
  .hot-deal {
    grid-template-columns: 1fr;
  }

  .sales-canvas {
    height: 220px;
  }
}
