.page-products {
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-products .wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ========== Hero ========== */
.p-hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 40px;
  isolation: isolate;
  background:
    radial-gradient(ellipse 75% 60% at 88% 15%, rgba(29, 107, 67, .32), transparent 62%),
    radial-gradient(ellipse 55% 45% at 8% 85%, rgba(212, 175, 55, .12), transparent 58%);
}

.p-hero::before {
  content: "";
  position: absolute;
  top: 26%;
  left: 8%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .55), transparent);
  transform: rotate(-14deg);
  z-index: -1;
  pointer-events: none;
}

.p-hero::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 16%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(212, 175, 55, .85);
  animation: p-datapulse 2.4s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes p-datapulse {
  0%, 100% { opacity: .3; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.5); }
}

.p-hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.p-hero__lead {
  color: var(--slate);
  line-height: 1.85;
  margin: 14px 0 22px;
  font-size: 1.02rem;
}

.p-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0 20px;
}

.p-hero__stat {
  background: rgba(17, 26, 21, .72);
  border: 1px solid rgba(168, 184, 168, .10);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.p-hero__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .02em;
}

.p-hero__label {
  display: block;
  margin-top: 4px;
  font-size: .78rem;
  color: var(--slate);
}

.p-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.p-hero__visual {
  position: relative;
}

/* Phone mockup */
.p-phn {
  max-width: 300px;
  margin-inline: auto;
  padding: 14px;
  border-radius: 44px;
  background: linear-gradient(150deg, #223a2b, #0a0e0c 55%, #14231a);
  box-shadow:
    0 28px 52px rgba(0, 0, 0, .55),
    inset 0 0 0 1px rgba(212, 175, 55, .26),
    inset 0 1px 0 rgba(245, 240, 230, .08);
  position: relative;
}

.p-phn::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: rgba(245, 240, 230, .18);
}

.p-phn__frame {
  border-radius: 34px;
  background: var(--bg-deep);
  padding: 22px 18px 18px;
  border: 1px solid rgba(168, 184, 168, .10);
}

.p-phn__statusbar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--slate);
  margin-bottom: 14px;
}

.p-phn__brand {
  color: var(--gold);
}

.p-phn__matchday {
  font-size: .82rem;
  color: var(--gold-soft);
  background: rgba(212, 175, 55, .10);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 600;
}

.p-phn__group {
  border-bottom: 1px solid rgba(168, 184, 168, .09);
  padding: 10px 0;
}

.p-phn__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: .86rem;
  padding: 4px 0;
}

.p-phn__row b {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: .9rem;
  white-space: nowrap;
}

.p-phn__row--live b {
  color: var(--primary-bright);
}

.p-phn__pos {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(29, 107, 67, .18);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: .8rem;
}

.p-phn__posnum {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 700;
}

/* ========== Subnav ========== */
.p-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}

.p-subnav__link {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--slate);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(168, 184, 168, .18);
  border-radius: 999px;
  transition: all .25s ease;
}

.p-subnav__link:hover,
.p-subnav__link:focus-visible {
  color: var(--gold);
  border-color: rgba(212, 175, 55, .4);
  background: rgba(212, 175, 55, .08);
}

/* ========== Overview ========== */
.p-overview {
  position: relative;
}

.p-overview__wrap {
  position: relative;
}

.p-mapcover {
  position: absolute;
  top: 30px;
  right: 0;
  width: 58%;
  opacity: .32;
  pointer-events: none;
  z-index: 0;
}

.p-mapcover img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
}

.p-featuregrid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.p-feat {
  position: relative;
  background: linear-gradient(160deg, rgba(17, 26, 21, .96), rgba(27, 42, 32, .78));
  border: 1px solid rgba(168, 184, 168, .12);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  min-height: 190px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.p-feat:hover,
.p-feat:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .3);
  border-color: rgba(212, 175, 55, .2);
}

.p-feat--wide {
  padding: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(17, 26, 21, .98), rgba(27, 42, 32, .9));
}

.p-feat__media {
  flex: 1;
  min-height: 280px;
  max-height: 420px;
  overflow: hidden;
}

.p-feat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.p-feat__body {
  padding: 20px 0 0;
}

.p-feat--wide .p-feat__body {
  padding: 22px;
}

.p-feat__body .eyebrow {
  margin-bottom: 4px;
}

.p-feat h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin: 6px 0 8px;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.p-feat p {
  color: var(--slate);
  line-height: 1.75;
  font-size: .94rem;
  margin: 0;
}

.p-feat--gold {
  background: linear-gradient(160deg, rgba(212, 175, 55, .14), rgba(27, 42, 32, .84));
  border-color: rgba(212, 175, 55, .25);
}

/* ========== Mobile experience ========== */
.p-mobileexp__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.p-mobileexp__visual {
  order: 1;
}

.p-mobileexp__content {
  order: 2;
}

.p-mobileexp__device {
  max-width: 360px;
  margin-inline: auto;
  background: linear-gradient(165deg, var(--bg-elevated), var(--bg-panel));
  border-radius: 36px;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, .2);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .42);
}

.p-mobileexp__top {
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: .95rem;
}

.p-mobileexp__match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(168, 184, 168, .08);
  font-size: .9rem;
  color: var(--cream);
}

.p-mobileexp__match span:nth-child(1) {
  text-align: left;
}

.p-mobileexp__match span:nth-child(3) {
  text-align: right;
}

.p-mobileexp__match--focus {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  background: rgba(212, 175, 55, .05);
}

.p-mobileexp__tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.p-mobileexp__tab {
  font-family: var(--font-mono);
  font-size: .76rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(168, 184, 168, .2);
  color: var(--slate);
}

.p-mobileexp__tab--active {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
  font-weight: 700;
}

.p-mobileexp__lead {
  color: var(--slate);
  line-height: 1.8;
  margin: 10px 0 18px;
}

.p-mobileexp__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}

.p-mobileexp__list li {
  padding-left: 26px;
  position: relative;
  color: var(--slate);
  line-height: 1.6;
}

.p-mobileexp__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: var(--font-mono);
}

.p-mobileexp__list b {
  color: var(--cream);
}

/* ========== Data update ========== */
.p-update__layout {
  display: grid;
  gap: 24px;
  align-items: center;
}

.p-update__chart img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168, 184, 168, .1);
  background: linear-gradient(145deg, var(--bg-panel), rgba(29, 107, 67, .2));
  object-fit: cover;
}

.p-update__items {
  display: grid;
  gap: 16px;
}

.p-update__card {
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 3px solid var(--primary-bright);
  transition: transform .25s ease, border-color .25s ease;
}

.p-update__card:hover {
  transform: translateX(4px);
}

.p-update__card--gold {
  border-left-color: var(--gold);
}

.p-update__card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--cream);
}

.p-update__card p {
  color: var(--slate);
  line-height: 1.7;
  font-size: .92rem;
  margin: 0;
}

.p-update__icon {
  font-size: 1.2rem;
  color: var(--gold);
}

/* ========== Versions ========== */
.p-versions__timeline {
  margin-bottom: 28px;
}

.p-versions__timeline img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168, 184, 168, .1);
  background: var(--bg-panel);
  object-fit: cover;
}

.p-versions__cards {
  display: grid;
  gap: 16px;
}

.p-vercard {
  background: linear-gradient(165deg, var(--bg-panel), rgba(17, 26, 21, .7));
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(168, 184, 168, .12);
  transition: transform .45s cubic-bezier(.2, .6, .2, 1), box-shadow .45s ease, border-color .45s ease;
  perspective: 1200px;
}

.p-vercard:hover,
.p-vercard:focus-within {
  transform: rotateY(5deg) rotateX(-2deg);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .38);
  border-color: rgba(212, 175, 55, .3);
}

.p-vercard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.p-vercard__code {
  font-family: var(--font-mono);
  color: var(--gold);
  background: rgba(212, 175, 55, .12);
  border: 1px solid rgba(212, 175, 55, .2);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.p-vercard__name {
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--slate);
  white-space: nowrap;
}

.p-vercard h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--cream);
}

.p-vercard__body {
  color: var(--slate);
  line-height: 1.65;
  font-size: .92rem;
  margin: 0;
}

.p-vercard--current {
  border-color: rgba(212, 175, 55, .45);
  background: linear-gradient(165deg, rgba(212, 175, 55, .1), rgba(17, 26, 21, .82));
}

/* ========== Scenes ========== */
.p-scenes__grid {
  display: grid;
  gap: 20px;
}

.p-scene {
  background: linear-gradient(175deg, var(--bg-panel), rgba(17, 26, 21, .72));
  border: 1px solid rgba(168, 184, 168, .1);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.p-scene:hover,
.p-scene:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .32);
}

.p-scene__phase {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  display: inline-block;
  background: rgba(212, 175, 55, .1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.p-scene h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--cream);
}

.p-scene p {
  color: var(--slate);
  line-height: 1.7;
  font-size: .92rem;
  margin: 0;
}

.p-scenes__visual {
  margin-top: 24px;
}

.p-scenes__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid rgba(168, 184, 168, .1);
}

/* ========== CTA ========== */
.p-cta {
  background: linear-gradient(135deg, rgba(29, 107, 67, .22), rgba(10, 14, 12, .5));
  border-top: 1px solid rgba(212, 175, 55, .22);
  border-bottom: 1px solid rgba(212, 175, 55, .1);
  text-align: center;
}

.p-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-cta__text {
  color: var(--slate);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.p-cta__search {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 20px auto 0;
}

.p-cta__searchinput {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 999px;
  padding: 14px 52px 14px 46px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.p-cta__searchinput:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .14);
}

.p-cta__searchicon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--font-mono);
}

.p-cta__voice {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, .3);
  background: rgba(212, 175, 55, .1);
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  transition: background .25s ease;
}

.p-cta__voice:hover,
.p-cta__voice:focus-visible {
  background: rgba(212, 175, 55, .25);
}

.p-cta__hint {
  position: absolute;
  right: 54px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--slate);
  pointer-events: none;
  white-space: nowrap;
}

.p-cta__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* ========== Desktop ========== */
@media (min-width: 900px) {
  .p-hero {
    padding-top: 96px;
  }

  .p-hero__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
  }

  .p-featuregrid {
    grid-template-columns: repeat(6, 1fr);
  }

  .p-feat--wide {
    grid-column: span 4;
  }

  .p-feat--offset {
    grid-column: 5 / -1;
  }

  .p-feat--offset2 {
    grid-column: span 2;
  }

  .p-feat--gold {
    grid-column: 3 / -1;
  }

  .p-mobileexp__grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
  }

  .p-mobileexp__visual {
    order: 2;
  }

  .p-mobileexp__content {
    order: 1;
  }

  .p-mobileexp__device {
    margin-inline: 0;
  }

  .p-update__layout {
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
  }

  .p-versions__cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .p-scenes__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .p-scenes__visual img {
    max-height: 480px;
    object-fit: cover;
  }

  .p-mapcover {
    top: 40px;
    width: 55%;
    opacity: .35;
  }
}
