.page-products {
  --pw-gap: 1.25rem;
  --pw-section-gap: 3.5rem;
  --pw-accent-soft: rgba(57, 255, 20, 0.08);
  --pw-warn-soft: rgba(255, 108, 0, 0.1);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  line-height: var(--line-height);
  padding-bottom: 2rem;
}

.page-products__wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pw-gap);
}

.page-products__crumb-link,
.page-products__crumb-current {
  font-size: 0.8rem;
  line-height: 1.4;
}

.page-products__crumb-link {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-products__crumb-link:hover {
  color: var(--c-accent);
}

.page-products__crumb-sep {
  color: var(--c-line);
  margin-inline: 0.35rem;
}

.page-products__crumb-current {
  color: var(--c-text);
}

.page-products__hero-wrap {
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.page-products__hero-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 240px;
  background:
    linear-gradient(rgba(57, 255, 20, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.page-products__hero-wrap::after {
  content: "";
  position: absolute;
  top: 3.2rem;
  right: 1%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(181, 55, 242, 0.16);
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
}

.page-products__hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.page-products__hero-copy {
  position: relative;
}

.page-products__kicker {
  display: inline-block;
  font-family: var(--font-number);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid rgba(57, 255, 20, 0.4);
  padding: 0.35rem 0.7rem;
  border-radius: 99px;
  background: var(--pw-accent-soft);
}

.page-products__hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 1rem 0 0;
}

.page-products__hero-lead {
  margin: 1.25rem 0 0;
  max-width: 640px;
  font-size: 0.94rem;
  color: var(--c-muted);
}

.page-products__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.page-products__ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(57, 255, 20, 0.5);
  color: var(--c-accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.page-products__ghost-btn:hover {
  background: var(--pw-accent-soft);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.22);
  transform: translateY(-2px);
}

.page-products__hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.page-products__stat-item {
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 1rem 0.85rem;
  min-width: 0;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-products__stat-item:hover {
  border-color: rgba(57, 255, 20, 0.35);
  transform: translateY(-2px);
}

.page-products__stat-item--accent {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(181, 55, 242, 0.18), rgba(57, 255, 20, 0.05));
  border-color: rgba(181, 55, 242, 0.4);
}

.page-products__stat-value {
  display: block;
  font-family: var(--font-number);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1.1;
  word-break: break-word;
}

.page-products__stat-item--accent .page-products__stat-value {
  color: var(--c-warn);
}

.page-products__stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--c-muted);
}

.page-products__tools {
  padding-block: var(--pw-section-gap);
  border-top: 1px solid var(--c-line);
}

.page-products__section-head {
  max-width: 660px;
  margin-bottom: 2.5rem;
}

.page-products__section-index {
  display: inline-block;
  font-family: var(--font-number);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-warn);
  border: 1px solid rgba(255, 108, 0, 0.4);
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  background: var(--pw-warn-soft);
  margin-bottom: 0.85rem;
}

.page-products__section-head h2,
.page-products__download h2,
.page-products__compat h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.page-products__section-lead {
  color: var(--c-muted);
  margin-top: 0.75rem;
  font-size: 0.94rem;
}

.page-products__tool {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.9) 0%, rgba(10, 25, 47, 0.96) 70%);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-products__tool:hover {
  border-color: rgba(57, 255, 20, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.page-products__tool--02 {
  background: linear-gradient(135deg, rgba(13, 63, 87, 0.65) 0%, rgba(10, 25, 47, 0.96) 72%);
}

.page-products__tool--03 {
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.5) 0%, rgba(10, 25, 47, 0.96) 72%);
}

.page-products__tool-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-number);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(57, 255, 20, 0.16);
  line-height: 1;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.page-products__tool-info {
  padding-right: 2.2rem;
  min-width: 0;
}

.page-products__tool h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.4rem 0 0.8rem;
}

.page-products__tool-desc {
  font-size: 0.92rem;
  color: var(--c-muted);
  margin: 0;
}

.page-products__tool-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-products__tool-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: #d4e0f0;
}

.page-products__tool-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--c-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-products__tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.page-products__tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-number);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--c-accent);
  background: var(--pw-accent-soft);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 99px;
}

.page-products__tool-link {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--c-warn);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 108, 0, 0.4);
  padding-bottom: 0.2rem;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.page-products__tool-link:hover {
  color: #ff8c33;
  border-color: rgba(255, 108, 0, 0.8);
}

.page-products__tool-media {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-bg-panel);
  line-height: 0;
  min-width: 0;
}

.page-products__tool-media img,
.page-products__download-media img,
.page-products__compat-figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.page-products__tool-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-number);
  font-size: 0.72rem;
  color: var(--c-muted);
  background: rgba(10, 25, 47, 0.85);
  border-top: 1px solid var(--c-line);
  z-index: 1;
  line-height: 1.4;
}

.page-products__tool-hover-note {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  background: rgba(10, 25, 47, 0.92);
  color: var(--c-accent);
  font-family: var(--font-head);
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.page-products__tool:hover .page-products__tool-hover-note {
  opacity: 1;
  transform: translateY(0);
}

.page-products__download {
  background: linear-gradient(160deg, #050b16 0%, var(--c-bg-panel) 55%, #050b16 100%);
  padding: var(--pw-section-gap) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.page-products__download-panel {
  display: grid;
  gap: 2rem;
}

.page-products__download-copy h2 {
  margin-top: 0.6rem;
}

.page-products__download-desc {
  margin: 1rem 0 0;
  color: var(--c-muted);
  font-size: 0.93rem;
  max-width: 560px;
}

.page-products__download-qr {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.page-products__qr-link {
  display: inline-block;
  border-radius: 14px;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-products__qr-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.3);
}

.page-products__qrcode {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 3px;
  width: 136px;
  height: 136px;
  padding: 10px;
  background: #f5f7fa;
  border-radius: 12px;
  border: 2px solid rgba(57, 255, 20, 0.25);
}

.page-products__qr-cell {
  display: block;
  background: #cdd9ec;
  border-radius: 2px;
}

.page-products__qr-cell--solid {
  background: var(--c-accent);
}

.page-products__download-hint {
  font-size: 0.78rem;
  color: var(--c-muted);
}

.page-products__download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-products__download-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-bg-panel);
  line-height: 0;
}

.page-products__qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.86);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.page-products__qr-modal:target {
  display: flex;
}

.page-products__qr-modal-card {
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 90vw;
}

.page-products__qrcode--large {
  width: 220px;
  height: 220px;
  padding: 14px;
  border-radius: 16px;
}

.page-products__qr-modal-card p {
  color: var(--c-text);
  margin: 1rem 0 0.2rem;
  font-size: 0.88rem;
  max-width: 280px;
}

.page-products__qr-close {
  display: inline-block;
  margin-top: 1rem;
  color: var(--c-warn);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.page-products__compat {
  padding: var(--pw-section-gap) 0;
}

.page-products__compat h2 {
  margin-top: 0.6rem;
}

.page-products__compat-lead {
  color: var(--c-muted);
  max-width: 720px;
  margin: 1rem 0 0;
  font-size: 0.93rem;
}

.page-products__compat-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.page-products__device {
  border: 1px solid var(--c-line);
  background: var(--c-bg-panel);
  border-radius: 16px;
  padding: 1.4rem;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.page-products__device-num {
  font-family: var(--font-number);
  font-size: 0.75rem;
  color: var(--c-violet);
  display: block;
  margin-bottom: 0.5rem;
}

.page-products__device h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.page-products__device p {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin: 0;
}

.page-products__device:focus,
.page-products__device:hover {
  border-color: rgba(57, 255, 20, 0.6);
  box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.page-products__compat-figure {
  margin: 2rem 0 0;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-bg-panel);
  line-height: 0;
}

.page-products__compat-caption {
  padding: 0.6rem 1rem;
  font-family: var(--font-number);
  font-size: 0.75rem;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
  line-height: 1.4;
}

@media (min-width: 640px) {
  .page-products {
    --pw-gap: 1.75rem;
  }

  .page-products__hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products__stat-item--accent {
    grid-column: 1 / -1;
  }

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

  .page-products__tool {
    padding: 2rem;
  }

  .page-products__download-qr {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .page-products {
    --pw-gap: 2rem;
    --pw-section-gap: 5.5rem;
  }

  .page-products__hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
  }

  .page-products__hero-wrap {
    padding-bottom: 4.5rem;
  }

  .page-products__hero-wrap::after {
    top: 4.5rem;
    width: 220px;
    height: 220px;
  }

  .page-products__hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .page-products__tool {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
  }

  .page-products__tool--02 {
    grid-template-columns: 0.95fr 1.05fr;
    margin-left: 4%;
  }

  .page-products__tool--02 .page-products__tool-info {
    order: 2;
  }

  .page-products__tool--02 .page-products__tool-media {
    order: 1;
  }

  .page-products__tool--03 {
    margin-right: 2%;
  }

  .page-products__tool-tag {
    font-size: 3.2rem;
  }

  .page-products__tool-info {
    padding-right: 1.5rem;
  }

  .page-products__download-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }

  .page-products__download-media img {
    aspect-ratio: 16 / 9;
  }

  .page-products__compat-figure img {
    aspect-ratio: 2 / 1;
  }
}

@media (min-width: 1200px) {
  .page-products__hero {
    gap: 4.5rem;
  }

  .page-products__tool--02 {
    margin-left: 5%;
  }
}
