/* NöbetIQ Marketing — Clean, professional healthcare SaaS style */

:root {
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-900: #312e81;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate-800);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo-600); text-decoration: none; }
a:hover { text-decoration: underline; }

img.brand-symbol { display: inline-block; vertical-align: middle; }

/* ── Layout ─────────────────────────────────────────────── */
.site-header,
main,
.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--slate-900);
}
.brand:hover { text-decoration: none; }

.brand-symbol { border-radius: 4px; }

.brand-word {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}
.site-header nav a { color: var(--slate-600); }
.site-header nav a:hover { color: var(--slate-900); text-decoration: none; }

/* ── Buttons ────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
}
.button:hover { text-decoration: none; }
.button.primary {
  background: var(--indigo-600);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79,70,229,0.15);
}
.button.primary:hover { background: var(--indigo-700); box-shadow: 0 2px 8px rgba(79,70,229,0.2); }
.button.secondary {
  padding: 9px 16px;
  background: var(--indigo-50);
  color: var(--indigo-700);
}
.button.secondary:hover { background: var(--indigo-100); }

.text-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-500);
}
.text-link:hover { color: var(--indigo-600); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: clamp(64px, 10vw, 140px) 0 clamp(48px, 6vw, 80px);
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1.2rem;
  color: var(--slate-900);
}

.hero .lead {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate-600);
  max-width: 640px;
  margin: 0;
}

.hero .actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--slate-400);
}

/* ── Sections ───────────────────────────────────────────── */
.section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin: 0 0 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--slate-600);
  max-width: 680px;
  margin: 0;
  line-height: 1.65;
}

/* ── How It Works Steps ─────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.step {
  padding: 28px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: var(--slate-50);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--indigo-600);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--slate-800);
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ── Feature Grid ───────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 24px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.feature-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--indigo-50);
  color: var(--indigo-600);
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 1px;
}

/* ── Trust Section ──────────────────────────────────────── */
.trust-section { padding-bottom: 0; }

.trust-card {
  padding: clamp(36px, 5vw, 56px);
  border: 1px solid var(--indigo-100);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--indigo-50) 0%, #fff 100%);
}

.trust-card h2 {
  color: var(--indigo-900);
  margin-bottom: 12px;
}

.trust-card p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.65;
  max-width: 640px;
}

.trust-card p:first-of-type {
  font-size: 1.1rem;
  color: var(--slate-800);
  font-weight: 500;
}

/* ── CTA Section ────────────────────────────────────────── */
.cta-section {
  text-align: center;
}

.cta-section h2 { margin-bottom: 12px; }
.cta-section .section-lead { margin: 0 auto; }
.cta-section .actions { justify-content: center; margin-top: 24px; }

/* ── Footer ─────────────────────────────────────────────── */
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 0 36px;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-500);
  font-size: 0.85rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-800);
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.footer-links a {
  color: var(--slate-500);
  font-weight: 600;
}
.footer-links a:hover { color: var(--indigo-600); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 48px 0 32px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .section {
    padding: 40px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .site-header nav .button.primary {
    width: 100%;
  }

  .hero .actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
