:root {
  --primary: #0b1f3a;
  --primary-light: #132f55;
  --accent: #2f80ed;
  --text: #172033;
  --muted: #667085;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e5e9f2;
  --success: #0f766e;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
section { padding: 96px 24px; }
.container { max-width: var(--max-width); margin: 0 auto; }
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.15; color: var(--primary); }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.05em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: white; box-shadow: 0 12px 30px rgba(47, 128, 237, 0.28); }
.btn-primary:hover { transform: translateY(-2px); background: #1f6fd1; }
.btn-secondary { border-color: var(--border); color: var(--primary); background: white; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 900; color: var(--primary); letter-spacing: -0.04em; font-size: 1.2rem; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--primary); cursor: pointer; }

.hero {
  padding-top: 110px;
  background: radial-gradient(circle at top right, rgba(47, 128, 237, 0.14), transparent 35%), linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-text { max-width: 720px; }
.hero-text p { font-size: 1.18rem; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.trust-note { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 0.95rem; }
.trust-note strong { color: var(--success); }
.hero-card { background: white; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); padding: 34px; }
.hero-card-header { display: flex; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.badge { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 8px 12px; border-radius: 999px; background: #ecfdf5; color: var(--success); font-weight: 700; font-size: 0.85rem; }
.metric-large { font-size: 3.4rem; font-weight: 900; color: var(--primary); letter-spacing: -0.06em; }
.card-list { display: grid; gap: 16px; margin-top: 24px; }
.card-list div { padding: 18px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--border); }

.stats { background: var(--primary); color: white; padding: 42px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: 2.1rem; letter-spacing: -0.04em; }
.stat span { color: #c9d6e6; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 26px rgba(11, 31, 58, 0.05);
  transition: 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon { width: 44px; height: 44px; border-radius: 14px; background: rgba(47, 128, 237, 0.1); color: var(--accent); display: grid; place-items: center; font-weight: 900; margin-bottom: 18px; }
.soft { background: var(--bg-soft); }
.process { counter-reset: step; }
.step::before { counter-increment: step; content: "0" counter(step); display: inline-block; color: var(--accent); font-weight: 900; margin-bottom: 18px; }
.testimonial { display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; }
.testimonial-author { margin-top: 24px; font-weight: 800; color: var(--primary); }
.industries { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { padding: 12px 18px; background: white; border: 1px solid var(--border); border-radius: 999px; color: var(--primary); font-weight: 700; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; padding: 24px 0; background: none; border: none; display: flex; justify-content: space-between; gap: 20px; font-size: 1.05rem; font-weight: 800; color: var(--primary); cursor: pointer; text-align: left; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding-bottom: 24px; }
.faq-item.active .faq-answer { max-height: 220px; }

.contact { background: var(--primary); color: white; }
.contact h2, .contact h3 { color: white; }
.contact p { color: #c9d6e6; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
form { background: white; padding: 34px; border-radius: 24px; display: grid; gap: 18px; }
label { color: var(--primary); font-weight: 700; font-size: 0.95rem; }
input, textarea, select { width: 100%; margin-top: 8px; padding: 14px 15px; border-radius: 12px; border: 1px solid var(--border); font: inherit; color: var(--text); }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(47, 128, 237, 0.35); outline-offset: 3px; }
textarea { min-height: 130px; resize: vertical; }
.form-message { font-weight: 700; color: var(--success); display: none; }
.form-hint { font-size: 0.85rem; }

footer { padding: 32px 24px; background: #07162a; color: #c9d6e6; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.95rem; }
.reveal { opacity: 0; transform: translateY(24px); transition: 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { position: absolute; top: 72px; left: 24px; right: 24px; background: white; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; padding: 22px; display: none; }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
}

@media (max-width: 620px) {
  section { padding: 72px 20px; }
  .grid-3, .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 82px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  form { padding: 24px; }
}

/* Legal modal */
.footer-link {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.footer-link:hover { color: white; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.active { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 42, 0.72);
  backdrop-filter: blur(6px);
}
.modal-content {
  position: relative;
  width: min(720px, 100%);
  max-height: 84vh;
  overflow: auto;
  background: white;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.modal-content h2 { margin-bottom: 16px; }
.modal-content p { margin-bottom: 14px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}
