.page-products {
  --page-accent: #22e0d0;
  --page-phone-width: 220px;
  --page-phone-height: 460px;
  color: var(--color-text);
  background: var(--color-bg);
  overflow: hidden;
}

.page-products .breadcrumb {
  padding-top: 24px;
}

.page-products__hero-section {
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 56px;
}

.page-products__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.page-products__hero-copy {
  max-width: 580px;
}

.page-products .page-hero__title {
  margin: 16px 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.page-products .page-hero__sub {
  margin: 0 0 24px;
  font-size: 1.125rem;
  color: var(--color-text-dim);
}

.page-products__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.page-products .page-products__download-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  color: #061820;
  font-weight: 700;
  background: linear-gradient(135deg, var(--page-accent), #14b8ad);
}

.page-products .page-products__download-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  animation: page-products-shine 3.2s ease-in-out infinite;
}

@keyframes page-products-shine {
  0% { left: -80%; }
  60% { left: 130%; }
  100% { left: 130%; }
}

.page-products__meta {
  margin: 0;
  font-size: .95rem;
  color: var(--color-text-dim);
}

.page-products__phone {
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  width: var(--page-phone-width);
  height: var(--page-phone-height);
  border: 10px solid #202a33;
  border-radius: 36px;
  background: #101820;
  box-shadow: 0 24px 50px var(--shadow-card);
}

.page-products__phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  z-index: 4;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: #0d141b;
}

.page-products__phone::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 4;
  width: 80px;
  height: 5px;
  border-radius: 999px;
  background: #0d141b;
}

.page-products__phone-screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 28px;
  background: #101820;
}

.page-products__phone-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products__phone-dots {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.page-products__phone-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

.page-products__phone-shadow {
  position: absolute;
  inset: -24px;
  z-index: 0;
  border-radius: 52px;
  background: radial-gradient(circle, var(--page-accent), transparent 70%);
  opacity: .3;
}

.page-products__download {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--color-bg-deep), var(--color-bg));
}

.page-products .section-heading {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-products__download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.page-products__download-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.page-products__download-panel h3 {
  margin: 0 0 12px;
}

.page-products__download-panel p {
  margin: 0;
  color: var(--color-text-dim);
}

.page-products__btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.page-products__qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 14px;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.page-products__qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-products__qr-tip {
  font-size: .9rem;
  text-align: center;
}

.page-products__system-note {
  margin: 28px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
  color: var(--color-text-dim);
  font-size: .95rem;
  text-align: center;
}

.page-products__features {
  padding: 72px 0;
}

.page-products__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}

.page-products__feature-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-products__feature-card:hover {
  transform: translateY(-8px) rotate(.4deg);
  box-shadow: 0 24px 50px var(--shadow-card);
}

.page-products__feature-card--tall {
  margin-top: 24px;
}

.page-products__feature-card:nth-child(2) {
  margin-top: 64px;
}

.page-products__feature-card:nth-child(3) {
  margin-top: 8px;
}

.page-products__feature-card .image-frame {
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.page-products__feature-card .image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products__feature-body {
  padding: 20px 22px 24px;
}

.page-products__feature-body h3 {
  margin: 0 0 10px;
}

.page-products__feature-body p {
  margin: 0;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.page-products__versions {
  padding: 72px 0;
  background: var(--color-bg-deep);
}

.page-products__version-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 40px;
}

.page-products__timeline {
  position: relative;
  padding-left: 32px;
}

.page-products__timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-line-accent), var(--color-line));
}

.page-products__version-item {
  position: relative;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.page-products__version-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 30px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--page-accent);
  box-shadow: 0 0 0 4px var(--color-bg-deep);
}

.page-products__version-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--color-text-dim);
}

.page-products .data-chip {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(34,224,208,.35);
  border-radius: var(--radius-pill);
  background: rgba(34,224,208,.15);
  color: var(--color-text);
  font-size: .85rem;
}

.page-products__version-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.page-products__version-item p {
  margin: 0;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.page-products__compat-panel {
  padding: 20px;
}

.page-products__compat-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 16px;
}

.page-products__compat-panel h3 {
  margin: 0 0 10px;
}

.page-products__compat-panel p {
  margin: 0 0 16px;
  color: var(--color-text-dim);
}

.page-products__help {
  padding: 72px 0;
}

.page-products__help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.page-products__help-grid .card {
  padding: 24px;
}

.page-products__help-grid h3 {
  margin: 0 0 10px;
}

.page-products__help-grid p {
  margin: 0;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.page-products__help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.page-products__related {
  padding: 32px 0 64px;
}

.page-products__related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products__related-links a {
  color: var(--color-link);
  text-decoration: none;
}

@media (max-width: 960px) {
  .page-products__hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .page-products__hero-copy {
    max-width: 640px;
  }

  .page-products__hero-actions,
  .page-products__help-links {
    justify-content: center;
  }

  .page-products__download-grid,
  .page-products__version-layout {
    grid-template-columns: 1fr;
  }

  .page-products__feature-grid,
  .page-products__help-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products__feature-card:nth-child(3) {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .page-products__feature-grid,
  .page-products__help-grid {
    grid-template-columns: 1fr;
  }

  .page-products__feature-card--tall,
  .page-products__feature-card:nth-child(2) {
    margin-top: 0;
  }

  .page-products__phone {
    --page-phone-width: 180px;
    --page-phone-height: 380px;
  }

  .page-products__version-item {
    padding: 18px;
  }
}
