/* Product page — reuses the landing page tokens and motion system. */

.product-main {
  position: relative;
  z-index: 1;
}

.product-hero {
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 8% 8% auto;
  height: 62vh;
  background:
    radial-gradient(ellipse at 45% 10%, rgba(212, 162, 74, 0.16) 0%, transparent 44%),
    radial-gradient(ellipse at 58% 90%, rgba(107, 92, 224, 0.16) 0%, transparent 48%);
  filter: blur(12px);
  opacity: 0.9;
  pointer-events: none;
}

.product-hero-inner {
  width: min(820px, 100%);
  text-align: center;
  position: relative;
}

.product-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #b7b0a4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.product-sub {
  max-width: 660px;
  margin: 0 auto 2.4rem;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.75;
  font-weight: 300;
}

.product-flow {
  padding: 2rem 2rem 8rem;
  position: relative;
}

.product-flow-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-panel {
  min-height: 420px;
  padding: 2.4rem 1.6rem 1.7rem;
  background: linear-gradient(180deg, rgba(22, 18, 34, 0.64) 0%, rgba(12, 10, 20, 0.58) 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.35s, background 0.35s;
}

.product-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-amber-soft) 0%, transparent 52%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.product-panel:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(24, 20, 36, 0.78) 0%, rgba(12, 10, 20, 0.66) 100%);
}

.product-panel:hover::after {
  opacity: 1;
}

.product-panel > * {
  position: relative;
  z-index: 1;
}

.product-panel-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent-amber);
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.product-panel h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.product-panel p {
  color: rgba(237, 233, 224, 0.58);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-panel ul {
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.product-panel li {
  color: var(--text-soft);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.product-panel li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent-amber);
  box-shadow: 0 0 12px rgba(212, 162, 74, 0.45);
  flex-shrink: 0;
}

.product-strip {
  padding: 4rem 2rem 8rem;
}

.product-strip-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 3rem 3.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.product-strip-inner::before {
  content: "";
  position: absolute;
  right: -24%;
  top: -60%;
  width: 55%;
  height: 210%;
  background: radial-gradient(ellipse at center, var(--accent-cosm-soft) 0%, transparent 56%);
  pointer-events: none;
}

.product-strip-inner > * {
  position: relative;
  z-index: 1;
}

.product-strip h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}

.product-strip p {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.78;
  max-width: 620px;
}

.product-cta {
  padding-top: 2rem;
}

.product-cta .download-fineprint a,
.product-cta .download-fineprint a:visited {
  color: var(--accent-amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 162, 74, 0.35);
}

.product-cta .download-fineprint a:hover {
  color: var(--accent-amber-bright);
  border-bottom-color: var(--accent-amber-bright);
}

@media (max-width: 980px) {
  .product-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-panel {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .product-hero {
    min-height: auto;
    padding: 7.5rem 1.25rem 4rem;
  }

  .product-hero-inner {
    width: 100%;
    margin: 0 auto;
  }

  .product-title {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.028em;
  }

  .product-sub {
    max-width: 100%;
  }

  .product-flow {
    padding: 1rem 1.25rem 5rem;
  }

  .product-flow-grid {
    grid-template-columns: 1fr;
  }

  .product-panel {
    min-height: unset;
  }

  .product-strip {
    padding: 2rem 1.25rem 5rem;
  }

  .product-strip-inner {
    padding: 2.4rem 1.5rem;
  }
}
