/* ============================================================
   PMC Front Door v2 — Opus Vision
   Story-driven. Lead with the wound. Earn the brand.
   ============================================================ */

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

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-hover: rgba(255, 255, 255, 0.12);
  --glass-blur: 14px;
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-radius: 16px;
  --glass-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --accent-red: #c62828;
  --accent-red-glow: rgba(198, 40, 40, 0.4);
  --foundation: #2ecc71;
  --investigations: #3498db;
  --media: #ff6600;
  --max-width: 1100px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: #050505;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/assets/background4.jpg') center/cover no-repeat fixed;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

a { color: var(--text); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-red); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
}

/* ============================================================
   FADE-IN ANIMATION SYSTEM
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.delay-1 { transition-delay: 0.3s; }
.fade-in.delay-2 { transition-delay: 0.6s; }
.fade-in.delay-3 { transition-delay: 0.9s; }

/* ============================================================
   ACT SECTIONS — Full viewport storytelling
   ============================================================ */
.act {
  padding: 5rem 0;
}

.act-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* ============================================================
   ACT 1: THE HOOK
   ============================================================ */
.act-hook {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.stat-massive {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent-red);
  text-shadow: 0 0 60px var(--accent-red-glow), 0 0 120px rgba(198, 40, 40, 0.15);
  margin-bottom: 0.5rem;
}

.stat-label-big {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3rem;
}

.hook-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.8;
  max-width: 550px;
  margin: 0 auto 3rem;
}

/* Scroll hint */
.scroll-hint {
  margin-top: 2rem;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 0.8; }
}

/* ============================================================
   ACT 2: THE PROBLEM — Chain
   ============================================================ */
.act-problem {
  padding: 6rem 0;
}

.statement {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 4rem;
  line-height: 1.15;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.chain-vertical {
  max-width: 650px;
  margin: 0 auto;
}

.chain-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  cursor: pointer;
  transition: var(--transition);
}

.chain-step:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.chain-step.expanded {
  border-color: var(--accent-red);
  background: rgba(198, 40, 40, 0.04);
}

.chain-expand-hint {
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.chain-step.expanded .chain-expand-hint {
  transform: rotate(180deg);
}

.chain-detail {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.chain-step.expanded .chain-detail {
  max-height: 300px;
  opacity: 1;
}

.chain-detail-inner {
  padding: 1rem 0 0.25rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1rem;
  position: relative;
}

.chain-detail-icon {
  position: absolute;
  left: 0;
  top: 1.1rem;
  font-size: 1.4rem;
  color: var(--accent-red);
  opacity: 0.7;
}

.chain-detail-inner p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.chain-detail-inner p strong {
  color: var(--accent-red);
}

.chain-source {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  font-style: italic;
}

.chain-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--accent-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 0 15px var(--accent-red-glow);
}

.chain-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.6;
}

.chain-text strong {
  color: var(--text);
  font-weight: 700;
}

.chain-connector {
  width: 2px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
}

.chain-conclusion {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   ACT 3: THE TURN
   ============================================================ */
.act-turn {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.turn-intro {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.turn-punch {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 2rem;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.turn-until {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 0.05em;
}

/* ============================================================
   ACT 4: THE IDENTITY — Brand reveal
   ============================================================ */
.act-identity {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.reveal-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--accent-red);
  box-shadow: 0 0 50px var(--accent-red-glow);
  margin-bottom: 2rem;
}

.reveal-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.reveal-tag {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.reveal-story {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   THE NUMBERS
   ============================================================ */
.act-numbers {
  padding: 4rem 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.number-block {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  transition: var(--transition);
}

.number-block:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
}

.number-value {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
}

.number-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  font-weight: 500;
}

/* ============================================================
   THREE PILLARS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  overflow: hidden;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.pillar-header {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.pillar-header.foundation { background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.08)); }
.pillar-header.investigations { background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(41, 128, 185, 0.08)); }
.pillar-header.media { background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(230, 92, 0, 0.08)); }

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.pillar-header.foundation .pillar-icon { color: var(--foundation); }
.pillar-header.investigations .pillar-icon { color: var(--investigations); }
.pillar-header.media .pillar-icon { color: var(--media); }

.pillar-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.pillar-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pillar-header.foundation .pillar-subtitle { color: var(--foundation); }
.pillar-header.investigations .pillar-subtitle { color: var(--investigations); }
.pillar-header.media .pillar-subtitle { color: var(--media); }

.pillar-body {
  padding: 1.5rem;
}

.pillar-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.7;
}

/* ============================================================
   PROOF — Oklahoma Timeline
   ============================================================ */
.act-proof {
  padding: 5rem 0;
}

.proof-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.proof-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent-red),
    var(--media),
    var(--investigations),
    var(--foundation),
    var(--accent-red)
  );
  opacity: 0.5;
}

.proof-step {
  position: relative;
  padding-left: 56px;
  margin-bottom: 1.5rem;
}

.proof-num {
  position: absolute;
  left: 4px;
  top: 1.25rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  z-index: 1;
  box-shadow: 0 0 12px var(--accent-red-glow);
}

.proof-step { cursor: pointer; }

.proof-card {
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.proof-step:hover .proof-card {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.proof-step.expanded .proof-card {
  border-color: var(--accent-red);
  background: rgba(198, 40, 40, 0.04);
}

.proof-caret {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 0.4rem;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.proof-step.expanded .proof-caret {
  transform: rotate(180deg);
}

.proof-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.proof-step.expanded .proof-detail {
  max-height: 300px;
  opacity: 1;
}

.proof-detail-inner {
  padding: 1rem 0 0.25rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.75rem;
  position: relative;
}

.proof-detail-icon {
  position: absolute;
  left: 0;
  top: 1.1rem;
  font-size: 1.3rem;
  color: var(--accent-red);
  opacity: 0.7;
}

.proof-detail-inner p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.proof-detail-inner p strong {
  color: var(--accent-red);
}

.proof-query {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.proof-result {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.proof-so-what {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  font-style: italic;
}

.proof-punchline {
  max-width: 700px;
  margin: 2.5rem auto 0;
  padding: 1.75rem;
  text-align: center;
  border: 1px solid var(--accent-red);
  background: rgba(198, 40, 40, 0.06);
}

.proof-punchline p:first-child {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.proof-small {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison-header div {
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.col-others { background: rgba(255, 255, 255, 0.03); color: var(--text-muted); }
.comparison-header .col-pmc { background: rgba(198, 40, 40, 0.1); color: var(--accent-red); }

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-row div {
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.comparison-row .col-others { color: var(--text-muted); font-weight: 500; }
.comparison-row .col-pmc { color: var(--text); font-weight: 600; }

/* ============================================================
   QUOTE BREAK
   ============================================================ */
.act-quote {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.big-quote {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1rem;
  border: none;
}

.quote-attr {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 3rem;
}

.quote-follow {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 0.02em;
}

/* ============================================================
   CHOOSE YOUR PATH
   ============================================================ */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.path-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.user-track::before { background: var(--investigations); }
.volunteer-track::before { background: var(--foundation); }

.path-icon { font-size: 2.8rem; margin-bottom: 1.25rem; line-height: 1; }
.user-track .path-icon { color: var(--investigations); }
.volunteer-track .path-icon { color: var(--foundation); }

.path-card h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 0.4rem; }
.path-subtitle { font-size: 0.95rem; color: var(--text-secondary); font-weight: 600; margin-bottom: 1.5rem; }

.path-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.path-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.path-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.user-track .path-features li::before { background: var(--investigations); }
.volunteer-track .path-features li::before { background: var(--foundation); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--glass-border);
  text-decoration: none;
  color: white;
}

.path-card .btn { width: 100%; justify-content: center; }
.user-track .btn { background: var(--investigations); border-color: var(--investigations); }
.user-track .btn:hover { box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4); color: white; transform: translateY(-2px); }
.volunteer-track .btn { background: var(--foundation); border-color: var(--foundation); }
.volunteer-track .btn:hover { box-shadow: 0 8px 30px rgba(46, 204, 113, 0.4); color: white; transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  background: var(--glass-bg);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-social a {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--glass-bg-hover);
  color: var(--text);
  transform: translateY(-2px);
}

.donate-link {
  color: var(--accent-red) !important;
  border-color: var(--accent-red) !important;
}

.footer-powered {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1rem;
}

.footer-powered strong { color: var(--text-secondary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .act { padding: 3rem 0; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .comparison-row, .comparison-header { grid-template-columns: 1fr; }
  .comparison-header .col-others, .comparison-row .col-others { display: none; }
  .statement { font-size: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .number-block { padding: 1.25rem 0.75rem; }
  .stat-massive { font-size: 4rem; }
  .proof-step { padding-left: 44px; }
  .proof-num { left: 0; width: 26px; height: 26px; font-size: 0.7rem; }
  .proof-timeline::before { left: 12px; }
}
