/* Inoculation Project — Custom styles (supplements Tailwind CDN) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --purple-primary: #6D28D9;
  --purple-dark: #1E1B4B;
  --purple-mid: #4C1D95;
  --purple-light: #EDE9FE;
  --purple-soft: #F5F3FF;
  --amber: #F59E0B;
  --teal: #0D9488;
  --teal-light: #CCFBF1;
  --red-alert: #DC2626;
  --text-dark: #111827;
  --text-muted: #6B7280;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #fff;
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}

/* ─── NAV ─────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E5E7EB;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--purple-primary);
  background: var(--purple-soft);
}

.nav-links a.active {
  color: var(--purple-primary);
  font-weight: 600;
}

.nav-links .coming-soon {
  color: #9CA3AF;
  cursor: default;
  font-size: 0.85rem;
}

.nav-cta {
  background: var(--purple-primary);
  color: white !important;
  padding: 0.45rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: var(--purple-mid) !important;
  color: white !important;
}

.nav-badge {
  font-size: 0.65rem;
  background: var(--purple-light);
  color: var(--purple-primary);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.25rem;
  font-weight: 600;
}

/* ─── HERO ─────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, var(--purple-dark) 0%, #2D1B69 50%, var(--purple-primary) 100%);
  color: white;
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(109,40,217,0.3) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(13,148,136,0.2) 0%, transparent 50%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 auto 1.25rem;
  max-width: 800px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #A78BFA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: white;
  color: var(--purple-primary);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.2);
}

/* ─── SECTIONS ─────────────────────────────── */

.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--purple-dark);
  margin: 0 0 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── PILLARS ───────────────────────────────── */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar-card {
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.pillar-card.purple {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-primary) 100%);
  color: white;
}

.pillar-card.teal {
  background: linear-gradient(135deg, #0F766E 0%, var(--teal) 100%);
  color: white;
}

.pillar-card.muted {
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  color: var(--text-dark);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.pillar-card.purple .pillar-icon { background: rgba(255,255,255,0.15); }
.pillar-card.teal .pillar-icon { background: rgba(255,255,255,0.15); }
.pillar-card.muted .pillar-icon { background: var(--purple-soft); }

.pillar-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.pillar-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  opacity: 0.85;
}

.pillar-card.muted p { opacity: 1; color: var(--text-muted); }

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto;
}

.pillar-card.purple .pillar-link { color: #C4B5FD; }
.pillar-card.teal .pillar-link { color: #99F6E4; }
.pillar-card.muted .pillar-link { color: var(--text-muted); }

.coming-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #E5E7EB;
  color: #6B7280;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* ─── THREATS ───────────────────────────────── */

.threats-bg {
  background: var(--purple-soft);
  padding: 5rem 2rem;
}

.threats-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.threats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.threat-card {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  border: 1px solid #E5E7EB;
  transition: box-shadow 0.15s;
}

.threat-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.threat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-alert);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}

.threat-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--purple-dark);
}

.threat-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.threat-level {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.threat-level.high { background: #FEE2E2; color: #DC2626; }
.threat-level.medium { background: #FEF3C7; color: #D97706; }
.threat-level.rising { background: #EDE9FE; color: var(--purple-primary); }

/* ─── IMPACT ────────────────────────────────── */

.impact-bg {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-primary));
  padding: 5rem 2rem;
  color: white;
}

.impact-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.impact-inner .section-title { color: white; }
.impact-inner .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto 3rem; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.impact-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.impact-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1;
}

.impact-number span {
  background: linear-gradient(90deg, #A78BFA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-align: center;
}

/* ─── CTA BAND ──────────────────────────────── */

.cta-band {
  padding: 5rem 2rem;
  text-align: center;
  background: white;
}

.cta-band .section-title { color: var(--purple-dark); margin-bottom: 1rem; }
.cta-band .section-subtitle { margin: 0 auto 2.5rem; }

.btn-purple {
  background: var(--purple-primary);
  color: white;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-purple:hover {
  background: var(--purple-mid);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: white;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-teal:hover {
  background: #0F766E;
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--purple-primary);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid var(--purple-light);
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-ghost:hover {
  background: var(--purple-soft);
}

.actions-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ────────────────────────────────── */

.footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--purple-primary), #7C3AED);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.footer-brand h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: white;
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: 'Space Grotesk', sans-serif;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── PAGE HERO (interior pages) ────────────── */

.page-hero {
  background: linear-gradient(135deg, var(--purple-dark), #2D1B69);
  color: white;
  padding: 4rem 2rem 3.5rem;
  text-align: center;
}

.page-hero .hero-tag { margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: 0 0 1rem; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ─── CARDS ─────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: white;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--purple-soft);
}

.card h3 { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--purple-dark); }
.card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-purple { background: var(--purple-light); color: var(--purple-primary); }
.tag-teal { background: var(--teal-light); color: #0F766E; }
.tag-amber { background: #FEF3C7; color: #B45309; }
.tag-gray { background: #F3F4F6; color: #6B7280; }

/* ─── MOBILE ─────────────────────────────────── */

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav { padding: 0 1rem; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .section { padding: 3.5rem 1.25rem; }
  .threats-bg, .impact-bg, .cta-band { padding: 3.5rem 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
