.page-products{
  --product-line: rgba(160,179,217,0.16);
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(230,57,70,0.08), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(244,162,97,0.09), transparent 24%),
    var(--bg-deep);
}

.page-products__hero{
  position: relative;
  padding: 40px 0 56px;
  z-index: 1;
}

.page-products__hero::before{
  content:"";
  position:absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background:
    repeating-linear-gradient(120deg, rgba(244,162,97,0.05) 0 2px, transparent 2px 28px),
    radial-gradient(circle at 80% 20%, rgba(230,57,70,0.14), transparent 34%);
  pointer-events:none;
}

.page-products__hero-inner{
  position: relative;
  z-index: 1;
}

.page-products__hero-grid{
  display:grid;
  gap:32px;
  align-items:center;
  margin-top:36px;
}

.page-products__hero-title{
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--text-light);
  font-style: italic;
}

.page-products__hero-desc{
  color: var(--text-muted);
  max-width: 34em;
  font-size: 1.05rem;
  margin: 0 0 24px;
}

.page-products__hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:28px;
}

.page-products__hero-visual{
  position: relative;
}

.page-products__hero-media{
  margin:0;
  transform: rotate(1deg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.page-products__hero-media:hover{
  transform: rotate(0) translateY(-6px);
  box-shadow: var(--shadow-float);
}

.page-products__hero-media img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}

.page-products__catalog{
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-products__catalog-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:14px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.page-products__catalog-item{
  display:flex;
  min-width:0;
}

.page-products__catalog-card{
  position: relative;
  display:flex;
  flex-direction:column;
  flex:1;
  gap:8px;
  padding:20px 18px;
  background: rgba(20,43,92,0.72);
  border:1px solid var(--product-line);
  border-left: 4px solid var(--accent-red);
  color: var(--text-light);
  text-decoration:none;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.page-products__catalog-card:hover,
.page-products__catalog-card:focus-visible{
  transform: translateY(-5px) rotate(-0.4deg);
  border-color: rgba(244,162,97,0.5);
  border-left-color: var(--accent-amber);
  background: rgba(27,52,105,0.9);
  outline:none;
}

.page-products__catalog-no{
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--accent-amber);
  line-height: 1;
}

.page-products__catalog-name{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
}

.page-products__catalog-desc{
  color: var(--text-muted);
  font-size: 14px;
}

.page-products__feature{
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-products__feature-head{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin-bottom:32px;
  border-bottom:1px solid var(--product-line);
  padding-bottom:24px;
}

.page-products__feature-index{
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.9;
  color: var(--accent-red);
  text-shadow: var(--glow-red);
}

.page-products__feature-heading{
  flex:1;
  min-width:0;
}

.page-products__feature-heading h2{
  margin-top:0;
}

.page-products__feature-grid{
  display:grid;
  gap:32px;
  align-items:center;
}

.page-products__feature-copy p{
  margin-top:0;
  color: var(--text-light);
  font-size: 1.02rem;
}

.page-products__feature-media{
  margin:0;
  transform: rotate(-0.6deg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.page-products__feature-media:hover{
  transform: rotate(0) translateY(-5px);
  box-shadow: var(--shadow-float);
}

.page-products__feature-media img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}

.page-products__stats{
  display:grid;
  gap:14px;
  padding:24px;
  background: rgba(11,27,61,0.5);
  border:1px solid rgba(42,157,143,0.35);
  border-top: 4px solid var(--data-green);
  box-shadow: var(--shadow-card);
}

.page-products__stat{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  padding-bottom:10px;
  border-bottom:1px dashed var(--product-line);
}

.page-products__stat:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.page-products__stat-label{
  color: var(--text-muted);
  font-size:14px;
  letter-spacing:1px;
}

.page-products__stat-value{
  font-family: var(--font-mono);
  font-size:1.3rem;
  color: var(--glow-white);
}

.page-products__league-list{
  list-style:none;
  margin:24px 0 0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.page-products__league-list li{
  padding:6px 13px;
  background: rgba(230,57,70,0.08);
  border:1px solid rgba(230,57,70,0.4);
  color: var(--text-light);
  font-size:14px;
  font-weight:600;
}

.page-products__checklist{
  list-style:none;
  margin:22px 0 0;
  padding:0;
}

.page-products__checklist li{
  position:relative;
  padding:8px 0 8px 28px;
  color: var(--text-light);
  border-bottom:1px solid var(--product-line);
}

.page-products__checklist li::before{
  content:"";
  position:absolute;
  left:4px;
  top:16px;
  width:8px;
  height:8px;
  background: var(--data-green);
  box-shadow: var(--glow-green);
  transform: rotate(45deg);
}

.page-products__archive-block{
  margin-top:22px;
}

.page-products__version-card{
  padding:24px;
  background: linear-gradient(135deg, rgba(230,57,70,0.12), transparent 55%), rgba(20,43,92,0.75);
  border:1px solid var(--product-line);
  border-top:4px solid var(--accent-red);
  box-shadow: var(--shadow-card);
  margin-bottom:24px;
}

.page-products__version-badge{
  display:inline-block;
  margin:14px 0 10px;
  font-family: var(--font-mono);
  font-size:2rem;
  color: var(--glow-white);
  letter-spacing:1px;
}

.page-products__version-card p{
  margin:0;
  color: var(--text-muted);
}

.page-products__version-rail{
  list-style:none;
  margin:0;
  padding:0 0 0 20px;
  position:relative;
}

.page-products__version-rail::before{
  content:"";
  position:absolute;
  left:6px;
  top:4px;
  bottom:4px;
  width:2px;
  background: linear-gradient(var(--accent-amber), var(--accent-red));
}

.page-products__version-item{
  position:relative;
  margin-bottom:16px;
  padding:14px 18px;
  background: rgba(20,43,92,0.55);
  border:1px solid var(--product-line);
  display:flex;
  flex-direction:column;
  gap:4px;
}

.page-products__version-item::before{
  content:"";
  position:absolute;
  left:-17px;
  top:20px;
  width:9px;
  height:9px;
  border-radius:50%;
  background: var(--accent-amber);
  box-shadow: var(--glow-amber);
}

.page-products__version-item strong{
  color: var(--text-light);
  font-size:15px;
}

.page-products__version-item span{
  color: var(--text-muted);
  font-size:14px;
}

.page-products__access-grid{
  display:grid;
  gap:14px;
  margin-bottom:22px;
}

.page-products__access-device{
  padding:18px;
  background: rgba(20,43,92,0.7);
  border:1px solid var(--product-line);
  border-top:3px solid var(--accent-amber);
}

.page-products__access-name{
  display:block;
  font-family: var(--font-head);
  font-size:1.4rem;
  font-weight:700;
  margin-bottom:6px;
  color: var(--text-light);
  letter-spacing:1px;
}

.page-products__access-desc{
  display:block;
  color: var(--text-muted);
  font-size:14px;
  line-height:1.6;
}

.page-products__support{
  scroll-margin-top: calc(var(--header-h) + 24px);
  background:
    linear-gradient(105deg, rgba(230,57,70,0.14), transparent 42%),
    var(--bg-transition);
  border-top:1px solid var(--product-line);
}

.page-products__support-inner{
  display:flex;
  flex-direction:column;
  gap:28px;
  align-items:flex-start;
  padding:48px 0;
}

.page-products__support-title{
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing:1px;
  margin:0 0 8px;
  color: var(--text-light);
}

.page-products__support-text{
  margin:0;
  color: var(--text-muted);
}

.page-products__support-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

@media (min-width: 768px){
  .page-products__catalog-list{
    gap:20px;
  }

  .page-products__access-grid{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .page-products__support-inner{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }
}

@media (min-width: 992px){
  .page-products__catalog-list{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .page-products__catalog-item:nth-child(5){
    grid-column: span 2;
  }

  .page-products__hero-grid{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products__feature-grid{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap:48px;
  }
}
