:root {
  /* High Contrast, Professional Political Palette */
  --primary-blue: #0A1128;   /* Deep Night Navy */
  --light-blue: #1A2744;    
  --bright-blue: #235789;   /* Saturated Blue Accent */
  --primary-red: #D31930;   /* Crimson Red - Authoritative */
  --light-red: #E82A42;    
  --primary-gold: #FFFFFF;
  
  --white: #FFFFFF;
  --off-white: #F4F4F5;     /* Zinc-based cool off-white */
  --dark-gray: #1E1E24;
  --light-gray: #E4E4E7;    /* Stark border gray */
  
  /* Text */
  --text-dark: #18181B;     /* Zinc 900 */
  --text-light: #FFFFFF;
  
  /* Strict Grid Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.75rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* Sharp UI Elements */
  --border-radius: 0px; /* Razor Sharp */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-hard: 6px 6px 0px var(--primary-blue);
}

/* --- RESETS --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  background-color: var(--off-white);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

ul {
  list-style: none;
}

/* --- PRECISION TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800; /* Extra bold for authority */
  line-height: 1.1;
  letter-spacing: -0.02em; /* Tight kerning */
  color: var(--primary-blue);
}

h2 {
  font-size: 2.75rem;
  margin-bottom: var(--space-md);
}

.text-gradient {
  color: var(--primary-red);
}

/* --- UTILS --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

/* Geometric High-Tension Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 0px; /* Square */
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--primary-red);
  box-shadow: 4px 4px 0px var(--primary-blue);
  transform: translate(-4px, -4px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 4px 4px 0px var(--primary-red);
  transform: translate(-4px, -4px);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.btn-white:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 4px 4px 0px var(--primary-red);
  transform: translate(-4px, -4px);
}

/* --- NAVIGATION HEADER --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary-blue);
  border-bottom: 2px solid var(--primary-red);
  padding: 1.25rem 0;
  transition: padding var(--transition);
}

header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-subtle);
}

.nav-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.logo span {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links li a {
  color: var(--light-gray);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-red);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
}

.nav-donate .btn {
  padding: 0.7rem 1.75rem;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

/* --- STAGGERED REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding-top: 120px;
  background-color: var(--off-white);
  background-image: linear-gradient(to right, var(--light-gray) 1px, transparent 1px);
  background-size: 100px 100%; /* Subtle grid lines */
  border-bottom: 5px solid var(--primary-blue);
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
  max-width: 650px;
  z-index: 2;
  padding-right: 2rem;
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--primary-red);
  padding-left: 1.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-image img {
  max-height: 85vh;
  object-fit: contain;
  z-index: 2;
}

/* Removed the glowing circular bubble. Using sharp square background element */
.hero-graphic-bg {
  position: absolute;
  width: 80%;
  height: 90%;
  background-color: var(--white);
  border: 2px solid var(--light-gray);
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* --- COUNTDOWN SECTION --- */
.bg-secondary {
  background-color: var(--primary-blue);
}

.countdown-section {
  padding: 4rem 0;
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--white);
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  min-width: 120px;
}

.countdown-val {
  font-size: 4rem;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
}

.countdown-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 1rem;
  color: var(--primary-red);
}

/* --- SECTIONS --- */
.section-spacing {
  padding: var(--space-xl) 0;
}

.bg-light {
  background-color: var(--white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--primary-red);
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.link-arrow::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(5px);
}

/* --- CARDS (Strict Geometric) --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--off-white);
  padding: 3rem 2.5rem;
  border: 1px solid var(--light-gray);
  text-align: left;
  transition: var(--transition);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-blue);
  transition: background-color 0.2s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 0px rgba(10, 17, 40, 0.05);
}

.card:hover::before {
  background-color: var(--primary-red);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
  fill: var(--primary-blue); /* SVG Fill targeting */
  color: var(--primary-blue);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--primary-blue);
}

/* --- FOOTER --- */
footer {
  background-color: var(--dark-gray);
  color: var(--text-light);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer-brand p {
  color: #A1A1AA; /* Muted gray */
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
}

.social-links a:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0px var(--primary-blue);
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: #D4D4D8;
  font-weight: 500;
}

.footer-links ul li a:hover {
  color: var(--white);
  padding-left: 8px; /* Sharp indent */
}

.footer-contact p {
  margin-bottom: 1rem;
  color: #D4D4D8;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
}

.footer-contact svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #A1A1AA;
}

.fppc-disclaimer {
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 76px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 76px);
    background-color: var(--primary-blue);
    border-left: 2px solid var(--primary-red);
    flex-direction: column;
    padding-top: 3rem;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 2rem;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 0;
  }
  
  .hero-image {
    margin-bottom: 2rem;
  }
  
  .hero-subtitle {
    border-left: none;
    border-bottom: 4px solid var(--primary-red);
    padding-left: 0;
    padding-bottom: 1rem;
    display: inline-block;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* Scale down spacing */
  :root {
    --space-xl: 3rem;
    --space-lg: 2rem;
    --space-md: 1.5rem;
  }
  
  .container {
    width: 90%;
    padding: var(--space-lg) 0;
  }

  /* Scale down typography to prevent horizontal cutoffs */
  h2 {
    font-size: 2.25rem;
  }
  
  .hero-section {
    padding-top: 100px;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .section-title, 
  h2[style*="font-size: 3.5rem"], 
  h2[style*="font-size: 2.75rem"] {
    font-size: 2.25rem !important;
  }

  .countdown-val {
    font-size: 2.5rem;
  }
  
  .countdown-item {
    min-width: 80px;
    padding: 1rem;
  }

  /* Button adjustments */
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  /* Cards layout */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 2rem 1.5rem;
  }

  /* Disclaimer overflow fix */
  .fppc-disclaimer {
    width: auto !important;
    max-width: 100%;
    padding: 15px 20px;
    font-size: 0.75rem;
    box-sizing: border-box;
    word-break: break-word;
  }

  /* Footer stack */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}
