/* ── PulseNetics.com — Shared Stylesheet ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:  #1f4e79;
  --blue:       #2980b9;
  --blue-light: #aad4f5;
  --green:      #27ae60;
  --orange:     #e67e22;
  --red:        #c0392b;
  --purple:     #8e44ad;
  --dark:       #2c3e50;
  --grey:       #ecf0f1;
  --text:       #2c3e50;
  --muted:      #7f8c8d;
  --border:     #e8ecef;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue-dark);
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.nav-logo { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.nav-logo span { color: var(--blue-light); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a.active { color: #fff; border-bottom: 2px solid var(--blue-light); padding-bottom: 2px; }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: 9px 20px; border-radius: 6px; font-weight: 700 !important;
  transition: background .2s;
}
.nav-cta:hover { background: #1e8449 !important; text-decoration: none !important; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #154360 100%);
  color: #fff;
  padding: 60px 40px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto; }

/* ── Content area ── */
.content { max-width: 900px; margin: 0 auto; padding: 60px 40px; }
.content h2 { font-size: 24px; font-weight: 800; color: var(--blue-dark); margin: 40px 0 14px; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 28px 0 10px; }
.content p { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 14px; }
.content ul, .content ol { padding-left: 24px; margin-bottom: 16px; }
.content li { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 6px; }
.content code {
  background: #f0f4f8; border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 4px;
  font-family: 'Cascadia Code', 'Consolas', monospace; font-size: 13px;
}
.content pre {
  background: #1e2a38; color: #e8f0f8;
  padding: 20px; border-radius: 8px;
  font-family: 'Cascadia Code', 'Consolas', monospace; font-size: 13px;
  overflow-x: auto; margin: 16px 0 24px;
  line-height: 1.7;
}
.content pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }
.content .note {
  background: #f0f8ff; border-left: 4px solid var(--blue);
  padding: 14px 18px; border-radius: 0 8px 8px 0;
  margin: 20px 0; font-size: 14px; color: #333;
}
.content .warning {
  background: #fff8f0; border-left: 4px solid var(--orange);
  padding: 14px 18px; border-radius: 0 8px 8px 0;
  margin: 20px 0; font-size: 14px; color: #333;
}
.content .tip {
  background: #f0fff4; border-left: 4px solid var(--green);
  padding: 14px 18px; border-radius: 0 8px 8px 0;
  margin: 20px 0; font-size: 14px; color: #333;
}
hr.section-divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 13px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(39,174,96,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(39,174,96,.45); text-decoration: none; color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue);
  border: 2px solid var(--blue);
  padding: 11px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  transition: all .2s;
}
.btn-secondary:hover { background: var(--blue); color: #fff; text-decoration: none; }

/* ── Footer ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 48px 40px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.footer-brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--blue-light); }
.footer-desc { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; text-align: center;
  font-size: 12px;
  max-width: 1100px; margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .page-hero { padding: 40px 20px; }
  .content { padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
