/* ── SafeSteps Global CSS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --blue:     #1565C0;
  --blue-dk:  #0D47A1;
  --blue-md:  #1976D2;
  --blue-lt:  #E3F0FF;
  --blue-xs:  #F0F7FF;
  --text:     #0F172A;
  --text-2:   #334155;
  --muted:    #64748B;
  --border:   #E2E8F0;
  --bg:       #F8FAFC;
  --white:    #FFFFFF;
  --green:    #16A34A;
  --red:      #DC2626;
  --radius:   14px;
  --shadow:   0 1px 3px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg:0 4px 6px rgba(0,0,0,0.05), 0 20px 60px rgba(0,0,0,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-weight: 600; font-size: 17px; letter-spacing: -0.3px;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dk));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 7px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-xs); }
.nav-cta {
  background: var(--blue); color: white !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
}
.nav-cta:hover { background: var(--blue-dk) !important; color: white !important; }

/* Hamburger */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; margin: 4px 0;
  transition: 0.3s;
}
@media (max-width: 720px) {
  .nav-links { display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 60px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 12px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
}

/* ── UTILS ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.tag {
  display: inline-block;
  background: var(--blue-lt); color: var(--blue);
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; letter-spacing: -1px;
  color: var(--text); margin-bottom: 14px; line-height: 1.2;
}
.section-sub {
  font-size: 18px; color: var(--muted);
  font-weight: 300; max-width: 520px;
  margin-bottom: 48px; line-height: 1.6;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 50px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: none; transition: all 0.2s;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(21,101,192,0.3); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-lt); }
.btn-white { background: white; color: var(--blue); }
.btn-white:hover { background: var(--blue-lt); }
.card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px;
  box-shadow: var(--shadow);
}

/* ── FOOTER ── */
footer {
  background: var(--text); color: rgba(255,255,255,0.5);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .logo-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.footer-brand .logo-text { color: white; font-size: 17px; font-weight: 600; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 220px; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 13px; text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px;
}
.footer-bottom strong { color: rgba(255,255,255,0.7); }
.footer-badges { display: flex; gap: 10px; }
.footer-badge {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 10px; border-radius: 6px; font-size: 11px; color: rgba(255,255,255,0.5);
}
