.page-products {
  --products-line: rgba(0, 180, 216, 0.3);
  position: relative;
  overflow-x: hidden;
}

.page-products img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.page-products .breadcrumb {
  padding-top: 20px;
  padding-bottom: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.page-products .breadcrumb a {
  color: var(--color-ice);
  text-decoration-color: transparent;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.page-products .breadcrumb a:hover {
  color: var(--color-cyan);
  text-decoration-color: currentColor;
}

.page-products .section-head {
  margin-bottom: 8px;
}

.page-products .section-title {
  margin-top: 4px;
}

.page-products__hero {
  position: relative;
  padding-top: 8px;
  padding-bottom: 56px;
  overflow: hidden;
}

.page-products__hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -120px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.22), rgba(255, 107, 53, 0.08) 70%, transparent);
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
  transform: rotate(-8deg);
  border-radius: var(--radius-lg);
}

.page-products__hero .hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.page-products__hero .hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 180, 216, 0.18);
}

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

.page-products__hero .hero__decoration {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  background: var(--color-orange);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
  opacity: 0.12;
}

.page-products__section-alt {
  position: relative;
  border-top: 1px solid rgba(224, 230, 237, 0.05);
  border-bottom: 1px solid rgba(224, 230, 237, 0.05);
}

.page-products__section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 58, 92, 0.35), transparent 14%, transparent 86%, rgba(27, 58, 92, 0.35));
  pointer-events: none;
}

.page-products__section-alt > .container {
  position: relative;
  z-index: 1;
}

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

.page-products .step-list__item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.page-products .step-list__index {
  font-family: var(--font-mono);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: rgba(10, 24, 48, 0.6);
}

.page-products .step-list__title {
  margin: 2px 0 6px;
  color: var(--color-white);
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-products .step-list__text p {
  margin: 0;
  color: var(--color-ice);
  line-height: 1.65;
}

.page-products__service-tree .step-list__item::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: -8px;
  border-left: 1px dashed var(--products-line);
}

.page-products__service-tree .step-list__item:last-child::after {
  display: none;
}

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

.page-products__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 28px;
}

.page-products__split-side img {
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 180, 216, 0.18);
}

.page-products__subhead {
  margin: 0 0 16px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.page-products__split-side .page-products__subhead {
  margin-top: 20px;
}

.page-products__tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.page-products__note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 2px solid var(--color-cyan);
  background: rgba(0, 180, 216, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-ice);
  line-height: 1.7;
}

.page-products__database-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
}

.page-products__database-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-products .stat {
  background: linear-gradient(160deg, rgba(27, 58, 92, 0.55), rgba(10, 24, 48, 0.85));
  border: 1px solid rgba(224, 230, 237, 0.08);
  border-radius: var(--radius);
  padding: 16px;
}

.page-products .card,
.page-products .card--flat,
.page-products .card--accent-top {
  background: linear-gradient(160deg, rgba(27, 58, 92, 0.6), rgba(10, 24, 48, 0.9));
  border: 1px solid rgba(224, 230, 237, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.page-products__card-flagship {
  border-color: rgba(255, 107, 53, 0.35) !important;
}

.page-products__card-title {
  margin: 8px 0 8px;
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.page-products__card-desc {
  min-height: 3.2em;
  color: var(--color-ice);
  line-height: 1.6;
  margin-bottom: 8px;
}

.page-products__perk-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products__perk-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-ice);
  line-height: 1.55;
}

.page-products__perk-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: var(--color-cyan);
  transform: rotate(45deg);
  border-radius: 2px;
}

.page-products__membership-media {
  margin-top: 24px;
  text-align: center;
}

.page-products__membership-media img {
  display: inline-block;
  width: 100%;
  max-width: 600px;
  height: auto;
}

.page-products__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products__table-wrap .data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin-top: 28px;
  font-family: var(--font-body);
}

.page-products .data-table th,
.page-products .data-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(224, 230, 237, 0.1);
  color: var(--color-ice);
  line-height: 1.55;
}

.page-products .data-table th {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--color-amber);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  background: rgba(0, 180, 216, 0.07);
}

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

.page-products__version-figure {
  margin-top: 24px;
}

.page-products__version-figure img {
  width: 100%;
  height: auto;
}

.page-products .accordion {
  margin-top: 24px;
  border-top: 1px solid rgba(224, 230, 237, 0.08);
}

.page-products .accordion__item {
  border-bottom: 1px solid rgba(224, 230, 237, 0.08);
}

.page-products__accordion-title {
  margin: 0;
}

.page-products .accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  background: none;
  border: 0;
  color: var(--color-white);
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.page-products .accordion__panel {
  display: block;
  padding: 0 4px 18px;
}

.page-products .accordion__panel-inner {
  color: var(--color-ice);
  line-height: 1.7;
}

.page-products .accordion__panel-inner a {
  color: var(--color-cyan);
  text-decoration-color: rgba(0, 180, 216, 0.4);
}

.page-products .accordion__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}

.page-products .accordion__icon::before,
.page-products .accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--color-orange);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

.page-products .accordion__icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.page-products .accordion__icon::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

.page-products .accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: scaleY(0);
}

.page-products__nav-card {
  display: block;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-products__nav-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 180, 216, 0.5);
}

.page-products__nav-title {
  margin: 8px 0 6px;
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
}

.page-products__nav-desc {
  margin: 0;
  color: var(--color-ice);
  line-height: 1.6;
}

.page-products__trust {
  margin-top: 36px;
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid rgba(224, 230, 237, 0.08);
  color: var(--color-ice);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .page-products__hero .hero__inner {
    flex-direction: row;
    align-items: center;
  }

  .page-products__hero .hero__content {
    flex: 0 1 56%;
  }

  .page-products__hero .hero__visual {
    flex: 0 1 44%;
  }

  .page-products__split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .page-products__database-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

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

@media (min-width: 1024px) {
  .page-products__hero {
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .page-products__split {
    gap: 48px;
  }

  .page-products__database-grid {
    gap: 48px;
  }
}
