.page-products {
  --page-hero-gradient: linear-gradient(120deg, var(--shadow-dark) 0%, var(--arena-blue) 55%, #122f55 100%);
  --page-speed-stripe: repeating-linear-gradient(135deg, transparent 0 14px, rgba(0, 229, 160, 0.10) 14px 28px);
  background: var(--mist-gray);
  color: var(--carbon-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products .container {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

.page-products .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 4px;
  font-size: 14px;
  color: var(--steel-muted);
}

.page-products .breadcrumb a {
  color: var(--electric-green);
  text-decoration: none;
  font-weight: 600;
}

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

.page-products .breadcrumb-current {
  color: var(--steel-muted);
}

.page-products .products-hero {
  position: relative;
  overflow: hidden;
  background: var(--page-hero-gradient);
  color: var(--white-ice);
  padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 5vw, 60px);
  margin-bottom: 48px;
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  background: var(--page-speed-stripe);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.page-products .products-hero::after {
  content: "";
  position: absolute;
  left: -12%;
  bottom: -30%;
  width: 120%;
  height: 34%;
  background: var(--page-speed-stripe);
  transform: rotate(-3deg);
  pointer-events: none;
  opacity: 0.6;
}

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

.page-products .products-hero-copy .section-kicker {
  color: var(--electric-green);
  letter-spacing: 0.16em;
}

.page-products .products-hero-copy h1 {
  font-family: var(--font-headline);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 0.92;
  margin: 12px 0 8px;
  letter-spacing: 0.02em;
}

.page-products .hero-sub {
  font-family: var(--font-headline);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--electric-green);
  margin: 0 0 16px;
}

.page-products .hero-desc {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(232, 236, 241, 0.82);
  margin: 0;
}

.page-products .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-products .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.page-products .hero-stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 12px;
}

.page-products .hero-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(232, 236, 241, 0.7);
  margin-bottom: 6px;
  line-height: 1.4;
}

.page-products .hero-stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--electric-green);
  line-height: 1;
}

.page-products .page-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-products .index-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white-ice);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.page-products .index-link:hover {
  background: rgba(0, 229, 160, 0.16);
  border-color: var(--electric-green);
  transform: translateY(-2px);
}

.page-products .index-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--voltage-orange);
}

.page-products .section {
  position: relative;
  padding: 56px 0;
  scroll-margin-top: 24px;
}

.page-products .center-select-section {
  background: var(--mist-gray);
}

.page-products .legacy-section {
  background: var(--white-ice);
}

.page-products .download-section {
  background: var(--ice-light);
}

.page-products .feedback-section,
.page-products .mobile-review-section {
  background: var(--arena-blue);
  color: var(--white-ice);
}

.page-products .section::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 22px;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--voltage-orange) 6px 12px);
  opacity: 0.4;
}

.page-products .feedback-section::after,
.page-products .mobile-review-section::after {
  background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--electric-green) 6px 12px);
  opacity: 0.5;
}

.page-products .section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: end;
  margin-bottom: 12px;
}

.page-products .section-num {
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--voltage-orange);
  padding-right: 18px;
  border-right: 3px solid var(--electric-green);
}

.page-products .section-kicker {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--steel-muted);
  align-self: end;
  margin-bottom: 2px;
}

.page-products .feedback-section .section-kicker,
.page-products .mobile-review-section .section-kicker {
  color: rgba(232, 236, 241, 0.55);
}

.page-products .section-head h2 {
  grid-column: 2;
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900;
  margin: 0;
  color: var(--carbon-text);
}

.page-products .feedback-section .section-head h2,
.page-products .mobile-review-section .section-head h2 {
  color: var(--white-ice);
}

.page-products .section-lead {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel-muted);
}

.page-products .feedback-section .section-lead,
.page-products .mobile-review-section .section-lead {
  color: rgba(232, 236, 241, 0.72);
}

.page-products .view-demo-img,
.page-products .legacy-flow-img,
.page-products .download-type-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.page-products .view-demo-img {
  border: 1px solid var(--ice-light);
  box-shadow: 0 18px 40px rgba(11, 30, 59, 0.14);
}

.page-products .view-switch-wrap {
  margin-top: 28px;
}

.page-products .view-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--ice-light);
  padding: 6px;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 20px;
}

.page-products .switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-products .switch-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--steel-muted);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.page-products .switch-label:hover {
  color: var(--carbon-text);
  background: rgba(255, 255, 255, 0.6);
}

.page-products .switch-input:checked + .switch-label {
  background: var(--electric-green);
  color: var(--shadow-dark);
  font-weight: 700;
}

.page-products .switch-input:focus-visible + .switch-label {
  outline: 3px solid var(--voltage-orange);
  outline-offset: 2px;
}

.page-products .view-panel {
  display: none;
  animation: pageProductsFadeIn 0.3s ease;
}

.page-products #view-list:checked ~ .view-panel-list,
.page-products #view-calendar:checked ~ .view-panel-calendar,
.page-products #view-card:checked ~ .view-panel-card {
  display: block;
}

.page-products .match-list {
  background: var(--white-ice);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ice-light);
  overflow: hidden;
}

.page-products .match-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ice-light);
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}

.page-products .match-row:last-child {
  border-bottom: 0;
}

.page-products .match-row:hover {
  background: var(--mist-gray);
  transform: translateX(6px);
}

.page-products .match-date {
  font-family: var(--font-mono);
  color: var(--steel-muted);
  font-size: 13px;
}

.page-products .match-name {
  flex: 1;
  font-weight: 600;
  color: var(--carbon-text);
}

.page-products .match-score {
  font-weight: 700;
  color: var(--arena-blue);
  font-size: 16px;
}

.page-products .match-status {
  font-size: 12px;
  color: var(--voltage-orange);
  font-weight: 600;
}

.page-products .cal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: var(--white-ice);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--ice-light);
}

.page-products .cal-cell {
  background: var(--mist-gray);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
}

.page-products .cal-cell.cal-active {
  background: var(--electric-green);
  color: var(--shadow-dark);
  box-shadow: 0 6px 18px rgba(0, 229, 160, 0.28);
}

.page-products .cal-day {
  display: block;
  font-size: 12px;
  color: var(--steel-muted);
  margin-bottom: 4px;
}

.page-products .cal-active .cal-day {
  color: var(--shadow-dark);
  font-weight: 600;
}

.page-products .cal-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--arena-blue);
}

.page-products .cal-active .cal-num {
  color: var(--shadow-dark);
}

.page-products .cal-note {
  font-size: 13px;
  color: var(--steel-muted);
  margin: 14px 4px 0;
  line-height: 1.6;
}

.page-products .mini-card-grid {
  display: grid;
  gap: 14px;
}

.page-products .mini-card {
  background: var(--white-ice);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--ice-light);
  border-top: 4px solid var(--electric-green);
  transition: transform 0.25s, box-shadow 0.25s;
}

.page-products .mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 30, 59, 0.12);
}

.page-products .mini-card-league {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--arena-blue);
}

.page-products .mini-card-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--voltage-orange);
  margin: 4px 0;
}

.page-products .mini-card-teams {
  font-size: 14px;
  color: var(--steel-muted);
}

.page-products .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-products .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--white-ice);
  border: 1px solid var(--ice-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--steel-muted);
  cursor: default;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.page-products .chip:hover {
  border-color: var(--electric-green);
  color: var(--carbon-text);
}

.page-products .chip-active {
  background: var(--shadow-dark);
  color: var(--white-ice);
  border-color: var(--shadow-dark);
}

.page-products .compare-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 28px 0 24px;
}

.page-products .compare-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: saturate(0.6);
}

.page-products .compare-grid {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px 20px;
}

.page-products .compare-col {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}

.page-products .compare-col:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.page-products .compare-label {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-products .compare-old .compare-label {
  color: var(--steel-muted);
}

.page-products .compare-new .compare-label {
  color: var(--electric-green);
}

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

.page-products .compare-list li {
  font-size: 14px;
  color: rgba(232, 236, 241, 0.82);
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}

.page-products .compare-list .mono-value {
  float: right;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--white-ice);
}

.page-products .compare-new .mono-value {
  color: var(--electric-green);
}

.page-products .compare-divider {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(232, 236, 241, 0.3) 0 8px, transparent 8px 16px);
}

.page-products .compare-summary {
  background: rgba(0, 229, 160, 0.1);
  border-left: 4px solid var(--electric-green);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: rgba(232, 236, 241, 0.88);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.page-products .compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}

.page-products .btn-primary {
  background: var(--electric-green);
  color: var(--shadow-dark);
}

.page-products .btn-primary:hover {
  background: var(--voltage-orange);
  color: var(--white-ice);
  transform: translateY(-2px);
}

.page-products .btn-secondary {
  background: transparent;
  border: 1px solid rgba(232, 236, 241, 0.5);
  color: var(--white-ice);
}

.page-products .btn-secondary:hover {
  border-color: var(--electric-green);
  color: var(--electric-green);
  transform: translateY(-2px);
}

.page-products .legacy-flow-img {
  border: 1px solid var(--ice-light);
  box-shadow: 0 18px 40px rgba(11, 30, 59, 0.1);
}

.page-products .legacy-steps {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.page-products .step-card {
  background: var(--white-ice);
  border: 1px solid var(--ice-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.page-products .step-card[open] {
  border-color: var(--electric-green);
  box-shadow: 0 12px 28px rgba(11, 30, 59, 0.1);
}

.page-products .step-card summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--carbon-text);
}

.page-products .step-card summary::-webkit-details-marker {
  display: none;
}

.page-products .step-num {
  font-family: var(--font-mono);
  color: var(--voltage-orange);
  font-weight: 600;
  font-size: 13px;
}

.page-products .step-card p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--steel-muted);
  line-height: 1.7;
  font-size: 14px;
}

.page-products .legacy-note {
  margin: 20px 4px 0;
  font-size: 13px;
  color: var(--steel-muted);
  line-height: 1.6;
}

.page-products .download-type-img {
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 30px rgba(11, 30, 59, 0.08);
}

.page-products .download-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.page-products .download-card {
  display: flex;
  flex-direction: column;
  background: var(--white-ice);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--ice-light);
  transition: transform 0.25s, box-shadow 0.25s;
}

.page-products .download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 30, 59, 0.12);
}

.page-products .download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--arena-blue);
  color: var(--electric-green);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
}

.page-products .sheet-icon {
  background: #123f5a;
  color: #7fe7c8;
}

.page-products .app-icon {
  background: #122a1e;
  color: var(--electric-green);
}

.page-products .api-icon {
  background: #331f1e;
  color: var(--voltage-orange);
}

.page-products .download-card h3 {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--carbon-text);
}

.page-products .download-card p {
  color: var(--steel-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.page-products .download-meta {
  list-style: none;
  margin: 0 0 20px;
  padding: 14px 0 0;
  border-top: 1px dashed var(--ice-light);
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--steel-muted);
}

.page-products .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  min-height: 40px;
  color: var(--arena-blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.page-products .card-link:hover {
  color: var(--voltage-orange);
}

.page-products .mobile-review-wrap {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-products .mobile-review-copy {
  display: flex;
  justify-content: center;
}

.page-products .mobile-wireframe-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.page-products .mobile-review-content h3 {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--white-ice);
}

.page-products .layer-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.page-products .layer-col {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px;
}

.page-products .layer-col h4 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--voltage-orange);
}

.page-products .layer-col-new h4 {
  color: var(--electric-green);
}

.page-products .layer-list {
  margin: 0 0 12px;
  padding-left: 20px;
  color: rgba(232, 236, 241, 0.85);
  font-size: 14px;
  line-height: 1.8;
}

.page-products .layer-result {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white-ice);
  margin: 0;
}

.page-products .layer-col-new .layer-result {
  color: var(--electric-green);
}

.page-products .mobile-review-summary {
  color: rgba(232, 236, 241, 0.8);
  margin: 0 0 24px;
  line-height: 1.7;
  font-size: 15px;
}

@keyframes pageProductsFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .page-products .products-hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
  }

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

  .page-products .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .page-products .cal-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .mini-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .legacy-steps {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .step-card:last-child {
    grid-column: 1 / -1;
  }

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

  .page-products .layer-compare {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-products .products-hero-inner {
    grid-template-columns: 1fr 0.94fr;
  }

  .page-products .section {
    padding: 72px 0;
  }

  .page-products .compare-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 0 28px;
    padding: 44px;
    align-items: stretch;
  }

  .page-products .compare-divider {
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(232, 236, 241, 0.3) 0 8px, transparent 8px 16px);
  }

  .page-products .mini-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .cal-grid {
    grid-template-columns: repeat(7, 1fr);
  }

  .page-products .legacy-steps {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .page-products .step-card:last-child {
    grid-column: auto;
  }

  .page-products .mobile-review-wrap {
    grid-template-columns: 1fr 1.3fr;
  }
}

@media (min-width: 1000px) {
  .page-products .download-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .download-card {
    padding: 26px;
  }

  .page-products .match-row {
    padding: 18px 24px;
  }
}
