.page-products {
  --hero-size: clamp(88px, 16vw, 200px);
  --card-gap: 20px;
  position: relative;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--white);
  padding-bottom: 4rem;
}

.page-products .breadcrumb {
  max-width: calc(var(--container-max) - 2 * var(--container-pad));
  margin: 0 auto;
  padding: calc(var(--header-h) + 24px) var(--container-pad) 0;
}

.page-products .hero-area {
  display: grid;
  gap: 2.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem var(--container-pad) 3.5rem;
  align-items: center;
}

.page-products .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.page-products .hero-copy h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--white);
}

.page-products .hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 34em;
  margin: 0;
}

.page-products .hero-status {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-products .hero-status li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
}

.page-products .hero-status .index-label {
  color: var(--gold);
}

.page-products .hero-version {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 1rem 0;
}

.page-products .version-main {
  font-size: var(--hero-size);
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 65%, var(--highlight) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 179, 71, 0.18));
}

.page-products .version-caption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .hero-version::after {
  content: "";
  position: absolute;
  inset: 12% 8% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.4), transparent);
  transform: rotate(-4deg);
  pointer-events: none;
}

.page-products .section-head-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-products .section-head-row .section-kicker {
  flex-shrink: 0;
}

.page-products .section-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 200;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--white);
}

.page-products .download-board,
.page-products .feature-board,
.page-products .timeline-board,
.page-products .tech-board {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem var(--container-pad);
}

.page-products .download-card {
  display: grid;
  gap: 1.5rem;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-products .download-card::after {
  content: "4.2.6";
  position: absolute;
  right: 12px;
  bottom: 4px;
  font-size: 56px;
  font-weight: 200;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 179, 71, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.page-products .download-card:hover::after {
  opacity: 0.16;
}

.page-products .download-qr img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  margin: 0 auto;
}

.page-products .download-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  z-index: 1;
  position: relative;
}

.page-products .download-info h3 {
  font-size: 22px;
  font-weight: 300;
  margin: 0;
  color: var(--white);
}

.page-products .download-info p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.page-products .check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.page-products .check-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.page-products .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255, 179, 71, 0.5);
}

.page-products .download-note {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.8;
}

.page-products .download-note a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 179, 71, 0.35);
  transition: border-color 0.2s ease;
}

.page-products .download-note a:hover {
  border-color: var(--gold);
}

.page-products .feature-layout {
  display: grid;
  gap: 1.5rem;
}

.page-products .feature-grid {
  display: grid;
  gap: var(--card-gap);
}

.page-products .feature-card {
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-products .feature-card:hover {
  background: var(--bg-hover);
  transform: translateY(-4px);
}

.page-products .feature-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 0.6rem;
}

.page-products .feature-card h3 {
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--white);
}

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

.page-products .feature-visual {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: stretch;
}

.page-products .feature-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
}

.page-products .visual-caption {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.75;
  line-height: 1.6;
  margin: 0;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(255, 179, 71, 0.4);
}

.page-products .timeline-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  margin-bottom: 1.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 179, 71, 0.4) rgba(255, 255, 255, 0.06);
}

.page-products .timeline-scroll::-webkit-scrollbar {
  height: 6px;
}

.page-products .timeline-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.page-products .timeline-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 179, 71, 0.4);
  border-radius: 999px;
}

.page-products .timeline-track {
  display: flex;
  gap: 1.25rem;
  min-width: max-content;
  padding: 2.5rem 0 0.5rem;
  position: relative;
}

.page-products .timeline-track::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(46, 95, 142, 0.5) 0%, rgba(255, 179, 71, 0.5) 100%);
  border-radius: 2px;
}

.page-products .timeline-node {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.page-products .timeline-node::before {
  content: "";
  position: absolute;
  top: -1.55rem;
  left: 1.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-accent);
  border: 3px solid var(--bg-deep);
}

.page-products .timeline-node.current::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.25);
}

.page-products .node-version {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 0.3rem;
}

.page-products .timeline-node.current .node-version {
  font-size: 22px;
  font-weight: 600;
  color: var(--highlight);
}

.page-products .node-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.page-products .timeline-node p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.page-products .timeline-compare {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.page-products .timeline-compare img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
}

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

.page-products .tech-path {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.page-products .tech-path h3,
.page-products .tech-data h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  color: var(--white);
}

.page-products .tech-path p,
.page-products .tech-data p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.page-products .path-compare {
  display: grid;
  gap: 1.25rem;
}

.page-products .path-old,
.page-products .path-new {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-products .path-old .index-label {
  color: var(--bg-accent);
}

.page-products .path-new .index-label {
  color: var(--gold);
}

.page-products .path-old svg,
.page-products .path-new svg {
  width: 100%;
  height: auto;
  max-width: 340px;
  display: block;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.page-products .path-new path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.page-products .tech-board[data-revealed="true"] .path-new path {
  animation: dash-draw 1.2s ease forwards 0.25s;
}

.page-products .tech-note {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 0.9rem;
}

.page-products .tech-data {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-products .tech-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-products .tech-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.page-products .tech-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.page-products .tech-data img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
}

.page-products .env-footer {
  position: relative;
  max-width: var(--container-max);
  margin: 2.5rem auto 0;
  padding: 0 var(--container-pad);
}

.page-products .env-footer img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
}

.page-products .env-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}

.page-products .env-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}

.page-products .env-link-group a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-products .env-link-group a:hover {
  color: var(--gold);
  border-bottom-color: rgba(255, 179, 71, 0.5);
}

@keyframes dash-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (min-width: 640px) {
  .page-products .download-card {
    grid-template-columns: auto 1fr;
    padding: 2.25rem;
  }

  .page-products .download-qr img {
    max-width: 240px;
    margin: 0;
  }

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

  .page-products .path-compare {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .page-products .hero-area {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: calc(100vh - var(--header-h) - 80px);
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .page-products .hero-lead {
    font-size: 18px;
  }

  .page-products .feature-layout {
    grid-template-columns: 1.35fr 0.65fr;
    align-items: stretch;
  }

  .page-products .feature-visual {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .page-products .feature-visual img {
    flex: 1;
    object-fit: cover;
    min-height: 280px;
  }

  .page-products .tech-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .page-products .env-links {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
