:root {
  --bg:          #fafaf9;
  --bg-alt:      #f2f0ed;
  --card:        #ffffff;
  --text:        #1c1917;
  --muted:       #78716c;
  --accent:      #7c3aed;
  --accent-light:#f5f3ff;
  --border:      #e7e5e4;
  --dark:        #0c0918;
  --dark-border: rgba(255,255,255,0.07);
  --shadow:      0 1px 2px rgba(0,0,0,0.06), 0 3px 12px rgba(0,0,0,0.07);
  --max-width:   1080px;
  --radius:      1.25rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--dark); scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Header (dark) ── */

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
}

.header-inner {
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 48px;
  display: block;
  transition: opacity 0.2s;
}

.logo-img:hover { opacity: 0.8; }

.logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: #f9fafb;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.logo-text:hover { opacity: 0.8; }

/* ── Hero ── */

.hero {
  padding: 6rem 0 5.5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* subtle dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(124,58,237,0.12) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(110deg, #7c3aed 10%, #a78bfa 50%, #7c3aed 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
}

/* ── Services ── */

.services {
  padding: 5rem 0;
  background: var(--dark);
  color: #f9fafb;
}

.services-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a78bfa;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

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

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  flex-shrink: 0;
}

.service-icon svg { width: 18px; height: 18px; }

.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f9fafb;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(249,250,251,0.55);
}

/* ── Podcasts ── */

.podcasts {
  padding: 5rem 0 6rem;
  background: var(--bg-alt);
}

.podcasts-head {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

.podcasts-head .section-kicker {
  color: var(--accent);
}

/* ── Podcast list (horizontal rows) ── */

.podcast-list {
  display: flex;
  flex-direction: column;
}

.podcast-row {
  display: flex;
  gap: 2.75rem;
  align-items: flex-start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.podcast-row:last-child {
  border-bottom: none;
}

.podcast-art {
  width: 300px;
  flex-shrink: 0;
  border-radius: 1rem 1rem 1rem 2px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.06),
    0 12px 36px rgba(124, 58, 237, 0.13);
}

.podcast-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.podcast-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}


.podcast-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: var(--text);
}

.podcast-desc {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ── Episode mini strip ── */

.episode-mini {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.episode-mini-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.episode-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
}

.episode-meta {
  font-size: 0.7rem;
  color: var(--muted);
}

.episode-meta::before {
  content: '·';
  margin-right: 0.35rem;
}

.episode-mini-player {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.play-btn {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.18s;
  padding-left: 1px;
}

.play-btn:hover { opacity: 0.82; }

.play-btn.is-loading { padding-left: 0; cursor: wait; }

@keyframes spin { to { transform: rotate(360deg); } }
.play-btn.is-loading svg { animation: spin 0.8s linear infinite; }

.progress-wrap {
  width: 80px;
  flex-shrink: 0;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  align-self: center;
  transition: height 0.12s ease;
}

.progress-wrap:hover {
  height: calc(1.65rem / 2);
}

.progress-buffer {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: rgba(124,58,237,0.2);
  border-radius: 99px;
  width: 0%;
  transition: width 0.3s linear;
}

.progress-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  width: 0%;
  transition: width 0.1s linear;
}

.play-btn.is-error {
  background: #dc2626;
  cursor: pointer;
}

.ep-time {
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.episode-ep-title {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

/* ── Platform buttons ── */

.podcast-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 1rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-platform:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.btn-platform svg { flex-shrink: 0; }

.btn-spotify { background: #1db954; color: #fff; }
.btn-apple   { background: #b150e2; color: #fff; }
.btn-site    { background: #ff7a18; color: #06180e; }

/* ── Footer ── */

/* ── Call to action ── */
.cta {
  background: var(--accent);
  padding: 4rem 0;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 2rem;
  transition: opacity 0.2s;
  margin-top: 0.5rem;
}

.btn-cta:hover { opacity: 0.88; }

footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(249,250,251,0.4);
}

.footer-link {
  color: rgba(249,250,251,0.4);
  transition: color 0.2s;
}

.footer-link:hover { color: rgba(249,250,251,0.85); }

.podcasts--light { background: var(--bg); }

/* ── Responsive ── */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .podcast-row {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.25rem 0;
  }

  .podcast-art {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero     { padding: 4rem 0 3.5rem; }
  .services { padding: 3.5rem 0; }
  .podcasts { padding: 3.5rem 0 4.5rem; }
}
