.page-products {
  --products-shadow: 0 18px 48px rgba(10, 17, 40, 0.14);
  --products-glow: rgba(255, 122, 0, 0.18);
  position: relative;
  z-index: 0;
  max-width: 100vw;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 8% 22%, rgba(255, 122, 0, 0.08) 0, transparent 26%),
    radial-gradient(circle at 95% 12%, rgba(30, 58, 110, 0.07) 0, transparent 32%),
    linear-gradient(180deg, #FFFFFF 0%, #F6F8FC 100%);
}

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

.page-products .products-breadcrumb {
  padding-top: 1rem;
}

.page-products a:focus-visible,
.page-products .products-feature-track:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@keyframes page-products-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(57, 255, 136, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(57, 255, 136, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 136, 0);
  }
}

.page-products .products-hero {
  position: relative;
  padding: clamp(2rem, 6vw, 4.5rem) 0 3.5rem;
}

.page-products .products-hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-products .products-hero__copy {
  position: relative;
  z-index: 2;
  isolation: isolate;
  min-width: 0;
}

.page-products .products-hero__giant {
  position: absolute;
  top: -0.28em;
  left: -0.1em;
  z-index: -1;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(6.5rem, 20vw, 14rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 122, 0, 0.26);
  user-select: none;
  pointer-events: none;
}

.page-products .products-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(30, 58, 110, 0.18);
  border-radius: 999px;
  background: rgba(10, 17, 40, 0.03);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  white-space: nowrap;
}

.page-products .products-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(57, 255, 136, 0.45);
  animation: page-products-pulse 2.2s var(--ease) infinite;
}

.page-products .products-hero__title {
  margin: 0 0 1.2rem;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.page-products .products-hero__lead {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--ink-2);
}

.page-products .products-hero__version {
  display: inline-block;
  margin: 0 0 1.6rem;
  padding: 0.45rem 0.8rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 122, 0, 0.08);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 600;
}

.page-products .products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.page-products .products-hero__actions .btn--outline {
  border-color: rgba(10, 17, 40, 0.35);
  color: var(--ink);
}

.page-products .products-hero__device {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}

.page-products .products-hero__device-caption {
  margin: 1.2rem 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-2);
}

.page-products .phone-model {
  position: relative;
  width: 230px;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px;
  border-radius: 38px;
  border: 3px solid rgba(30, 58, 110, 0.48);
  box-shadow: 0 26px 58px rgba(10, 17, 40, 0.28), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, #16264D 0%, #0A1128 100%);
  transform: rotate(2.5deg);
  transition: transform 0.4s var(--ease);
}

.page-products .phone-model:hover {
  transform: rotate(0deg) translateY(-6px);
}

.page-products .phone-model::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 18px;
  border-radius: 999px;
  background: var(--ink-1);
  z-index: 2;
}

.page-products .phone-model::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 52px;
  border-radius: 999px;
  background: var(--orange);
}

.page-products .phone-model__screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  background: var(--ink-1);
}

.page-products .products-section {
  padding: 4.5rem 0 5rem;
  scroll-margin-top: 5rem;
}

.page-products .section-heading__kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-products .section-heading__desc {
  max-width: 42rem;
  margin: 0.8rem 0 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-2);
}

.page-products .products-core {
  position: relative;
}

.page-products .products-feature-track {
  display: flex;
  gap: 1.2rem;
  padding: 2.2rem 1.5rem 2.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-products .products-feature-track::-webkit-scrollbar {
  height: 6px;
}

.page-products .products-feature-track::-webkit-scrollbar-thumb {
  background: rgba(10, 17, 40, 0.2);
  border-radius: 999px;
}

.page-products .feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: min(78vw, 330px);
  min-width: 280px;
  padding: 1.4rem;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(10, 17, 40, 0.08);
  background: var(--paper);
  box-shadow: var(--products-shadow);
  scroll-snap-align: start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .feature-card::after {
  content: "";
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--products-glow);
  pointer-events: none;
}

.page-products .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(10, 17, 40, 0.2);
}

.page-products .feature-card--schedule {
  border-top: 5px solid var(--ink-2);
}

.page-products .feature-card--score {
  border-top: 5px solid var(--orange);
}

.page-products .feature-card--review {
  border-top: 5px solid var(--deep-green);
}

.page-products .feature-card--data {
  border-top: 5px solid var(--neon);
}

.page-products .feature-card__tab {
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.1);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-products .feature-card__number {
  margin: 1.4rem 0 0;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(10, 17, 40, 0.14);
}

.page-products .feature-card h3 {
  margin: 0.7rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
}

.page-products .feature-card p {
  margin: 0 0 1.2rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.page-products .feature-card__link {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 1px solid var(--orange);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.page-products .products-data-panel {
  display: grid;
  gap: 2rem;
  margin-top: 3.5rem;
}

.page-products .products-data-panel__figure {
  margin: 0;
}

.page-products .products-data-panel__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--warm-gray);
}

.page-products .products-data-panel__figure figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-2);
}

.page-products .products-data-panel__copy {
  align-self: center;
}

.page-products .products-data-panel__copy h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
}

.page-products .products-data-panel__copy p {
  margin: 0 0 1rem;
  line-height: 1.8;
  color: var(--ink-2);
}

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

.page-products .products-feature-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.8rem;
  border-bottom: 1px solid rgba(10, 17, 40, 0.08);
  line-height: 1.7;
}

.page-products .products-feature-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 2px 0 0 rgba(255, 122, 0, 0.18);
}

.page-products .products-platforms {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  color: #fff;
  clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 122, 0, 0.16) 0%, transparent 30%),
    linear-gradient(135deg, #0A1128 0%, #16264D 100%);
}

.page-products .products-platforms__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-products .products-platforms__copy p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.page-products .products-platforms .section-title,
.page-products .products-download .section-title {
  color: #fff;
  margin-bottom: 1rem;
}

.page-products .products-platform-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.page-products .products-platform-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.page-products .products-platform-list__key {
  color: #fff;
  font-weight: 600;
}

.page-products .products-platform-list__value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.64);
}

.page-products .products-platforms__figure {
  margin: 0;
}

.page-products .products-platforms__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.page-products .products-platforms__figure figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-products .products-updates {
  background: linear-gradient(180deg, #F7F8FB 0%, #FFFFFF 100%);
}

.page-products .products-updates__inner {
  display: grid;
  gap: 2rem;
}

.page-products .products-inline-link {
  color: var(--orange);
  text-decoration-color: rgba(255, 122, 0, 0.4);
  text-underline-offset: 3px;
}

.page-products .products-updates__timeline {
  position: relative;
  margin-top: 0.5rem;
}

.page-products .timeline-item {
  position: relative;
  padding: 1.2rem 0 1.2rem 1.6rem;
  border-left: 2px solid rgba(30, 58, 110, 0.2);
}

.page-products .timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 1.8rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 3px solid var(--orange);
}

.page-products .timeline-item__version {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
}

.page-products .timeline-item__body h3 {
  margin: 0.2rem 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
}

.page-products .timeline-item__body p {
  margin: 0;
  line-height: 1.75;
  color: var(--ink-2);
}

.page-products .products-updates__figure {
  margin: 0;
}

.page-products .products-updates__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--warm-gray);
}

.page-products .products-download {
  position: relative;
  padding: 5rem 0;
  color: #fff;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  background:
    radial-gradient(circle at 12% 80%, rgba(57, 255, 136, 0.1) 0%, transparent 24%),
    linear-gradient(150deg, #0A1128 0%, #16264D 72%);
}

.page-products .products-download__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-products .products-download__copy p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.page-products .products-download__version {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.2rem 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.page-products .products-download__label {
  color: rgba(255, 255, 255, 0.6);
}

.page-products .products-download__value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neon);
}

.page-products .products-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.page-products .products-download .btn--outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.page-products .products-download .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-products .products-download__qr {
  position: relative;
}

.page-products .products-qr-card {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.page-products .products-qr-card__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform 0.3s var(--ease);
}

.page-products .products-qr-card:hover .products-qr-card__img {
  transform: scale(1.03);
}

.page-products .products-qr-card__badge {
  display: block;
  margin-top: 0.8rem;
  text-align: center;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

@media (min-width: 720px) {
  .page-products .products-data-panel {
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  .page-products .products-platforms__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
  }

  .page-products .products-platform-list li {
    flex-direction: row;
    align-items: baseline;
    gap: 1.2rem;
  }

  .page-products .products-platform-list__value {
    text-align: right;
  }
}

@media (min-width: 900px) {
  .page-products .products-hero__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 3rem;
  }

  .page-products .products-hero__device {
    margin: 0;
  }

  .page-products .products-section {
    padding: 6rem 0;
  }

  .page-products .products-feature-track {
    padding-inline: max(1.5rem, calc((100vw - var(--container)) / 2));
  }

  .page-products .products-updates__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    grid-template-areas: "heading figure" "timeline figure";
    column-gap: 3.5rem;
  }

  .page-products .products-updates__heading {
    grid-area: heading;
  }

  .page-products .products-updates__timeline {
    grid-area: timeline;
  }

  .page-products .products-updates__figure {
    grid-area: figure;
    align-self: center;
    margin: 0;
  }

  .page-products .products-download__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 3rem;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .products-live-dot {
    animation: none;
  }

  .page-products .phone-model,
  .page-products .phone-model:hover,
  .page-products .feature-card:hover,
  .page-products .products-qr-card:hover .products-qr-card__img {
    transform: none;
    transition: none;
  }
}
