/* River Leads — conversion & trust layer */

.hero-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.hero-title {
  max-width: 20ch;
}

.hero-sub {
  max-width: 40rem;
}

.section {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* Offer */
.offer {
  border-block: 1px solid var(--border);
  background: rgba(22, 29, 40, 0.4);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.offer-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.offer-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}

.offer-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.offer-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.offer-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--blue-soft);
}

/* System previews */
.system {
  background: linear-gradient(180deg, rgba(15, 20, 28, 0.5) 0%, transparent 100%);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.35rem;
}

.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.preview-label {
  padding: 0.85rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-soft);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 20, 28, 0.6);
}

.preview-ui {
  padding: 1.25rem;
  min-height: 200px;
  font-size: 0.82rem;
}

.preview-pipeline {
  display: flex;
  gap: 0.65rem;
}

.preview-col {
  flex: 1;
  background: rgba(10, 14, 20, 0.5);
  border-radius: 8px;
  padding: 0.65rem;
  border: 1px solid var(--border);
}

.preview-col-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.preview-lead {
  padding: 0.5rem 0.55rem;
  margin-bottom: 0.4rem;
  background: rgba(36, 48, 64, 0.8);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.preview-lead.hot {
  border-left: 3px solid #f59e0b;
}

.preview-lead.booked {
  border-left: 3px solid #4ade80;
}

.preview-sms .sms-bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  max-width: 92%;
  line-height: 1.45;
  font-size: 0.8rem;
}

.sms-bubble.out {
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: var(--text);
}

.sms-bubble.in {
  background: rgba(36, 48, 64, 0.9);
  border: 1px solid var(--border);
  margin-left: auto;
  color: var(--text-muted);
}

.sms-bubble.small {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.sms-meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.preview-notify .notify-item {
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
  background: rgba(10, 14, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  line-height: 1.4;
}

.notify-item.urgent {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
  color: var(--text);
}

.preview-booking {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.booking-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #4ade80;
  margin-bottom: 0.75rem;
}

.booking-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.booking-detail {
  font-size: 0.9rem;
  color: var(--blue-soft);
  margin: 0.25rem 0;
}

.booking-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.preview-missed .missed-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.missed-tag {
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 600;
}

.missed-action {
  font-size: 0.78rem;
  color: var(--blue-soft);
  margin-bottom: 0.75rem;
}

.preview-call .call-duration {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.call-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.call-points li {
  padding-left: 1rem;
  position: relative;
}

.call-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue-soft);
}

/* Differentiation */
.differentiate {
  border-block: 1px solid var(--border);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.diff-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.diff-check {
  color: #4ade80;
  font-weight: 700;
  flex-shrink: 0;
}

/* ROI */
.roi {
  background: rgba(22, 29, 40, 0.35);
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.roi-metric {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}

.roi-compare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.roi-before,
.roi-after {
  flex: 1;
  text-align: center;
}

.roi-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.roi-before .roi-value {
  color: #f87171;
  font-size: 1.75rem;
  font-weight: 700;
}

.roi-after .roi-value {
  color: #4ade80;
  font-size: 1.75rem;
  font-weight: 700;
}

.roi-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.roi-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
}

.roi-stat-block {
  text-align: center;
}

.roi-big {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.roi-disclaimer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Walkthrough */
.walkthrough {
  border-block: 1px solid var(--border);
}

.walkthrough-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text);
}

.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.timeline-day {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.demo-frame-loom .demo-chrome {
  justify-content: flex-start;
}

.demo-duration {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 0.2rem 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.loom-thumbnail {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0.5;
  pointer-events: none;
}

.loom-sidebar {
  width: 28%;
  padding: 1.5rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-right: 1px solid var(--border);
}

.loom-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
  margin-bottom: 1rem;
}

.loom-lines span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.2);
  margin-bottom: 0.4rem;
}

.loom-lines span:first-child { width: 80%; }
.loom-lines span:last-child { width: 55%; }

.loom-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.loom-stage {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 1rem 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.final-cta-inner h2 {
  max-width: 28ch;
}

.section-header h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

@media (max-width: 900px) {
  .diff-grid,
  .walkthrough-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .preview-pipeline {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-cta,
  .final-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn,
  .final-cta-buttons .btn {
    width: 100%;
  }

  .hero-title {
    max-width: none;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .roi-compare {
    flex-direction: column;
  }

  .roi-arrow {
    transform: rotate(90deg);
  }
}
