.page-products {
  --rg-line: rgba(247, 211, 57, .18);
  --rg-glow: rgba(247, 211, 57, .24);
  --rg-grid: rgba(247, 211, 57, .05);
  --rg-orange-glow: rgba(255, 140, 0, .28);
  position: relative;
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 24px 0 12px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .04em;
}

.page-products .breadcrumb a {
  color: var(--banana-yellow);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.page-products .breadcrumb a:hover {
  border-bottom-color: var(--banana-yellow);
}

.page-products .pg-products-hero {
  position: relative;
  padding-top: 8px;
  padding-bottom: 32px;
}

.page-products .pg-hero-eyebrow {
  color: var(--bright-orange);
  letter-spacing: .14em;
}

.page-products .pg-hero-title {
  max-width: 920px;
  margin-top: 8px;
  font-size: 2.05rem;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.page-products .pg-hero-desc {
  max-width: 690px;
  margin-top: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.page-products .pg-download {
  position: relative;
  padding: 48px 0 52px;
  background:
    linear-gradient(120deg, rgba(247, 211, 57, .07), transparent 42%),
    linear-gradient(240deg, rgba(255, 140, 0, .09), transparent 45%);
  border-top: 1px solid var(--rg-line);
  border-bottom: 1px solid var(--rg-line);
  overflow: hidden;
}

.page-products .pg-download::before {
  content: '';
  position: absolute;
  top: 0;
  right: 4%;
  width: 200px;
  height: 100%;
  background: repeating-linear-gradient(135deg, transparent 0 12px, var(--rg-grid) 12px 13px);
  pointer-events: none;
}

.page-products .pg-download-grid {
  position: relative;
  display: grid;
  gap: 36px;
}

.page-products .pg-download-copy .section-title {
  margin: 8px 0 12px;
}

.page-products .pg-download-desc {
  max-width: 560px;
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.7;
}

.page-products .pg-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 14px;
}

.page-products .pg-btn-pulse {
  animation: pgproducts-pulse 2.2s ease-out infinite;
}

.page-products .pg-download-version {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: .76rem;
}

.page-products .pg-download-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.page-products .pg-download-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-products .pg-qr-frame {
  width: min(260px, 72vw);
  padding: 14px;
  background: var(--rock-gray);
  border: 1px solid var(--rg-line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.page-products .pg-qr-image {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pg-qr-caption {
  margin-top: 14px;
  color: var(--banana-yellow);
  font-size: .88rem;
}

.page-products .pg-qr-note {
  max-width: 260px;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: .78rem;
  line-height: 1.5;
}

.page-products .pg-features {
  padding: 56px 0 8px;
}

.page-products .pg-features .section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.page-products .pg-features-lead {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: .86rem;
}

.page-products .pg-feature-scroll {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px var(--container-pad) 42px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--container-pad);
  scrollbar-width: thin;
  scrollbar-color: var(--banana-shadow) var(--rock-gray);
}

.page-products .pg-feature-scroll::-webkit-scrollbar {
  height: 5px;
}

.page-products .pg-feature-scroll::-webkit-scrollbar-thumb {
  background: var(--banana-shadow);
  border-radius: 99px;
}

.page-products .pg-feature-scroll::-webkit-scrollbar-track {
  background: var(--rock-gray);
}

.page-products .pg-feature-card {
  position: relative;
  flex: 0 0 280px;
  padding: 26px 22px 28px;
  background: var(--rock-gray);
  border-left: 3px solid var(--banana-yellow);
  clip-path: polygon(0 0, 100% 3%, 97% 100%, 3% 97%);
  scroll-snap-align: center;
  transition: transform .25s ease, border-left-color .25s ease;
}

.page-products .pg-feature-card-tags {
  border-left-color: var(--bright-orange);
  transform: rotate(-.8deg);
}

.page-products .pg-feature-card-bookmark {
  transform: rotate(.7deg);
}

.page-products .pg-feature-card-fast {
  border-left-color: var(--cyan-neon);
  transform: rotate(-.5deg);
}

.page-products .pg-feature-card:hover {
  transform: rotate(0deg) translateY(-4px);
  border-left-color: var(--banana-yellow);
}

.page-products .pg-card-index {
  margin-bottom: 8px;
  color: var(--banana-shadow);
  font-family: var(--font-digital);
  font-size: 1.5rem;
}

.page-products .pg-feature-card h3 {
  margin-bottom: 8px;
  color: var(--ivory);
  font-size: 1.15rem;
}

.page-products .pg-feature-card p {
  color: var(--text-secondary);
  font-size: .82rem;
  line-height: 1.6;
}

.page-products .pg-feature-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  margin-top: 16px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 8%, 94% 100%, 4% 92%);
  background: var(--deep-black);
}

.page-products .pg-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.page-products .pg-card-evidence {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--rg-line);
  color: var(--banana-yellow);
  font-size: .78rem;
}

.page-products .pg-phone-stage {
  display: flex;
  flex: 0 0 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  transform: rotate(.4deg);
}

.page-products .pg-phone {
  position: relative;
  width: 250px;
  height: 520px;
  padding: 18px 12px 12px;
  background: var(--rock-gray);
  border: 3px solid var(--banana-yellow);
  border-radius: 34px;
  box-shadow:
    0 0 0 1px rgba(247, 211, 57, .1),
    0 0 34px var(--rg-glow),
    0 22px 50px rgba(0, 0, 0, .55);
}

.page-products .pg-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--deep-black);
  border-radius: 22px;
}

.page-products .pg-phone-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pg-phone-tag {
  position: absolute;
  z-index: 2;
  padding: 5px 10px;
  color: var(--banana-yellow);
  background: rgba(11, 11, 12, .72);
  border: 1px solid rgba(247, 211, 57, .85);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .66rem;
  letter-spacing: .03em;
  animation: pgproducts-float 3.4s ease-in-out infinite;
}

.page-products .pg-phone-tag-1 {
  top: 10%;
  left: 8%;
  animation-delay: -.2s;
}

.page-products .pg-phone-tag-2 {
  top: 36%;
  right: 6%;
  animation-delay: -1s;
}

.page-products .pg-phone-tag-3 {
  top: 52%;
  left: 10%;
  animation-delay: -1.8s;
}

.page-products .pg-phone-tag-4 {
  top: 72%;
  left: 16%;
  animation-delay: -.6s;
}

.page-products .pg-phone-tag-5 {
  right: 8%;
  bottom: 18%;
  animation-delay: -2.4s;
}

.page-products .pg-phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 3;
  width: 72px;
  height: 18px;
  background: var(--deep-black);
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
}

.page-products .pg-phone-caption {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: .76rem;
}

.page-products .pg-sync {
  padding: 56px 0;
  border-top: 1px solid var(--rg-line);
  background:
    radial-gradient(circle at 12% 50%, rgba(0, 240, 255, .08), transparent 42%),
    radial-gradient(circle at 88% 50%, rgba(155, 48, 255, .08), transparent 40%);
}

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

.page-products .pg-sync-media {
  position: relative;
  margin: 0;
}

.page-products .pg-sync-media img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--rock-gray);
  clip-path: polygon(0 0, 100% 4%, 96% 96%, 4% 100%);
}

.page-products .pg-sync-copy .section-title {
  margin: 8px 0 12px;
}

.page-products .pg-sync-lead {
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.7;
}

.page-products .pg-sync-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.page-products .pg-sync-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ivory);
  font-size: .84rem;
  line-height: 1.55;
}

.page-products .pg-sync-list li::before {
  content: '↗';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--banana-yellow);
  font-family: var(--font-body);
}

.page-products .pg-versions {
  padding: 56px 0;
}

.page-products .pg-version-banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 28px 0 12px;
  background: var(--rock-gray);
  clip-path: polygon(0 0, 100% 8%, 96% 100%, 4% 92%);
}

.page-products .pg-timeline {
  position: relative;
  margin: 36px 0 0 16px;
  padding-left: 34px;
}

.page-products .pg-timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--banana-yellow) 0%, var(--bright-orange) 30%, var(--electric-purple) 65%, var(--moss-green) 100%);
}

.page-products .pg-timeline-item {
  position: relative;
  margin-bottom: 22px;
  outline: none;
}

.page-products .pg-timeline-dot {
  position: absolute;
  top: 16px;
  left: -38px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--deep-black);
  border-radius: 50%;
}

.page-products .pg-dot-v1 {
  background: var(--banana-yellow);
  box-shadow: 0 0 0 2px var(--banana-yellow);
}

.page-products .pg-dot-v2 {
  background: var(--bright-orange);
  box-shadow: 0 0 0 2px var(--bright-orange);
}

.page-products .pg-dot-v3 {
  background: var(--electric-purple);
  box-shadow: 0 0 0 2px var(--electric-purple);
}

.page-products .pg-dot-v4 {
  background: var(--cyan-neon);
  box-shadow: 0 0 0 2px var(--cyan-neon);
}

.page-products .pg-dot-v42 {
  background: var(--moss-green);
  box-shadow: 0 0 0 2px var(--moss-green);
}

.page-products .pg-timeline-card {
  padding: 16px 18px;
  background: var(--rock-gray);
  border-left: 3px solid transparent;
  clip-path: polygon(0 0, 100% 6%, 96% 100%, 4% 92%);
  transition: border-left-color .2s ease;
}

.page-products .pg-timeline-item:hover .pg-timeline-card,
.page-products .pg-timeline-item:focus .pg-timeline-card,
.page-products .pg-timeline-item:focus-within .pg-timeline-card {
  border-left-color: var(--banana-yellow);
}

.page-products .pg-timeline-card h3 {
  margin: 0;
  font-size: 1rem;
}

.page-products .pg-timeline-year {
  margin-left: 6px;
  color: var(--bright-orange);
  font-size: .82rem;
}

.page-products .pg-timeline-title {
  margin: 4px 0 0;
  font-size: .86rem;
}

.page-products .pg-timeline-log {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: .8rem;
  line-height: 1.55;
  transition: max-height .35s ease, margin .35s ease;
}

.page-products .pg-timeline-item:hover .pg-timeline-log,
.page-products .pg-timeline-item:focus .pg-timeline-log,
.page-products .pg-timeline-item:focus-within .pg-timeline-log {
  max-height: 160px;
  margin-top: 8px;
}

.page-products .pg-faq {
  padding: 56px 0;
  border-top: 1px solid var(--rg-line);
  background: linear-gradient(180deg, rgba(247, 211, 57, .05), transparent 70%);
}

.page-products .pg-faq .section-head {
  margin-bottom: 24px;
}

.page-products .pg-faq-grid {
  display: grid;
  gap: 16px;
}

.page-products .pg-faq-card {
  display: block;
  padding: 20px 22px;
  background: var(--rock-gray);
  border-left: 3px solid var(--bright-orange);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 4%, 97% 100%, 3% 96%);
  transition: transform .2s ease, border-left-color .2s ease;
}

.page-products .pg-faq-card:hover {
  transform: translateX(6px);
  border-left-color: var(--banana-yellow);
}

.page-products .pg-faq-card h3 {
  margin: 0 0 6px;
  color: var(--banana-yellow);
  font-size: .98rem;
}

.page-products .pg-faq-card p {
  margin: 0;
  color: var(--ivory);
  font-size: .84rem;
  line-height: 1.5;
}

.page-products .pg-faq-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--bright-orange);
  font-family: var(--font-body);
  font-size: .8rem;
}

.page-products .pg-faq-footer {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.page-products .pg-stats {
  padding: 48px 0 64px;
}

.page-products .pg-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-products .pg-stat {
  padding: 26px 14px;
  text-align: center;
  background: linear-gradient(135deg, rgba(247, 211, 57, .06), transparent 60%);
  border: 1px solid var(--rg-line);
  clip-path: polygon(0 0, 100% 10%, 94% 100%, 4% 90%);
}

.page-products .pg-stat-num {
  display: block;
  color: var(--banana-yellow);
  font-family: var(--font-digital);
  font-size: 2rem;
  letter-spacing: .02em;
}

.page-products .pg-stat-label {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: .78rem;
  letter-spacing: .05em;
}

.page-products .pg-stats-trust {
  max-width: 640px;
  margin: 32px auto 0;
  color: var(--text-secondary);
  font-size: .82rem;
  line-height: 1.7;
  text-align: center;
}

@keyframes pgproducts-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 var(--rg-glow);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(247, 211, 57, 0);
  }
}

@keyframes pgproducts-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (min-width: 860px) {
  .page-products .pg-hero-title {
    font-size: 2.4rem;
  }

  .page-products .pg-download-grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
  }

  .page-products .pg-download-qr {
    width: 320px;
    justify-self: end;
  }

  .page-products .pg-feature-scroll {
    gap: 28px;
    padding-inline: calc(var(--container-pad) + 20px);
  }

  .page-products .pg-feature-card {
    flex: 0 0 320px;
  }

  .page-products .pg-phone-stage {
    flex: 0 0 360px;
  }

  .page-products .pg-phone {
    width: 290px;
    height: 600px;
  }

  .page-products .pg-sync-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

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

  .page-products .pg-stat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1120px) {
  .page-products .pg-hero-title {
    font-size: 2.7rem;
  }

  .page-products .pg-download-qr {
    width: 340px;
  }

  .page-products .pg-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin: 48px 0 0;
    padding: 0;
  }

  .page-products .pg-timeline::before {
    top: 12px;
    right: 2%;
    bottom: auto;
    left: 2%;
    width: auto;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--banana-yellow), var(--bright-orange), var(--electric-purple), var(--moss-green));
  }

  .page-products .pg-timeline-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .page-products .pg-timeline-dot {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0 0 10px 14px;
  }

  .page-products .pg-timeline-card {
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pg-btn-pulse,
  .page-products .pg-phone-tag {
    animation: none;
  }

  .page-products .pg-timeline-log {
    transition: none;
  }
}
