.page-products {
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(240, 239, 233, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 239, 233, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow-x: hidden;
}

.page-products [id] {
  scroll-margin-top: 96px;
}

.page-products .breadcrumb {
  margin: 24px 0 8px;
  font-size: 13px;
}

.page-products .breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.page-products .breadcrumb a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.page-products .product-hero {
  position: relative;
  padding: 28px 0 72px;
}

.page-products .product-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-products .product-hero__visual {
  position: relative;
}

.page-products .device-frame {
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(11, 61, 46, 0.6), rgba(10, 15, 13, 0.5));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
}

.page-products .device-frame__screen {
  background: var(--dark);
  border-radius: 12px;
  padding: 8px;
}

.page-products .device-frame__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-products .product-hero__badge {
  position: absolute;
  right: 6px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  background: var(--wine);
  border: 1px solid var(--border-gold);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.page-products .product-hero__badge-version {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.page-products .product-hero__badge-text {
  font-size: 13px;
  color: var(--light);
  line-height: 1.2;
}

.page-products .product-hero__content {
  padding-top: 8px;
}

.page-products .hero-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.page-products .product-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--light);
}

.page-products .hero-intro {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(240, 239, 233, 0.78);
  max-width: 56ch;
  margin: 0;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .hero-actions .btn {
  min-width: 148px;
}

.page-products .hero-points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .hero-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(240, 239, 233, 0.85);
}

.page-products .hero-point__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 3px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-products .hero-speedlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(-20deg, transparent 0 20px, rgba(201, 162, 39, 0.08) 20px 21px, transparent 21px 42px),
    linear-gradient(-20deg, transparent 0 60px, rgba(201, 162, 39, 0.05) 60px 61px, transparent 61px 122px);
}

.page-products .section {
  padding: 64px 0;
}

.page-products .section-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
}

.page-products .section-number {
  font-family: var(--font-mono);
  font-size: 46px;
  line-height: 1;
  color: rgba(201, 162, 39, 0.75);
  font-weight: 700;
  letter-spacing: -0.05em;
  flex: 0 0 auto;
  padding-top: 4px;
}

.page-products .section-heading__body {
  max-width: 640px;
}

.page-products .section-title {
  font-family: var(--font-headline);
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--light);
}

.page-products .section-heading__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240, 239, 233, 0.65);
  margin: 0;
}

.page-products .section--download {
  background: linear-gradient(115deg, rgba(11, 61, 46, 0.32) 0%, rgba(10, 15, 13, 0) 70%);
}

.page-products .download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(145deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--border-light);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.page-products .download-card::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.18), transparent 70%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-products .download-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.page-products .download-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(11, 61, 46, 0.5);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-products .download-card__title {
  font-family: var(--font-headline);
  font-size: 20px;
  margin: 0 0 4px;
  color: var(--light);
}

.page-products .download-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-products .download-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.07);
  transition: var(--transition);
}

@media (hover: hover) {
  .page-products .download-card:hover .download-card__tag {
    background-color: rgba(201, 162, 39, 0.16);
    transform: translateY(-1px);
  }
}

.page-products .download-card__version {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.07);
}

.page-products .download-card__preview {
  position: relative;
  margin: 0 -24px 22px;
  overflow: hidden;
}

.page-products .download-card__preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-products .download-card:hover .download-card__preview img {
  transform: scale(1.02);
}

.page-products .download-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  background: rgba(10, 15, 13, 0.82);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-products .download-card__points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .download-card__points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(240, 239, 233, 0.8);
}

.page-products .download-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

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

.page-products .download-card__actions .btn {
  flex: 1 1 140px;
  justify-content: center;
}

.page-products .section--features {
  background: linear-gradient(115deg, rgba(109, 20, 35, 0.12) 0%, rgba(10, 15, 13, 0.05) 50%, rgba(45, 27, 78, 0.12) 100%);
}

.page-products .features-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-products .features-list {
  display: grid;
  gap: 14px;
}

.page-products .feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-left: 3px solid var(--gold);
  border-radius: 10px;
}

.page-products .feature-item__index {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  flex: 0 0 auto;
}

.page-products .feature-item__title {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--light);
}

.page-products .feature-item__body p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(240, 239, 233, 0.75);
  margin: 0;
}

.page-products .features-visual__frame {
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 10px;
  background: rgba(11, 61, 46, 0.25);
  transform: rotate(-1deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.page-products .features-visual__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-products .features-visual__caption {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(240, 239, 233, 0.55);
}

.page-products .features-visual__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
}

.page-products .section--requirements {
  background: linear-gradient(115deg, rgba(10, 15, 13, 0.1), rgba(11, 61, 46, 0.22));
}

.page-products .requirements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .requirement-card {
  padding: 28px;
  background: linear-gradient(145deg, rgba(11, 61, 46, 0.35), rgba(10, 15, 13, 0.55));
  border: 1px solid var(--border-light);
  border-radius: 14px;
}

.page-products .requirement-card__title {
  font-family: var(--font-headline);
  font-size: 20px;
  color: var(--gold);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-gold);
}

.page-products .requirement-list {
  margin: 0;
}

.page-products .requirement-list__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(240, 239, 233, 0.12);
}

.page-products .requirement-list__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .requirement-list__row dt {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--gold);
  flex: 0 0 auto;
}

.page-products .requirement-list__row dd {
  font-size: 14px;
  color: rgba(240, 239, 233, 0.78);
  margin: 0;
  text-align: right;
}

.page-products .section--changelog {
  background: linear-gradient(115deg, rgba(45, 27, 78, 0.14), rgba(10, 15, 13, 0.1));
}

.page-products .changelog-timeline {
  display: grid;
  gap: 20px;
  margin: 0;
}

.page-products .changelog-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
}

.page-products .changelog-item__version {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.page-products .changelog-item__title {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--light);
}

.page-products .changelog-item__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.page-products .changelog-item__list li {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(240, 239, 233, 0.78);
}

.page-products .changelog-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-gold);
  border-radius: 10px;
}

.page-products .changelog-footnote p {
  font-size: 14px;
  color: rgba(240, 239, 233, 0.7);
  margin: 0;
}

.page-products .section--help {
  background: linear-gradient(115deg, rgba(11, 61, 46, 0.22), rgba(10, 15, 13, 0.15));
}

.page-products .help-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .help-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  padding: 0;
  background: var(--glass);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}

.page-products .help-card__thumb {
  min-height: 160px;
  overflow: hidden;
}

.page-products .help-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-products .help-card__content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.page-products .help-card__content h3 {
  font-size: 19px;
  margin: 0;
  color: var(--light);
}

.page-products .help-card__content p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(240, 239, 233, 0.75);
  margin: 0;
}

.page-products .help-card__content .btn {
  margin-top: 8px;
}

.page-products .trust-strip {
  padding: 34px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(90deg, rgba(11, 61, 46, 0.32), rgba(45, 27, 78, 0.15), rgba(10, 15, 13, 0.2));
}

.page-products .trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.page-products .trust-strip__item {
  text-align: center;
}

.page-products .trust-strip__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.page-products .trust-strip__label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(240, 239, 233, 0.65);
}

@media (min-width: 768px) {
  .page-products .product-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 48px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .page-products .download-grid,
  .page-products .requirements-grid,
  .page-products .help-layout {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .help-layout {
    gap: 28px;
  }

  .page-products .changelog-item {
    grid-template-columns: 104px 1fr;
    gap: 20px;
  }

  .page-products .trust-strip__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 960px) {
  .page-products .section {
    padding: 88px 0;
  }

  .page-products .features-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: start;
  }

  .page-products .features-visual {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }
}
