.page-products {
  --pp-bg: #0B091A;
  --pp-panel: #1C1630;
  --pp-primary: #7D3C98;
  --pp-primary-light: #9B59B6;
  --pp-gold: #D4AC0D;
  --pp-gold-light: #F5C842;
  --pp-text: #CFC9DE;
  --pp-bright: #F4F1F7;
  --pp-muted: #9B8FB3;
  --pp-border: rgba(212,172,13,0.45);
  --pp-border-soft: rgba(212,172,13,0.18);
  --pp-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

.page-products .products-hero {
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--pp-border-soft);
  margin-bottom: 2.2rem;
}

.page-products .products-hero__lead {
  max-width: 34em;
  margin-top: 1rem;
  color: var(--pp-text);
  line-height: 1.85;
}

.page-products .products-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  line-height: 1.15;
  color: var(--pp-bright);
  margin: 0.6rem 0 0.4rem;
}

.page-products .service-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.page-products .service-list__intro {
  max-width: 36em;
}

.page-products .service-list__intro p {
  margin-top: 0.6rem;
  line-height: 1.8;
}

.page-products .service-list__seal {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--pp-gold);
  box-shadow: 0 0 24px rgba(212,172,13,0.28);
}

.page-products .service-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid var(--pp-border-soft);
  background: rgba(28,22,48,0.5);
}

.page-products .service-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-family: var(--pp-mono);
}

.page-products .service-table caption {
  text-align: left;
  padding: 0.9rem 1.1rem;
  color: var(--pp-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  caption-side: top;
}

.page-products .service-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pp-muted);
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--pp-border);
}

.page-products .service-table td {
  padding: 0.85rem 1.1rem;
  color: var(--pp-text);
  border-bottom: 1px solid var(--pp-border-soft);
  font-size: 0.88rem;
}

.page-products .service-table tr:last-child td {
  border-bottom: 0;
}

.page-products .service-table tbody tr {
  transition: background 0.25s ease;
}

.page-products .service-table tbody tr:hover,
.page-products .service-table tbody tr:focus-within {
  background: rgba(125,60,152,0.16);
}

.page-products .service-list__note {
  margin-top: 1.2rem;
}

.page-products .status-badge--updated {
  border-color: rgba(245,200,66,0.7);
}

.page-products .status-badge--new {
  background: rgba(125,60,152,0.2);
  border-color: rgba(245,200,66,0.9);
}

.page-products .status-badge--optimized {
  border-color: rgba(155,89,182,0.7);
}

.page-products .status-badge--running {
  border-color: rgba(212,172,13,0.6);
}

.page-products .status-badge--monthly {
  background: linear-gradient(120deg, rgba(125,60,152,0.25), rgba(212,172,13,0.15));
  border-color: var(--pp-gold);
  color: var(--pp-bright);
}

.page-products .channels-section {
  margin-top: 4rem;
}

.page-products .channels-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  border-radius: 22px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
  border: 1px solid var(--pp-border-soft);
  box-shadow: var(--shadow-card);
}

.page-products .channels-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.page-products .channels-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,9,26,0.88), rgba(11,9,26,0.35));
}

.page-products .channels-visual__content {
  position: relative;
  z-index: 2;
  padding: 2.4rem 1.4rem;
  max-width: 680px;
}

.page-products .channels-visual__content h2 {
  margin: 0.5rem 0 0.7rem;
  color: var(--pp-bright);
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: 1.2;
}

.page-products .channels-visual__content p {
  color: var(--pp-text);
  line-height: 1.8;
}

.page-products .channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2.4rem;
  perspective: 1200px;
}

.page-products .channel-card {
  --tilt: 0deg;
  background: linear-gradient(145deg, rgba(28,22,48,0.95), rgba(18,14,36,0.95));
  border: 1px solid var(--pp-border-soft);
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  transform: rotate(var(--tilt)) translateY(0);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 24px rgba(2,0,10,0.25);
}

.page-products .channel-card:hover,
.page-products .channel-card:focus-within {
  transform: rotate(0deg) translateY(-8px);
  border-color: var(--pp-gold);
  box-shadow: 0 18px 36px rgba(2,0,10,0.45), 0 0 0 1px rgba(212,172,13,0.12);
}

.page-products .channel-card__index {
  display: inline-block;
  font-family: var(--pp-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--pp-gold-light);
  border: 1px solid rgba(212,172,13,0.4);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.7rem;
}

.page-products .channel-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--pp-bright);
  margin: 0 0 0.3rem;
}

.page-products .channel-card__intro {
  color: var(--pp-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin: 0;
}

.page-products .channel-card__detail {
  margin-top: 1.1rem;
  opacity: 1;
  max-height: none;
}

.page-products .channel-card__detail p {
  color: var(--pp-text);
  line-height: 1.75;
  font-size: 0.92rem;
}

.page-products .channel-card__pic {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--pp-border-soft);
  object-fit: cover;
  margin-bottom: 0.9rem;
}

.page-products .download-section {
  margin-top: 4.5rem;
}

.page-products .download-section__head {
  max-width: 42em;
}

.page-products .download-section__head h2 {
  margin: 0.5rem 0 0.7rem;
  color: var(--pp-bright);
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: 1.2;
}

.page-products .download-section__head p {
  color: var(--pp-text);
  line-height: 1.8;
}

.page-products .download-console-wrap {
  max-width: 560px;
  margin: 2.4rem auto 0;
}

.page-products .retro-console {
  position: relative;
  background: linear-gradient(135deg, #1a1224, #231a38);
  border: 2px solid var(--pp-gold);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

.page-products .retro-console::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 34px;
  background: linear-gradient(120deg, transparent 20%, rgba(212,172,13,0.22) 50%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

.page-products .retro-console__screen {
  position: relative;
  background: #0b091a;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid rgba(212,172,13,0.4);
  overflow: hidden;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-products .retro-console__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.page-products .retro-console__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,9,26,0.4), rgba(11,9,26,0.85));
}

.page-products .retro-console__info {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.page-products .retro-console__kicker {
  font-family: var(--pp-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--pp-gold-light);
}

.page-products .retro-console__count {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  color: var(--pp-bright);
  line-height: 1;
  text-shadow: 0 0 28px rgba(212,172,13,0.4);
}

.page-products .retro-console__label {
  font-family: var(--pp-mono);
  font-size: 0.8rem;
  color: var(--pp-text);
}

.page-products .retro-console__cta {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--pp-gold);
  background: linear-gradient(120deg, rgba(212,172,13,0.18), rgba(212,172,13,0.04));
  color: var(--pp-bright);
  font-family: var(--pp-mono);
  font-size: 0.85rem;
  border-radius: 30px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-products .retro-console__cta:hover,
.page-products .retro-console__cta:focus-visible {
  background: rgba(212,172,13,0.3);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(212,172,13,0.24);
}

.page-products .retro-console__cta::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245,200,66,0.85);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
}

.page-products .retro-console__cta:active::after {
  animation: pp-ripple 0.5s ease-out;
}

@keyframes pp-ripple {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(22);
  }
}

.page-products .retro-console__sub {
  color: var(--pp-muted);
  font-size: 0.78rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(212,172,13,0.3);
  padding-bottom: 0.1rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.page-products .retro-console__sub:hover,
.page-products .retro-console__sub:focus-visible {
  color: var(--pp-gold-light);
  border-color: var(--pp-gold-light);
}

.page-products .retro-console__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  gap: 1rem;
}

.page-products .retro-console__dpad {
  position: relative;
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
}

.page-products .retro-console__dpad::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 100px;
  background: linear-gradient(180deg, #2d2240, #150e26);
  border: 1px solid rgba(212,172,13,0.3);
  border-radius: 8px;
}

.page-products .retro-console__dpad::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 36px;
  background: linear-gradient(90deg, #2d2240, #150e26);
  border: 1px solid rgba(212,172,13,0.3);
  border-radius: 8px;
}

.page-products .console-actions {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.page-products .console-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pp-mono);
  font-size: 0.8rem;
  color: var(--pp-bright);
  background: radial-gradient(circle at 32% 28%, #9B59B6 0%, #3b1c4f 70%);
  border: 1px solid rgba(212,172,13,0.45);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.page-products .console-btn--b {
  background: radial-gradient(circle at 32% 28%, #D4AC0D 0%, #5c4100 70%);
}

.page-products .download-console-wrap__caption {
  margin-top: 1.2rem;
  text-align: center;
}

.page-products .tree-section {
  margin-top: 4.5rem;
}

.page-products .tree-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.page-products .tree-layout__main h2 {
  margin: 0.5rem 0 0.7rem;
  color: var(--pp-bright);
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: 1.2;
}

.page-products .tree-layout__main > p {
  color: var(--pp-text);
  line-height: 1.8;
  max-width: 44em;
}

.page-products .tree-diagram {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 2rem auto 0;
  display: block;
}

.page-products .tree-diagram .tree-node rect {
  fill: rgba(28,22,48,0.92);
  stroke: var(--pp-border-soft);
  stroke-width: 1;
  transition: filter 0.3s ease, stroke 0.3s ease, fill 0.3s ease;
}

.page-products .tree-diagram .tree-node text {
  fill: var(--pp-text);
  font-size: 14px;
  font-family: var(--pp-mono);
}

.page-products .tree-diagram .tree-node a,
.page-products .tree-diagram .tree-node:hover rect,
.page-products .tree-diagram .tree-node:focus rect {
  outline: none;
}

.page-products .tree-diagram a:hover rect,
.page-products .tree-diagram a:focus rect,
.page-products .tree-diagram a:active rect {
  stroke: var(--pp-gold);
  fill: rgba(28,22,48,1);
  filter: drop-shadow(0 0 12px rgba(212,172,13,0.4));
}

.page-products .tree-diagram .tree-node--root rect {
  fill: rgba(125,60,152,0.5);
  stroke: var(--pp-gold);
}

.page-products .tree-diagram .tree-node--root text {
  fill: var(--pp-bright);
  font-weight: 600;
}

.page-products .tree-diagram .tree-node--active rect {
  stroke: rgba(245,200,66,0.7);
}

.page-products .tree-diagram .tree-node--active text {
  fill: var(--pp-bright);
}

.page-products .tree-diagram .tree-node--leaf rect {
  fill: rgba(18,14,36,0.92);
}

.page-products .tree-layout__side-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--pp-border-soft);
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.page-products .tree-note {
  border-radius: 18px;
}

.page-products .tree-note h3 {
  font-family: var(--font-heading);
  color: var(--pp-bright);
  margin: 0 0 0.8rem;
}

.page-products .tree-note__list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.page-products .tree-note__list li {
  color: var(--pp-text);
  line-height: 1.7;
  font-size: 0.92rem;
}

@media (min-width: 600px) {
  .page-products .service-list__seal {
    width: 100px;
    height: 100px;
  }

  .page-products .channels-visual {
    min-height: 380px;
  }

  .page-products .channels-visual__content {
    padding: 3rem 2.4rem;
  }
}

@media (min-width: 700px) {
  .page-products .channels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 960px) {
  .page-products .products-hero {
    padding: clamp(2.6rem, 6vw, 5rem) 0;
  }
}

@media (hover: hover) and (min-width: 960px) {
  .page-products .channel-card__detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.5s ease, opacity 0.35s ease, margin-top 0.35s ease;
  }

  .page-products .channel-card:hover .channel-card__detail,
  .page-products .channel-card:focus-within .channel-card__detail {
    max-height: 480px;
    opacity: 1;
    margin-top: 1.1rem;
  }
}

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

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