/* ============================================================
   PULSE FM — demo showcase G802 (Zalin Labs)
   Platform podcast. Gelap hangat + magenta-merah.
   ============================================================ */
:root {
  --bg: #1c1216;
  --bg-deep: #150d10;
  --bg-card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.07);
  --ink: #fbf3f5;
  --ink-dim: rgba(251, 243, 245, 0.66);
  --ink-faint: rgba(251, 243, 245, 0.44);
  --accent: #e8437a;
  --accent-strong: #f25f8e;
  --accent-deep: #8e2140;
  --accent-soft: rgba(232, 67, 122, 0.14);
  --accent-ink: #1c1216;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --disp: "Space Grotesk", var(--sans);
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before, body::after {
  content: ""; position: fixed; z-index: 0; border-radius: 50%; pointer-events: none;
}
body::before { top: -140px; right: 18%; width: 380px; height: 380px; background: rgba(232, 67, 122, 0.14); filter: blur(130px); }
body::after { bottom: 12%; left: -120px; width: 320px; height: 320px; background: rgba(142, 33, 64, 0.22); filter: blur(120px); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
ul { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 2px; border-radius: 4px; }

.container, .nav, main, footer, header { position: relative; z-index: 1; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px; border-radius: 0 0 12px 12px;
  font-weight: 700; text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 1px solid transparent; line-height: 1.2;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn .ic { width: 16px; height: 16px; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--accent-strong); }
.btn-outline { border-color: rgba(255, 255, 255, 0.28); color: var(--ink); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.btn:active { transform: translateY(1px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(28, 18, 22, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 20px; min-height: var(--nav-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--disp); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; min-height: 44px;
}
.brand-mark { width: 32px; height: 32px; flex: none; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink-dim); font-size: 0.92rem; font-weight: 500; text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--accent-strong); background: var(--accent-soft); }
.nav-cta { display: flex; align-items: center; }
.nav-cta .btn { min-height: 44px; padding: 10px 18px; font-size: 0.9rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 10px;
}
.nav-toggle .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.nav-toggle .ic-open, .nav-toggle .ic-close { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 48px; align-items: center; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 16px;
}
.label::before { content: ""; width: 26px; height: 2px; background: var(--accent); flex: none; }
.hero h1 {
  font-family: var(--disp); font-weight: 700;
  font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.08;
  margin-bottom: 18px; max-width: 20ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--ink-dim); max-width: 52ch; font-size: 1.02rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-chips li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 0.82rem; font-weight: 500; color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- player ---------- */
.pf-player {
  border: 1px solid rgba(232, 67, 122, 0.35);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(232, 67, 122, 0.08), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px);
  padding: 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.pf-player-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pf-live {
  font-family: var(--disp); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-strong);
}
.pf-dot { position: relative; width: 11px; height: 11px; flex: none; border-radius: 50%; background: var(--accent); }
.pf-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(232, 67, 122, 0.6); animation: pf-ping 1.8s ease-out infinite;
}
@keyframes pf-ping { 0% { transform: scale(0.5); opacity: 1; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.pf-player-title { font-family: var(--disp); font-weight: 700; font-size: 1.35rem; line-height: 1.25; margin-top: 16px; }
.pf-player-sub { color: var(--ink-faint); font-size: 0.9rem; margin-top: 4px; }
.pf-wave {
  display: flex; align-items: center; gap: 4px; height: 72px; margin-top: 20px;
}
.pf-wave i {
  flex: 1 1 0; min-width: 0; height: var(--h);
  border-radius: 99px; background: rgba(255, 255, 255, 0.2);
  transform-origin: center;
}
.pf-wave i:nth-child(-n+10) { background: var(--accent); }
.is-playing .pf-wave i { animation: pf-bounce 1.1s ease-in-out infinite alternate; }
.is-playing .pf-wave i:nth-child(2n) { animation-duration: 0.9s; }
.is-playing .pf-wave i:nth-child(3n) { animation-duration: 1.3s; }
@keyframes pf-bounce { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }
.pf-times { display: flex; justify-content: space-between; margin-top: 12px; font-variant-numeric: tabular-nums; font-size: 0.82rem; color: var(--ink-faint); }
.pf-player-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.pf-play {
  width: 58px; height: 58px; flex: none; display: grid; place-items: center;
  border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 12px 30px rgba(232, 67, 122, 0.4);
  transition: transform 0.18s ease, background 0.18s ease;
}
.pf-play:hover { transform: scale(1.05); background: var(--accent-strong); }
.pf-play .ic { width: 22px; height: 22px; }
.pf-play .ic-pause { display: none; }
.is-playing .pf-play .ic-play { display: none; }
.is-playing .pf-play .ic-pause { display: block; }
.pf-play-label { font-size: 0.92rem; color: var(--ink-dim); }

/* ---------- statistik ---------- */
.stat-band { border-block: 1px solid var(--line-soft); background: var(--bg-deep); margin: 8px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 18px; padding: 40px 24px; text-align: center; }
.stat-num { font-family: var(--disp); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--accent-strong); }
.stat-label { font-size: 0.85rem; color: var(--ink-faint); margin-top: 2px; }

/* ---------- section umum ---------- */
.sec { padding: 72px 0; }
.sec-band { border-block: 1px solid var(--line-soft); background: var(--bg-deep); }
.sec-head { margin-bottom: 36px; max-width: 62ch; }
.sec-head h2 {
  font-family: var(--disp); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15;
}
.sec-head > p { color: var(--ink-dim); margin-top: 12px; }
.sec-head.split {
  max-width: none; display: flex; flex-wrap: wrap; gap: 20px 48px;
  align-items: flex-end; justify-content: space-between;
}
.sec-note { max-width: 46ch; font-size: 0.92rem; color: var(--ink-faint); }

/* ---------- daftar episode ---------- */
.ep-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 14px; }
.ep-item {
  display: flex; align-items: center; gap: 16px; min-width: 0;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--bg-card); padding: 18px; text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ep-item:hover { border-color: rgba(232, 67, 122, 0.55); background: rgba(255, 255, 255, 0.07); }
.ep-no {
  font-family: var(--disp); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent-strong); flex: none; min-width: 56px;
}
.ep-main { flex: 1 1 0; min-width: 0; display: grid; gap: 2px; }
.ep-title { font-weight: 600; font-size: 0.97rem; line-height: 1.35; }
.ep-guest { font-size: 0.8rem; color: var(--ink-faint); }
.ep-dur { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--ink-faint); white-space: nowrap; }
.ep-play {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(232, 67, 122, 0.45); color: var(--accent-strong);
  transition: background 0.2s ease, color 0.2s ease;
}
.ep-play .ic { width: 15px; height: 15px; }
.ep-item:hover .ep-play { background: var(--accent); color: var(--accent-ink); }
.ep-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.ep-more-status { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- host ---------- */
.host-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.host-card {
  display: flex; gap: 18px; min-width: 0;
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: var(--bg-card); padding: 26px;
}
.host-avatar {
  width: 62px; height: 62px; flex: none; display: grid; place-items: center;
  border-radius: 18px; font-family: var(--disp); font-weight: 700; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff;
}
.host-avatar.alt { background: linear-gradient(135deg, #f25f8e, var(--accent-deep)); }
.host-name { font-weight: 700; font-size: 1.05rem; }
.host-role { font-size: 0.8rem; color: var(--accent-strong); margin-top: 1px; }
.host-bio { font-size: 0.92rem; color: var(--ink-dim); margin-top: 10px; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid rgba(232, 67, 122, 0.35); border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 50% 0%, rgba(232, 67, 122, 0.16), transparent 55%), var(--bg-deep);
  padding: clamp(34px, 6vw, 64px) 24px;
}
.cta-head { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--accent-strong); }
.cta-band h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.cta-band p { color: var(--ink-dim); max-width: 54ch; margin: 12px auto 0; }
.pf-platforms { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.pf-platforms li {
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  padding: 10px 20px; font-size: 0.88rem; font-weight: 600; color: var(--ink-dim);
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-deep); padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.f-tagline { color: var(--ink-faint); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.f-col h3 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px; }
.f-links { display: grid; gap: 6px; }
.f-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 0.92rem;
  min-height: 32px; display: inline-flex; align-items: center;
  transition: color 0.15s ease;
}
.f-links a:hover { color: var(--accent-strong); }
.f-text { color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 12px; }
.f-cta .btn { margin-top: 4px; }
.badge {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 40px 0 0; padding: 14px 18px;
  border: 1px dashed rgba(232, 67, 122, 0.5); border-radius: var(--radius);
  color: var(--ink-dim); font-size: 0.86rem;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  color: var(--ink-faint); font-size: 0.85rem;
}
.to-top {
  color: var(--ink-dim); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px;
}
.to-top .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { color: var(--accent-strong); }

/* ---------- reveal (JS gating: konten tetap tampil bila JS mati) ---------- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .pf-dot::after, .is-playing .pf-wave i { animation: none; }
  .pf-play, .ep-play, .ep-item, .btn { transition: none; }
}

/* ---------- responsif ---------- */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 40px; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 16px 18px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .sec { padding: 56px 0; }
  .ep-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions .btn { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .ep-dur { display: none; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .nav-inner { gap: 12px; }
}
