.page-products {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-deep);
}

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

/* ===== Hero ===== */
.page-products .products-hero {
  position: relative;
  padding: 104px 0 56px;
  background:
    linear-gradient(rgba(57,255,136,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,136,.05) 1px, transparent 1px),
    radial-gradient(900px 360px at 82% -8%, rgba(255,107,53,.16), transparent 62%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  overflow: hidden;
}

.page-products .products-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.page-products .products-hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.page-products .products-hero__content .section__index {
  color: var(--color-neon);
  margin-bottom: 14px;
}

.page-products .products-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  line-height: 1.12;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: .01em;
  margin: 0 0 20px;
}

.page-products .products-hero__title span {
  display: block;
  margin-top: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-neon);
  letter-spacing: .05em;
}

.page-products .products-hero__lead {
  border-left: 3px solid var(--color-neon);
  padding-left: 18px;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 8px;
}

.page-products .products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.page-products .products-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.page-products .products-hero__facts li {
  position: relative;
  padding-left: 18px;
  font-size: var(--text-small);
  color: var(--color-text);
}

.page-products .products-hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: var(--shadow-neon);
}

/* ===== Hero phone visual ===== */
.page-products .products-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.page-products .orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.page-products .orb--neon {
  width: 150px;
  height: 150px;
  background: rgba(57,255,136,.26);
  top: 12%;
  left: -24px;
  animation: products-float 7s ease-in-out infinite alternate;
}

.page-products .orb--orange {
  width: 130px;
  height: 130px;
  background: rgba(255,107,53,.26);
  right: -30px;
  bottom: 10%;
  animation: products-float 9s ease-in-out infinite alternate-reverse;
}

.page-products .phone-frame {
  position: relative;
  z-index: 1;
  width: 272px;
  max-width: 100%;
  aspect-ratio: 9 / 18.4;
  background: linear-gradient(180deg, #0B1D3A 0%, #0A1128 100%);
  border: 2px solid rgba(57,255,136,.28);
  border-radius: 46px;
  box-shadow: var(--shadow-neon), 0 30px 70px rgba(0,0,0,.45);
  padding: 14px 10px 18px;
  transform: rotate(2deg);
}

.page-products .phone-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(57,255,136,.22);
  border-radius: 36px;
  pointer-events: none;
}

.page-products .phone-frame__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #0A1128;
  border: 1px solid rgba(57,255,136,.2);
  border-radius: 14px;
  z-index: 3;
}

.page-products .phone-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(57,255,136,.05), rgba(255,107,53,.05));
  padding: 30px 10px 10px;
  overflow: hidden;
}

.page-products .phone-screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(57,255,136,.07), transparent);
  animation: products-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

.page-products .phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 10px;
  font: 600 9px/1 var(--font-body);
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

.page-products .phone-app {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  font-size: 11px;
  color: var(--color-white);
}

.page-products .phone-app__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: var(--shadow-neon);
  flex: none;
}

.page-products .phone-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.page-products .phone-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255,255,255,.05);
  border-left: 2px solid var(--color-orange);
  font-size: 10px;
  color: var(--color-text);
}

.page-products .phone-list__item b {
  color: var(--color-white);
  font-size: 12px;
  white-space: nowrap;
}

.page-products .phone-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
}

.page-products .phone-tabs i {
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: rgba(57,255,136,.45);
}

@keyframes products-float {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-24px) scale(1.08); }
}

@keyframes products-sweep {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  60% { opacity: 1; }
  100% { transform: translateX(480%); opacity: 0; }
}

/* ===== Download section ===== */
.page-products .products-download__grid {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.page-products .products-download__app {
  text-align: center;
  padding: 32px 24px 30px;
  background: var(--color-ink);
  border: var(--border-white);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.page-products .products-download__app::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-neon), transparent);
  border-radius: 0 0 4px 4px;
}

.page-products .products-download__icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-neon), 0 18px 36px rgba(0,0,0,.4);
}

.page-products .products-download__app h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  color: var(--color-white);
  margin: 0 0 8px;
}

.page-products .products-download__app p {
  font-size: var(--text-small);
  line-height: 1.6;
  margin: 0;
}

.page-products .products-download__stores {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.page-products .products-download__stores > p {
  margin: 0 0 4px;
  line-height: 1.7;
}

.page-products .products-download__stores strong {
  color: var(--color-white);
}

.page-products .store-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(57,255,136,.08), rgba(255,107,53,.07));
  border: var(--border-light);
  border-radius: var(--radius-sm);
  transition: transform .25s ease, border-color .25s ease;
}

.page-products .store-card:hover {
  transform: translateX(6px);
  border-color: rgba(57,255,136,.45);
}

.page-products .store-card__mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-neon);
  color: var(--color-deep);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
}

.page-products .store-card strong {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
}

.page-products .store-card small {
  display: block;
  color: var(--color-text);
  font-size: var(--text-small);
  margin-top: 2px;
}

/* ===== QR details ===== */
.page-products .download-qr {
  margin-top: 6px;
}

.page-products .download-qr__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: var(--color-ink);
  border: var(--border-light);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  color: var(--color-neon);
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease;
}

.page-products .download-qr:not([open]) .download-qr__summary {
  border-radius: var(--radius-sm);
}

.page-products .download-qr__summary::-webkit-details-marker {
  display: none;
}

.page-products .download-qr__summary:hover {
  border-color: rgba(57,255,136,.45);
  background: rgba(57,255,136,.06);
}

.page-products .download-qr__summary .accordion__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--color-neon);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform .3s ease;
}

.page-products .download-qr[open] .download-qr__summary .accordion__icon {
  transform: rotate(45deg);
}

.page-products .download-qr__panel {
  padding: 26px 20px 24px;
  background: var(--color-ink);
  border: var(--border-light);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-align: center;
}

.page-products .download-qr__panel img {
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
  border-radius: 14px;
}

.page-products .download-qr__panel p {
  margin: 0;
  font-size: var(--text-small);
}

/* ===== Split sections ===== */
.page-products .products-split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-products .products-split__media {
  position: relative;
}

.page-products .products-split__media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(57,255,136,.2);
  border-radius: var(--radius);
  transform: rotate(-2deg);
  pointer-events: none;
  z-index: 1;
}

.page-products .products-split__media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: var(--border-white);
  object-fit: cover;
}

.page-products .products-split__media--wide img {
  aspect-ratio: 7 / 4;
}

.page-products .products-split__media--tall img {
  aspect-ratio: 3 / 2;
}

.page-products .products-split__content .section__index {
  color: var(--color-neon);
  margin-bottom: 12px;
}

.page-products .products-split__content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: 1.25;
  color: var(--color-white);
  margin: 0 0 16px;
}

.page-products .products-split__content p {
  line-height: 1.75;
  margin: 0 0 16px;
}

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

.page-products .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-products .feature-list li::before {
  content: "→";
  color: var(--color-neon);
  font-weight: 700;
}

.page-products .sync-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(57,255,136,.12), rgba(255,255,255,.03));
  border-left: 3px solid var(--color-neon);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0 4px;
  font-size: var(--text-small);
  line-height: 1.5;
}

.page-products .sync-status__dot {
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--color-neon);
  border-radius: 50%;
  box-shadow: var(--shadow-neon);
  animation: products-pulse 2.2s ease-in-out infinite;
}

.page-products .fixtures-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0 26px;
}

.page-products .fixtures-stats div {
  padding: 18px 16px;
  background: var(--color-ink);
  border: var(--border-light);
  border-radius: var(--radius-sm);
}

.page-products .fixtures-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-neon);
  line-height: 1.2;
}

.page-products .fixtures-stats span {
  font-size: var(--text-small);
}

@keyframes products-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .6; }
}

/* ===== Trust ===== */
.page-products .products-trust__panel {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 28px 40px;
  text-align: center;
}

.page-products .products-trust__panel .coord-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--color-gold);
}

.page-products .products-trust__panel h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  color: var(--color-white);
  margin: 0 0 12px;
}

.page-products .products-trust__panel p {
  margin: 0 auto 16px;
  max-width: 680px;
  line-height: 1.7;
}

.page-products .products-trust__panel a {
  color: var(--color-neon);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== Motion safe ===== */
@media (prefers-reduced-motion: reduce) {
  .page-products .orb,
  .page-products .phone-screen::after,
  .page-products .sync-status__dot {
    animation: none;
  }
}

/* ===== Desktop ===== */
@media (min-width: 900px) {
  .page-products .products-hero {
    padding: 132px 0 84px;
  }

  .page-products .products-hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }

  .page-products .products-hero__content {
    flex: 1 1 46%;
    max-width: 620px;
  }

  .page-products .products-hero__visual {
    flex: 1 1 46%;
    min-height: 560px;
  }

  .page-products .products-download__grid {
    grid-template-columns: .72fr 1.28fr;
    gap: 48px;
  }

  .page-products .products-download__app {
    padding: 44px 32px 40px;
  }

  .page-products .products-download__stores {
    padding-top: 10px;
  }

  .page-products .products-split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .page-products .products-split--reverse > .products-split__media {
    order: 2;
  }

  .page-products .products-split--reverse > .products-split__content {
    order: 1;
  }

  .page-products .products-trust__panel {
    padding: 48px 48px 52px;
  }
}

@media (max-width: 480px) {
  .page-products .phone-frame {
    width: 240px;
  }
}
