.page-products {
  --p-accent: #D4A53F;
  --p-accent-lite: #EBC97E;
  --p-bg-deep: #0B1F3A;
  --p-bg-panel: #142D4C;
  --p-ink: #F2F4F8;
  --p-muted: #A8C8E8;
  --p-alert: #C7453B;
  --p-ok: #36C99E;
  --p-stroke: 3px;
  --p-shadow-hard: 8px 8px 0 rgba(0, 0, 0, 0.38);
  background: var(--p-bg-deep);
  color: var(--p-ink);
  overflow: hidden;
}

.page-products .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Brand tag ---------- */
.page-products .p-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--p-accent-lite);
  text-transform: uppercase;
}
.page-products .p-tag::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--p-accent);
  display: block;
}

/* ---------- Breadcrumb ---------- */
.page-products .p-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--p-muted);
  padding: 28px 0 0;
}
.page-products .p-breadcrumb a {
  color: var(--p-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-products .p-breadcrumb a:hover {
  color: var(--p-accent-lite);
}

/* ---------- Hero ---------- */
.page-products .p-hero {
  padding: 20px 0 70px;
}
.page-products .p-hero-grid {
  display: grid;
  gap: 42px;
  align-items: center;
  margin-top: 34px;
}
.page-products .p-h1-main {
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--p-ink);
  margin-top: 14px;
}
.page-products .p-h1-sub {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--p-accent-lite);
  margin-top: 8px;
}
.page-products .p-hero-desc {
  margin-top: 22px;
  max-width: 520px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--p-muted);
}
.page-products .p-hero-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 30px;
  background: var(--p-accent);
  color: var(--p-bg-deep);
  font-family: var(--font-data);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  border: 2px solid var(--p-accent);
  box-shadow: var(--p-shadow-hard);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}
.page-products .p-hero-btn:hover {
  background: var(--p-accent-lite);
  transform: translateY(2px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}
.page-products .p-hero-meta {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.page-products .p-hero-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--p-ink);
  background: var(--p-bg-panel);
  padding: 8px 12px;
  border: 1px solid rgba(212, 165, 63, 0.4);
}
.page-products .p-meta-dot {
  width: 7px;
  height: 7px;
  background: var(--p-accent);
  border-radius: 50%;
}

.page-products .p-hero-visual {
  position: relative;
  min-height: 340px;
}
.page-products .p-hero-sport {
  position: relative;
  max-width: 460px;
  height: 280px;
  border: var(--p-stroke) solid var(--p-accent);
  clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%);
  background: var(--p-bg-panel);
  box-shadow: var(--p-shadow-hard);
}
.page-products .p-hero-sport img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.15) contrast(1.05);
}
.page-products .p-device-render {
  position: absolute;
  right: 4%;
  top: 45%;
  width: 58%;
  max-width: 260px;
  min-height: 190px;
  border: 3px solid var(--p-ink);
  border-radius: 16px;
  background: var(--p-bg-deep);
  box-shadow: 10px 12px 0 rgba(212, 165, 63, 0.24);
  padding: 14px 14px 18px;
  transform: rotate(-6deg);
  transition: transform 0.35s ease;
}
.page-products .p-hero-visual:hover .p-device-render {
  transform: rotate(-2deg) translateY(-6px);
}
.page-products .p-device-cam {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-accent-lite);
  margin: 0 auto 10px;
}
.page-products .p-device-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--p-ok);
}
.page-products .p-live-dot {
  width: 9px;
  height: 9px;
  background: var(--p-ok);
  border-radius: 50%;
}
.page-products .p-device-score {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  margin: 18px 0 14px;
}
.page-products .p-device-team {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--p-ink);
  white-space: nowrap;
}
.page-products .p-device-num {
  font-family: var(--font-data);
  font-size: 28px;
  font-weight: 700;
  color: var(--p-accent);
}
.page-products .p-device-bar {
  height: 8px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--p-bg-panel) 0 10px, var(--p-bg-deep) 10px 20px, var(--p-muted) 20px 26px, var(--p-bg-panel) 26px 36px);
  margin-top: 12px;
  opacity: 0.85;
}
.page-products .p-device-bar-short {
  width: 62%;
}
.page-products .p-ghost-round {
  position: absolute;
  left: -8px;
  bottom: -12px;
  font-family: var(--font-data);
  font-size: 70px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212, 165, 63, 0.55);
  z-index: 0;
}
.page-products .p-hero-slash {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 120px;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 34%, rgba(212, 165, 63, 0.4) 34% 38%, transparent 38%, transparent 68%, rgba(212, 165, 63, 0.25) 68% 72%, transparent 72%);
  z-index: 1;
}

/* ---------- Download & Install ---------- */
.page-products .p-install {
  background: var(--p-bg-panel);
  padding: 70px 0 76px;
  position: relative;
}
.page-products .p-install::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--p-accent) 0 60px, transparent 60px 120px);
  opacity: 0.7;
}
.page-products .p-section-head h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  margin: 14px 0 10px;
  color: var(--p-ink);
}
.page-products .p-section-lead {
  max-width: 640px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--p-muted);
}
.page-products .p-install-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.page-products .p-platform-card {
  background: var(--p-bg-deep);
  border: 1px solid rgba(212, 165, 63, 0.35);
  box-shadow: var(--p-shadow-hard);
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease;
}
.page-products .p-platform-card:hover {
  border-color: var(--p-accent);
}
.page-products .p-platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 40px;
  background: var(--p-accent);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 700;
  color: var(--p-bg-deep);
  margin-bottom: 22px;
}
.page-products .p-badge-android {
  background: var(--p-accent-lite);
}
.page-products .p-platform-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
}
.page-products .p-platform-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--p-muted);
  margin: 0 0 18px;
}
.page-products .p-req-list {
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid rgba(168, 200, 232, 0.2);
}
.page-products .p-req-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(168, 200, 232, 0.16);
}
.page-products .p-req-list dt {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--p-muted);
}
.page-products .p-req-list dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--p-ink);
  text-align: right;
}
.page-products .p-dl-btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--p-accent);
  color: var(--p-bg-deep);
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--p-accent);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.36);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
  margin-top: auto;
}
.page-products .p-dl-btn:hover {
  background: var(--p-accent-lite);
  transform: translateY(2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.page-products .p-steps {
  margin-top: 52px;
  padding: 36px 26px;
  background: rgba(11, 31, 58, 0.7);
  border-left: 4px solid var(--p-accent);
}
.page-products .p-steps h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 24px;
}
.page-products .p-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.page-products .p-steps-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.page-products .p-step-num {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--p-accent);
  border: 2px solid var(--p-accent);
  padding: 5px 8px 3px;
  min-width: 42px;
  text-align: center;
  flex-shrink: 0;
}
.page-products .p-steps-list p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--p-ink);
}
.page-products .p-steps-tip {
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--p-muted);
}
.page-products .p-steps-tip a {
  color: var(--p-accent-lite);
  text-decoration: none;
  border-bottom: 1px solid var(--p-accent);
}

/* ---------- Features ---------- */
.page-products .p-features {
  padding: 76px 0 20px;
}
.page-products .p-fx-head {
  margin-bottom: 50px;
}
.page-products .p-fx-row {
  display: grid;
  gap: 28px;
  margin-bottom: 70px;
  align-items: center;
}
.page-products .p-fx-media {
  position: relative;
  border: var(--p-stroke) solid var(--p-accent);
  padding: 10px;
  background: var(--p-bg-panel);
  box-shadow: var(--p-shadow-hard);
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}
.page-products .p-fx-row:hover .p-fx-media {
  transform: rotate(0deg);
}
.page-products .p-fx-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}
.page-products .p-fx-copy {
  position: relative;
  padding-left: 0;
}
.page-products .p-fx-index {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--p-bg-deep);
  background: var(--p-accent);
  padding: 7px 12px;
  margin-bottom: 18px;
  transition: background 0.2s ease, color 0.2s ease;
}
.page-products .p-fx-row:hover .p-fx-index {
  background: var(--p-accent-lite);
  color: var(--p-bg-deep);
}
.page-products .p-fx-copy h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 14px;
  color: var(--p-ink);
}
.page-products .p-fx-copy p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  color: var(--p-muted);
  margin: 0 0 18px;
}
.page-products .p-fx-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-products .p-fx-points li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--p-ink);
}
.page-products .p-fx-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--p-accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ---------- Compatibility ---------- */
.page-products .p-compat {
  background: var(--p-bg-panel);
  padding: 76px 0;
  border-bottom: 4px solid var(--p-accent);
}
.page-products .p-comp-grid {
  display: grid;
  gap: 34px;
  margin-top: 38px;
}
.page-products .p-comp-table {
  display: grid;
  border-top: 2px solid rgba(212, 165, 63, 0.6);
}
.page-products .p-comp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(168, 200, 232, 0.18);
  align-items: center;
}
.page-products .p-comp-device strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--p-ink);
}
.page-products .p-comp-ver {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--p-muted);
  text-align: right;
}
.page-products .p-comp-status {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--p-ok);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
}
.page-products .p-comp-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--p-ok);
  border-radius: 50%;
}
.page-products .p-comp-media {
  border: var(--p-stroke) solid var(--p-accent);
  padding: 10px;
  background: var(--p-bg-deep);
  box-shadow: var(--p-shadow-hard);
}
.page-products .p-comp-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}
.page-products .p-comp-note {
  margin-top: 40px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  color: var(--p-muted);
  max-width: 780px;
  border-left: 3px solid var(--p-accent);
  padding-left: 18px;
}

/* ---------- Closing ---------- */
.page-products .p-closing {
  padding: 72px 0 84px;
}
.page-products .p-closing h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 36px;
}
.page-products .p-close-grid {
  display: grid;
  gap: 20px;
}
.page-products .p-close-card {
  display: block;
  background: var(--p-bg-panel);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--p-ink);
  border-bottom: 4px solid var(--p-accent);
  box-shadow: var(--p-shadow-hard);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.page-products .p-close-card:hover {
  transform: translateY(-3px);
  border-color: var(--p-accent-lite);
}
.page-products .p-close-no {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 700;
  color: var(--p-accent);
  border: 2px solid var(--p-accent);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  line-height: 30px;
  text-align: center;
  margin-bottom: 14px;
}
.page-products .p-close-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}
.page-products .p-close-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--p-muted);
  margin: 0;
}

/* ---------- Responsive (tablet & desktop) ---------- */
@media (min-width: 640px) {
  .page-products .p-h1-main {
    font-size: 54px;
  }
  .page-products .p-device-render {
    width: 46%;
  }
  .page-products .p-steps-list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
  }
  .page-products .p-steps-list li {
    flex-direction: column;
  }
  .page-products .p-comp-row {
    grid-template-columns: 1.2fr 1fr auto;
    gap: 10px 18px;
  }
  .page-products .p-comp-status {
    grid-column: auto;
    padding-top: 0;
  }
}

@media (min-width: 980px) {
  .page-products .p-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .page-products .p-h1-main {
    font-size: 62px;
  }
  .page-products .p-h1-sub {
    font-size: 26px;
  }
  .page-products .p-hero-visual {
    min-height: 440px;
  }
  .page-products .p-hero-sport {
    width: calc(100% - 48px);
    max-width: 520px;
    height: 360px;
  }
  .page-products .p-device-render {
    max-width: 290px;
    right: -2%;
    top: 44%;
    min-height: 210px;
  }
  .page-products .p-ghost-round {
    font-size: 92px;
  }
  .page-products .p-install-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .page-products .p-install {
    padding: 84px 0 90px;
  }
  .page-products .p-features {
    padding: 96px 0 30px;
  }
  .page-products .p-fx-row {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    margin-bottom: 96px;
  }
  .page-products .p-fx-reverse .p-fx-media {
    order: 2;
  }
  .page-products .p-fx-reverse .p-fx-copy {
    order: 1;
    text-align: left;
  }
  .page-products .p-comp-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 50px;
  }
  .page-products .p-close-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .page-products .p-close-card {
    padding: 32px 28px;
  }
}
