/* Telco Agent Demo — consolidated professional deck */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg-deep: #060608;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --elastic: #fec514;
  --tmo: #e20074;
  --accent: #7c6cff;
  --success: #34d399;
  --cyan: #22d3ee;
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

.reveal-viewport {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(124, 108, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(226, 0, 116, 0.1), transparent 50%),
    var(--bg-deep);
}

.reveal {
  font-family: var(--font);
  font-size: 26px;
  color: var(--text);
}

.reveal .slides {
  text-align: left;
}

.reveal .slides section {
  height: 100%;
  padding: 0.2em 0 0;
  box-sizing: border-box;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4 {
  font-family: var(--font);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--text);
}

.reveal h1 {
  font-size: 2.35em;
  line-height: 1.08;
}

.reveal h2 {
  font-size: 1.55em;
  margin: 0 0 0.55em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid var(--border);
}

.reveal h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.3em;
  background: linear-gradient(90deg, var(--elastic), var(--tmo));
  border-radius: 2px;
}

.reveal h3 {
  font-size: 0.95em;
  color: var(--muted);
  font-weight: 600;
  margin: 0.35em 0 0.25em;
}

.reveal p,
.reveal li {
  line-height: 1.5;
  color: #d4d4d8;
}

.reveal ul {
  display: block;
  margin-left: 0;
}

.reveal li {
  margin-bottom: 0.35em;
}

.reveal strong {
  color: var(--text);
  font-weight: 600;
}

.reveal a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 108, 255, 0.35);
}

.reveal a:hover {
  color: #a89bff;
}

.reveal code,
.reveal pre code {
  font-family: var(--mono);
  font-size: 0.78em;
}

.reveal pre {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: none;
  width: 100%;
  margin: 0.5em 0;
  font-size: 0.52em;
}

.reveal .progress {
  background: rgba(255, 255, 255, 0.08);
  height: 4px;
}

.reveal .progress span {
  background: linear-gradient(90deg, var(--elastic), var(--tmo));
}

.reveal .slide-number {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  background: transparent;
}

.reveal .controls {
  color: var(--muted);
}

/* Title */
.slide-title {
  text-align: center !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slide-title h1 {
  font-size: 2.45em;
  max-width: 14ch;
  margin: 0 auto 0.2em;
  background: linear-gradient(135deg, #fff 0%, #c4c4cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.slide-title .subtitle {
  font-size: 1.05em;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 1em;
  line-height: 1.45;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
  justify-content: center;
  margin-top: 0.75em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.32em 0.8em;
  border-radius: 999px;
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--surface);
}

.badge-elastic { border-color: rgba(254, 197, 20, 0.35); color: var(--elastic); }
.badge-jina { border-color: rgba(124, 108, 255, 0.35); color: #a89bff; }
.badge-tmo { border-color: rgba(226, 0, 116, 0.35); color: #ff6eb4; }

.meta-line {
  margin-top: 1.25em;
  font-size: 0.48em;
  color: var(--muted);
}

.meta-line a {
  font-size: inherit;
}

/* Layout */
.cols {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  align-items: stretch;
}

.cols-67 {
  grid-template-columns: 1.15fr 0.85fr;
}

.cols-73 {
  grid-template-columns: 0.85fr 1.15fr;
}

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

.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7em 0.85em;
  height: 100%;
}

.card h4 {
  font-size: 0.68em;
  margin: 0 0 0.3em;
  color: var(--text);
}

.card p,
.card li {
  font-size: 0.58em;
  margin: 0;
}

.card-accent-tmo { border-top: 3px solid var(--tmo); }
.card-accent-elastic { border-top: 3px solid var(--elastic); }
.card-accent-jina { border-top: 3px solid var(--accent); }
.card-accent-green { border-top: 3px solid var(--success); }
.card-accent-cyan { border-top: 3px solid var(--cyan); }

.callout {
  border-left: 4px solid var(--elastic);
  background: rgba(254, 197, 20, 0.06);
  padding: 0.65em 0.85em;
  border-radius: 0 10px 10px 0;
  font-size: 0.58em;
  margin: 0.5em 0 0;
}

.callout p {
  margin: 0;
}

.small {
  font-size: 0.52em;
  color: var(--muted);
}

.lead {
  font-size: 0.62em;
  color: var(--muted);
  margin: 0 0 0.65em;
  max-width: 58ch;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55em;
}

.stat {
  text-align: center;
  padding: 0.6em 0.5em;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.stat .num {
  display: block;
  font-size: 1.35em;
  font-weight: 700;
  color: var(--elastic);
  line-height: 1;
}

.stat .label {
  display: block;
  font-size: 0.44em;
  color: var(--muted);
  margin-top: 0.3em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Infographic panels */
.info-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.65em;
  height: auto;
}

.cols > .info-panel {
  height: 100%;
}

.info-panel svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
}

.info-panel.compact svg {
  max-height: 220px;
}

.slide-pipeline .pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45em;
  margin-bottom: 0.55em;
}

.slide-pipeline .pipeline-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5em 0.55em;
  text-align: center;
  position: relative;
}

.slide-pipeline .pipeline-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.42em;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.75em;
  z-index: 1;
}

.slide-pipeline .pipeline-step .step-label {
  display: block;
  font-size: 0.44em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25em;
}

.slide-pipeline .pipeline-step.step-jina { border-top: 3px solid var(--accent); }
.slide-pipeline .pipeline-step.step-jina .step-label { color: #a89bff; }
.slide-pipeline .pipeline-step.step-chunk { border-top: 3px solid rgba(255,255,255,0.35); }
.slide-pipeline .pipeline-step.step-chunk .step-label { color: var(--muted); }
.slide-pipeline .pipeline-step.step-index { border-top: 3px solid var(--elastic); }
.slide-pipeline .pipeline-step.step-index .step-label { color: var(--elastic); }
.slide-pipeline .pipeline-step.step-agent { border-top: 3px solid var(--success); }
.slide-pipeline .pipeline-step.step-agent .step-label { color: var(--success); }

.slide-pipeline .pipeline-step h4 {
  font-size: 0.56em;
  margin: 0 0 0.15em;
  line-height: 1.25;
}

.slide-pipeline .pipeline-step p {
  font-size: 0.44em;
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.slide-pipeline .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45em;
}

.slide-pipeline .card {
  padding: 0.5em 0.6em;
}

.slide-pipeline .card h4 {
  font-size: 0.56em;
  margin-bottom: 0.2em;
}

.slide-pipeline .card p {
  font-size: 0.46em;
  line-height: 1.35;
}

.slide-pipeline .callout {
  margin-top: 0.45em;
  padding: 0.45em 0.65em;
  font-size: 0.5em;
}


.info-caption {
  font-size: 0.48em;
  color: var(--muted);
  text-align: center;
  margin-top: 0.45em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Pain point grid */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55em;
}

.pain-card {
  display: flex;
  gap: 0.55em;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55em 0.65em;
}

.pain-icon {
  flex-shrink: 0;
  width: 2.1em;
  height: 2.1em;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(254, 197, 20, 0.1);
  border: 1px solid rgba(254, 197, 20, 0.25);
}

.pain-icon svg {
  width: 1.1em;
  height: 1.1em;
  stroke: var(--elastic);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h4 {
  font-size: 0.62em;
  margin: 0 0 0.15em;
}

.pain-card p {
  font-size: 0.5em;
  margin: 0;
  color: var(--muted);
}

/* Persona hub */
.slide-personas h2 {
  margin-bottom: 0.35em;
}

.slide-personas .lead {
  margin-bottom: 0.4em;
}

.slide-personas .info-panel.compact {
  padding: 0.35em 0.5em;
  margin-bottom: 0.4em;
}

.slide-personas .info-panel.compact svg {
  max-height: 72px;
}

.persona-hub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5em;
  margin-top: 0.35em;
}

.persona-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55em 0.65em;
  border-top: 3px solid var(--tmo);
  text-align: center;
}

.persona-card .role-icon {
  width: 1.65em;
  height: 1.65em;
  margin: 0 auto 0.35em;
  border-radius: 999px;
  background: rgba(226, 0, 116, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.persona-card .role-icon svg {
  width: 0.95em;
  height: 0.95em;
  stroke: #ff6eb4;
  fill: none;
  stroke-width: 2;
}

.persona-card h4 {
  font-size: 0.58em;
  margin: 0 0 0.15em;
}

.persona-card .agent-id {
  font-family: var(--mono);
  font-size: 0.42em;
  color: var(--muted);
  margin-bottom: 0.25em;
}

.persona-card p {
  font-size: 0.46em;
  margin: 0;
  color: var(--muted);
}

/* Timeline demo */
.demo-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5em;
  margin-top: 0.35em;
}

.demo-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55em 0.6em;
}

.demo-step .step-num {
  font-family: var(--mono);
  font-size: 0.48em;
  font-weight: 700;
  color: var(--elastic);
  margin-bottom: 0.2em;
}

.demo-step h4 {
  font-size: 0.58em;
  margin: 0 0 0.2em;
}

.demo-step p {
  font-size: 0.48em;
  margin: 0;
  color: var(--muted);
}

/* Compare */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.5em;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--border);
  padding: 0.45em 0.55em;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--elastic);
  white-space: nowrap;
}

/* Roadmap pills */
.roadmap-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5em;
  margin-top: 0.35em;
}

.roadmap-pill {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 0.55em 0.6em;
  font-size: 0.5em;
}

.roadmap-pill strong {
  display: block;
  font-size: 1.05em;
  margin-bottom: 0.25em;
  color: var(--accent);
}

@media (max-width: 900px) {
  .cols,
  .cols-3,
  .cols-4,
  .cols-67,
  .cols-73,
  .persona-hub,
  .stats,
  .pain-grid,
  .demo-timeline,
  .roadmap-row {
    grid-template-columns: 1fr;
  }

  .slide-pipeline .pipeline-steps,
  .slide-pipeline .card-grid {
    grid-template-columns: 1fr;
  }

  .slide-pipeline .pipeline-step:not(:last-child)::after {
    display: none;
  }
}
