.page-products {
  --products-shell-width: min(1240px, 100% - 32px);
  --products-card-radius: 14px;
  --products-border: 2px solid var(--phvr-silver);
  --products-gold-glow: 0 10px 26px rgba(212, 175, 55, .16);
  color: var(--phvr-snow);
  font-family: var(--phvr-font-body);
}

.page-products .product-shell {
  width: var(--products-shell-width);
  margin-inline: auto;
  padding-block: 30px 96px;
}

.page-products .breadcrumb {
  margin-bottom: 26px;
}

.page-products .product-hero {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 30px 22px 34px;
  margin-bottom: 72px;
  border: 2px solid var(--phvr-silver);
  border-radius: var(--products-card-radius);
  background:
    radial-gradient(ellipse at 82% 8%, rgba(212, 175, 55, .16), transparent 52%),
    linear-gradient(150deg, #141B35 0%, #0D1224 70%, #0A0E1A 100%);
  box-shadow: var(--phvr-shadow);
  overflow: hidden;
}

.page-products .product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(169, 221, 235, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 221, 235, .04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 78%);
}

.page-products .product-hero__content,
.page-products .product-hero__device {
  position: relative;
  z-index: 1;
}

.page-products .product-hero h1 {
  font-family: var(--phvr-font-heading);
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 14px 0 16px;
  color: var(--phvr-snow);
  letter-spacing: .01em;
}

.page-products .product-hero__lead {
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(245, 247, 250, .82);
  max-width: 58ch;
  margin-bottom: 22px;
}

.page-products .product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.page-products .product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .product-hero__device {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .device-frame {
  width: min(430px, 100%);
  border: 2px solid var(--phvr-silver);
  border-radius: 16px;
  background: linear-gradient(180deg, #141B33, #0C1122);
  padding: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .42);
}

.page-products .device-frame__bar {
  display: flex;
  gap: 7px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(42, 49, 69, .7);
  margin-bottom: 12px;
}

.page-products .device-frame__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--phvr-slate);
}

.page-products .device-frame__bar span:nth-child(3) {
  background: var(--phvr-gold);
}

.page-products .device-frame__content {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--phvr-silver);
  border-radius: 10px;
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 175, 55, .2), transparent 45%),
    linear-gradient(180deg, rgba(169, 221, 235, .07), transparent 70%);
}

.page-products .device-tag {
  font-family: var(--phvr-font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--phvr-snow);
}

.page-products .device-line {
  height: 6px;
  border-radius: 3px;
  background: var(--phvr-silver);
  margin-top: 16px;
}

.page-products .device-line--long {
  width: 78%;
}

.page-products .device-line--short {
  width: 52%;
  margin-top: 10px;
  margin-bottom: 18px;
}

.page-products .device-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-products .device-chip {
  width: 72px;
  height: 18px;
  border-radius: 9px;
  background: rgba(169, 221, 235, .24);
  display: inline-block;
}

.page-products .device-chip--gold {
  background: linear-gradient(135deg, var(--phvr-gold-bright), var(--phvr-gold));
}

.page-products .product-overview {
  margin-bottom: 84px;
}

.page-products .section-head__note {
  margin: 14px 0 0;
  max-width: 68ch;
  color: rgba(245, 247, 250, .76);
  font-size: .92rem;
  line-height: 1.75;
}

.page-products .product-bento {
  margin-top: 38px;
}

.page-products .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--phvr-silver);
  border-radius: var(--products-card-radius);
  background: linear-gradient(160deg, #151D39, #0E1428);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.page-products .product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, .62);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .36), var(--products-gold-glow);
}

.page-products .product-card__figure {
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--phvr-silver);
  background: #0C1122;
}

.page-products .product-card__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .45s ease;
}

.page-products .product-card:hover .product-card__figure img {
  transform: scale(1.03);
}

.page-products .product-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-products .product-card__body h3,
.page-products .product-note h3 {
  font-family: var(--phvr-font-heading);
  font-size: 1.42rem;
  font-weight: 600;
  margin: 10px 0 8px;
  color: var(--phvr-snow);
}

.page-products .product-card__desc {
  font-size: .9rem;
  line-height: 1.72;
  color: rgba(245, 247, 250, .74);
  margin-bottom: 16px;
}

.page-products .product-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .product-card__features li {
  position: relative;
  padding-left: 18px;
  font-size: .86rem;
  line-height: 1.6;
  color: rgba(245, 247, 250, .82);
}

.page-products .product-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--phvr-gold-bright), var(--phvr-gold));
  transform: rotate(45deg);
}

.page-products .product-note {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--phvr-silver);
  border-radius: var(--products-card-radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 175, 55, .16), transparent 48%),
    linear-gradient(145deg, #141B35, #0E1428);
  box-shadow: var(--phvr-shadow);
}

.page-products .product-note::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border: 20px solid rgba(212, 175, 55, .08);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .product-note__inner {
  padding: 26px 24px 28px;
  position: relative;
  z-index: 1;
}

.page-products .tool-guide {
  margin-bottom: 84px;
}

.page-products .tool-guide__layout {
  display: grid;
  gap: 32px;
  margin-top: 36px;
}

.page-products .tool-guide__shot {
  margin: 0 0 28px;
}

.page-products .tool-guide__shot img {
  border-radius: 12px;
  border: 2px solid var(--phvr-silver);
}

.page-products .tool-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .tool-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--phvr-silver);
}

.page-products .tool-step:first-child {
  padding-top: 6px;
}

.page-products .tool-step__num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--phvr-font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: #0A0E1A;
  background: linear-gradient(135deg, var(--phvr-gold-bright), var(--phvr-gold));
  box-shadow: 0 8px 18px rgba(212, 175, 55, .28);
}

.page-products .tool-step__body h3 {
  font-family: var(--phvr-font-heading);
  font-size: 1.14rem;
  font-weight: 600;
  margin: 2px 0 8px;
  color: var(--phvr-snow);
}

.page-products .tool-step__body p {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(245, 247, 250, .76);
  margin-bottom: 14px;
}

.page-products .tool-guide__aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-products .tool-guide__step-img {
  margin: 0;
}

.page-products .tool-guide__step-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--phvr-silver);
}

.page-products .tool-guide__aside .callout {
  border: 2px solid rgba(212, 175, 55, .5);
}

.page-products .tool-guide__aside .callout h3 {
  font-family: var(--phvr-font-heading);
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--phvr-gold-bright);
}

.page-products .product-tags {
  margin-bottom: 84px;
}

.page-products .tag-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.page-products .tag-card {
  position: relative;
  border: 2px solid var(--phvr-silver);
  border-radius: var(--products-card-radius);
  padding: 26px 24px 28px;
  background: linear-gradient(160deg, #141B35, #0E1428);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.page-products .tag-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 221, 235, .42);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .32);
}

.page-products .tag-card--gold {
  border-color: rgba(212, 175, 55, .48);
}

.page-products .tag-card--gold:hover {
  border-color: var(--phvr-gold);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .32), var(--products-gold-glow);
}

.page-products .tag-card h3 {
  font-family: var(--phvr-font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--phvr-snow);
}

.page-products .tag-card p {
  font-size: .88rem;
  line-height: 1.72;
  color: rgba(245, 247, 250, .74);
  margin-bottom: 16px;
}

.page-products .tag-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-products .tag-card li {
  position: relative;
  padding-left: 16px;
  font-size: .84rem;
  line-height: 1.6;
  color: rgba(245, 247, 250, .78);
}

.page-products .tag-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--phvr-ice);
}

.page-products .tag-card--gold li::before {
  background: var(--phvr-gold);
}

.page-products .tag-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(169, 221, 235, .08);
  border: 1px solid var(--phvr-silver);
  margin-bottom: 18px;
}

.page-products .tag-card--gold .tag-card__icon {
  background: rgba(212, 175, 55, .1);
  border-color: rgba(212, 175, 55, .4);
}

.page-products .product-download {
  position: relative;
  border: 2px solid var(--phvr-silver);
  border-radius: var(--products-card-radius);
  padding: 34px 24px 38px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, .13), transparent 50%),
    linear-gradient(145deg, #141B35, #0D1224);
  box-shadow: var(--phvr-shadow);
  overflow: hidden;
}

.page-products .product-download::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(169, 221, 235, .035) 22px 24px);
}

.page-products .product-download .section-head,
.page-products .download-grid {
  position: relative;
  z-index: 1;
}

.page-products .download-grid {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.page-products .download-card {
  border: 2px solid var(--phvr-silver);
  border-radius: 12px;
  padding: 26px 24px;
  background: rgba(10, 14, 26, .6);
  transition: border-color .28s ease, transform .28s ease;
}

.page-products .download-card:hover {
  border-color: rgba(212, 175, 55, .55);
  transform: translateY(-3px);
}

.page-products .download-card__num {
  font-family: var(--phvr-font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--phvr-gold);
  margin-bottom: 12px;
}

.page-products .download-card h3 {
  font-family: var(--phvr-font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--phvr-snow);
}

.page-products .download-card p {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(245, 247, 250, .76);
  margin-bottom: 18px;
}

.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-family: var(--phvr-font-heading);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}

.page-products .btn-gold {
  background: linear-gradient(135deg, var(--phvr-gold-bright), var(--phvr-gold));
  color: #0A0E1A;
  box-shadow: 0 8px 18px rgba(212, 175, 55, .25);
}

.page-products .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(212, 175, 55, .34);
}

.page-products .btn-ghost {
  background: transparent;
  color: var(--phvr-ice);
  border: 1px solid rgba(169, 221, 235, .42);
}

.page-products .btn-ghost:hover {
  border-color: var(--phvr-ice);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(169, 221, 235, .12);
}

.page-products .phvr-figure img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 640px) {
  .page-products .tag-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .download-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .page-products .product-hero {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    padding: 48px 52px;
    gap: 44px;
  }

  .page-products .product-hero__lead {
    font-size: 1rem;
  }

  .page-products .tool-guide__layout {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }

  .page-products .tool-guide__aside {
    position: sticky;
    top: 24px;
  }
}

@media (min-width: 1100px) {
  .page-products .product-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}
