/* ========================================
   TAKE BACK CALIFORNIA PAC
   Dark. Aggressive. Movement energy.
   ======================================== */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --darker: #0d0d0d;
  --card: #161616;
  --card-hover: #1c1c1c;
  --border: #222222;
  --border-light: #2a2a2a;
  --text: #e8e8e8;
  --text-mid: #999999;
  --text-dim: #666666;
  --red: #dc2626;
  --red-bright: #ef4444;
  --red-dark: #991b1b;
  --red-glow: rgba(220, 38, 38, 0.15);
  --blue: #1e40af;
  --blue-light: #3b82f6;
  --white: #ffffff;
  --gold: #d4a843;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
}

.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--red-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0% 100%);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--white);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.15rem;
}

/* ---- NAV ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--red);
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

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

.btn-nav {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  font-size: 0.8rem !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ---- HERO ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 64, 175, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--black) 0%, var(--darker) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 4px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-accent {
  color: var(--red);
  display: block;
  text-shadow: 0 0 80px var(--red-glow);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 550px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--white);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-deadline {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 40px;
  border: 1px solid var(--border);
  background: rgba(220, 38, 38, 0.05);
}

.deadline-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

.deadline-date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--red);
  letter-spacing: 0.05em;
}

.countdown {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---- CANDIDATES ---- */

.candidates {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.candidates .section-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 60px;
}

.candidate-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.candidate-card {
  padding: 48px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.4s ease;
}

.candidate-card:hover {
  border-color: var(--red);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.candidate-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--red);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.candidate-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.candidate-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.candidate-desc {
  color: var(--text-mid);
  line-height: 1.7;
}

.candidate-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.divider-line {
  width: 1px;
  height: 60px;
  background: var(--border-light);
}

.divider-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--text-dim);
}

/* ---- STRATEGY ---- */

.strategy {
  padding: 120px 0;
  background: var(--darker);
  border-top: 1px solid var(--border);
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.strategy-main {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
}

.strategy-main p { margin-bottom: 20px; }

.strategy-lead {
  font-size: 1.25rem;
  color: var(--text);
}

.strategy-main strong {
  color: var(--white);
}

.strategy-main em {
  color: var(--red-bright);
  font-style: normal;
  font-weight: 600;
}

.strategy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  background: var(--card);
  text-align: center;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.stat-highlight {
  border-color: var(--red-dark);
  background: rgba(220, 38, 38, 0.08);
}

.stat-highlight .stat-number {
  color: var(--red);
}

.strategy-callout {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px 32px;
  border-left: 3px solid var(--red);
  background: var(--card);
}

.callout-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.callout-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.callout-text strong {
  color: var(--white);
}

/* ---- SIMULATOR ---- */

.simulator {
  padding: 120px 0;
  background: var(--black);
  border-top: 1px solid var(--border);
}

.simulator-intro {
  max-width: 700px;
  margin-bottom: 40px;
}

.simulator-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.simulator-intro strong {
  color: var(--white);
}

.simulator-embed {
  margin: 0 auto;
  max-width: 100%;
}

.simulator-frame-wrapper {
  position: relative;
  width: 100%;
  border: 1px solid var(--border);
  background: #ffffff;
  overflow: hidden;
  border-radius: 2px;
}

.simulator-frame {
  width: 100%;
  height: 800px;
  border: none;
  display: block;
}

.simulator-credit {
  margin-top: 12px;
  text-align: right;
}

.simulator-credit span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.simulator-credit a {
  color: var(--red);
  text-decoration: none;
}

.simulator-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .simulator-frame {
    height: 600px;
  }
}

/* ---- PROBLEM ---- */

.problem {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.4s ease;
}

.problem-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- DONATE ---- */

.donate {
  padding: 120px 0;
  background: var(--darker);
  border-top: 1px solid var(--border);
}

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

.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 32px 0;
}

.amount-btn {
  padding: 12px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.amount-btn:hover,
.amount-btn.selected {
  color: var(--white);
  border-color: var(--red);
  background: rgba(220, 38, 38, 0.1);
}

.donate-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ---- SIGNUP ---- */

.signup {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

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

.signup-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.signup-desc {
  color: var(--text-mid);
  margin-bottom: 32px;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.signup-form input[type="email"] {
  grid-column: 1 / -1;
}

.signup-form input {
  padding: 14px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.signup-form input::placeholder {
  color: var(--text-dim);
}

.signup-form input:focus {
  border-color: var(--red);
}

.signup-form button {
  grid-column: 1 / -1;
}

.signup-privacy {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ---- ABOUT ---- */

.about {
  padding: 100px 0;
  background: var(--darker);
  border-top: 1px solid var(--border);
}

.about-inner {
  max-width: 700px;
}

.about-inner p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ---- FOOTER ---- */

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-brand span {
  color: var(--red-dark);
}

.footer-disclaimer {
  font-size: 0.875rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.5;
}

/* ---- ANIMATIONS ---- */

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- MOBILE ---- */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }

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

  .candidate-divider {
    flex-direction: row;
  }

  .divider-line {
    width: 60px;
    height: 1px;
  }

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

  .strategy-stats {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
  }
}

@media (max-width: 480px) {
  .strategy-stats {
    grid-template-columns: 1fr;
  }

  .donate-amounts {
    gap: 8px;
  }

  .amount-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* ---- FAQ SECTION ---- */
.faq {
  padding: 100px 0;
  background: var(--dark);
}

.faq-grid {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--red);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--red);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 0;
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Signup section enhancements */
.signup-form input[type="text"],
.signup-form input[type="email"] {
  flex: 1 1 200px;
}
