.page-products {
  --section-gap: 64px;
  --panel-bg: rgba(27, 58, 92, 0.42);
  --panel-border: rgba(160, 170, 181, 0.22);
  background: var(--bg-primary);
  color: var(--warm-paper);
  overflow: clip;
}

.page-products .section {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .page-products .section {
    padding: 72px 0;
  }
}

.page-products .breadcrumb {
  margin-bottom: 22px;
}

.page-products .hero-layout {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-top: 28px;
}

.page-products .hero-copy {
  position: relative;
  padding: 28px 24px;
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.85), rgba(10, 22, 40, 0.5));
  border-left: 3px solid var(--star-gold);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .hero-copy::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.page-products .hero-eyebrow,
.page-products .final-eyebrow {
  font-family: var(--font-mono);
  color: var(--aurora-green);
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin: 0;
  text-transform: uppercase;
}

.page-products .hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.18;
  color: var(--warm-paper);
  margin: 12px 0 14px;
}

.page-products .hero-subtitle {
  color: var(--iron-gray);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0 0 20px;
}

.page-products .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.page-products .hero-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(10, 22, 40, 0.58);
  border-left: 2px solid var(--aurora-green);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-products .hero-stat .stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--iron-gray);
  letter-spacing: 0.04em;
}

.page-products .hero-stat .stat-value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  color: var(--aurora-green);
  font-weight: 700;
  line-height: 1;
}

.page-products .hero-actions,
.page-products .final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.page-products .hero-note {
  color: var(--iron-gray);
  font-size: 0.82rem;
  margin: 12px 0 0;
}

.page-products .hero-visual {
  position: relative;
}

.page-products .hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(242, 201, 76, 0.35);
  box-shadow: var(--shadow);
}

@media (min-width: 960px) {
  .page-products .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
  }
}

.page-products .download-section {
  padding-top: 0;
}

.page-products .download-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 26px;
  background: linear-gradient(145deg, rgba(27, 58, 92, 0.72), rgba(10, 22, 40, 0.55));
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.page-products .download-panel::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--star-gold), var(--aurora-green), var(--cosmic-violet));
}

@media (min-width: 640px) {
  .page-products .download-panel {
    grid-template-columns: 180px 1fr;
  }
}

.page-products .download-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--warm-paper);
  border-radius: 10px;
}

.page-products .download-qr svg {
  width: 160px;
  height: 160px;
  display: block;
}

.page-products .qr-caption {
  font-family: var(--font-mono);
  color: var(--bg-primary);
  font-size: 0.76rem;
  text-align: center;
}

.page-products .download-meta {
  position: relative;
}

.page-products .download-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 212, 170, 0.16);
  border: 1px solid rgba(0, 212, 170, 0.4);
  color: var(--aurora-green);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  border-radius: 999px;
}

.page-products .download-meta h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--warm-paper);
  margin: 12px 0 14px;
}

.page-products .download-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .download-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(160, 170, 181, 0.24);
  font-size: 0.9rem;
}

.page-products .dl-label {
  color: var(--iron-gray);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.page-products .dl-value {
  color: var(--warm-paper);
  font-weight: 600;
  text-align: right;
}

.page-products .feature-section {
  background: linear-gradient(180deg, rgba(27, 58, 92, 0.12), transparent);
}

.page-products .feature-layout {
  display: grid;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

@media (min-width: 960px) {
  .page-products .feature-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 60px;
  }
}

.page-products .skill-tree {
  position: relative;
  padding-left: 64px;
}

.page-products .skill-tree::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--star-gold) 0%, var(--aurora-green) 100%);
  opacity: 0.55;
}

.page-products .skill-node {
  position: relative;
  margin-bottom: 24px;
}

.page-products .skill-node::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 28px;
  width: 18px;
  height: 2px;
  background: linear-gradient(to right, var(--star-gold), transparent);
  opacity: 0.7;
}

.page-products .skill-node-index {
  position: absolute;
  left: -54px;
  top: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--bg-primary);
  color: var(--star-gold);
  border: 1.5px solid var(--star-gold);
  box-shadow: 0 0 20px rgba(242, 201, 76, 0.28);
}

.page-products .skill-node-card {
  padding: 18px 20px;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(160, 170, 181, 0.16);
  border-left: 2px solid rgba(242, 201, 76, 0.6);
  border-radius: 8px;
  transition: border-color var(--transition), background var(--transition);
}

.page-products .skill-node-card:hover {
  border-color: rgba(242, 201, 76, 0.5);
  background: rgba(27, 58, 92, 0.45);
}

.page-products .skill-node-card h3 {
  color: var(--warm-paper);
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 8px;
}

.page-products .skill-node-card p {
  color: var(--iron-gray);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 520px) {
  .page-products .skill-tree {
    padding-left: 56px;
  }

  .page-products .skill-node-index {
    left: -48px;
    width: 40px;
    height: 40px;
  }

  .page-products .skill-node::before {
    left: -37px;
    width: 14px;
  }

  .page-products .skill-tree::before {
    left: 20px;
  }
}

.page-products .feature-figure,
.page-products .compare-figure,
.page-products .device-figure {
  margin: 0;
  padding: 14px;
  background: rgba(10, 22, 40, 0.45);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
}

.page-products .feature-figure img,
.page-products .compare-figure img,
.page-products .device-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-products .feature-figure figcaption,
.page-products .compare-figure figcaption,
.page-products .device-figure figcaption {
  color: var(--iron-gray);
  font-size: 0.84rem;
  line-height: 1.6;
  padding: 12px 4px 2px;
}

.page-products .compare-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

@media (min-width: 720px) {
  .page-products .compare-stage {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
}

.page-products .compare-column {
  padding: 22px;
  border-radius: 10px;
}

.page-products .compare-old {
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(160, 170, 181, 0.24);
}

.page-products .compare-new {
  background: linear-gradient(160deg, rgba(242, 201, 76, 0.12), rgba(0, 212, 170, 0.08));
  border: 1px solid rgba(242, 201, 76, 0.4);
}

.page-products .compare-ribbon {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  background: rgba(10, 22, 40, 0.5);
  color: var(--warm-paper);
  border: 1px solid rgba(160, 170, 181, 0.3);
}

.page-products .compare-new .compare-ribbon {
  color: var(--bg-primary);
  background: var(--star-gold);
  border-color: var(--star-gold);
  font-weight: 700;
}

.page-products .compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .compare-list li {
  position: relative;
  padding-left: 18px;
  color: var(--iron-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-products .compare-list li::before {
  content: "›";
  position: absolute;
  left: 2px;
  color: var(--aurora-green);
  font-weight: 700;
}

.page-products .compare-new .compare-list li {
  color: var(--warm-paper);
}

.page-products .compare-peak {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--star-gold);
  background: rgba(242, 201, 76, 0.08);
  border: 1px solid rgba(242, 201, 76, 0.3);
  border-radius: 999px;
  padding: 10px 12px;
}

@media (min-width: 720px) {
  .page-products .compare-peak {
    padding: 26px 14px;
  }
}

.page-products .compare-figure {
  margin-top: 28px;
}

.page-products .compare-tabs {
  margin-top: 28px;
}

.page-products .device-layout {
  display: grid;
  gap: 28px;
  align-items: start;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .page-products .device-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
  }
}

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

.page-products .device-card {
  padding: 16px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}

.page-products .device-card:hover {
  border-color: rgba(0, 212, 170, 0.45);
}

.page-products .device-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--star-gold);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.page-products .device-card h3 {
  margin: 0 0 6px;
  color: var(--warm-paper);
  font-size: 1rem;
}

.page-products .device-card p {
  margin: 0;
  color: var(--iron-gray);
  font-size: 0.82rem;
  line-height: 1.6;
}

.page-products .final-section {
  background: linear-gradient(160deg, rgba(27, 58, 92, 0.4), rgba(10, 22, 40, 0.1));
}

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

@media (min-width: 900px) {
  .page-products .final-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 56px;
  }
}

.page-products .final-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--warm-paper);
  margin: 10px 0 16px;
}

.page-products .final-copy p {
  color: var(--iron-gray);
  line-height: 1.75;
  margin: 0 0 16px;
}

.page-products .final-actions {
  margin-top: 22px;
}

.page-products .final-figure {
  margin: 0;
  position: relative;
}

.page-products .final-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(242, 201, 76, 0.3);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.page-products .btn-entry {
  position: relative;
  overflow: hidden;
}

.page-products .btn-entry::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

.page-products .btn-entry:hover::after,
.page-products .btn-entry:focus-visible::after {
  animation: page-products-pulse 0.55s ease-out;
}

@keyframes page-products-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(8);
    opacity: 0;
  }
}
