/* ========================================
   The People vs. Poison — Stylesheet
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --bg: #ffffff;
  --fg: #1c1917;
  --amber: #38bdf8;
  --amber-hover: #0ea5e9;
  --charcoal: #1c1917;
  --charcoal-dark: #141210;
  --toxic-dark: #147a36;
  --toxic-green: #4dd67a;
  --sky-vivid: #0ba5d4;
  --muted: #e8f2f5;
  --card: #f1f8fb;
  --border: #cddde3;
  --text-muted: #a8a29e;
  --text-muted-light: #d6d3d1;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --max-w: 1400px;
  --max-w-sm: 640px;
  --max-w-md: 860px;
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* ---------- Utility ---------- */
.text-amber { color: var(--amber); }
.text-white { color: #ffffff; }
.text-muted-light { color: var(--text-muted-light); }
.text-center { text-align: center; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm { max-width: var(--max-w-sm); }
.container-md { max-width: var(--max-w-md); }

/* ---------- Buttons ---------- */
.btn-amber {
  display: inline-block;
  padding: 14px 32px;
  background: var(--amber);
  color: var(--charcoal);
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}

.btn-amber:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

.btn-amber.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-amber.btn-lg {
  padding: 18px 48px;
  font-size: 22px;
}

.btn-amber.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 20px;
  border-radius: var(--radius);
}

.btn-outline-amber {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  color: var(--amber);
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--amber);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline-amber:hover {
  background: var(--amber);
  color: var(--charcoal);
}

/* ---------- Navigation ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(28, 25, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 56px;
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #d6d3d1;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

.nav-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 56px;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(64px, 14vw, 140px);
  line-height: 0.9;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: #fff;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.hero-tagline {
  color: var(--amber);
  font-size: clamp(11px, 1.4vw, 16px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-cta {
  animation: pulse 2s ease-in-out infinite;
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: -20px;
  width: 4px;
  height: 4px;
  background: rgba(56, 189, 248, 0.4);
  border-radius: 50%;
  animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-120vh) translateX(40px);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; transform: scale(1.02); }
}

/* ---------- Wave Dividers ---------- */
.wave-divider {
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.wave-white { color: #ffffff; }
.wave-muted { color: var(--muted); }
.wave-charcoal { color: var(--charcoal); }
.wave-charcoal-dark { color: var(--charcoal-dark); }
.wave-light { color: #f8fafc; }

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

.section-white { background: #fff; }
.section-muted { background: var(--muted); }
.section-charcoal { background: var(--charcoal); }
.section-charcoal-dark { background: var(--charcoal-dark); }
.section-light { background: #f8fafc; }

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  text-align: center;
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  margin-top: 40px;
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #44403c;
}

.about-text strong {
  color: var(--fg);
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.info-card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.info-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.info-card p {
  font-size: 14px;
  color: #57534e;
  line-height: 1.6;
}

.info-card ul {
  list-style: disc;
  padding-left: 20px;
}

.info-card li {
  font-size: 14px;
  color: #57534e;
  margin-bottom: 4px;
}

.scotus-map {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

.map-link {
  display: block;
}

/* ---------- Timeline ---------- */
.timeline {
  max-width: 600px;
  margin: 40px auto 0;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--toxic-dark);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: -40px;
  top: 0;
  width: auto;
  padding: 4px 10px;
  background: var(--toxic-dark);
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  border-radius: 20px;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
  left: -25px;
}

.timeline-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-content p {
  color: #57534e;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Forms ---------- */
.form {
  margin-top: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus {
  outline: none;
  border-color: var(--amber);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--amber);
  cursor: pointer;
}

.form-check label {
  color: var(--text-muted-light);
  font-size: 14px;
  cursor: pointer;
}

/* ---------- News Grid ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.news-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  transition: background var(--transition);
}

.news-card-video:hover .play-icon {
  background: rgba(0, 0, 0, 0.6);
}

.news-body {
  padding: 20px;
}

.news-source {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-vivid);
  margin-bottom: 8px;
}

.news-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.news-body p {
  font-size: 14px;
  color: #57534e;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
  transition: gap var(--transition);
}

.read-more:hover {
  gap: 10px;
}

/* ---------- Prize Steps ---------- */
.prize-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.prize-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.prize-step-num {
  width: 40px;
  height: 40px;
  background: var(--amber);
  color: var(--charcoal);
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.prize-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.prize-step p {
  font-size: 14px;
  color: #57534e;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .prize-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ---------- Downloads ---------- */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
}

.download-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.download-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.download-info {
  padding: 20px;
}

.download-info h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--amber);
  color: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.download-btn:hover {
  background: var(--amber);
  color: var(--charcoal);
}

/* ---------- FAQ Accordion ---------- */
.accordion {
  margin-top: 40px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-align: left;
  transition: background var(--transition);
}

.accordion-header:hover {
  background: var(--card);
}

.accordion-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-body p {
  padding: 0 24px 18px;
  color: #57534e;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  padding: 60px 0 24px;
  color: #a8a29e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-email {
  color: var(--amber);
  font-size: 14px;
}

.footer-links h4,
.footer-social h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-links ul {
  columns: 2;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  color: #a8a29e;
  transition: color var(--transition);
}

.social-icons a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

.footer-bottom a {
  color: #a8a29e;
  margin: 0 4px;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 4px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: scale-in 0.3s ease;
}

.modal h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 8px;
}

.modal p {
  color: var(--text-muted-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: opacity var(--transition);
}

.modal-close:hover {
  opacity: 0.7;
}

@keyframes scale-in {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(28, 25, 23, 0.98);
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-ctas {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: clamp(48px, 12vw, 80px);
  }

  .section {
    padding: 60px 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links ul {
    columns: 1;
  }

  .timeline {
    padding-left: 50px;
  }

  .timeline-badge {
    left: -35px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(40px, 14vw, 64px);
  }

  .btn-amber.btn-lg {
    padding: 14px 36px;
    font-size: 18px;
  }

  .section-title {
    font-size: clamp(28px, 6vw, 36px);
  }
}
