/* ═══════════════════════════════════════════════════════
   GLP-1 EDUCATION — Shared Stylesheet
   All pages import this file. Page-specific styles live
   inside each page's <style> block.
═══════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── DESIGN TOKENS ─── */
:root {
  --bg-0:       #07090f;
  --bg-1:       #0c1020;
  --bg-2:       #111828;
  --bg-footer:  #040609;

  --blue:        #3060f0;
  --blue-bright: #4d79ff;
  --blue-dim:    rgba(48,96,240,0.10);
  --blue-border: rgba(48,96,240,0.28);

  --teal:      #0db8a5;
  --teal-dim:  rgba(13,184,165,0.10);

  --white:  #ffffff;
  --text-1: rgba(255,255,255,0.90);
  --text-2: rgba(255,255,255,0.50);
  --text-3: rgba(255,255,255,0.24);

  --border:     rgba(255,255,255,0.08);
  --border-med: rgba(255,255,255,0.14);

  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-pill: 100px;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h: 72px;
}

/* ─── BASE ─── */
body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); }

/* ─── KEYFRAMES ─── */
@keyframes pulse-ring {
  0%,100% { opacity:.35; transform:scale(1); }
  50%      { opacity:.70; transform:scale(1.07); }
}
@keyframes fade-up {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ─── LAYOUT ─── */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}
.s-section { padding: 104px 0; }
.s-section-alt { background: var(--bg-1); }

/* ─── TYPOGRAPHY UTILITIES ─── */
.overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.accent-line {
  display: block;
  width: 36px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 20px;
}
.accent-line.center { margin-left:auto; margin-right:auto; }

.d-xl {
  font-size: clamp(48px,5.8vw,90px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.026em;
  color: var(--white);
}
.d-lg {
  font-size: clamp(32px,3.8vw,58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--white);
}
.d-md {
  font-size: clamp(24px,2.4vw,38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--white);
}
.body-lg { font-size:17px; line-height:1.75; color:var(--text-2); }
.body-md { font-size:15px; line-height:1.75; color:var(--text-2); }
.body-sm { font-size:13px; line-height:1.72; color:var(--text-2); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.01em;
  border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(48,96,240,0.38);
}
.btn-primary.lg { padding:15px 34px; font-size:16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--border-med);
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.btn-ghost.lg { padding:15px 34px; font-size:16px; }

/* ─── ARROW RING (Shift4 signature element) ─── */
.arrow-ring {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-bright);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.card-cta:hover .arrow-ring {
  background: var(--blue);
  transform: translateX(3px);
}

/* ─── NAV ─── */
.s-nav {
  position: fixed; top:0; left:0; right:0;
  z-index: 300;
  height: var(--nav-h);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background .3s, border-color .3s;
}
.s-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s-nav-logo {
  display: flex; align-items: center; gap:10px;
  flex-shrink: 0;
}
.s-nav-logo-text {
  font-size: 18px; font-weight: 800;
  color: var(--white); letter-spacing:-0.01em;
}
.s-nav-links {
  display: flex; gap: 34px; align-items: center;
}
.s-nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--text-2); letter-spacing:0.01em;
  transition: color .2s;
}
.s-nav-link:hover, .s-nav-link.active { color:var(--white); }
.s-nav-right { display:flex; gap:8px; align-items:center; }
.s-nav-text {
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.s-nav-text:hover { color:var(--white); background:rgba(255,255,255,0.06); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}
.page-hero-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}
.page-hero-breadcrumb {
  display: flex; align-items: center; gap:8px;
  font-size: 12px; color:var(--text-3);
  font-weight: 500;
  margin-bottom: 28px;
}
.page-hero-breadcrumb a { transition:color .2s; }
.page-hero-breadcrumb a:hover { color:var(--text-1); }
.page-hero-breadcrumb span { color:var(--text-3); }

/* ─── STATS BAR ─── */
.s-stats {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.s-stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.s-stat {
  padding: 44px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.s-stat:last-child { border-right:none; }
.s-stat-num {
  font-size: 52px; font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em; line-height:1;
}
.s-stat-label {
  font-size: 11px; font-weight:600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 10px;
}

/* ─── TRUST STRIP ─── */
.s-trust {
  border-bottom: 1px solid var(--border);
  padding: 40px 56px;
}
.s-trust-label {
  text-align: center;
  font-size: 11px; font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.s-trust-logos {
  display: flex; justify-content:center;
  align-items:center; gap:10px; flex-wrap:wrap;
}
.s-trust-logo {
  font-size: 11px; font-weight:700;
  letter-spacing:0.06em; text-transform:uppercase;
  color: rgba(255,255,255,0.2);
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  white-space:nowrap;
}

/* ─── CARDS ─── */
.card-base {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s, background .2s, transform .25s;
}
.card-base:hover {
  border-color: var(--blue-border);
  background: var(--bg-2);
}

/* ─── SECTION HEAD ─── */
.s-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px; flex-wrap:wrap;
  margin-bottom: 64px;
}
.s-section-desc {
  font-size:16px; line-height:1.7;
  color: var(--text-2);
  max-width:340px; flex-shrink:0;
}

/* ─── FOOTER ─── */
.s-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
}
.s-footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.s-footer-col-label {
  font-size:10px; font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.14em;
  color: var(--text-3);
  margin-bottom:20px;
}
.s-footer-links { display:flex; flex-direction:column; gap:12px; }
.s-footer-link {
  font-size:13px; color:var(--text-2);
  transition:color .2s;
}
.s-footer-link:hover { color:var(--white); }
.s-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top:28px;
  display:flex; justify-content:space-between;
  align-items:center; gap:20px; flex-wrap:wrap;
}
.s-footer-legal {
  font-size:12px; color:var(--text-3);
  max-width:560px; line-height:1.65;
}
.s-footer-badge { display:flex; align-items:center; gap:7px; }
.s-badge-dot {
  width:7px; height:7px;
  border-radius:50%;
  background:var(--teal); opacity:.7;
}
.s-badge-text {
  font-size:11px; color:var(--text-3);
  letter-spacing:0.08em;
  text-transform:uppercase; font-weight:600;
}

/* ─── MISC UTILITIES ─── */
.gap-sm  { gap:12px; }
.gap-md  { gap:20px; }
.gap-lg  { gap:32px; }
.flex    { display:flex; }
.flex-col{ display:flex; flex-direction:column; }
.items-center { align-items:center; }
.justify-center { justify-content:center; }
.text-center { text-align:center; }
.mt-sm { margin-top:12px; }
.mt-md { margin-top:24px; }
.mt-lg { margin-top:40px; }
.mb-sm { margin-bottom:12px; }
.mb-md { margin-bottom:24px; }
.mb-lg { margin-bottom:40px; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile & Tablet
   Breakpoints: 768px tablet | 480px mobile
═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Layout */
  .wrap { padding: 0 20px; }
  .s-section { padding: 64px 0; }
  .page-hero-wrap { padding: 0 20px; }

  /* Nav — hide links, keep logo */
  .s-nav-inner { padding: 0 20px; }
  .s-nav-links { display: none; }
  .s-nav-right { display: none; }
  .s-nav-logo-text { font-size: 16px; }

  /* Stats — 2 columns */
  .s-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .s-stat { padding: 32px 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .s-stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .s-stat:nth-last-child(-n+2) { border-bottom: none; }
  .s-stat-num { font-size: 38px; }

  /* Trust strip */
  .s-trust { padding: 28px 20px; }

  /* Section head — stack */
  .s-section-head { flex-direction: column; gap: 16px; margin-bottom: 36px; }
  .s-section-desc { max-width: 100%; }

  /* Footer — single column */
  .s-footer { padding: 48px 0 28px; }
  .s-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }
  .s-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Typography scale-down */
  .d-xl { font-size: clamp(32px, 9vw, 54px); }
  .d-lg { font-size: clamp(26px, 7vw, 40px); }
  .d-md { font-size: clamp(20px, 5.5vw, 30px); }
  .body-lg { font-size: 15px; }
}

@media (max-width: 480px) {

  /* Tighter layout */
  .wrap { padding: 0 16px; }
  .s-section { padding: 48px 0; }

  /* Stats — full width stack */
  .s-stats-grid { grid-template-columns: 1fr 1fr; }
  .s-stat-num { font-size: 32px; }

  /* Buttons */
  .btn-primary.lg { padding: 13px 26px; font-size: 15px; }
  .btn-ghost.lg   { padding: 13px 26px; font-size: 15px; }

  /* Section head */
  .s-section-head { margin-bottom: 28px; }

  /* Footer */
  .s-footer-grid { gap: 24px; }
}
