/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* CSS Variables */
:root {
  --bg-primary: #080c14;
  --bg-secondary: #0d1420;
  --bg-card: #111a28;
  --bg-card-hover: #162032;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --cyan-glow: rgba(0, 229, 255, 0.25);
  --text-primary: #e8eef6;
  --text-secondary: #7a90a8;
  --text-muted: #4a5d72;
  --red: #ff4d6a;
  --green: #00e5a0;
  --border: rgba(0, 229, 255, 0.08);
  --grid-line: rgba(0, 229, 255, 0.04);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 32px 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

.hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
}

.label-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-lede {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

/* Call Monitor Widget */
.call-monitor {
  width: 100%;
  max-width: 680px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.06), 0 24px 64px rgba(0, 0, 0, 0.4);
}

.call-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.call-time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  font-weight: 500;
}

/* Waveform */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 48px;
  padding: 0 18px;
  background: rgba(0, 229, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.wave-bar {
  flex: 1;
  background: var(--cyan);
  border-radius: 2px;
  opacity: 0.5;
  height: 100%;
  animation: wave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 30%; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 65%; }
.wave-bar:nth-child(3) { animation-delay: 0.05s; height: 45%; }
.wave-bar:nth-child(4) { animation-delay: 0.15s; height: 80%; }
.wave-bar:nth-child(5) { animation-delay: 0.08s; height: 55%; }
.wave-bar:nth-child(6) { animation-delay: 0.02s; height: 70%; }
.wave-bar:nth-child(7) { animation-delay: 0.12s; height: 40%; }
.wave-bar:nth-child(8) { animation-delay: 0.06s; height: 85%; }
.wave-bar:nth-child(9) { animation-delay: 0.18s; height: 50%; }
.wave-bar:nth-child(10) { animation-delay: 0.03s; height: 60%; }
.wave-bar:nth-child(11) { animation-delay: 0.09s; height: 75%; }
.wave-bar:nth-child(12) { animation-delay: 0.01s; height: 45%; }
.wave-bar:nth-child(13) { animation-delay: 0.14s; height: 90%; }
.wave-bar:nth-child(14) { animation-delay: 0.07s; height: 55%; }
.wave-bar:nth-child(15) { animation-delay: 0.11s; height: 70%; }
.wave-bar:nth-child(16) { animation-delay: 0.04s; height: 35%; }
.wave-bar:nth-child(17) { animation-delay: 0.16s; height: 80%; }
.wave-bar:nth-child(18) { animation-delay: 0.02s; height: 50%; }
.wave-bar:nth-child(19) { animation-delay: 0.08s; height: 65%; }
.wave-bar:nth-child(20) { animation-delay: 0.13s; height: 45%; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.6); }
}

/* Transcript */
.transcript {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transcript-line {
  font-size: 13px;
  line-height: 1.5;
  padding: 6px 10px;
  border-radius: 8px;
}

.transcript-line.user {
  color: var(--text-secondary);
  background: rgba(122, 144, 168, 0.06);
  font-style: italic;
}

.transcript-line.ai {
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.transcript-line.analysis {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 77, 106, 0.08);
  border: 1px solid rgba(255, 77, 106, 0.2);
  border-radius: 8px;
}

.transcript-line.analysis .analysis-text {
  font-size: 12px;
  color: var(--text-secondary);
}

.transcript-line.ai.fix {
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.15);
}

.transcript-line.ai.fix strong {
  color: var(--cyan);
  font-weight: 500;
}

.issue-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.issue-badge.warning {
  background: rgba(255, 77, 106, 0.2);
  color: var(--red);
}

/* Call Score */
.call-score {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.score-ring {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.score-ring svg {
  width: 100%;
  height: 100%;
}

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
}

.score-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Pipeline */
.pipeline {
  padding: 100px 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pipeline-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 64px;
  font-weight: 300;
}

.pipeline-stages {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.stage {
  text-align: center;
  padding: 0 8px;
}

.stage-icon {
  width: 56px;
  height: 56px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--cyan);
}

.stage-number {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  opacity: 0.7;
}

.stage h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stage p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 300;
}

.stage-arrow {
  display: flex;
  align-items: center;
  padding-top: 28px;
  color: var(--text-muted);
}

/* Features */
.features {
  padding: 100px 32px;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.features-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.img-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.overlay-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  font-weight: 300;
}

/* Outcomes */
.outcomes {
  padding: 100px 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.outcomes-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.outcomes-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.outcomes-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, transparent 60%);
}

.outcomes-title {
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.outcomes-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 40px;
}

.outcomes-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  font-weight: 300;
}

/* Closing */
.closing {
  padding: 100px 32px;
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.closing-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.closing-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.closing-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
}

.closing-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.closing-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.closing-statement {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

.closing-last {
  color: var(--text-primary);
  font-weight: 400;
}

/* Footer */
.footer {
  padding: 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-links {
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 48px; }
  .hero-title { font-size: 36px; }
  .hero-lede { font-size: 15px; }

  .pipeline-stages {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .stage-arrow { display: none; }

  .features-inner,
  .outcomes-inner,
  .closing-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .outcomes-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .metric-value { font-size: 24px; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }

  .waveform { padding: 0 12px; }
  .transcript { padding: 12px; }
}

@media (max-width: 480px) {
  .outcomes-metrics { grid-template-columns: 1fr; }
  .stage { padding: 0 4px; }
  .stage p { font-size: 12px; }
}