@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --navy: #0A1628;
  --navy-mid: #0D1E35;
  --blue: #1E6FD9;
  --blue-light: #4D9FFF;
  --blue-pale: #EBF3FF;
  --blue-soft: #D6E8FF;
  --text-dark: #0A1628;
  --text-mid: #4A6080;
  --text-muted: #6B7A90;
  --text-hint: #8A9AB0;
  --border: #E0E7F0;
  --border-mid: #D8E2EF;
  --bg: #F4F6FA;
  --bg-card: #F7F9FC;
  --white: #ffffff;
  --green: #639922;
  --green-pale: #E8F4E8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
.nav {
  background: var(--navy);
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.logo-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: white;
  letter-spacing: -0.3px;
}
.logo-text span { color: var(--blue-light); }

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: white; }

.nav-cta {
  background: var(--blue);
  color: white !important;
  font-size: 14px !important;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #1560c0 !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  background: var(--navy-mid);
  padding: 16px 5%;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── HERO BASE ── */
.hero {
  background: var(--navy);
  padding: 64px 5% 72px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,111,217,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,217,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-glow {
  position: absolute;
  top: -80px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30,111,217,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-l {
  position: absolute;
  top: -80px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(30,111,217,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 680px; }

.section-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,111,217,0.15);
  border: 0.5px solid rgba(30,111,217,0.35);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--blue-light);
  font-weight: 500;
  margin-bottom: 20px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); }

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: white;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero-title .accent { color: var(--blue-light); }

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #1560c0; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 13px 22px;
  border-radius: 9px;
  border: 0.5px solid rgba(255,255,255,0.2);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: white; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
.hstat { flex: 1; }
.hstat:not(:last-child) { padding-right: 28px; border-right: 0.5px solid rgba(255,255,255,0.08); margin-right: 28px; }
.hstat-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: white;
}
.hstat-num .accent { color: var(--blue-light); }
.hstat-label { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 3px; }

/* ── SECTIONS ── */
.section { padding: 64px 5%; }
.section-alt { background: var(--bg-card); }
.section-dark { background: var(--navy); }
.section-blue { background: var(--blue); }

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-title.light { color: white; }
.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.section-sub.light { color: rgba(255,255,255,0.55); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.card-featured {
  background: var(--blue-pale);
  border-color: var(--blue);
}

/* ── GRID UTILS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── FOOTER ── */
footer {
  background: #060E1A;
  padding: 48px 5% 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 260px;
}
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 48px 5% 56px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hstat:not(:last-child) { border-right: none; }
  .section { padding: 48px 5%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
}
