/* case-studies.css — POW DFY member case study page styles */

/* ── Page wrapper ──────────────────────────────────────────────────────────── */
.cs-page {
  min-height: 100vh;
  background: var(--bg-primary);
}

/* ── Nav ──────────────────────────────────────────────────────────────────────── */
.cs-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.cs-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.cs-nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-decoration: none;
}
.cs-nav-cta {
  display: inline-block;
  background: var(--accent);
  color: #0a0b0f;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.cs-nav-cta:hover {
  background: var(--accent-light);
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.cs-header {
  padding: 80px 24px 56px;
  text-align: center;
  position: relative;
}
.cs-header::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.10) 0%, rgba(240, 66, 232, 0.04) 50%, transparent 70%);
  pointer-events: none;
}
.cs-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.cs-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.0;
}
.cs-subline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

/* ── Video ──────────────────────────────────────────────────────────────────── */
.cs-video-wrap {
  padding: 0 24px;
  max-width: 900px;
  margin: 0 auto;
}
.cs-video-inner {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 255, 0, 0.15);
  background: var(--bg-card);
}
.cs-video-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Stats grid ─────────────────────────────────────────────────────────────── */
.cs-stats {
  padding: 48px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 900px;
  margin: 0 auto;
}
.cs-stat {
  background: var(--bg-card);
  padding: 28px 20px;
  text-align: center;
}
.cs-stat:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}
.cs-stat:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cs-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.cs-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── Story section ──────────────────────────────────────────────────────────── */
.cs-story {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}
.cs-story p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.cs-story p:last-child {
  margin-bottom: 0;
}

/* ── Pull quote ─────────────────────────────────────────────────────────────── */
.cs-pullquote {
  padding: 64px 24px;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cs-pullquote-inner {
  max-width: 800px;
  margin: 0 auto;
}
.cs-pullquote blockquote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent);
  line-height: 1.1;
}

/* ── Inline mid-page CTA ────────────────────────────────────────────────────── */
.cs-inline-cta {
  padding: 48px 24px;
  text-align: center;
}
.cs-inline-cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.cs-inline-cta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.cs-inline-cta a:hover {
  color: var(--accent-light);
}

/* ── Bottom CTA block ──────────────────────────────────────────────────────── */
.cs-bottom-cta {
  padding: 80px 24px;
  text-align: center;
  position: relative;
}
.cs-bottom-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cs-bottom-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-primary);
  max-width: 600px;
  margin: 0 auto 16px;
  position: relative;
}
.cs-bottom-cta p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.65;
  position: relative;
}
.cs-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.cs-footer {
  padding: 28px 24px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cs-footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  margin: 0 12px;
  transition: color 0.2s;
}
.cs-footer a:hover {
  color: var(--text-secondary);
}
.cs-footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ── Disclaimer ────────────────────────────────────────────────────────────── */
.cs-disclaimer {
  padding: 32px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.cs-disclaimer p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .cs-stats-grid {
    grid-template-columns: 1fr;
  }
  .cs-stat:first-child,
  .cs-stat:last-child {
    border-radius: 0;
  }
  .cs-stat:nth-child(1) {
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .cs-stat:nth-child(3) {
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .cs-cta-row {
    flex-direction: column;
    align-items: center;
  }
}
