/* ============================================================
   SEO PODCAST PAGE — seo-podcast.css
   Scoped to body.is-seo-podcast-page  |  prefix: .sp-
   Design tokens: --ink, --fire, --fire2, --chalk, --mist,
                  --mid, --border, --green, --w, --r1, --r2
   ============================================================ */

/* ── Reset & scope ────────────────────────────────────────── */
body.is-seo-podcast-page *,
body.is-seo-podcast-page *::before,
body.is-seo-podcast-page *::after { box-sizing: border-box; }
body.is-seo-podcast-page { background: var(--mist, #f5f7fa); }
/* reset margins on typographic elements only — avoids specificity conflict with layout classes */
body.is-seo-podcast-page h1, body.is-seo-podcast-page h2, body.is-seo-podcast-page h3,
body.is-seo-podcast-page h4, body.is-seo-podcast-page h5, body.is-seo-podcast-page h6,
body.is-seo-podcast-page p, body.is-seo-podcast-page ul, body.is-seo-podcast-page ol,
body.is-seo-podcast-page li, body.is-seo-podcast-page figure, body.is-seo-podcast-page blockquote { margin: 0; padding: 0; }

/* ── Design tokens (fallbacks) ────────────────────────────── */
body.is-seo-podcast-page {
  --ink:    #0d1117;
  --fire:   #ff4d00;
  --fire2:  #ff7a3d;
  --chalk:  #fff;
  --mist:   #f5f7fa;
  --mid:    #6b7280;
  --border: #e5e7eb;
  --green:  #10b981;
  --w:      min(1200px, 100% - 48px);
  --r1:     .5rem;
  --r2:     1rem;
  --ff-head: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ff-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Shared container ─────────────────────────────────────── */
.sp-container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Reveal animation ─────────────────────────────────────── */
.sp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.sp-revealed {
  opacity: 1;
  transform: none;
}

/* ── Section labels & headings ────────────────────────────── */
.sp-section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fire);
  background: rgba(255, 77, 0, 0.08);
  border: 1px solid rgba(255, 77, 0, 0.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.sp-label-light { color: #fff; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }

.sp-section-h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}
.sp-h2-light { color: var(--chalk); }

.sp-section-sub {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── Pill badge ───────────────────────────────────────────── */
.sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fire2);
  margin-bottom: 18px;
}
.sp-pill-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.sp-dot {
  width: 7px; height: 7px;
  background: var(--fire);
  border-radius: 50%;
  animation: sp-pulse 2s ease-in-out infinite;
}
@keyframes sp-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.65)} }

/* ============================================================
   HERO
   ============================================================ */
.sp-hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0 clamp(60px, 8vw, 96px);
}
.sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 75% 55%, rgba(255,77,0,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 75%, rgba(99,102,241,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.sp-hero-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
}

/* hero copy */
.sp-hero-h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--chalk);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.sp-hero-sub {
  font-family: var(--ff-body);
  font-size: 1.075rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}
.sp-hero-links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.sp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fire);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--r1);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.sp-btn-primary:hover { background: #e04400; transform: translateY(-1px); }

.sp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: var(--r1);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.sp-btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }

.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.sp-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.sp-breadcrumb a:hover { color: var(--fire2); }
.sp-breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── Podcast player card ──────────────────────────────────── */
.sp-player-card {
  background: linear-gradient(135deg, #1a1f2e 0%, #12161f 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r2);
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,77,0,0.08);
}
.sp-player-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.sp-player-cover {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--fire) 0%, var(--fire2) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.sp-player-meta { flex: 1; min-width: 0; }
.sp-player-label {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fire2);
  margin-bottom: 5px;
}
.sp-player-title {
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 4px;
}
.sp-player-host {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

/* waveform */
.sp-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  margin-bottom: 12px;
}
.sp-wave-bar {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: rgba(255,77,0,0.5);
  animation: sp-wave 1.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.04s);
  min-height: 4px;
}
.sp-wave-bar:nth-child(odd)  { height: calc(6px + (var(--i) % 5) * 5px); }
.sp-wave-bar:nth-child(even) { height: calc(10px + (var(--i) % 4) * 4px); }
@keyframes sp-wave {
  0%, 100% { transform: scaleY(1);   opacity: 0.5; }
  50%       { transform: scaleY(1.8); opacity: 1;   }
}

/* player controls */
.sp-player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sp-time {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.sp-progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
}
.sp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fire), var(--fire2));
  border-radius: 2px;
}
.sp-player-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.sp-btn-prev, .sp-btn-next {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
}
.sp-btn-prev:hover, .sp-btn-next:hover { color: rgba(255,255,255,0.9); }
.sp-btn-play {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--fire), var(--fire2));
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(255,77,0,0.4);
}
.sp-btn-play:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(255,77,0,0.55); }

/* ============================================================
   ABOUT
   ============================================================ */
.sp-about {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--chalk);
}
.sp-about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}
.sp-about-text p {
  font-family: var(--ff-body);
  font-size: 1.02rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 16px;
}
.sp-about-list {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.6;
}
.sp-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.sp-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sp-stat-card {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-stat-num {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--fire);
  line-height: 1;
}
.sp-stat-label {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   EPISODES
   ============================================================ */
.sp-episodes {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--mist);
}
.sp-episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sp-episode-card {
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.sp-episode-card:hover {
  box-shadow: 0 8px 32px rgba(13,17,23,0.1);
  transform: translateY(-3px);
  border-color: rgba(255,77,0,0.25);
}
.sp-ep-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sp-ep-num {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fire);
  background: rgba(255,77,0,0.08);
  border: 1px solid rgba(255,77,0,0.18);
  border-radius: 100px;
  padding: 3px 10px;
}
.sp-ep-duration {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  color: var(--mid);
}
.sp-ep-title {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.sp-ep-guest {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mid);
}
.sp-ep-desc {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.65;
  flex: 1;
}
.sp-ep-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-body);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--fire);
  text-decoration: none;
  margin-top: 4px;
  transition: gap 0.2s;
}
.sp-ep-btn:hover { gap: 10px; }

/* ============================================================
   SUBSCRIBE (DARK)
   ============================================================ */
.sp-subscribe {
  background: var(--ink);
  padding: clamp(64px, 9vw, 96px) 0;
  text-align: center;
}
.sp-sub-sub {
  font-family: var(--ff-body);
  font-size: 1.02rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.sp-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.sp-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--r1);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.sp-platform-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.sp-spotify  { background: #1DB954; color: #fff; }
.sp-apple    { background: #f94c57; color: #fff; }
.sp-youtube  { background: #FF0000; color: #fff; }
.sp-google   { background: #4285F4; color: #fff; }

/* ============================================================
   WHY LISTEN
   ============================================================ */
.sp-why {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--chalk);
}
.sp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.sp-why-card {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sp-why-card:hover { box-shadow: 0 8px 32px rgba(13,17,23,0.08); transform: translateY(-3px); }
.sp-why-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.sp-why-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.sp-why-text {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
}

/* ============================================================
   FAQ
   ============================================================ */
.sp-faq {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--mist);
}
.sp-faq-wrap { max-width: 800px; }
.sp-faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 16px; }
.sp-faq-item {
  border-bottom: 1px solid var(--border);
}
.sp-faq-item:first-child { border-top: 1px solid var(--border); }

.sp-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.sp-faq-q:hover { color: var(--fire); }

.sp-faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--fire);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.sp-faq-open .sp-faq-icon { transform: rotate(45deg); }

.sp-faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.sp-faq-open .sp-faq-a { /* max-height set by JS */ }
.sp-faq-a p {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.8;
  padding-bottom: 20px;
}

/* ============================================================
   BE A GUEST
   ============================================================ */
.sp-guest {
  padding: clamp(64px, 9vw, 100px) 0;
  background: linear-gradient(135deg, #0d1117 0%, #161b25 100%);
}
.sp-guest-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}
.sp-guest-h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--chalk);
  line-height: 1.25;
  margin-bottom: 16px;
}
.sp-guest-text {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 24px;
}
.sp-guest-criteria {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-guest-criteria li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 0.93rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.sp-guest-criteria li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* guest form */
.sp-guest-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r2);
  padding: 32px;
}
.sp-form-title {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--chalk);
  margin-bottom: 24px;
}
.sp-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.sp-form-group label {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sp-form-group input,
.sp-form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r1);
  padding: 11px 14px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: #fff;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}
.sp-form-group input::placeholder,
.sp-form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.sp-form-group input:focus,
.sp-form-group textarea:focus { border-color: var(--fire); }
.sp-form-group textarea { resize: vertical; }

.sp-submit-btn {
  width: 100%;
  background: var(--fire);
  color: #fff;
  border: none;
  border-radius: var(--r1);
  padding: 14px 24px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}
.sp-submit-btn:hover { background: #e04400; transform: translateY(-1px); }

/* ============================================================
   INTERNAL NAV
   ============================================================ */
.sp-internal-nav {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--chalk);
}
.sp-int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sp-int-card {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.sp-int-card:hover { box-shadow: 0 6px 24px rgba(13,17,23,0.08); }
.sp-int-icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.sp-int-card h3 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.sp-int-card p {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 14px;
}
.sp-int-card a {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fire);
  text-decoration: none;
  transition: gap 0.2s;
}
.sp-int-card a:hover { text-decoration: underline; }

/* ── AdSense wrapper ──────────────────────────────────────── */
.sp-adsense-wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 24px 24px;
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  .sp-hero-inner            { grid-template-columns: 1fr; gap: 40px; }
  .sp-hero-panel            { display: flex; justify-content: center; }
  .sp-player-card           { max-width: 400px; width: 100%; }
  .sp-about-grid            { grid-template-columns: 1fr; }
  .sp-episodes-grid         { grid-template-columns: repeat(2, 1fr); }
  .sp-why-grid              { grid-template-columns: repeat(2, 1fr); }
  .sp-guest-inner           { grid-template-columns: 1fr; }
  .sp-int-grid              { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — 600px
   ============================================================ */
@media (max-width: 600px) {
  .sp-episodes-grid  { grid-template-columns: 1fr; }
  .sp-why-grid       { grid-template-columns: 1fr; }
  .sp-about-stats    { grid-template-columns: repeat(2, 1fr); }
  .sp-platforms      { flex-direction: column; align-items: center; }
  .sp-platform-badge { width: 100%; max-width: 280px; justify-content: center; }
  .sp-int-grid       { grid-template-columns: 1fr; }
  .sp-hero-links     { flex-direction: column; }
  .sp-btn-primary,
  .sp-btn-ghost      { justify-content: center; text-align: center; }
}
