.page-products {
  position: relative;
  padding-bottom: 48px;
}

.page-products .pg-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-products .pg-bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.page-products .pg-bg-layer::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 1.5px;
  bottom: 18%;
  right: -2%;
  transform: rotate(8deg);
  background: linear-gradient(90deg, transparent, var(--color-accent-2), transparent);
  filter: blur(1px);
  opacity: 0.3;
}

.page-products .pg-bg-layer::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 3px;
  top: 24%;
  left: -5%;
  transform: rotate(-12deg);
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-accent-2), transparent);
  filter: blur(2px);
  opacity: 0.35;
}

.page-products .pg-top,
.page-products .pg-title-band,
.page-products .pg-split {
  position: relative;
  z-index: 1;
}

.page-products .pg-top {
  padding-top: 20px;
  padding-bottom: 0;
}

.page-products .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

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

.page-products .breadcrumb a:hover {
  color: var(--color-accent);
}

.page-products .pg-title-band {
  display: grid;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 28px;
}

.page-products .pg-title-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-accent-2), transparent);
}

.page-products .pg-kicker {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  transform: skew(-6deg);
}

.page-products .pg-title-band h1 {
  margin: 0 0 10px;
}

.page-products .pg-lead {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.75;
  margin: 0;
}

.page-products .pg-title-band__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--color-surface);
  border: var(--hairline);
  align-self: start;
}

.page-products .pg-title-band__meta p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.page-products .pg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.page-products .pg-dot--cyan {
  background: var(--color-accent-2);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.page-products .pg-dot--accent {
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.6);
}

.page-products .pg-dot--green {
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.page-products .pg-split {
  display: block;
  padding-bottom: 48px;
}

.page-products .pg-split-main {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.page-products .pg-split-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-products .pg-panel {
  background: var(--color-surface);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.page-products .pg-console__head {
  border-left: 3px solid var(--color-accent-2);
  padding-left: 14px;
  margin-bottom: 18px;
}

.page-products .pg-console__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent-2);
  background: rgba(0, 229, 255, 0.08);
  border-radius: 999px;
  padding: 3px 10px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  margin-bottom: 8px;
}

.page-products .pg-console__head h2,
.page-products .pg-console__head p {
  margin: 0;
}

.page-products .pg-console__head h2 {
  font-size: 20px;
  margin-bottom: 2px;
}

.page-products .pg-console__head p {
  font-size: 13px;
  color: var(--color-text-muted);
}

.page-products .pg-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-products .pg-feature-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-products .pg-feature-list__icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
  background: var(--color-accent-2);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12);
}

.page-products .pg-feature-list__item h3 {
  font-size: 16px;
  margin: 0 0 4px;
}

.page-products .pg-feature-list__item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.page-products .pg-feature-list__item details {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.page-products .pg-feature-list__item summary {
  cursor: pointer;
  color: var(--color-accent-2);
  display: inline-block;
}

.page-products .pg-feature-list__item details p {
  margin-top: 6px;
  padding: 8px 10px;
  background: var(--color-surface-raised);
  border-radius: 8px;
  color: var(--color-text-muted);
}

.page-products .pg-figure {
  margin: 20px 0 0;
}

.page-products .pg-figure img,
.page-products .pg-compat__figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
  height: auto;
}

.page-products .pg-figure figcaption {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.page-products .pg-version-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-products .pg-version-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-products .pg-version-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-products .pg-version-list__tag {
  flex-shrink: 0;
  min-width: 54px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--color-surface-raised);
  color: var(--color-accent-2);
  border: 1px solid rgba(0, 229, 255, 0.25);
  height: fit-content;
}

.page-products .pg-version-list h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.page-products .pg-version-list p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.page-products .pg-more-link {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.page-products .pg-more-link a,
.page-products .pg-install-help a,
.page-products .pg-compat a {
  color: var(--color-accent);
  text-decoration: none;
}

.page-products .pg-compat-list {
  margin: 0 0 14px;
  padding: 0;
}

.page-products .pg-compat-list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-products .pg-compat-list dt {
  font-weight: 600;
  color: var(--color-text);
  font-size: 14px;
  min-width: 70px;
}

.page-products .pg-compat-list dd {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  text-align: right;
}

.page-products .pg-compat__figure {
  margin: 14px 0 0;
}

.page-products .pg-download-card {
  position: relative;
  background: linear-gradient(180deg, var(--color-surface-raised) 0%, var(--color-surface) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.page-products .pg-download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.page-products .pg-download-card h2 {
  font-size: 20px;
  margin: 4px 0 16px;
}

.page-products .pg-device {
  width: 260px;
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 10px;
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.page-products .pg-device__screen {
  position: relative;
  height: 0;
  padding-bottom: 75%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-bg);
}

.page-products .pg-device__screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 3;
}

.page-products .pg-device__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pg-device__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(10, 14, 23, 0.55);
  z-index: 1;
}

.page-products .pg-device__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.page-products .pg-qr {
  position: relative;
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  transition: background var(--transition-fast);
  cursor: pointer;
}

.page-products .pg-qr:hover {
  background: #060a12;
}

.page-products .pg-qr svg {
  display: block;
  width: 88px;
  height: 88px;
}

.page-products .pg-qr span {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1;
}

.page-products .pg-qr__hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 23, 0.78);
  color: var(--color-text);
  font-size: 13px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.page-products .pg-qr:hover .pg-qr__hint {
  opacity: 1;
}

.page-products .pg-download-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.page-products .pg-download-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.page-products .pg-download-actions .btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8e3d 100%);
  color: #0a0e17;
  border: none;
  box-shadow: 0 8px 22px rgba(255, 107, 26, 0.25);
}

.page-products .pg-download-actions .btn--ghost {
  background: transparent;
  color: var(--color-accent-2);
  border: 1px solid rgba(0, 229, 255, 0.5);
}

.page-products .pg-download-actions .btn:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.page-products .pg-download-actions .btn--ghost:hover {
  background: rgba(0, 229, 255, 0.1);
}

.page-products .pg-download-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

.page-products .pg-install h2 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 12px;
}

.page-products .pg-install-list {
  list-style: none;
  counter-reset: pg-step;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-products .pg-install-list li {
  counter-increment: pg-step;
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  color: var(--color-text-muted);
}

.page-products .pg-install-list li::before {
  content: counter(pg-step, decimal-leading-zero);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-accent-2);
  margin-right: 2px;
}

.page-products .pg-install-help {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

@media (min-width: 768px) {
  .page-products .pg-title-band {
    grid-template-columns: 1fr auto;
  }

  .page-products .pg-title-band__meta {
    align-self: end;
  }
}

@media (min-width: 1024px) {
  .page-products .pg-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
  }

  .page-products .pg-split-main {
    display: grid;
    gap: 20px;
    margin-bottom: 0;
  }

  .page-products .pg-split-side {
    display: grid;
    gap: 20px;
    align-content: start;
  }
}
