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

:root {
  --blue-dark:  #0e2f56;
  --blue-mid:   #1a4480;
  --blue-light: #2563a8;
  --white:      #ffffff;
  --gray-100:   #f4f6f9;
  --gray-500:   #6b7a8d;
  --gray-800:   #1e293b;
  --accent:     #3b82f6;
  --font:       'Roboto', sans-serif;
  --radius:     8px;
  --shadow:     0 4px 20px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
}

a { text-decoration: none; color: inherit; }

/* ─── Container ────────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.btn--white {
  background: var(--white);
  color: var(--blue-dark);
}
.btn--white:hover { background: var(--gray-100); box-shadow: var(--shadow); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ─── Nav ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 47, 86, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a { color: rgba(255,255,255,0.85); font-size: 0.95rem; transition: color var(--transition); }
.nav__links a:hover { color: var(--white); }

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, var(--blue-light) 100%);
  padding: 160px 0 100px;
  text-align: center;
}

.hero__content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ─── Section Header ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { font-size: 1.9rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 12px; }
.section-header p  { font-size: 1rem; color: var(--gray-500); }

/* ─── How it works ──────────────────────────────────────────── */
.how {
  padding: 96px 0;
  background: var(--gray-100);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.pillar__icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin: 0 auto 20px;
}
.pillar__icon svg { width: 100%; height: 100%; }

.pillar h3 { font-size: 1rem; font-weight: 600; color: var(--blue-dark); margin-bottom: 10px; }
.pillar p  { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }

/* ─── CTA ───────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 96px 0;
  text-align: center;
}

.cta__inner h2 { font-size: 1.9rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.cta__inner p  { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 32px; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer { background: var(--gray-800); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 700px) {
  .pillars { grid-template-columns: 1fr; }

  .nav__links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--blue-dark);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav__links--open { display: flex; }
  .nav__links li { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav__hamburger { display: block; }

  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
