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

:root {
  --blue-deep: #0f1f3d;
  --blue-mid: #1a3a6e;
  --blue-primary: #1a56db;
  --blue-light: #2d7dfa;
  --cyan: #0ea5e9;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-blue: 0 8px 32px rgba(26,86,219,0.2);
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text-primary); background: #ffffff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: var(--text-primary); flex-shrink: 0; text-decoration: none; }
.logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: var(--text-primary); line-height: 1.15; white-space: nowrap; }
.logo-text em { font-style: normal; display: block; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-primary); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a { color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; padding: 0.45rem 0.85rem; border-radius: 8px; transition: var(--transition); }
.nav-links a:hover { color: var(--blue-primary); background: rgba(26,86,219,0.05); }
.nav-links a.active { color: var(--blue-primary); font-weight: 600; }
.nav-cta { background: var(--blue-primary) !important; color: white !important; font-weight: 600 !important; box-shadow: 0 4px 14px rgba(26,86,219,0.3); }
.nav-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,0.4) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.7rem 1.6rem; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--blue-primary); color: white; box-shadow: 0 4px 16px rgba(26,86,219,0.3); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,86,219,0.4); }
.btn-outline { background: transparent; color: var(--blue-primary); border: 1.5px solid var(--blue-primary); }
.btn-outline:hover { background: var(--blue-primary); color: white; }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ── LAYOUT ── */
.section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-primary); margin-bottom: 0.75rem; }
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--blue-primary); border-radius: 2px; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--text-primary); margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--text-secondary); max-width: 520px; line-height: 1.7; }

/* ── BADGE ── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 0.3rem 0.85rem; border-radius: 100px; font-size: 0.78rem; font-weight: 600; background: rgba(26,86,219,0.08); color: var(--blue-primary); border: 1px solid rgba(26,86,219,0.2); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); display: inline-block; }
.badge-green { background: rgba(16,185,129,0.08); color: #059669; border-color: rgba(16,185,129,0.2); }

/* ── FOOTER ── */
footer { background: var(--blue-deep); color: rgba(255,255,255,0.65); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-text { color: white; }
.footer-brand .logo-text em { color: var(--cyan); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 1rem; color: rgba(255,255,255,0.45); max-width: 280px; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-weight: 700; color: white; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.86rem; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--cyan); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fade-up { animation: fadeUp 0.6s cubic-bezier(0.4,0,0.2,1) 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; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; padding: 1rem; gap: 0.25rem; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ════════════════════════════════
   MOBILE-FIRST GLOBAL FIXES
   ════════════════════════════════ */
@media (max-width: 768px) {
  /* Typography scale down */
  .section-title { font-size: 1.6rem; }
  .section { padding: 3rem 1.25rem; }

  /* Buttons full-width on very small */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  /* Stats row wrap */
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .stat-div { display: none; }

  /* Footer 1 col on small */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 1rem; }
  .section { padding: 2.5rem 1rem; }
  .section-title { font-size: 1.45rem; }
  .container { padding-left: 1rem; padding-right: 1rem; }
}
