.page-products {
  --page-line: rgba(10, 31, 68, 0.14);
  --page-navy-glass: rgba(10, 31, 68, 0.08);
  --page-clip: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-products .product-hero {
  background: var(--grad-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.page-products .product-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--orange) 0%, transparent 70%);
  opacity: 0.18;
  pointer-events: none;
}
.page-products .product-hero-inner {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 2.75rem;
}
.page-products .page-hero-eyebrow {
  margin-bottom: 0.7rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
}
.page-products .page-hero-title {
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.8rem;
  max-width: 820px;
  color: var(--white);
}
.page-products .page-hero-lead {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 760px;
}
.page-products .page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.page-products .page-hero-meta .tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-sm);
}
.page-products .page-hero-meta .tag-accent {
  background: var(--orange);
  color: var(--white);
}
.page-products .page-hero-meta .tag-navy {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.page-products .product-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}
.page-products .product-directory-link {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-body);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.page-products .product-directory-link:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.page-products .product-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 540px;
}
.page-products .product-hero-stat {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.6rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.page-products .product-hero-stat .data-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}
.page-products .product-hero-stat .data-label {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.78);
}

.page-products .product-section {
  padding: 2.2rem 0;
}
.page-products .product-matrix,
.page-products .product-compare,
.page-products .product-tech {
  background: var(--light);
}
.page-products .product-pricing,
.page-products .product-coverage {
  background: var(--grad-navy);
  color: var(--white);
}
.page-products .section-dark .section-lead,
.page-products .product-pricing .section-lead,
.page-products .product-coverage .section-lead {
  color: rgba(255, 255, 255, 0.78);
}
.page-products .section-dark .section-title,
.page-products .product-pricing .section-title,
.page-products .product-coverage .section-title {
  color: var(--white);
}
.page-products .section-dark .section-label,
.page-products .product-pricing .section-label,
.page-products .product-coverage .section-label {
  color: var(--orange);
}

.page-products .bento-grid {
  gap: 1rem;
}

.page-products .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}
.page-products .filter-chip {
  appearance: none;
  border: 1px solid var(--mid);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.page-products .filter-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.page-products .filter-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.page-products .product-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--mid);
  transition: transform var(--transition), box-shadow var(--transition);
}
.page-products .product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}
.page-products .product-card-desktop {
  background: var(--grad-navy);
  color: var(--white);
  border: none;
}
.page-products .product-card-desktop .product-card-title,
.page-products .product-card-desktop .product-card-copy {
  color: var(--white);
}
.page-products .product-card-mobile {
  background: var(--white);
  color: var(--dark);
}
.page-products .product-card-mobile .product-card-title,
.page-products .product-card-mobile .product-card-copy {
  color: var(--dark);
}
.page-products .product-card-api {
  background: var(--grad-brand);
  color: var(--white);
  border: none;
}
.page-products .product-card-api .product-card-title,
.page-products .product-card-api .product-card-copy {
  color: var(--white);
}
.page-products .product-card-media {
  position: relative;
  width: 100%;
  background: var(--navy);
  overflow: hidden;
}
.page-products .product-card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.page-products .product-card-media-portrait img {
  height: 260px;
  object-fit: cover;
}
.page-products .product-card-content {
  padding: 1.2rem 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-products .product-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.page-products .product-card-tags .tag-accent {
  background: var(--orange);
  color: var(--white);
}
.page-products .product-card-desktop .product-card-tags .tag-navy,
.page-products .product-card-mobile .product-card-tags .tag-navy {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.page-products .product-card-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}
.page-products .product-card-copy {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 0.8rem;
}
.page-products .product-feature-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  flex: 1;
}
.page-products .product-feature-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.2rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.page-products .product-card-desktop .product-feature-list li,
.page-products .product-card-api .product-feature-list li {
  color: rgba(255, 255, 255, 0.88);
}
.page-products .product-card-mobile .product-feature-list li {
  color: rgba(26, 26, 26, 0.76);
}
.page-products .product-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--orange);
}
.page-products .product-card-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.page-products .product-card-price .price-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.page-products .price-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}
.page-products .price-num i {
  font-style: normal;
  font-size: 1rem;
  color: var(--orange);
  margin-right: 0.1rem;
}
.page-products .price-num small {
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 0.2rem;
  color: inherit;
}
.page-products .product-card-api {
  flex-direction: column;
}
.page-products .product-api-intro {
  padding: 1.2rem;
}
.page-products .product-api-spec {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.page-products .api-spec-item {
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
}
.page-products .api-spec-item .data-num {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
}
.page-products .api-spec-item .data-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.86);
}

.page-products .pricing-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.page-products .pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
}
.page-products .pricing-card-primary {
  background: var(--grad-brand);
  color: var(--white);
  clip-path: var(--page-clip);
}
.page-products .pricing-card-legacy {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--mid);
}
.page-products .pricing-card-query {
  background: var(--navy-soft);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.page-products .pricing-card-head {
  margin-bottom: 0.6rem;
}
.page-products .pricing-card-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.page-products .pricing-price {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-products .pricing-price .price-num {
  font-size: 2.6rem;
  color: inherit;
}
.page-products .pricing-card-primary .price-num i {
  color: var(--white);
}
.page-products .pricing-note-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  width: fit-content;
}
.page-products .pricing-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  opacity: 0.9;
  color: inherit;
}
.page-products .pricing-price-legacy {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}
.page-products .pricing-price-legacy .price-old {
  font-family: var(--font-head);
  font-size: 1.8rem;
  text-decoration: line-through;
  color: var(--mid);
}
.page-products .pricing-price-legacy .price-arrow {
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0 0.3rem;
}
.page-products .pricing-card-query ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-products .pricing-card-query li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.2rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.page-products .pricing-card-query li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--orange);
}
.page-products .pricing-card-query .btn-block {
  margin-top: auto;
}
.page-products .pricing-compare {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
}
.page-products .pricing-compare img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.page-products .compare-wrap {
  overflow-x: auto;
}
.page-products .compare-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-products .compare-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-areas:
    "feature feature"
    "old new";
  gap: 0;
  border: 1px solid var(--mid);
  border-radius: 12px;
  overflow: hidden;
}
.page-products .compare-cell {
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.page-products .compare-feature {
  grid-area: feature;
  font-family: var(--font-head);
  font-weight: 700;
  background: rgba(10, 31, 68, 0.06);
  color: var(--navy);
}
.page-products .compare-old {
  grid-area: old;
  border-top: 1px solid var(--mid);
  border-right: 1px solid var(--mid);
  color: #6b7688;
}
.page-products .compare-new {
  grid-area: new;
  border-top: 1px solid var(--mid);
  color: var(--navy);
  font-weight: 600;
}
.page-products .compare-header {
  background: var(--navy);
  grid-template-areas:
    "feature feature"
    "old new";
}
.page-products .compare-header .compare-cell {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
}
.page-products .compare-header .compare-feature {
  background: var(--navy);
  color: var(--white);
}

.page-products .coverage-map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
}
.page-products .coverage-map-frame img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.page-products .coverage-stats-card {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}
.page-products .coverage-stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}
.page-products .coverage-stat .data-num {
  display: block;
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
}
.page-products .coverage-stat .data-label {
  display: block;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}
.page-products .coverage-note-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.page-products .coverage-note {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.page-products .coverage-note-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  margin: 0 0 0.35rem;
}
.page-products .coverage-note-copy {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.page-products .tech-visual {
  border-radius: var(--radius);
  overflow: hidden;
}
.page-products .tech-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-products .tech-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}
.page-products .tech-card {
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.page-products .tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}
.page-products .tech-card .tag-accent {
  background: var(--orange);
  color: var(--white);
}
.page-products .tech-card .tag-navy {
  background: var(--navy);
  color: var(--white);
}
.page-products .tech-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.5rem 0 0.4rem;
  color: var(--navy);
}
.page-products .tech-card-copy {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--dark);
  opacity: 0.82;
}

.page-products .product-cta {
  background: var(--white);
  padding: 2rem 0;
}
.page-products .product-cta-card {
  background: var(--grad-brand);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  color: var(--white);
  box-shadow: var(--shadow-float);
  position: relative;
  overflow: hidden;
}
.page-products .product-cta-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.page-products .product-cta-content {
  position: relative;
  z-index: 1;
}
.page-products .product-cta-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.4rem 0 0.6rem;
  color: var(--white);
}
.page-products .product-cta-lead {
  margin: 0 0 1.4rem;
  max-width: 680px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}
.page-products .section-label-light {
  color: var(--white);
}
.page-products .product-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.page-products .product-cta-actions .btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
}
.page-products .product-cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  color: var(--white);
}

@media (min-width: 768px) {
  .page-products .page-hero-title {
    font-size: 2.6rem;
  }
  .page-products .page-hero-lead {
    font-size: 1.1rem;
  }
  .page-products .product-hero-stat .data-num {
    font-size: 2.1rem;
  }
  .page-products .product-card-media img {
    height: 260px;
  }
  .page-products .product-card-media-portrait img {
    height: 320px;
  }
  .page-products .product-card-api {
    flex-direction: row;
    align-items: stretch;
  }
  .page-products .product-api-intro {
    width: 58%;
    padding: 1.8rem;
  }
  .page-products .product-api-spec {
    width: 42%;
    padding: 1.8rem;
  }
  .page-products .compare-table {
    gap: 0;
  }
  .page-products .compare-row {
    grid-template-columns: 200px 1fr 1.3fr;
    grid-template-areas: none;
    border: none;
    border-bottom: 1px solid var(--mid);
    border-radius: 0;
    margin-bottom: 0;
  }
  .page-products .compare-feature {
    grid-area: auto;
  }
  .page-products .compare-old {
    grid-area: auto;
    border-top: none;
    border-right: 1px solid var(--mid);
  }
  .page-products .compare-new {
    grid-area: auto;
    border-top: none;
  }
  .page-products .compare-header {
    background: var(--navy);
    grid-template-areas: none;
  }
  .page-products .compare-header .compare-cell {
    background: var(--navy);
    color: var(--white);
  }
  .page-products .coverage-note-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-products .tech-card-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }
  .page-products .product-cta-card {
    padding: 2.5rem 2rem;
  }
  .page-products .product-cta-title {
    font-size: 2.1rem;
  }
}

@media (min-width: 992px) {
  .page-products .product-section,
  .page-products .product-cta {
    padding: 2.8rem 0;
  }
  .page-products .bento-grid {
    gap: 1.25rem;
  }
  .page-products .coverage-map-frame img {
    height: 100%;
    min-height: 320px;
  }
  .page-products .coverage-stats-card {
    padding: 1.5rem;
  }
  .page-products .pricing-card {
    padding: 1.7rem;
  }
}
