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

/* CSS Variables */
:root {
  --bg: #09090B;
  --surface: #131316;
  --surface-2: #1C1C21;
  --border: rgba(255,255,255,0.08);
  --fg: #F5F5F0;
  --fg-muted: rgba(245,245,240,0.55);
  --fg-subtle: rgba(245,245,240,0.3);
  --accent: #F59E0B;
  --accent-dim: rgba(245,158,11,0.15);
  --green: #22C55E;
  --red: #EF4444;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 8vw 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

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

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 42ch;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.stat {
  flex: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  line-height: 1.3;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,158,11,0.08);
}

.call-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.call-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

.call-card-status {
  font-size: 0.72rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.1rem;
}

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

.call-card-lang {
  margin-left: auto;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.call-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  margin-bottom: 1rem;
}

.call-waveform span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.5;
  animation: wave 1.2s ease-in-out infinite;
}

.call-waveform span:nth-child(1)  { height: 8px;  animation-delay: 0.0s; }
.call-waveform span:nth-child(2)  { height: 16px; animation-delay: 0.1s; }
.call-waveform span:nth-child(3)  { height: 24px; animation-delay: 0.2s; }
.call-waveform span:nth-child(4)  { height: 30px; animation-delay: 0.3s; }
.call-waveform span:nth-child(5)  { height: 20px; animation-delay: 0.4s; }
.call-waveform span:nth-child(6)  { height: 28px; animation-delay: 0.5s; }
.call-waveform span:nth-child(7)  { height: 14px; animation-delay: 0.6s; }
.call-waveform span:nth-child(8)  { height: 22px; animation-delay: 0.7s; }
.call-waveform span:nth-child(9)  { height: 18px; animation-delay: 0.8s; }
.call-waveform span:nth-child(10) { height: 26px; animation-delay: 0.9s; }
.call-waveform span:nth-child(11) { height: 12px; animation-delay: 1.0s; }
.call-waveform span:nth-child(12) { height: 20px; animation-delay: 1.1s; }
.call-waveform span:nth-child(13) { height: 8px;  animation-delay: 0.15s; }
.call-waveform span:nth-child(14) { height: 24px; animation-delay: 0.25s; }
.call-waveform span:nth-child(15) { height: 16px; animation-delay: 0.35s; }

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

.call-transcript {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.transcript-line {
  font-size: 0.75rem;
  line-height: 1.5;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.transcript-line.agent {
  background: var(--accent-dim);
  color: var(--fg-muted);
  border-left: 2px solid rgba(245,158,11,0.4);
}

.transcript-line.debtor {
  background: var(--surface-2);
  color: var(--fg-muted);
  font-style: italic;
}

.call-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--fg-subtle);
}

/* Agent Showcase */
.agent-showcase {
  padding: 6rem 8vw;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-inner { max-width: 1200px; margin: 0 auto; }

.showcase-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.showcase-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.showcase-body {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 55ch;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--border);
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--surface-2);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Compliance */
.compliance-section {
  padding: 6rem 8vw;
}

.compliance-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.compliance-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.compliance-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.compliance-text p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.compliance-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.badge svg {
  color: var(--green);
  flex-shrink: 0;
}

/* Metrics */
.metrics-section {
  padding: 5rem 8vw;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-inner { max-width: 1200px; margin: 0 auto; }

.metrics-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  text-align: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--border);
}

.metric-block {
  background: var(--surface);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  transition: background 0.2s;
}

.metric-block:hover { background: var(--surface-2); }

.metric-number {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.metric-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Closing */
.closing-section {
  padding: 7rem 8vw;
}

.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }

.closing-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.closing-section em {
  font-style: italic;
  color: var(--accent);
}

.closing-section p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 8vw 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-end;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--fg-subtle);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 5rem 6vw 3rem;
    min-height: auto;
    gap: 2.5rem;
  }

  .hero-visual { display: none; }

  .hero-stats {
    flex-wrap: wrap;
  }

  .stat { min-width: 45%; }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .compliance-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links { align-items: flex-start; }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }
}