/* CritCast / CritCast Pro product page — match original Nuxt layout */

.product-page {
  background: #000;
  color: #fff;
  padding-top: 80px;
}

.product-subnav {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  top: auto;
  z-index: 1;
}

.product-subnav__bar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 56px;
  padding-block: 12px;
}

.product-subnav__name {
  color: #9747ff;
  font-size: 1.125rem;
  font-weight: 600;
}

.product-subnav__links {
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  font-size: 14px;
  gap: 28px;
}

.product-subnav__links a:hover {
  color: #fff;
}

.product-subnav__links a.is-active {
  color: #9747ff;
}

.product-subnav__buy {
  background: #9747ff;
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  justify-content: center;
  min-width: 60px;
  padding: 8px 16px;
  transition: background 0.18s ease;
}

.product-subnav__buy:hover {
  background: #aa68ff;
}

/* Hero */
.critcast-hero {
  align-items: center;
  background: #000;
  display: flex;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.critcast-hero--background {
  background: #000 center / cover no-repeat;
}

.critcast-hero--pro {
  min-height: 680px;
}

.critcast-hero__glow {
  background: radial-gradient(circle at 72% 45%, rgba(77, 49, 127, 0.32), transparent 38%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.critcast-hero__overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.12) 100%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.critcast-hero--side .critcast-hero__overlay {
  display: none;
}

.critcast-hero__inner {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 600px;
  padding-block: 48px;
  position: relative;
  z-index: 1;
}

.critcast-hero__copy {
  max-width: 36rem;
}

.critcast-hero__eyebrow {
  color: #9747ff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.critcast-hero__title {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
}

.critcast-hero__meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 20px;
}

.critcast-hero__product {
  filter: drop-shadow(0 30px 70px rgba(151, 71, 255, 0.24));
  margin-inline: auto;
  max-width: 540px;
  object-fit: contain;
  width: 100%;
}

.buy-button {
  align-items: center;
  background: #9747ff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  justify-content: center;
  margin-top: 32px;
  min-height: 40px;
  min-width: 116px;
  padding: 10px 26px;
  transition: background 0.18s ease;
}

.buy-button:hover {
  background: #aa69ff;
}

/* Centered feature blocks */
.critcast-features {
  padding: 100px 0 112px;
}

.critcast-features__stack {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.critcast-feature {
  text-align: center;
}

.critcast-feature__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  white-space: pre-line;
}

.critcast-feature__copy {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.9;
  margin-inline: auto;
  margin-top: 20px;
  max-width: 76rem;
  width: 100%;
}

.critcast-feature__copy p + p {
  margin-top: 4px;
}

.critcast-feature__image {
  border-radius: 12px;
  display: block;
  height: auto;
  margin-inline: auto;
  margin-top: 36px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.critcast-feature__image--cover {
  aspect-ratio: 2.055 / 1;
  object-fit: cover;
}

.critcast-feature__image--contain {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .critcast-hero__inner {
    grid-template-columns: 1fr;
    padding-block: 72px;
    text-align: center;
  }

  .critcast-hero__copy {
    margin-inline: auto;
  }

  .critcast-hero__product {
    max-width: 480px;
  }

  .critcast-hero--background .critcast-hero__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.7) 100%);
  }
}

@media (max-width: 640px) {
  .critcast-hero {
    min-height: 520px;
  }

  .critcast-hero--side {
    min-height: 620px;
  }

  .critcast-hero__inner {
    min-height: 520px;
  }

  .critcast-hero--side .critcast-hero__inner {
    min-height: 620px;
  }

  .critcast-features {
    padding-bottom: 80px;
  }

  .critcast-features__stack {
    gap: 64px;
  }

  .product-subnav__links {
    gap: 16px;
  }

  .critcast-feature__image {
    min-height: 0;
  }

  .critcast-hero__meta {
    font-size: 0.95rem;
  }
}
