.page-products {
  --products-text-secondary: #cbd5e1;
  --products-gold-soft: rgba(212, 160, 23, 0.12);
  --products-gold-border: rgba(212, 160, 23, 0.3);
  --products-cyan-soft: rgba(45, 212, 191, 0.12);
  --products-red-soft: rgba(217, 56, 62, 0.1);

  background: var(--bg-primary);
  color: var(--text-light);
  font-family: var(--font-body);
  padding-bottom: 64px;
  overflow-x: hidden;
}

.page-products,
.page-products *,
.page-products *::before,
.page-products *::after {
  box-sizing: border-box;
}

.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.page-products h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--text-light);
}

.page-products h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-light);
}

.page-products__breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 20px 0;
  font-size: 13px;
  color: var(--gray-blue);
  gap: 8px;
  flex-wrap: wrap;
}

.page-products__crumb-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

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

.page-products__hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
}

.page-products__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, var(--products-gold-soft) 0%, transparent 52%),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 14px,
      rgba(255, 255, 255, 0.014) 14px,
      rgba(255, 255, 255, 0.014) 15px
    );
  pointer-events: none;
}

.page-products__hero-copy {
  position: relative;
  z-index: 1;
}

.page-products__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent-gold);
  display: inline-block;
  flex-shrink: 0;
}

.page-products h1 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--text-light);
}

.page-products__lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--products-text-secondary);
  margin: 0 0 18px;
  max-width: 54ch;
}

.page-products__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.page-products__hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
}

.page-products__hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products__hero-stat-num {
  font-family: var(--font-numeric);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-gold-light);
  line-height: 1.15;
}

.page-products__hero-stat-label {
  font-size: 12px;
  color: var(--gray-blue);
}

.page-products__hero-figure {
  position: relative;
  z-index: 1;
  margin: 0;
}

.page-products__hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--products-gold-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.page-products__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products__panel {
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: var(--radius-panel);
  padding: 26px 22px;
  position: relative;
  min-width: 0;
}

.page-products__panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  pointer-events: none;
}

.page-products__section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.page-products__section-num {
  font-family: var(--font-numeric);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
}

.page-products__section-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-blue);
  margin: 0 0 18px;
}

.page-products__download {
  background: linear-gradient(150deg, var(--products-gold-soft) 0%, var(--bg-secondary) 42%);
  border-color: var(--products-gold-border);
}

.page-products__download::before {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
}

.page-products__file-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products__file-item {
  background: var(--bg-primary);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-products__file-item:hover {
  border-color: var(--products-gold-border);
  transform: translateX(4px);
}

.page-products__file-item--hot {
  border-color: rgba(217, 56, 62, 0.4);
}

.page-products__file-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-products__file-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-light);
}

.page-products__file-type {
  font-size: 12px;
  color: var(--gray-blue);
}

.page-products__file-item .btn {
  flex-shrink: 0;
  font-size: 13px;
  padding: 8px 14px;
}

.page-products__file-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--gray-blue);
  background: var(--bg-near-black);
  border-left: 3px solid var(--accent-gold);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
}

.page-products__file-note strong {
  color: var(--accent-gold-light);
  font-weight: 700;
}

.page-products__lineup::before {
  background: linear-gradient(90deg, var(--accent-cyan), rgba(45, 212, 191, 0.2));
}

.page-products__lineup-figure {
  margin: 0 0 18px;
}

.page-products__lineup-img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  width: 100%;
  object-fit: cover;
}

.page-products__lineup-lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--products-text-secondary);
  margin: 0 0 16px;
  font-weight: 600;
}

.page-products__steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-products__step-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--products-cyan-soft);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--accent-cyan);
  font-family: var(--font-numeric);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products__step-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-blue);
  margin: 0;
}

.page-products__inline-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(45, 212, 191, 0.4);
}

.page-products__inline-link:hover {
  color: var(--accent-gold-light);
  border-bottom-color: var(--accent-gold-light);
}

.page-products__timebar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.page-products__timebar-node {
  font-family: var(--font-numeric);
  font-size: 12px;
  color: var(--gray-blue);
  white-space: nowrap;
}

.page-products__timebar-track {
  flex: 1;
  height: 4px;
  background: var(--divider);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.page-products__timebar-fill {
  display: block;
  height: 100%;
  width: 74%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  border-radius: 999px;
}

.page-products__more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--products-gold-border);
  padding-bottom: 2px;
}

.page-products__more-link:hover {
  color: var(--accent-gold-light);
  border-bottom-color: var(--accent-gold-light);
}

.page-products__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-products__sync::before {
  background: linear-gradient(90deg, var(--accent-cyan), rgba(45, 212, 191, 0.3));
}

.page-products__sync-figure {
  margin: 0 0 14px;
}

.page-products__sync-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  width: 100%;
  object-fit: cover;
}

.page-products__sync-lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--products-text-secondary);
  margin: 0 0 14px;
}

.page-products__sync-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products__sync-item {
  font-size: 13px;
  line-height: 1.5;
  color: var(--products-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.page-products__sync-check {
  color: var(--accent-cyan);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1.4;
}

.page-products__sync-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-cyan);
  background: var(--products-cyan-soft);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 999px;
  padding: 8px 14px;
  width: fit-content;
}

.page-products__sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4);
}

.page-products__versions::before {
  background: linear-gradient(90deg, var(--accent-gold), rgba(212, 160, 23, 0.2));
}

.page-products__versions-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  width: 100%;
  margin-bottom: 16px;
  object-fit: cover;
}

.page-products__version-timeline {
  padding: 0;
  margin: 0;
}

.page-products__version-item {
  position: relative;
  padding-left: 22px;
  margin-bottom: 18px;
}

.page-products__version-item:last-child {
  margin-bottom: 0;
}

.page-products__version-item .timeline__dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

.page-products__version-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  bottom: -6px;
  width: 2px;
  background: var(--divider);
}

.page-products__version-dot--gold {
  background: var(--accent-gold-light) !important;
  box-shadow: 0 0 0 3px rgba(245, 201, 81, 0.25) !important;
}

.page-products__version-body h3 {
  font-size: 14px;
  margin-bottom: 4px;
  font-family: var(--font-numeric);
  letter-spacing: 0.02em;
}

.page-products__version-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.page-products__version-head h3 {
  margin-bottom: 0;
}

.page-products__version-body p {
  font-size: 13px;
  color: var(--gray-blue);
  line-height: 1.55;
  margin: 0;
}

.page-products__fault {
  max-width: var(--container);
  margin: 32px auto 0;
  padding: 0 20px;
  display: grid;
  gap: 24px;
}

.page-products__fault-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--products-red-soft), rgba(10, 20, 40, 0.45) 50%, var(--products-gold-soft));
  border: 1px solid rgba(217, 56, 62, 0.25);
  border-radius: var(--radius-panel);
  position: relative;
}

.page-products__fault-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), rgba(212, 160, 23, 0.4));
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  pointer-events: none;
}

.page-products__fault-img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  width: 100%;
  object-fit: cover;
}

.page-products__fault-head-copy h2 {
  margin: 0 0 10px;
}

.page-products__fault-head-copy p {
  font-size: 14px;
  color: var(--products-text-secondary);
  line-height: 1.7;
  margin: 0;
}

.page-products__fault-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products__fault-card {
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.2s ease;
}

.page-products__fault-card:hover {
  border-color: var(--products-gold-border);
}

.page-products__fault-card--warn {
  border-color: rgba(217, 56, 62, 0.35);
  background: rgba(217, 56, 62, 0.04);
}

.page-products__fault-card p {
  font-size: 13px;
  color: var(--gray-blue);
  line-height: 1.65;
  margin: 0;
}

.page-products__help {
  max-width: var(--container);
  margin: 32px auto 0;
  padding: 28px 24px;
  display: grid;
  gap: 24px;
  background: linear-gradient(120deg, var(--products-gold-soft), var(--bg-secondary) 60%);
  border-radius: var(--radius-panel);
  border: 1px solid rgba(212, 160, 23, 0.22);
}

.page-products__help-copy p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-blue);
  margin: 0;
  max-width: 60ch;
}

.page-products__help-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products__help-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-near-black);
  border-radius: 14px;
  padding: 16px;
  flex-wrap: wrap;
}

.page-products__help-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--bg-near-black);
  font-family: var(--font-numeric);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-products__help-text {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  min-width: 120px;
}

.page-products__help-step .btn {
  margin-left: auto;
}

.page-products__legal {
  max-width: var(--container);
  margin: 24px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-blue);
}

.page-products__legal a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

.page-products__legal a:hover {
  color: var(--accent-gold-light);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .page-products h1 {
    font-size: 40px;
    line-height: 1.15;
  }

  .page-products__hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 44px 24px 36px;
    gap: 48px;
  }

  .page-products__grid {
    grid-template-columns: 1.05fr 1fr 0.95fr;
    gap: 24px;
    padding: 0 24px;
  }

  .page-products__fault-head {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }

  .page-products__fault-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products__help {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .page-products__help-step {
    flex-wrap: nowrap;
  }
}

@media (min-width: 1200px) {
  .page-products__hero {
    padding: 48px 0 36px;
  }

  .page-products__grid {
    padding: 0;
  }

  .page-products__fault {
    padding: 0;
  }

  .page-products__legal {
    padding: 0;
  }
}
