/* voxtar.ai website: hero, live demo card and facts strip. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep-950);
  color: var(--on-deep);
  padding-block: 96px 88px;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(214 226 255 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(214 226 255 / 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hero h1 {
  color: #fff;
}
.hero h1 .accent {
  display: block;
  color: var(--brand-300);
}
.hero .lead {
  max-width: 34rem;
  margin-top: 28px;
  color: var(--on-deep);
}
.eyebrow-dark {
  color: var(--on-deep);
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--on-deep-line);
  border-radius: 999px;
  margin-bottom: 28px;
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--brand-500);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

/* Demo */
.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--on-deep-line);
  border-radius: 10px;
  background: rgb(214 226 255 / 0.04);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--on-deep-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.tabs button:hover {
  color: #fff;
}
.tabs button[aria-selected='true'] {
  background: rgb(214 226 255 / 0.14);
  color: #fff;
}
.mixed {
  color: var(--on-deep-muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  white-space: nowrap;
}
.call {
  min-height: 488px;
  padding: 20px;
  background: var(--canvas);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  color: var(--body);
  font-size: 0.875rem;
}
.call-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.call-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
}
.call-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 44px;
  margin-block: 16px 12px;
  padding: 0 4px;
  border-radius: var(--radius-md);
  background: var(--sunken);
}
.wave i {
  flex: 1;
  height: 18%;
  border-radius: 2px;
  background: var(--line);
  transition: height 200ms ease, background 200ms ease;
}
[data-speaker='agent'] .wave i,
[data-speaker='customer'] .wave i {
  height: var(--h);
  animation: speak 0.9s ease-in-out var(--d) infinite alternate;
}
[data-speaker='agent'] .wave i {
  background: var(--brand-500);
}
[data-speaker='customer'] .wave i {
  background: var(--line-strong);
}
.demo.is-static .wave i,
.demo:not(.is-ready) .wave i {
  height: var(--h);
  background: var(--brand-200);
}
@keyframes speak {
  from {
    transform: scaleY(0.35);
  }
  to {
    transform: scaleY(1);
  }
}
.lines {
  display: grid;
  gap: 10px;
  padding-block: 4px 16px;
}
.line {
  display: grid;
  gap: 3px;
  max-width: 86%;
  transition: opacity 220ms ease, transform 220ms ease;
}
.demo.is-ready:not(.is-static) .line:not(.is-shown),
.demo.is-ready:not(.is-static) .outcome:not(.is-shown) {
  opacity: 0;
  transform: translateY(6px);
}
.line p {
  padding: 9px 13px;
  border-radius: 12px;
  background: var(--sunken);
  color: var(--ink);
  line-height: 1.5;
}
.line-customer p {
  border-start-start-radius: 4px;
}
.line-agent {
  justify-self: end;
  text-align: end;
}
.line-agent p {
  background: var(--brand-600);
  color: #fff;
  text-align: start;
  border-start-end-radius: 4px;
}
.line-who {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 500;
}
.outcome {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: opacity 260ms ease, transform 260ms ease;
}
.outcome strong {
  color: var(--ink);
  font-weight: 600;
}
.outcome p {
  color: var(--body);
  font-size: 0.8125rem;
}
.outcome-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-600);
}
.outcome-resolved .outcome-icon {
  background: var(--success-soft);
  color: var(--success-text);
}

/* Facts strip, still on the dark background */
.facts {
  background: var(--deep-950);
  border-top: 1px solid var(--on-deep-line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fact {
  display: grid;
  gap: 4px;
  padding: 28px 24px 32px;
  border-inline-start: 1px solid var(--on-deep-line);
}
.fact:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}
.fact strong {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.fact span {
  color: var(--on-deep-muted);
  font-size: 0.875rem;
}
