@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@2.44.0/tabler-icons.min.css');

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

:root {
  --blue: #1a4f8a;
  --blue-dark: #0f3460;
  --blue-deep: #0a1929;
  --green: #3ecf8e;
  --green-dark: #0f6e56;
  --bg: #f4f8fc;
  --border: #dde8f2;
  --text: #0f1e2e;
  --text-mid: #4a5e72;
  --text-light: #6b82a0;
  --text-muted: #9ab0c8;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: #fff; }

/* ─── NAVIGATION ─── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px; background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 44px; width: auto; display: block; }
/* Fallback icon kept for any legacy references */
.logo-icon {
  width: 36px; height: 36px; background: var(--blue); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.logo-icon::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; border: 2.5px solid var(--green); border-radius: 50%;
}
.logo-icon::after {
  content: ''; position: absolute;
  width: 6px; height: 6px; background: #fff; border-radius: 50%;
}
.logo-text { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); }
.logo-text span { color: var(--blue); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-cta {
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 500;
  font-family: 'DM Sans', sans-serif; padding: 9px 20px; border-radius: 8px;
  border: none; cursor: pointer; text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: var(--blue-dark); }

/* ─── HERO BASE ─── */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 65%, var(--blue-dark) 100%);
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(62,207,142,.15); border: 1px solid rgba(62,207,142,.3);
  color: var(--green); font-size: 11px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 20px;
  letter-spacing: .8px; text-transform: uppercase;
}
.badge::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--green); color: var(--blue-deep); font-size: 14px; font-weight: 600;
  font-family: 'DM Sans', sans-serif; padding: 12px 28px; border-radius: 8px;
  border: none; cursor: pointer; text-decoration: none; display: inline-block;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #2db87a; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #fff; font-size: 14px; font-weight: 500;
  font-family: 'DM Sans', sans-serif; padding: 12px 28px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.3); cursor: pointer; text-decoration: none;
  display: inline-block; transition: background .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-blue {
  background: var(--blue); color: #fff; font-size: 14px; font-weight: 600;
  font-family: 'DM Sans', sans-serif; padding: 12px 28px; border-radius: 8px;
  border: none; cursor: pointer; text-decoration: none; display: inline-block;
  transition: background .2s;
}
.btn-blue:hover { background: var(--blue-dark); }

/* ─── SECTION HELPERS ─── */
.section { padding: 72px 48px; }
.section-bg { background: var(--bg); }
.section-dark { background: var(--blue-deep); }
.section-blue { background: var(--blue); }

.section-tag {
  font-size: 11px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px;
}
.section-title {
  font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 700;
  color: var(--text); line-height: 1.2; letter-spacing: -.4px;
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px;
}
.section-link {
  font-size: 13px; font-weight: 500; color: var(--blue);
  text-decoration: none; white-space: nowrap;
}
.section-link:hover { text-decoration: underline; }

/* ─── STATS STRIP ─── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 28px 20px; border-right: 1px solid var(--border);
  text-align: center; background: #fff;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800;
  color: var(--blue); line-height: 1; margin-bottom: 4px;
}
.stat-num span { color: var(--green); }
.stat-label { font-size: 13px; color: var(--text-light); }

/* ─── CARDS ─── */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--blue); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,79,138,.1);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  font-size: 22px;
}
.icon-blue { background: #e8f0fb; color: var(--blue); }
.icon-green { background: #e2f7ef; color: var(--green-dark); }
.icon-teal { background: #e0f4f4; color: #0a7a7a; }
.card-title {
  font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.card-desc { font-size: 13px; color: var(--text-light); line-height: 1.65; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--blue-deep); padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-content { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800;
  color: #fff; margin-bottom: 10px; letter-spacing: -.5px;
}
.cta-section h2 span { color: var(--green); }
.cta-section p { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
  background: #0a1929; padding: 40px 48px 24px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 20px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; margin-top: 10px; max-width: 220px; }
.footer-col h4 {
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.8); margin-bottom: 12px;
}
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,.4);
  text-decoration: none; margin-bottom: 8px; transition: color .2s;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.25); }
.footer-bottom span { color: var(--green); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 48px 20px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 48px 20px; }
  footer { padding: 32px 20px 20px; }
}
