.page-products {
  --page-gold: #D4AF37;
  --page-navy: #0F1F4B;
  --page-blue: #1E3A8A;
  --page-cream: #F0E6C0;
  --page-warm: #F5F5F5;
  position: relative;
  background: var(--page-warm);
  color: #2D2D2D;
  font-family: var(--sans);
  overflow-x: hidden;
}

.page-products .page-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.page-products .page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-products .content-wrap {
  position: relative;
  z-index: 1;
}

.page-products .page-head {
  margin: 0 0 44px;
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--light-gold);
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--stone);
  margin: 0 0 26px;
}

.page-products .breadcrumb a {
  color: var(--royal-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-products .breadcrumb a:hover,
.page-products .breadcrumb a:focus {
  border-color: var(--gold);
}

.page-products .page-type {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.page-products .page-type::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.page-products .page-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--deep-navy);
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

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

.page-products .download-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 72px;
}

.page-products .download-card {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #16295E 55%, var(--royal-blue) 100%);
  color: var(--white);
  padding: 36px clamp(22px, 4vw, 48px) 40px;
  border-radius: 4px 28px 4px 28px;
  position: relative;
  box-shadow: 0 24px 48px rgba(15, 31, 75, 0.18);
  display: flex;
  flex-direction: column;
}

.page-products .download-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 32px;
  height: 32px;
  background: var(--page-warm);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  border-radius: 0 0 0 6px;
}

.page-products .download-card::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 84px;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 42%, rgba(212, 175, 55, 0.08) 42%);
  pointer-events: none;
}

.page-products .download-card-head {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.page-products .download-card-head .status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.page-products .download-card-head h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--white);
}

.page-products .download-card-head p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--mono);
}

.page-products .phone-mock {
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-products .phone-mock img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.page-products .phone-mock figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.page-products .download-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-products .btn:hover,
.page-products .btn:focus {
  transform: translateY(-2px);
}

.page-products .download-actions .btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8942a);
  color: var(--deep-navy);
  border: 0;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.page-products .download-actions .btn-gold:hover,
.page-products .download-actions .btn-gold:focus {
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, #e6c34a, #c9a52e);
}

.page-products .download-actions .btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.page-products .download-actions .btn-outline:hover,
.page-products .download-actions .btn-outline:focus {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.page-products .download-note {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.page-products .version-panel {
  padding: 8px 0;
}

.page-products .section-label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.page-products .version-panel h2,
.page-products .feature-block h2,
.page-products .login-flow-block h2,
.page-products .legacy-block h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--deep-navy);
  margin: 0 0 16px;
  line-height: 1.3;
}

.page-products .timeline-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 28px;
  max-width: 620px;
}

.page-products .timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-products .timeline-list::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--stone) 60%, transparent 100%);
}

.page-products .timeline-item {
  position: relative;
  padding: 0 0 28px 36px;
  transition: background 0.2s ease;
}

.page-products .timeline-item:last-child {
  padding-bottom: 0;
}

.page-products .timeline-item .status-dot {
  position: absolute;
  left: 3px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--page-warm);
  border: 3px solid var(--gold);
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-products .timeline-item:hover .status-dot {
  transform: scale(1.15);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.16);
}

.page-products .timeline-item.active .status-dot {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.18);
}

.page-products .timeline-version {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--royal-blue);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.page-products .timeline-item.active .timeline-version {
  color: var(--gold);
  font-weight: 700;
}

.page-products .timeline-info h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--deep-navy);
  margin: 0 0 6px;
}

.page-products .timeline-info p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0;
}

.page-products .roadmap-figure {
  margin: 32px 0 0;
  text-align: center;
}

.page-products .roadmap-img {
  width: 100%;
  height: auto;
  border-radius: 4px 16px 4px 16px;
  border: 1px solid var(--light-gold);
}

.page-products .roadmap-figure figcaption,
.page-products .login-figure figcaption,
.page-products .legacy-media figcaption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--stone);
  margin-top: 8px;
}

.page-products .feature-block {
  margin: 0 0 72px;
  padding: 48px 0;
  border-top: 2px solid var(--light-gold);
  border-bottom: 2px solid var(--light-gold);
}

.page-products .feature-lead {
  font-size: 16px;
  margin: 0 0 32px;
  color: var(--charcoal);
  max-width: 640px;
}

.page-products .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .feature-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 4px 16px 4px 16px;
  border: 1px solid var(--light-gold);
  border-top: 3px solid var(--royal-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-products .feature-card:hover,
.page-products .feature-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.1);
  border-color: var(--gold);
  border-top-color: var(--gold);
}

.page-products .feature-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.page-products .feature-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-navy);
  margin: 0 0 10px;
}

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

.page-products .login-flow-block {
  margin: 0 0 72px;
}

.page-products .login-flow-block > p:not(.section-label) {
  margin: 0 0 28px;
  color: var(--charcoal);
  max-width: 640px;
}

.page-products .login-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.page-products .step-item {
  position: relative;
  padding: 28px 20px 22px;
  background: var(--white);
  border: 1px solid var(--light-gold);
  border-radius: 0 14px 0 14px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-products .step-item:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.12);
}

.page-products .step-num {
  --num-size: 44px;
  width: var(--num-size);
  height: var(--num-size);
  border-radius: 50%;
  background: var(--royal-blue);
  color: var(--white);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(30, 58, 138, 0.25);
}

.page-products .step-item h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--deep-navy);
  margin: 0 0 8px;
}

.page-products .step-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}

.page-products .login-figure {
  margin: 0;
  text-align: center;
}

.page-products .login-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 4px 16px 4px 16px;
  border: 1px solid var(--light-gold);
}

.page-products .legacy-block {
  margin: 0 0 56px;
  padding: 48px 0;
  border-top: 2px solid var(--light-gold);
}

.page-products .legacy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-products .legacy-content p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.page-products .legacy-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.page-products .legacy-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed var(--light-gold);
  font-size: 15px;
  line-height: 1.6;
}

.page-products .legacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}

.page-products .legacy-list li:last-child {
  border-bottom: 0;
}

.page-products .legacy-block .btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8942a);
  color: var(--deep-navy);
  border: 0;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.22);
}

.page-products .legacy-block .btn-gold:hover,
.page-products .legacy-block .btn-gold:focus {
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.36);
  background: linear-gradient(135deg, #e6c34a, #c9a52e);
}

.page-products .legacy-media {
  margin: 0;
  text-align: center;
}

.page-products .legacy-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 4px 20px 4px 20px;
  border: 1px solid var(--light-gold);
  box-shadow: 0 16px 32px rgba(30, 58, 138, 0.1);
}

.page-products .support-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--light-gold);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 0 12px;
}

.page-products .support-band p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.page-products .support-band a {
  color: var(--royal-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 58, 138, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-products .support-band a:hover,
.page-products .support-band a:focus {
  color: var(--gold);
  border-color: var(--gold);
}

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

@media (min-width: 700px) {
  .page-products .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 720px) {
  .page-products .login-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .page-products .download-layout {
    grid-template-columns: 5fr 7fr;
    gap: 44px;
    align-items: start;
  }

  .page-products .legacy-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 44px;
  }
}

@media (min-width: 1040px) {
  .page-products .login-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
