.page-products {
  --slant-angle: -6deg;
  --chip-bg: rgba(255, 255, 255, 0.06);
  --soft-shadow: 0 18px 48px rgba(6, 19, 42, 0.16);
}

.page-products .breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 0;
  color: var(--c-muted);
  font-size: 0.875rem;
}

.page-products .breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.page-products .breadcrumb a:hover {
  color: var(--c-space);
}

.page-products .breadcrumb .sep {
  margin: 0 0.4rem;
  color: var(--c-neon);
  font-family: var(--font-mono);
}

.page-products .products-hero {
  position: relative;
  background-color: var(--c-space);
  background-image:
    linear-gradient(150deg, rgba(0, 230, 138, 0.18) 0%, transparent 38%),
    linear-gradient(30deg, rgba(255, 90, 54, 0.08) 0%, transparent 30%);
  color: var(--c-white);
  overflow: hidden;
  padding: 3rem 0 4.5rem;
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-neon) 0%, var(--c-neon) 72%, var(--c-orange) 72%);
  transform: skewY(-1.5deg) scale(1.01);
  transform-origin: left bottom;
  z-index: 2;
}

.page-products .products-hero::after {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 230, 138, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.page-products .products-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 2.5rem;
}

.page-products .products-hero__index {
  display: inline-block;
  color: var(--c-neon);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 230, 138, 0.4);
  padding: 0.25rem 0.6rem;
  background: rgba(0, 230, 138, 0.08);
}

.page-products .products-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: 18em;
}

.page-products .products-hero__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 46em;
  margin: 0 0 1.5rem;
}

.page-products .products-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.page-products .products-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.page-products .products-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.page-products .products-hero__visual::before {
  content: "";
  position: absolute;
  inset: auto 12% -14px 12%;
  height: 48px;
  background: rgba(0, 230, 138, 0.18);
  filter: blur(18px);
  border-radius: 50%;
  z-index: 0;
}

.page-products .products-hero__shot {
  position: relative;
  z-index: 1;
  width: min(220px, 60vw);
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, #102A4E 0%, #0A1E3C 100%);
}

.page-products .section-head {
  padding: 4rem 0 2rem;
}

.page-products .section-head .section-index {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-neon);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.12em;
}

.page-products .section-head .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--c-ink);
  margin: 0 0 0.5rem;
  position: relative;
  display: inline-block;
}

.page-products .section-head .section-sub {
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 36em;
  margin: 0;
}

.page-products .slant-divider {
  display: block;
  width: 74px;
  height: 6px;
  background: var(--c-neon);
  transform: skewX(var(--slant-angle));
  margin-bottom: 0.9rem;
  border-radius: 2px;
}

.page-products .version-block {
  padding-bottom: 4rem;
}

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

.page-products .version-index {
  background: var(--c-light);
  border-left: 4px solid var(--c-neon);
  padding: 1.25rem 1rem;
  transform: skewX(-1deg);
}

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

.page-products .version-index__list li {
  margin: 0;
}

.page-products .version-index__list a {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--c-ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.page-products .version-index__list a:hover {
  border-color: var(--c-neon);
}

.page-products .version-detail {
  display: grid;
  gap: 1.5rem;
}

.page-products .version-item {
  position: relative;
  padding: 1.5rem 1.25rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  transition: box-shadow 0.25s var(--ease);
}

.page-products .version-item:hover {
  box-shadow: var(--shadow-float);
}

.page-products .version-item__ver {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--c-orange);
  background: var(--c-orange-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.7rem;
}

.page-products .version-item__content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-ink);
  margin: 0 0 0.55rem;
}

.page-products .version-item__content p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 0;
}

.page-products .version-item__meta {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-products .version-note {
  margin-top: 1rem;
}

.page-products .version-note__link {
  color: var(--c-space);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-neon);
}

.page-products .category-block {
  background: var(--c-light);
  padding-bottom: 4rem;
}

.page-products .category-block .section-title {
  color: var(--c-ink);
}

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

.page-products .category-tags__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-space);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 0.6rem;
  border-left: 3px solid var(--c-neon);
  padding-left: 0.55rem;
}

.page-products .category-tags__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.page-products .category-grid {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.page-products .category-grid::before {
  content: "22";
  position: absolute;
  right: -14px;
  bottom: -26px;
  font-family: var(--font-mono);
  font-size: 7rem;
  font-weight: 800;
  color: rgba(0, 230, 138, 0.12);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.page-products .category-grid__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1rem;
  position: relative;
  z-index: 1;
}

.page-products .category-grid__list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-ink);
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--c-line);
}

.page-products .category-grid__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-neon);
  font-weight: 700;
}

.page-products .category-poster {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  margin-top: 2rem;
  object-fit: cover;
  display: block;
}

.page-products .focus-block {
  padding-bottom: 4rem;
}

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

.page-products .focus-visual {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-products .focus-visual__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--c-line);
}

.page-products .focus-visual__sub {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--c-line);
  transform: skewY(-1.2deg);
  box-shadow: var(--shadow-float);
}

.page-products .focus-faq {
  display: grid;
  gap: 1.4rem;
  align-content: start;
}

.page-products .faq-item {
  border-bottom: 1px solid var(--c-line);
  padding: 0.75rem 0;
}

.page-products .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-ink);
  padding: 0.6rem 0;
  cursor: pointer;
  text-align: left;
}

.page-products .faq-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex: none;
}

.page-products .faq-icon::before,
.page-products .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--c-neon);
  transition: transform 0.2s var(--ease);
}

.page-products .faq-icon::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}

.page-products .faq-icon::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}

.page-products .faq-question[aria-expanded="true"] .faq-icon::after {
  transform: scaleY(0);
}

.page-products .faq-answer {
  max-height: none;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.25s;
}

.page-products .faq-question[aria-expanded="false"] + .faq-answer {
  max-height: 0;
  opacity: 0;
}

.page-products .faq-answer p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--c-muted);
  padding: 0 0 1rem;
  margin: 0;
}

.page-products .download-block {
  background-color: var(--c-space);
  color: var(--c-white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.page-products .download-block::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -180px;
  background: radial-gradient(circle, rgba(0, 230, 138, 0.18) 0%, transparent 66%);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .download-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--c-orange) 0%, var(--c-neon) 60%);
  transform: skewY(-1deg);
  transform-origin: left top;
}

.page-products .download-block__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.page-products .download-text .section-index {
  color: var(--c-neon);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

.page-products .download-text .section-title {
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 900;
  margin: 0 0 0.75rem;
}

.page-products .download-text__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
  max-width: 38em;
}

.page-products .download-compat {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-products .download-compat li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
}

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

.page-products .download-compat__val {
  color: rgba(255, 255, 255, 0.85);
}

.page-products .download-text__note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 42em;
}

.page-products .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.page-products .download-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--c-white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-space);
}

.page-products .download-qr__img {
  width: 180px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--c-line);
}

.page-products .download-qr__text {
  font-size: 0.9rem;
  color: var(--c-ink);
  margin: 0;
}

.page-products .download-qr__text strong {
  color: var(--c-space);
  font-family: var(--font-display);
}

.page-products .btn-ghost {
  border-color: rgba(255, 255, 255, 0.64);
  color: var(--c-white);
}

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

.page-products [data-enter] {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.page-products .faq-question:focus-visible,
.page-products .version-index__list a:focus-visible,
.page-products .download-actions a:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .page-products .products-hero {
    padding: 5rem 0 6rem;
  }

  .page-products .products-hero__inner {
    grid-template-columns: 1.15fr 0.6fr;
    align-items: center;
    gap: 3rem;
  }

  .page-products .products-hero__shot {
    width: 290px;
  }

  .page-products .version-layout {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
  }

  .page-products .version-index__list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .page-products .category-layout {
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
  }

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

  .page-products .focus-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .page-products .download-block__inner {
    grid-template-columns: 1fr 300px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products [data-enter] {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .page-products .faq-answer {
    transition: none;
  }

  .page-products .products-hero__shot {
    transform: rotate(0deg);
  }

  .page-products .focus-visual__sub {
    transform: none;
  }
}
