/* ============================================================
   Podstrm - home page styles
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  padding-top: 70px;
  padding-bottom: 90px;
  align-items: center;
}
.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.underline-word {
  position: relative;
  display: inline-block;
}
.underline-word::after {
  content: "";
  position: absolute;
  left: -2px; right: -4px;
  bottom: 4px;
  height: 10px;
  background: var(--green);
  z-index: -1;
  border-radius: 2px;
  transform: skewX(-12deg);
}
.hero-sub {
  margin-top: 22px;
  max-width: 400px;
  color: var(--text-muted);
  font-size: 16px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  font-size: 13px;
  color: var(--text-soft);
}
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.star { color: var(--text); }
.divider { width: 1px; height: 14px; background: var(--border); }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-image {
  width: min(100%, 388px);
  height: auto;
  max-height: 620px;
  object-fit: contain;
  justify-self: end;
  animation: heroImageFloatUp 7s ease-in-out infinite;
}

@keyframes heroImageFloatUp {
  0% {
    transform: translateY(18px);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
  }
}

/* ---------- Badges & section headers ---------- */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  color: #06262a;
}
.badge-cyan { background: var(--cyan); }
.badge-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 16px;
}
.section-title.centered { text-align: center; }
.section-sub {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Studio / About ---------- */
.studio {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
}
[data-theme="dark"] .studio { background: #0c0c10; }
.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.feature-card {
  background: var(--blue-card);
  color: #fff;
  border-radius: 16px;
  padding: 26px;
}
[data-theme="light"] .feature-card { background: #eceef2; color: var(--text); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; opacity: 0.92; }
[data-theme="light"] .feature-card p { color: var(--text-muted); opacity: 1; }

/* ---------- Popular content ---------- */
.creators { padding: 70px 24px; }
.creators-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.creators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.content-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.content-cover {
  position: relative;
  display: block;
  aspect-ratio: 1.36 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.content-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.content-card:hover .content-cover img { transform: scale(1.045); }
.content-type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.content-type.premium { background: rgba(121, 50, 221, 0.86); }
.content-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan);
  color: #07171a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease;
}
.content-card:hover .content-play { transform: scale(1.08); }
.content-play svg { width: 20px; height: 20px; fill: currentColor; }
.content-card-body { padding: 18px; }
.content-card h3 { font-size: 16px; line-height: 1.25; }
.content-card h3 a:hover { color: var(--cyan); }
.content-card-body > p { min-height: 40px; margin-top: 7px; color: var(--text-muted); font-size: 12px; line-height: 1.55; }
.content-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq { padding: 60px 24px; }
.faq-head { text-align: center; display: grid; place-items: center; gap: 6px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.faq-card {
  background: var(--card-faq);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.faq-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.faq-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.faq-card-light {
  background: var(--faq-light-bg);
  color: var(--faq-light-text);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.faq-card-light p { color: #6b6b73; }

.faq-cta {
  margin-top: 28px;
  background: var(--green);
  border-radius: 16px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #0a2106;
}
.faq-cta strong { display: block; font-size: 17px; }
.faq-cta span { font-size: 17px; font-weight: 500; }

/* ---------- Pricing ---------- */
.pricing { padding: 50px 24px 70px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
}
.price-card-popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.price-card h4 { font-size: 17px; font-weight: 700; }
.popular-row { display: flex; align-items: center; justify-content: space-between; }
.popular-tag {
  background: #fde2dd;
  color: #d23a22;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.price-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; min-height: 38px; }
.included-label { font-size: 13px; font-weight: 700; margin: 22px 0 14px; }
.features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
  padding: 7px 0;
}
.features .wave { color: var(--blue); font-size: 16px; }

/* ---------- Mega CTA ---------- */
.mega-cta {
  margin: 30px 0 70px;
  background: linear-gradient(120deg, #1f4fff, #1736d6);
  border-radius: 22px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  overflow: hidden;
  position: relative;
}
.mega-copy { color: #fff; }
.mega-copy h2 { font-size: 30px; font-weight: 800; margin: 18px 0 14px; letter-spacing: -0.02em; }
.mega-copy p { font-size: 14px; opacity: 0.9; max-width: 380px; margin-bottom: 24px; }
.mega-art {
  position: relative;
  min-height: 260px;
}
.mega-image {
  position: absolute;
  right: -22px;
  bottom: -80px;
  width: min(100%, 363px);
  height: auto;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.24));
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; justify-self: center; }
  .hero-image { justify-self: center; max-height: 520px; }
  .studio-grid,
  .faq-grid,
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .creators-grid { grid-template-columns: repeat(3, 1fr); }
  .mega-cta { grid-template-columns: 1fr; }
  .mega-art {
    min-height: 260px;
    display: grid;
    place-items: center;
  }
  .mega-image {
    position: static;
    width: min(100%, 340px);
    margin-bottom: -90px;
  }
}

@media (max-width: 620px) {
  .hero-title { font-size: 40px; }
  .hero { padding-top: 46px; padding-bottom: 64px; }
  .hero-art { max-width: 280px; }
  .hero-image { max-height: 460px; }
  .studio-grid,
  .faq-grid,
  .pricing-grid,
  .creators-grid { grid-template-columns: 1fr; }
  .mega-cta { padding: 34px 24px; }
  .mega-art { min-height: 220px; }
  .mega-image { width: min(100%, 300px); margin-bottom: -78px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .creators-head { flex-direction: column; align-items: flex-start; }
  .faq-cta { flex-direction: column; align-items: flex-start; }
}
