.page-products {
  --pv-radius-lg: 22px;
  --pv-radius-md: 16px;
  --pv-gap: 24px;
  padding-top: 32px;
  padding-bottom: 48px;
  color: var(--wp-dark-text);
  background: var(--wp-bg-light);
  overflow: hidden;
}
@media (min-width: 920px) {
  .page-products {
    padding-top: 48px;
    padding-bottom: 72px;
  }
}
.page-products .product-hero {
  position: relative;
  padding: 24px 0 8px;
}
.page-products .breadcrumbs {
  margin-bottom: 24px;
}
.page-products .breadcrumbs a {
  color: var(--wp-primary);
  font-weight: 600;
  text-decoration: none;
}
.page-products .breadcrumbs a:hover {
  text-decoration: underline;
}
.page-products .sep {
  margin: 0 8px;
  color: var(--wp-gray);
}
.page-products .hero-layout {
  display: grid;
  gap: var(--pv-gap);
}
.page-products .hero-copy {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--pv-radius-lg);
  background: linear-gradient(135deg, var(--wp-bg-dark) 0%, var(--wp-primary-dark) 100%);
  color: #fff;
  box-shadow: var(--wp-shadow-pop);
}
.page-products .hero-copy::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 180px;
  height: 180px;
  background: var(--wp-accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  border-radius: 24px 0 0 0;
  opacity: .28;
  pointer-events: none;
}
.page-products .hero-copy .eyebrow {
  color: var(--wp-secondary);
}
.page-products .hero-copy h1 {
  position: relative;
  z-index: 1;
  margin: 8px 0 16px;
  font-family: var(--wp-font-heading);
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.15;
  color: #fff;
}
.page-products .hero-copy .lead {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
}
.page-products .hero-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid var(--wp-accent);
  border-radius: 999px;
  background: rgba(255,122,0,.18);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.page-products .hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.page-products .hero-copy .btn-outline {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.page-products .hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--pv-radius-lg);
  box-shadow: var(--wp-shadow-card);
}
.page-products .hero-media::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.page-products .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-products .data-banner {
  margin: 12px 0 48px;
  padding: 20px;
  border-radius: var(--pv-radius-lg);
  background: var(--wp-bg-dark);
}
.page-products .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}
.page-products .stat-item {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--wp-radius);
  background: rgba(255,255,255,.04);
  text-align: center;
}
.page-products .stat-number {
  color: var(--wp-secondary);
  font-family: var(--wp-font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
.page-products .stat-label {
  display: block;
  margin: 6px 0 0;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.page-products .section-head {
  display: grid;
  gap: 8px;
}
.page-products .section-head h2 {
  margin: 0;
  font-family: var(--wp-font-heading);
  font-size: clamp(22px, 4vw, 32px);
}
.page-products .section-desc {
  margin: 0;
  color: var(--wp-gray);
  font-size: 14px;
  line-height: 1.7;
}
.page-products .version-section,
.page-products .gift-section,
.page-products .old-port-section,
.page-products .compat-section,
.page-products .archive-section {
  scroll-margin-top: 80px;
}
.page-products .version-scroll {
  margin-top: 24px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.page-products .version-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 16px;
  margin: 0;
  padding: 0 2px 8px;
  list-style: none;
}
.page-products .version-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--wp-border);
  border-radius: var(--pv-radius-md);
  background: var(--wp-white);
  box-shadow: var(--wp-shadow-card);
  scroll-snap-align: start;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.page-products .version-card:hover {
  transform: translateY(-4px);
  border-color: var(--wp-primary);
  box-shadow: var(--wp-shadow-pop);
}
.page-products .version-tag {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--wp-accent);
  color: var(--wp-dark-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.page-products .version-no {
  color: var(--wp-primary-dark);
  font-family: var(--wp-font-mono);
  font-size: 24px;
  font-weight: 700;
}
.page-products .version-name {
  color: var(--wp-dark-text);
  font-family: var(--wp-font-heading);
  font-size: 18px;
  line-height: 1.2;
}
.page-products .version-desc {
  margin: 0;
  color: var(--wp-gray);
  font-size: 14px;
  line-height: 1.65;
}
.page-products .version-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--wp-border);
  color: var(--wp-gray);
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-products .version-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.page-products .download-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--wp-accent);
  color: var(--wp-dark-text);
  font-weight: 800;
  font-size: 14px;
}
.page-products .section-note {
  margin-top: 16px;
  color: var(--wp-gray);
  font-size: 14px;
  line-height: 1.7;
}
.page-products .section-note a {
  color: var(--wp-primary);
  font-weight: 600;
}
.page-products .steps-list {
  counter-reset: pv-steps;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-products .steps-list li {
  counter-increment: pv-steps;
  position: relative;
  padding: 10px 0 10px 48px;
  font-size: 15px;
  line-height: 1.7;
}
.page-products .steps-list li + li {
  border-top: 1px dashed var(--wp-border);
}
.page-products .steps-list li::before {
  content: counter(pv-steps);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wp-secondary);
  color: var(--wp-dark-text);
  font-family: var(--wp-font-mono);
  font-weight: 700;
  font-size: 15px;
}
.page-products .gift-layout,
.page-products .old-port-layout {
  display: grid;
  gap: var(--pv-gap);
  align-items: center;
}
.page-products .gift-media,
.page-products .old-port-media,
.page-products .compat-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--pv-radius-lg);
  box-shadow: var(--wp-shadow-card);
}
.page-products .gift-media::before,
.page-products .old-port-media::before {
  content: "";
  display: block;
  padding-top: 133.33%;
}
.page-products .compat-media::before {
  content: "";
  display: block;
  padding-top: 66.66%;
}
.page-products .gift-media img,
.page-products .old-port-media img,
.page-products .compat-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-products .gift-copy {
  padding: 24px;
  border: 1px solid var(--wp-border);
  border-left: 6px solid var(--wp-accent);
  border-radius: var(--pv-radius-lg);
  background: var(--wp-white);
  box-shadow: var(--wp-shadow-card);
}
.page-products .gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--wp-accent);
  color: var(--wp-dark-text);
  font-size: 14px;
  font-weight: 800;
}
.page-products .gift-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wp-bg-dark);
  animation: pv-pulse-dot 2s ease-in-out infinite;
}
@keyframes pv-pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6);
    opacity: .5;
  }
}
.page-products .gift-copy h2 {
  margin: 8px 0 12px;
  font-family: var(--wp-font-heading);
  font-size: clamp(22px, 4vw, 32px);
}
.page-products .gift-copy p {
  margin: 0 0 12px;
  color: var(--wp-gray);
  line-height: 1.7;
}
.page-products .gift-copy .steps-list {
  margin: 0 0 20px;
}
.page-products .old-port-copy .section-head {
  margin-bottom: 8px;
}
.page-products .old-port-copy .lead {
  margin: 12px 0 20px;
  color: var(--wp-gray);
}
.page-products .old-port-copy .steps-list {
  margin-bottom: 20px;
}
.page-products .old-port-copy .btn {
  margin-top: 4px;
}
.page-products .compat-head {
  max-width: 680px;
  margin-bottom: 20px;
}
.page-products .compat-head h2 {
  margin: 8px 0 8px;
  font-family: var(--wp-font-heading);
  font-size: clamp(22px, 4vw, 32px);
}
.page-products .compat-head .lead {
  margin: 0;
  color: var(--wp-gray);
}
.page-products .compat-layout {
  display: grid;
  gap: var(--pv-gap);
}
.page-products .compat-cells {
  display: grid;
  gap: 14px;
}
.page-products .compat-cell {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--wp-border);
  border-radius: var(--pv-radius-md);
  background: var(--wp-white);
}
.page-products .cell-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--wp-primary);
  color: #fff;
  font-family: var(--wp-font-mono);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(91,108,255,.3);
}
.page-products .compat-cell h3 {
  margin: 0 0 4px;
  font-family: var(--wp-font-heading);
  font-size: 16px;
}
.page-products .compat-cell p {
  margin: 0;
  color: var(--wp-gray);
  font-size: 14px;
  line-height: 1.6;
}
.page-products .archive-frame {
  position: relative;
  border-radius: var(--pv-radius-lg);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--wp-shadow-card);
}
.page-products .archive-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-products .archive-overlay {
  position: relative;
  z-index: 1;
  padding: 24px;
  background: linear-gradient(135deg, rgba(11,13,26,.92), rgba(58,74,224,.72));
  color: #fff;
}
.page-products .archive-overlay h2 {
  margin: 8px 0 8px;
  color: #fff;
  font-family: var(--wp-font-heading);
  font-size: clamp(22px, 4vw, 30px);
}
.page-products .archive-overlay p {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 15px;
  line-height: 1.7;
}
.page-products .archive-overlay .eyebrow {
  color: var(--wp-secondary);
}
.page-products .archive-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.page-products .archive-list li {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--wp-radius-sm);
  background: rgba(255,255,255,.08);
  font-size: 14px;
  line-height: 1.5;
}
.page-products .archive-list span {
  min-width: 90px;
  color: var(--wp-accent-soft);
  font-family: var(--wp-font-mono);
  font-weight: 700;
}
.page-products .further-section {
  padding-top: 8px;
}
.page-products .further-list {
  display: grid;
  gap: 14px;
}
.page-products .further-card {
  display: block;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: var(--pv-radius-md);
  background: var(--wp-bg-dark);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.page-products .further-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--wp-accent-soft);
  font-family: var(--wp-font-heading);
  font-size: 18px;
}
.page-products .further-card p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  line-height: 1.6;
}
.page-products .further-card:hover {
  transform: translateX(6px);
  border-color: var(--wp-secondary);
}
@media (min-width: 720px) {
  .page-products .stat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .page-products .stat-item {
    text-align: left;
    padding: 18px 16px;
  }
  .page-products .stat-number {
    font-size: 32px;
  }
  .page-products .hero-copy {
    padding: 32px;
  }
  .page-products .archive-frame {
    min-height: 420px;
  }
  .page-products .archive-overlay {
    padding: 32px;
  }
}
@media (min-width: 860px) {
  .page-products .gift-layout,
  .page-products .old-port-layout {
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
  }
  .page-products .old-port-layout {
    grid-template-columns: 1.1fr .9fr;
  }
}
@media (min-width: 920px) {
  .page-products .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 32px;
    align-items: center;
  }
  .page-products .compat-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .page-products .further-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    animation: none !important;
    transition: none !important;
  }
}
