.page-products {
  --products-progress-bg: linear-gradient(90deg, transparent, #C9A86A 15%, #E0C878 50%, #C9A86A 85%, transparent);
  --products-gold-glow: rgba(201, 168, 106, 0.14);
  --products-line-soft: rgba(185, 150, 74, 0.35);
  --products-surface-tint: rgba(18, 42, 74, 0.4);

  color: #F0EAD6;
  background: #0B1D3A;
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.page-products .section {
  padding-left: 0;
  padding-right: 0;
  padding-top: 64px;
  padding-bottom: 56px;
}

.page-products .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-products .products-progress {
  height: 2px;
  background: var(--products-progress-bg);
  border: 0;
  margin: 0;
}

.page-products .section-head {
  margin-bottom: 40px;
  max-width: 820px;
}

.page-products .section-head .section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #C9A86A;
  border-left: 1px solid #C9A86A;
  padding-left: 10px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.page-products .section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-left: 3px solid #C9A86A;
  padding-left: 16px;
  margin: 0;
  line-height: 1.35;
}

.page-products .section-desc {
  color: #A8B8C8;
  font-size: 15px;
  margin: 18px 0 0 19px;
  max-width: 640px;
}

.page-products .products-hero {
  padding-top: 36px;
  padding-bottom: 64px;
  position: relative;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(201, 168, 106, 0.08), transparent 60%),
    linear-gradient(180deg, #081426 0%, #0B1D3A 100%);
  border-bottom: 1px solid var(--products-line-soft);
}

.page-products .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 28px;
}

.page-products .hero-copy .section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #C9A86A;
  text-transform: uppercase;
  border: 1px solid var(--products-line-soft);
  padding: 5px 12px;
  margin-bottom: 18px;
  background: rgba(201, 168, 106, 0.06);
}

.page-products .hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.22;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  color: #F0EAD6;
  max-width: 760px;
}

.page-products .hero-lead {
  font-size: 16px;
  color: #A8B8C8;
  max-width: 620px;
  margin: 0 0 28px;
  line-height: 1.8;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-products .hero-aside {
  background: #122A4A;
  border: 1px solid var(--products-line-soft);
  padding: 20px 18px;
  position: relative;
}

.page-products .hero-aside::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #C9A86A;
}

.page-products .hero-aside-note {
  font-size: 13px;
  color: #A8B8C8;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--products-line-soft);
  line-height: 1.6;
}

.page-products .data-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-products .data-cell {
  padding: 6px 2px;
}

.page-products .cell-index {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #A8B8C8;
  margin-bottom: 6px;
}

.page-products .cell-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: #E0C878;
  line-height: 1.1;
}

.page-products .products-compare {
  padding-top: 64px;
  padding-bottom: 56px;
}

.page-products .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .compare-table th,
.page-products .compare-table td {
  padding: 16px 18px;
  text-align: left;
  border: 1px solid var(--products-line-soft);
}

.page-products .compare-table thead th {
  background: #081426;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #E0C878;
}

.page-products .compare-table thead th:last-child {
  background: rgba(201, 168, 106, 0.2);
}

.page-products .compare-table tbody th {
  font-weight: 600;
  color: #F0EAD6;
  background: var(--products-surface-tint);
  white-space: nowrap;
}

.page-products .compare-table tbody td {
  color: #A8B8C8;
  background: rgba(18, 42, 74, 0.2);
}

.page-products .compare-table tbody td:last-child {
  background: var(--products-gold-glow);
  color: #F0EAD6;
  font-weight: 600;
}

.page-products .editorial-note {
  margin-top: 28px;
  border-left: 1px solid #C9A86A;
  padding-left: 16px;
}

.page-products .compare-figure {
  margin: 0;
}

.page-products .compare-img {
  width: 100%;
  display: block;
  border: 1px solid var(--products-line-soft);
}

.page-products .compare-figure figcaption {
  font-size: 12px;
  color: #A8B8C8;
  margin-top: 8px;
  letter-spacing: 0.06em;
}

.page-products .note-text {
  font-size: 13px;
  color: #A8B8C8;
  margin-top: 16px;
  line-height: 1.7;
}

.page-products .products-pricing {
  padding-top: 64px;
  padding-bottom: 56px;
  background: #081426;
  border-top: 1px solid var(--products-line-soft);
  border-bottom: 1px solid var(--products-line-soft);
}

.page-products .pricing-switch {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.page-products .version-radio,
.page-products .billing-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-products .version-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.page-products .version-toggle {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid #B8964A;
  color: #A8B8C8;
  font-size: 14px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.page-products .version-toggle:hover {
  border-color: #C9A86A;
  color: #E0C878;
}

.page-products .version-radio:focus-visible ~ .version-tabs label[for="ver-standard"],
.page-products .version-radio:focus-visible ~ .version-tabs label[for="ver-upgraded"] {
  outline: 2px solid #E0C878;
  outline-offset: 2px;
}

.page-products #ver-standard:checked ~ .version-tabs label[for="ver-standard"],
.page-products #ver-upgraded:checked ~ .version-tabs label[for="ver-upgraded"] {
  background: #C9A86A;
  border-color: #C9A86A;
  color: #0B1D3A;
  font-weight: 700;
}

.page-products .standard-pricing {
  display: none;
}

.page-products #ver-standard:checked ~ .standard-pricing {
  display: block;
  animation: products-fade-in 0.3s ease both;
}

.page-products #ver-standard:checked ~ .upgraded-pricing {
  display: none;
}

.page-products .upgraded-pricing {
  display: block;
}

.page-products #ver-upgraded:checked ~ .upgraded-pricing {
  display: block;
  animation: products-fade-in 0.3s ease both;
}

.page-products .standard-card {
  max-width: 420px;
  background: #122A4A;
  border: 1px solid #B8964A;
  padding: 32px 30px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-products .standard-card .artifact-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #C9A86A;
  border: 1px solid #C9A86A;
  padding: 3px 10px;
  margin-bottom: 18px;
}

.page-products .standard-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 0 0 14px;
}

.page-products .standard-price-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: #E0C878;
  margin: 0 0 10px;
}

.page-products .standard-desc {
  font-size: 14px;
  color: #A8B8C8;
  margin: 0;
  line-height: 1.8;
}

.page-products .billing-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.page-products .billing-toggle {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid #B8964A;
  background: transparent;
  color: #A8B8C8;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.22s ease;
}

.page-products .billing-toggle:hover {
  border-color: #C9A86A;
  color: #E0C878;
}

.page-products .billing-radio:focus-visible ~ .billing-tabs label[for="bill-month"],
.page-products .billing-radio:focus-visible ~ .billing-tabs label[for="bill-quarter"],
.page-products .billing-radio:focus-visible ~ .billing-tabs label[for="bill-year"] {
  outline: 2px solid #E0C878;
  outline-offset: 2px;
}

.page-products #bill-month:checked ~ .billing-tabs label[for="bill-month"],
.page-products #bill-quarter:checked ~ .billing-tabs label[for="bill-quarter"],
.page-products #bill-year:checked ~ .billing-tabs label[for="bill-year"] {
  background: #E0C878;
  border-color: #E0C878;
  color: #0B1D3A;
  font-weight: 700;
}

.page-products .billing-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .price-panel {
  display: none;
}

.page-products #bill-month:checked ~ .billing-panels .panel-month,
.page-products #bill-quarter:checked ~ .billing-panels .panel-quarter,
.page-products #bill-year:checked ~ .billing-panels .panel-year {
  display: block;
  animation: products-fade-in 0.28s ease both;
}

.page-products .price-card {
  position: relative;
  background: #122A4A;
  border: 1px solid #B8964A;
  padding: 30px 28px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-products .price-card .meta-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #A8B8C8;
  border-bottom: 1px solid #C9A86A;
  padding-bottom: 4px;
  margin-bottom: 18px;
}

.page-products .price-value {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 700;
  color: #E0C878;
  margin: 0;
  line-height: 1.1;
}

.page-products .price-unit {
  font-size: 14px;
  color: #A8B8C8;
  margin: 6px 0 0;
  letter-spacing: 0.1em;
}

.page-products .price-desc {
  font-size: 14px;
  color: #A8B8C8;
  margin: 18px 0 0;
  line-height: 1.7;
}

.page-products .billing-note {
  font-size: 13px;
  color: #A8B8C8;
  margin-top: 24px;
  padding-left: 14px;
  border-left: 2px solid #C9A86A;
  line-height: 1.7;
}

.page-products .pricing-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
  align-items: center;
}

.page-products .flow-image {
  width: 100%;
  display: block;
  border: 1px solid var(--products-line-soft);
}

.page-products .flow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-products .flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #F0EAD6;
  border-left: 1px solid #C9A86A;
  padding: 8px 0 8px 18px;
}

.page-products .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #B8964A;
  border-radius: 50%;
  color: #C9A86A;
  font-family: var(--font-serif);
  font-size: 15px;
  flex-shrink: 0;
}

.page-products .products-download {
  padding-top: 64px;
  padding-bottom: 56px;
}

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

.page-products .download-visual {
  position: relative;
}

.page-products .download-image {
  width: 100%;
  display: block;
  border: 1px solid var(--products-line-soft);
}

.page-products .download-steps h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 0 0 18px;
  border-left: 3px solid #C9A86A;
  padding-left: 14px;
}

.page-products .steps-list {
  margin: 0 0 22px;
  padding-left: 20px;
}

.page-products .steps-list li {
  font-size: 15px;
  color: #A8B8C8;
  line-height: 1.8;
  margin-bottom: 8px;
}

.page-products .steps-list li::marker {
  color: #C9A86A;
}

.page-products .system-req {
  margin-bottom: 24px;
  border: 1px solid var(--products-line-soft);
  background: var(--products-surface-tint);
}

.page-products .system-req summary {
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  color: #E0C878;
  letter-spacing: 0.06em;
  list-style: none;
  position: relative;
}

.page-products .system-req summary::-webkit-details-marker {
  display: none;
}

.page-products .system-req summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  font-size: 18px;
  color: #C9A86A;
  transition: transform 0.2s;
}

.page-products .system-req[open] summary::after {
  transform: rotate(45deg);
}

.page-products .system-req p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14px;
  color: #A8B8C8;
  line-height: 1.7;
}

.page-products .download-btn {
  margin-right: 10px;
  margin-bottom: 10px;
}

.page-products .compat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.page-products .compat-visual,
.page-products .compat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #122A4A;
  border: 1px solid var(--products-line-soft);
  padding: 18px 20px;
  min-height: 96px;
}

.page-products .compat-visual {
  align-items: center;
  gap: 10px;
  text-align: center;
}

.page-products .compat-icon {
  width: 48px;
  height: auto;
  border-radius: 50%;
  border: 1px solid #B8964A;
  flex-shrink: 0;
}

.page-products .compat-name {
  font-size: 14px;
  color: #F0EAD6;
  font-weight: 600;
}

.page-products .compat-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #A8B8C8;
  margin-bottom: 4px;
}

.page-products .compat-value {
  display: block;
  font-size: 15px;
  color: #E0C878;
  font-weight: 600;
  line-height: 1.5;
}

.page-products .products-support {
  padding-top: 64px;
  padding-bottom: 72px;
  background: #081426;
  border-top: 1px solid var(--products-line-soft);
}

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

.page-products .support-image {
  order: 2;
}

.page-products .support-image img {
  width: 100%;
  display: block;
  border: 1px solid var(--products-line-soft);
}

.page-products .support-channels {
  order: 1;
}

.page-products .support-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.page-products .stat-item {
  background: #122A4A;
  border: 1px solid var(--products-line-soft);
  padding: 18px 14px;
  text-align: center;
}

.page-products .stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #E0C878;
  line-height: 1.2;
}

.page-products .stat-label {
  display: block;
  font-size: 12px;
  color: #A8B8C8;
  margin-top: 6px;
  letter-spacing: 0.08em;
}

.page-products .support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.page-products .support-contact {
  font-size: 14px;
  color: #A8B8C8;
  border-left: 2px solid #C9A86A;
  padding-left: 14px;
  margin: 0;
  line-height: 1.8;
}

@keyframes products-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .page-products .hero-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 44px;
    align-items: end;
    padding-top: 40px;
  }

  .page-products .data-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-products .editorial-note {
    margin-top: 0;
  }

  .page-products .billing-panels {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-products .pricing-flow {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
  }

  .page-products .download-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 44px;
    align-items: center;
  }

  .page-products .compat-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .page-products .support-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 44px;
    align-items: center;
  }

  .page-products .support-image {
    order: 1;
  }

  .page-products .support-channels {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .page-products .products-hero {
    padding: 48px 0 72px;
  }

  .page-products .hero-lead {
    font-size: 17px;
  }

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