/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f7f4ef;
  --bg-alt: #ede9e1;
  --fg: #111118;
  --fg-muted: #6b6a70;
  --accent: #0a8f6a;
  --accent-light: #e6f7f2;
  --accent-2: #1a1a2e;
  --accent-2-light: #2a2a4e;
  --sky: #38bdf8;
  --sky-light: #e0f2fe;
  --border: #d8d3ca;
  --card-bg: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-2);
  color: #a8c8ff;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

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

.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.stat { display: flex; flex-direction: column; gap: 0.15rem; }

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

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

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

.claim-card-stack {
  position: relative;
  width: 320px;
  height: 280px;
}

.claim-card {
  position: absolute;
  width: 300px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.claim-card-1 { top: 0; left: 0; z-index: 3; transform: rotate(-2deg); }
.claim-card-2 { top: 35px; left: 20px; z-index: 2; transform: rotate(1deg); }
.claim-card-3 { top: 75px; left: 8px; z-index: 1; transform: rotate(-0.5deg); }

.claim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.claim-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.claim-status.approved {
  background: var(--accent-light);
  color: var(--accent);
}

.claim-status.review {
  background: #fef3c7;
  color: #92400e;
}

.claim-id {
  font-size: 0.7rem;
  color: var(--fg-muted);
  font-family: monospace;
}

.claim-body { display: flex; flex-direction: column; gap: 0.3rem; }

.claim-type {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

.claim-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.claim-agent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}

.agent-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  background: var(--accent-2);
  color: var(--sky);
}

.agent-badge.human {
  background: var(--accent-light);
  color: var(--accent);
}

.agent-time {
  font-size: 0.7rem;
  color: var(--fg-muted);
  font-family: monospace;
}

/* ===== FEATURES ===== */
.features {
  background: var(--accent-2);
  color: white;
  padding: 7rem 8vw;
}

.features-header {
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
}

.feature-card:hover {
  background: rgba(255,255,255,0.08);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 8vw;
  background: var(--bg);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.closing-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 600px;
}

.closing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.tag {
  padding: 0.5rem 1.1rem;
  background: var(--accent-2);
  color: white;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--accent-2);
  color: rgba(255,255,255,0.5);
  padding: 3rem 8vw;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  font-size: 0.8rem;
  max-width: 320px;
  text-align: right;
}

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

  .hero-visual {
    order: -1;
  }

  .claim-card-stack {
    width: 280px;
    height: 240px;
  }

  .claim-card {
    width: 260px;
    padding: 1rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-legal {
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 4rem 5vw;
  }

  .hero-headline {
    font-size: 2.4rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

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

  .features {
    padding: 5rem 5vw;
  }

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

  .closing {
    padding: 5rem 5vw;
  }

  .closing-tags {
    gap: 0.5rem;
  }
}