.page-products {
  --ps-gap: 24px;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.7;
}

.page-products .ps-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 48px;
  background: var(--color-blue-dark);
  color: var(--color-white);
}

.page-products .ps-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -18%;
  width: 48%;
  height: 100%;
  background: linear-gradient(155deg, rgba(255,107,0,0.4), rgba(57,255,20,0.12));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-products .ps-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-lime) 55%, transparent 55%);
}

.page-products .ps-hero .breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
}

.page-products .ps-hero .breadcrumb a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.page-products .ps-hero .breadcrumb a:hover {
  color: var(--color-orange);
}

.page-products .ps-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin: 14px 0 18px;
  letter-spacing: 0.01em;
}

.page-products .ps-hero-lead {
  max-width: 640px;
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 0;
}

.page-products .ps-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.page-products .ps-hero-meta {
  display: grid;
  gap: 14px;
}

.page-products .ps-hero-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.page-products .ps-hero-stat .text-muted {
  color: rgba(255,255,255,0.68);
}

.page-products .ps-hero-stat strong {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-lime);
  white-space: nowrap;
}

.page-products .ps-index-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.page-products .ps-index-links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-products .ps-index-links a:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
}

.page-products .ps-section-lead {
  margin: 16px 0 36px;
  max-width: 820px;
  color: var(--color-muted);
}

.page-products .ps-matrix-grid {
  display: grid;
  gap: var(--ps-gap);
  align-items: start;
}

.page-products .ps-matrix-cards {
  display: grid;
  gap: 16px;
}

.page-products .ps-matrix-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-products .ps-matrix-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background: var(--color-orange);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.15;
}

.page-products .ps-matrix-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.page-products .ps-matrix-card h3 {
  font-family: var(--font-sub);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 10px 0 8px;
}

.page-products .ps-matrix-card p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.7;
}

.page-products .ps-feature-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.page-products .ps-feature-list li {
  position: relative;
  padding: 5px 0 5px 20px;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.page-products .ps-feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--color-lime);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-products .ps-matrix-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.page-products .ps-award-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 28px;
  background: var(--color-white);
  border: 1px dashed var(--color-orange);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--color-muted);
}

.page-products .ps-price-layout {
  display: grid;
  gap: var(--ps-gap);
  align-items: start;
}

.page-products .ps-price-table-wrap {
  overflow-x: auto;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.page-products .ps-price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.page-products .ps-price-table th,
.page-products .ps-price-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  vertical-align: middle;
}

.page-products .ps-price-table thead th {
  background: var(--color-blue-dark);
  color: var(--color-white);
  font-family: var(--font-sub);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
}

.page-products .ps-price-table tbody tr:last-child td {
  border-bottom: none;
}

.page-products .ps-price-table tbody tr.is-current td {
  background: rgba(255,107,0,0.08);
}

.page-products .ps-price-table tbody tr.is-current td:first-child {
  box-shadow: inset 4px 0 0 var(--color-orange);
}

.page-products .ps-price-table tbody tr:hover td {
  background: rgba(255,107,0,0.04);
}

.page-products .ps-price-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--color-orange);
  white-space: nowrap;
}

.page-products .ps-price-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.24);
  border-radius: var(--radius-md);
}

.page-products .ps-price-aside {
  display: grid;
  gap: 20px;
}

.page-products .ps-price-aside img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.page-products .ps-price-schedule {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.page-products .ps-price-schedule h3 {
  font-family: var(--font-sub);
  font-size: 1.125rem;
  margin: 0 0 12px;
}

.page-products .ps-schedule-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.page-products .ps-schedule-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-line);
}

.page-products .ps-schedule-list li:last-child {
  border-bottom: none;
}

.page-products .ps-schedule-list .text-mono {
  color: var(--color-orange);
  font-weight: 600;
}

.page-products .ps-updates .section-title,
.page-products .ps-updates .section-index {
  color: var(--color-white);
}

.page-products .ps-update-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-products .ps-update-timeline {
  display: grid;
}

.page-products .ps-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.page-products .ps-timeline-marker {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 6px 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--color-lime);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill);
}

.page-products .ps-timeline-content h3 {
  color: var(--color-white);
  font-family: var(--font-sub);
  font-size: 1.0625rem;
  margin: 2px 0 4px;
}

.page-products .ps-timeline-content p {
  color: rgba(255,255,255,0.72);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.page-products .ps-update-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.page-products .ps-update-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
}

.page-products .ps-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}

.page-products .ps-dot--routine {
  background: var(--color-orange);
}

.page-products .ps-dot--hotfix {
  background: var(--color-lime);
}

.page-products .ps-scope-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-products .ps-scope-copy {
  display: grid;
  gap: 20px;
}

.page-products .ps-scope-fee-list {
  display: grid;
  gap: 14px;
}

.page-products .ps-scope-fee-list .data-kpi {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-orange);
  margin: 6px 0 2px;
  white-space: nowrap;
}

.page-products .ps-scope-fee-list .data-card--dark .data-kpi {
  color: var(--color-lime);
}

.page-products .ps-up {
  font-size: 0.75rem;
  color: var(--color-warning);
  margin-left: 4px;
}

.page-products .ps-region-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
}

.page-products .ps-region-wrap h3 {
  font-family: var(--font-sub);
  font-size: 1.125rem;
  margin: 0 0 6px;
}

.page-products .ps-region-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .ps-region-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--color-line);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.page-products .ps-region-list li:last-child {
  border-bottom: none;
}

.page-products .ps-region-list li:hover {
  background: rgba(57,255,20,0.08);
  padding-left: 10px;
}

.page-products .ps-region-name {
  font-family: var(--font-sub);
  font-weight: 700;
}

.page-products .ps-region-detail {
  color: var(--color-muted);
  font-size: 0.9375rem;
  text-align: right;
}

.page-products .ps-scope-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.page-products .ps-scope-link {
  margin-top: 16px;
}

.page-products .ps-legacy-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-products .ps-legacy-copy h3 {
  font-family: var(--font-sub);
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.page-products .ps-legacy-copy p {
  color: var(--color-muted);
  line-height: 1.75;
}

.page-products .ps-legacy-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.page-products .ps-legacy-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px dashed var(--color-line);
  color: var(--color-ink);
  font-size: 0.9375rem;
}

.page-products .ps-legacy-list li:last-child {
  border-bottom: none;
}

.page-products .ps-legacy-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-products .ps-legacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,179,0,0.08);
  border-left: 4px solid var(--color-warning);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.page-products .ps-legacy-note p {
  margin: 0;
}

.page-products .ps-legacy-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.page-products .ps-cta {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.page-products .ps-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-lime));
}

.page-products .ps-cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-products .ps-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-white);
  margin: 0 0 14px;
}

.page-products .ps-cta-desc {
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px;
  line-height: 1.7;
}

.page-products .ps-cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-products .ps-ghost-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-pill);
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-products .ps-ghost-link:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

.page-products .ps-cta-note {
  margin-top: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

@media (min-width: 600px) {
  .page-products .ps-hero-meta {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .ps-scope-fee-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .page-products .ps-price-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (min-width: 900px) {
  .page-products .ps-hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }

  .page-products .ps-update-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .ps-scope-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .page-products .ps-legacy-layout {
    grid-template-columns: 1fr 0.9fr;
  }
}

@media (min-width: 1024px) {
  .page-products .ps-matrix-grid {
    grid-template-columns: 1.45fr 0.8fr;
  }
}
