/* ============================
   MedBillersPro Base CSS (LOCKED) — LIGHT THEME
   - White background + dark gray text
   - Subtle shadows, clean cards
   - Color accents only on buttons/links
   ============================ */

:root{
  --bg0:#ffffff;
  --bg1:#f5f7fb;

  --text:#1f2937;
  --muted:rgb(0, 0, 0);

  --card:#ffffff;
  --card2:#f8fafc;
  --stroke:rgba(0,0,0,.08);

  --a:#5B6CFF;
  --b:#2CB7FF;
  --c:#19C37D;
  --d:#FF4FD8;
  --e:#FFB84D;

  --shadow: 0 14px 40px rgba(0,0,0,.08);
  --shadow2: 0 6px 16px rgba(0,0,0,.06);
  --radius: 22px;
  --radius2: 16px;

  --max: 1200px;
  --pad: 20px;

  --ring: 0 0 0 1px rgba(0,0,0,.06) inset;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html.menu-open, html.menu-open body { overflow: hidden; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  overflow-x:hidden;
  background: var(--bg1);
  min-height: 100vh;
}

a{ color:inherit; text-decoration:none; }
a:hover{ color: var(--a); }
img{ max-width:100%; display:block; }

.container{
  width:min(var(--max), calc(100% - (var(--pad) * 2)));
  margin:0 auto;
}

.small{ font-size: 13px; color: var(--muted); }
.muted{ color: var(--muted); }

.hr{
  height:1px;
  background: rgba(0,0,0,.08);
  margin: 26px 0;
}

.grid{ display:grid; gap:16px; }
.flex{ display:flex; gap:14px; align-items:center; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: #0f172a;
  box-shadow: 0 4px 12px rgba(15,23,42,0.3);
  color: #ffffff;
  font-weight: 700;
  transition: all .2s ease;
  cursor: pointer;
}
.btn:hover{
  transform: translateY(-2px);
  background: #000000;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.btn:active{ transform: translateY(1px); box-shadow: 0 2px 8px rgba(0,0,0,0.3); color: #ffffff; }

.btn-primary{
  background: var(--a);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(91,108,255,0.4);
  font-weight: 800;
}
.btn-primary:hover{
  background: #4456F5;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(91,108,255,0.6);
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--ring);
  color: rgba(31,41,55,.70);
  font-size: 13px;
}

.card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card > *{ position: relative; }

.card-pad{ padding: 18px; }

.gloss{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0));
  pointer-events:none;
  opacity:.55;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.80);
  font-size: 12px;
  color: rgba(31,41,55,.70);
}

.kicker{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(31,41,55,.62);
}

.h1{
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
  margin: 10px 0 10px;
  letter-spacing: -0.02em;
}
.h2{
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.p{
  font-size: 16px;
  line-height: 1.6;
  color: rgba(31,41,55,.78);
  margin: 0;
}

.list{
  margin: 0;
  padding-left: 18px;
  color: rgba(31,41,55,.78);
}
.list li{ margin: 7px 0; }

.icon{
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91,108,255,.95), rgba(44,183,255,.70));
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

/* Header */
header.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  background: #ffffff;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand img{
  width: 40px; height: 40px;
  border-radius: 12px;
  padding: 6px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--ring);
}
.brand .title{
  font-weight: 900;
  letter-spacing: -0.01em;
}
.brand .subtitle{
  font-size: 12px;
  color: rgba(31,41,55,.62);
  font-weight: 650;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav-links a{
  font-size: 14px;
  color: rgba(31,41,55,.78);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-links a:hover{
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.06);
  color: rgba(31,41,55,.92);
}

.nav-cta{ display:flex; align-items:center; gap:10px; }

.mobile-toggle{
  display:none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
  box-shadow: var(--ring);
}

.site-nav { display: none; }

/* Footer */
footer.site-footer{
  margin-top: 50px;
  padding: 34px 0 26px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #ffffff;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.footer-card{
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.06);
  background: #ffffff;
  box-shadow: var(--ring);
  padding: 16px;
}
.footer-links a{
  display:block;
  padding: 8px 0;
  color: rgba(31,41,55,.72);
}
.footer-links a:hover{ color: rgba(31,41,55,.92); }

@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-cta .btn{ display:none; }
  .nav-cta .mobile-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .footer-grid{ grid-template-columns: 1fr; }
  .site-nav.open { display: block !important; }
}