/* ============================================
   ANDREA LINEHAN — Shared Stylesheet
   ============================================ */

:root {
  --bg:           #07090f;
  --bg-2:         #0d1117;
  --bg-card:      #0f1523;
  --bg-card-hover:#131a2e;
  --border:       #1c2438;
  --border-light: #242e45;
  --text:         #e2e8f0;
  --text-muted:   #94a3b8;
  --text-dim:     #64748b;
  --accent:       #818cf8;
  --accent-btn:   #6366f1;
  --accent-hover: #4f46e5;
  --accent-glow:  rgba(99, 102, 241, 0.12);
  --accent-glow2: rgba(99, 102, 241, 0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--accent-btn) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── LAYOUT ── */
.container { max-width: 1060px; margin: 0 auto; }
section { padding: 5.5rem 2.5rem; }

/* ── LABELS / EYEBROWS ── */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── HEADINGS ── */
h1, h2, h3, h4 { letter-spacing: -0.4px; }

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.page-hero {
  padding: 5rem 2.5rem 4rem;
  border-bottom: 1px solid var(--border);
}
.page-hero .label { display: block; }

/* ── BODY TEXT ── */
.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--accent-btn);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.btn:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--accent);
  color: var(--text);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.25s, background 0.25s;
}
.card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--bg-card-hover);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: block;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }

/* ── TAGS ── */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  letter-spacing: 0.04em;
}

/* ── DIVIDER ── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2.5rem;
}
.stats-bar-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1.5px;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band .section-title { max-width: 620px; margin: 0 auto 1rem; }
.cta-band .lead { margin: 0 auto 2.5rem; text-align: center; max-width: 460px; }
.cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2.5rem;
}
.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-text {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-muted); }

/* ── FORM ── */
.form-group { margin-bottom: 1.25rem; }
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-btn);
}
textarea { resize: vertical; min-height: 140px; }
select option { background: var(--bg-2); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0;
  }
  .nav-links.open li { border-bottom: 1px solid var(--border); }
  .nav-links.open a { display: block; padding: 0.75rem 0; }
  .nav-links.open .nav-cta {
    display: inline-block;
    margin: 0.75rem 0;
    padding: 0.5rem 1.25rem;
  }
  .nav-toggle { display: flex; }
  section { padding: 3.5rem 1.5rem; }
  .page-hero { padding: 3.5rem 1.5rem 3rem; }
  .stats-bar { padding: 2.5rem 1.5rem; }
  .cta-band { padding: 4rem 1.5rem; }
  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
