.page-products{
  --pg-gold-start: var(--gold-start);
  --pg-gold-end: var(--gold-end);
  --pg-orange: var(--accent-orange-red);
  --pg-deep: var(--deep-space-blue);
  --pg-night: var(--night-blue);
  --pg-ink: var(--dark-muted);
  --pg-text: var(--text-main);
  --pg-muted: var(--text-muted);
  --pg-cut-sm: 12px;
  --pg-cut-lg: 22px;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 6%, rgba(255,215,0,0.10) 0%, transparent 32%),
    linear-gradient(180deg, var(--pg-deep) 0%, var(--pg-night) 58%, var(--pg-ink) 100%);
  color: var(--pg-text);
}

.page-products .app-breadcrumb{
  margin: 24px 20px 0;
  font-size: 0.85rem;
}

.page-products .app-hero{
  position: relative;
  padding: 44px 20px 30px;
  background:
    radial-gradient(ellipse at 82% -10%, rgba(255,215,0,0.16) 0%, rgba(255,215,0,0) 44%),
    linear-gradient(128deg, rgba(10,29,79,0.96) 0%, rgba(14,42,95,0.78) 100%);
  border-bottom: 1px solid rgba(255,215,0,0.18);
}

.page-products .app-hero__inner{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.page-products .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 4px 12px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.28);
  color: var(--pg-gold-end);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  transform: skewX(-5deg);
}

.page-products .app-hero__copy h1{
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: skewX(-4deg);
  margin: 12px 0 18px;
  max-width: 14em;
  color: var(--pg-gold-end);
}

@supports (-webkit-background-clip: text){
  .page-products .app-hero__copy h1{
    background: linear-gradient(100deg, #FFFFFF 4%, var(--pg-gold-end) 68%, var(--pg-gold-start) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.page-products .app-hero__lead{
  font-size: 1rem;
  line-height: 1.9;
  color: var(--pg-muted);
  max-width: 52rem;
  margin: 0 0 24px;
  border-left: 3px solid var(--pg-gold-end);
  padding-left: 16px;
}

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

.page-products .app-hero__telemetry{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px;
  background: rgba(10,29,79,0.55);
  border: 1px solid rgba(255,215,0,0.18);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-products .tele-item{
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-top: 2px solid rgba(255,215,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-products .tele-item--active{
  border-top-color: var(--success-green);
}

.page-products .tele-item__label{
  font-size: 0.75rem;
  color: var(--pg-muted);
  letter-spacing: 1px;
}

.page-products .tele-item__value{
  font-weight: 800;
  color: var(--pg-text);
  font-size: 1.025rem;
  line-height: 1.5;
}

.page-products .tele-item__dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success-green);
  box-shadow: 0 0 0 3px rgba(15,157,88,0.18);
  margin-top: 6px;
}

.page-products .app-directory{
  max-width: 1180px;
  margin: 30px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .app-directory__link{
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pg-muted);
  text-decoration: none;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .app-directory__link{
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
}

.page-products .app-directory__link:hover,
.page-products .app-directory__link:focus-visible{
  color: var(--pg-gold-end);
  border-color: rgba(255,215,0,0.35);
  background: rgba(255,215,0,0.06);
  transform: translateX(4px);
  outline: none;
}

.page-products .section{
  padding: 56px 20px;
  position: relative;
}

.page-products .section-head{
  max-width: 1180px;
  margin: 0 auto 30px;
  padding-left: 18px;
  border-left: 4px solid var(--pg-gold-end);
}

.page-products .section-index{
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,215,0,0.16);
  letter-spacing: -2px;
  margin: 0;
  transform: skewX(-8deg);
}

.page-products .section-tag{
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--pg-muted);
  margin: 4px 0 10px;
  text-transform: uppercase;
}

.page-products .section-heading{
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-family: var(--font-heading);
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.15;
}

.page-products .section-desc{
  color: var(--pg-muted);
  max-width: 62ch;
  margin: 0;
  line-height: 1.8;
}

.page-products .section-active .section-heading{
  background: linear-gradient(90deg, var(--pg-gold-start), var(--pg-gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-products .version-compare{
  background:
    linear-gradient(rgba(255,215,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.03) 1px, transparent 1px),
    rgba(10,19,40,0.35);
  background-size: 56px 56px, 56px 56px, auto;
}

.page-products .compare-devices{
  max-width: 1180px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.page-products .device-card{
  width: min(260px, 100%);
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .device-card--old{
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  }

  .page-products .device-card--new{
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  }
}

.page-products .device-card--old:hover,
.page-products .device-card--old:focus-within{
  transform: translateX(-6px) rotate(-2deg);
  border-color: rgba(255,215,0,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

.page-products .device-card--new:hover,
.page-products .device-card--new:focus-within{
  transform: translateX(6px) rotate(2deg);
  border-color: var(--pg-gold-end);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

.page-products .device-card__screen img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
}

.page-products .device-card__meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 4px 4px;
}

.page-products .device-card__label{
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--pg-text);
}

.page-products .device-card__status{
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  background: rgba(255,255,255,0.06);
  color: var(--pg-muted);
  white-space: nowrap;
}

.page-products .device-card--new .device-card__status{
  background: linear-gradient(90deg, var(--pg-gold-start), var(--pg-gold-end));
  color: var(--pg-deep);
  font-weight: 800;
}

.page-products .compare-vs{
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pg-ink);
  border: 2px solid var(--pg-gold-end);
  color: var(--pg-gold-end);
  font-weight: 900;
  font-size: 1.1rem;
  transform: rotate(-6deg);
  flex-shrink: 0;
  z-index: 2;
}

.page-products .compare-vs span{
  transform: skewX(-6deg);
}

.page-products .metric-strip{
  max-width: 1180px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .metric-card{
  padding: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .metric-card{
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  }
}

.page-products .metric-card:hover{
  border-color: rgba(255,215,0,0.38);
  transform: translateY(-4px);
}

.page-products .metric-card__name{
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(255,215,0,0.10);
  border-left: 3px solid var(--pg-gold-end);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--pg-text);
}

.page-products .metric-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  gap: 10px;
}

.page-products .metric-row:last-child{
  border-bottom: none;
}

.page-products .metric-row span{
  color: var(--pg-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.page-products .metric-row b{
  font-size: 0.85rem;
  color: var(--pg-text);
  text-align: right;
}

.page-products .metric-row--old b{
  color: var(--pg-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255,69,0,0.6);
}

.page-products .metric-row--new b{
  color: var(--pg-gold-end);
  font-weight: 800;
}

.page-products .performance-visual{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  align-items: center;
}

.page-products .performance-visual img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  background: var(--pg-night);
}

.page-products .performance-visual__note{
  padding: 18px 20px;
  border: 1px solid rgba(255,215,0,0.25);
  background: var(--pg-ink);
  color: var(--pg-gold-end);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
}

.page-products .performance-visual__note p{
  margin: 0 0 6px;
}

.page-products .performance-visual__note p:last-child{
  margin: 0;
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .performance-visual__note{
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  }
}

.page-products .version-note{
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 16px 18px;
  border-left: 3px solid var(--pg-gold-end);
  background: rgba(255,255,255,0.03);
  color: var(--pg-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.page-products .version-note a{
  color: var(--pg-gold-end);
  text-decoration: none;
  font-weight: 700;
}

.page-products .version-note a:hover,
.page-products .version-note a:focus-visible{
  text-decoration: underline;
}

.page-products .feature-zone{
  background:
    linear-gradient(130deg, rgba(14,42,95,0.55) 0%, rgba(10,29,79,0.9) 100%),
    var(--pg-night);
}

.page-products .feature-grid{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.page-products .feature-card{
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .feature-card:hover,
.page-products .feature-card:focus-within{
  border-color: rgba(255,215,0,0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.25);
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .feature-card--entry{
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  }

  .page-products .feature-card--content{
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  }

  .page-products .feature-card--support{
    clip-path: polygon(0 22px, 22px 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-products .feature-card--mode{
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  }
}

.page-products .feature-card__kicker{
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--pg-gold-end);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-products .feature-card h3{
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-family: var(--font-heading);
  margin: 0 0 10px;
  line-height: 1.4;
  color: var(--pg-text);
}

.page-products .feature-card p{
  color: var(--pg-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0;
}

.page-products .feature-banner,
.page-products .support-panel{
  margin-top: 16px;
}

.page-products .feature-banner img,
.page-products .support-panel img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(255,215,0,0.16);
  background: var(--pg-night);
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .feature-banner img{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 18px));
  }

  .page-products .support-panel img{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  }
}

.page-products .download-zone{
  background:
    linear-gradient(100deg, rgba(255,215,0,0.04) 0%, transparent 40%),
    var(--pg-ink);
}

.page-products .download-layout{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.page-products .guide-steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .guide-step{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  position: relative;
  padding-bottom: 14px;
}

.page-products .guide-step:not(:last-child)::after{
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: -2px;
  width: 2px;
  background: linear-gradient(180deg, var(--pg-gold-start), rgba(255,215,0,0.08));
}

.page-products .guide-step__index{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--pg-deep);
  border: 1px solid var(--pg-gold-end);
  transform: rotate(-6deg);
  font-weight: 900;
  font-size: 1rem;
  color: var(--pg-gold-end);
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .guide-step__index{
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  }
}

.page-products .guide-step__body h3{
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-family: var(--font-heading);
  color: var(--pg-text);
}

.page-products .guide-step__body p{
  margin: 0;
  color: var(--pg-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-products .download-aside__panel{
  padding: 24px;
  background: var(--pg-deep);
  border: 1px solid rgba(255,215,0,0.22);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-products .download-aside__panel:hover{
  transform: translateY(-4px);
  border-color: rgba(255,215,0,0.45);
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .download-aside__panel{
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  }
}

.page-products .download-aside__title{
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 0 10px;
  width: max-content;
  max-width: 100%;
  color: var(--pg-gold-end);
}

@supports (-webkit-background-clip: text){
  .page-products .download-aside__title{
    background: linear-gradient(90deg, var(--pg-gold-start), var(--pg-gold-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.page-products .download-aside p{
  color: var(--pg-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.page-products .download-aside__links{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.page-products .system-zone{
  background:
    linear-gradient(270deg, transparent 0%, rgba(255,215,0,0.04) 50%, transparent 100%),
    var(--pg-deep);
}

.page-products .sys-grid{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.page-products .sys-item{
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-products .sys-item:hover,
.page-products .sys-item:focus-within{
  transform: translateX(8px);
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,255,255,0.05);
}

.page-products .sys-item__icon{
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--pg-night);
  border: 1px solid var(--pg-gold-end);
  font-weight: 900;
  font-size: 1rem;
  color: var(--pg-gold-end);
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .sys-item__icon{
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, calc(100% - 10px) 100%, 0 calc(100% - 10px));
  }
}

.page-products .sys-item__body h3{
  margin: 0 0 4px;
  font-size: 1rem;
  font-family: var(--font-heading);
  color: var(--pg-text);
}

.page-products .sys-item__body p{
  margin: 0;
  color: var(--pg-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.page-products .sys-item__status{
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--success-green);
  padding: 4px 10px;
  border: 1px solid rgba(15,157,88,0.5);
  white-space: nowrap;
  background: rgba(15,157,88,0.08);
}

.page-products .install-help{
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  background:
    linear-gradient(90deg, rgba(255,215,0,0.08) 0%, transparent 60%),
    var(--pg-night);
}

@supports (clip-path: polygon(0 0, 100% 0)){
  .page-products .install-help{
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  }
}

.page-products .install-help h3{
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--pg-text);
}

.page-products .install-help p{
  margin: 0;
  color: var(--pg-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 60ch;
}

.page-products .install-help__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-products .inner-links{
  max-width: 1180px;
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,215,0,0.2);
}

.page-products .inner-links a{
  color: var(--pg-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .inner-links a:hover,
.page-products .inner-links a:focus-visible{
  color: var(--pg-gold-end);
  border-color: var(--pg-gold-end);
  transform: translateY(-2px);
}

@media (min-width: 760px){
  .page-products .app-hero{
    padding: 56px 24px 36px;
  }

  .page-products .app-hero__inner{
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: end;
    gap: 40px;
  }

  .page-products .compare-devices{
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .page-products .compare-vs{
    margin: 0 -18px;
  }

  .page-products .metric-strip{
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .performance-visual{
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .page-products .download-layout{
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

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

  .page-products .install-help{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 860px){
  .page-products .feature-grid{
    grid-template-columns: repeat(9, 1fr);
  }

  .page-products .feature-card--entry{
    grid-column: span 4;
  }

  .page-products .feature-card--content{
    grid-column: span 5;
  }

  .page-products .feature-card--support{
    grid-column: span 4;
  }

  .page-products .feature-card--mode{
    grid-column: span 5;
  }
}

@media (min-width: 1080px){
  .page-products .metric-strip{
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce){
  .page-products *,
  .page-products *::before,
  .page-products *::after{
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
}
