.page-products {
  --pp-deep: #0B132B;
  --pp-blue: #1D3557;
  --pp-red: #E63946;
  --pp-gold: #F4A261;
  --pp-cream: #F1FAEE;
  --pp-smoke: #A8B2C1;
  --pp-brown: #2B2D42;
  --pp-neon: #40F99B;
  background-color: var(--pp-blue);
  color: var(--pp-cream);
  overflow-x: hidden;
}

.page-products img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-products .breadcrumbs {
  padding-top: 14px;
  padding-bottom: 6px;
}

.page-products .breadcrumbs__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 14px;
  font-family: var(--font-body);
}

.page-products .breadcrumbs a {
  color: var(--pp-cream);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.page-products .breadcrumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}

.page-products .breadcrumbs__separator {
  color: var(--pp-smoke);
  margin: 0 6px;
}

.page-products .breadcrumbs [aria-current="page"] {
  color: var(--pp-gold);
  font-weight: 600;
}

.page-products .product-hero {
  padding: 36px 0 52px;
  background:
    linear-gradient(135deg, rgba(230, 57, 70, 0.08) 25%, transparent 25%) -20px 0 / 40px 40px,
    linear-gradient(315deg, rgba(230, 57, 70, 0.08) 25%, transparent 25%) -20px 0 / 40px 40px,
    linear-gradient(180deg, var(--pp-deep) 0%, var(--pp-blue) 100%);
  position: relative;
  border-bottom: 6px solid var(--pp-red);
}

.page-products .product-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 70% 30%, rgba(244, 162, 97, 0.18), transparent 65%);
  pointer-events: none;
}

.page-products .product-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-products .product-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pp-gold);
  margin-bottom: 10px;
}

.page-products .product-hero__kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--pp-red);
  flex-shrink: 0;
}

.page-products .display-title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.04;
  margin: 0 0 18px;
  color: var(--pp-cream);
  text-transform: uppercase;
}

.page-products .display-title__accent {
  color: var(--pp-red);
  font-style: italic;
}

.page-products .display-title__sub {
  display: block;
  font-size: 0.5em;
  letter-spacing: 0.1em;
  color: var(--pp-gold);
  font-weight: 500;
  text-transform: none;
}

.page-products .product-hero__lead {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(241, 250, 238, 0.82);
  max-width: 560px;
  margin-bottom: 22px;
}

.page-products .product-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-products .product-hero__cta {
  min-width: 180px;
}

.page-products .product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.page-products .product-hero__meta li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--pp-smoke);
}

.page-products .product-hero__meta li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--pp-red);
}

.page-products .product-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.page-products .phone-frame {
  width: 220px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  background: var(--pp-deep);
  border: 2px solid rgba(241, 250, 238, 0.55);
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  position: relative;
}

.page-products .phone-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 4px;
  background: rgba(241, 250, 238, 0.6);
  border-radius: 0 0 4px 4px;
}

.page-products .phone-frame__notch {
  width: 72px;
  height: 7px;
  background: rgba(241, 250, 238, 0.85);
  border-radius: 3px;
  margin: 4px auto 10px;
}

.page-products .phone-frame__screen {
  background: linear-gradient(160deg, #274060 0%, var(--pp-blue) 100%);
  border-radius: 18px;
  padding: 14px 12px 12px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .phone-frame__statusbar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(241, 250, 238, 0.8);
  font-family: var(--font-mono);
}

.page-products .phone-frame__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pp-neon);
  box-shadow: 0 0 8px rgba(64, 249, 155, 0.7);
  animation: pp-live-pulse 2s ease-in-out infinite;
}

@keyframes pp-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.78); }
}

.page-products .phone-frame__scorecard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 19, 43, 0.6);
  border-radius: 8px;
  padding: 10px 10px;
  margin-bottom: 4px;
  border-left: 3px solid var(--pp-red);
}

.page-products .phone-frame__team {
  font-size: 11px;
  color: rgba(241, 250, 238, 0.85);
  font-family: var(--font-body);
}

.page-products .phone-frame__score {
  font-size: 18px;
  font-weight: 700;
  color: var(--pp-gold);
  font-family: var(--font-mono);
}

.page-products .phone-frame__line {
  height: 8px;
  border-radius: 4px;
  background: rgba(241, 250, 238, 0.14);
}

.page-products .phone-frame__screen .phone-frame__line:nth-of-type(3) { width: 92%; }
.page-products .phone-frame__screen .phone-frame__line:nth-of-type(4) { width: 78%; }
.page-products .phone-frame__screen .phone-frame__line:nth-of-type(5) { width: 86%; }
.page-products .phone-frame__screen .phone-frame__line:nth-of-type(6) { width: 62%; }

.page-products .phone-frame__line--active {
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--pp-red) 0%, var(--pp-gold) 100%);
  border-radius: 5px;
}

.page-products .phone-frame__tabbar {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(241, 250, 238, 0.1);
}

.page-products .phone-frame__tab {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(241, 250, 238, 0.3);
}

.page-products .phone-frame__tab--center {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pp-red);
  margin-top: -20px;
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.22), 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-products .aside-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pp-smoke);
  letter-spacing: 0.04em;
  text-align: center;
}

.page-products .feature-section {
  background: var(--pp-cream);
  color: var(--pp-deep);
  padding: 56px 0;
}

.page-products .feature-section .section-title,
.page-products .version-section .section-title {
  color: var(--pp-deep);
}

.page-products .feature-section .section__note,
.page-products .version-section .section__note {
  color: var(--pp-brown);
}

.page-products .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

.page-products .feature-card {
  background: #ffffff;
  border-radius: 0 18px 0 18px;
  padding: 22px 20px 20px;
  box-shadow: 0 4px 18px rgba(27, 53, 87, 0.08);
  border-left: 4px solid var(--pp-red);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-products .feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(27, 53, 87, 0.12);
}

.page-products .feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px 2px 12px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(29, 53, 87, 0.06);
}

.page-products .feature-card__icon--score {
  background: rgba(244, 162, 97, 0.12);
}

.page-products .feature-card__icon--alert {
  background: rgba(230, 57, 70, 0.1);
}

.page-products .feature-card__icon--lineup {
  background: rgba(29, 53, 87, 0.1);
}

.page-products .feature-card__icon--venue {
  background: rgba(168, 178, 193, 0.18);
}

.page-products .feature-card__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pp-deep);
  margin: 0 0 8px;
}

.page-products .feature-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pp-brown);
  margin: 0;
}

.page-products .feature-figure {
  margin: 28px 0 0;
  text-align: center;
}

.page-products .feature-figure__img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px 2px 12px 2px;
  box-shadow: 0 8px 24px rgba(27, 53, 87, 0.1);
}

.page-products .feature-figure__cap {
  margin-top: 8px;
  font-size: 13px;
  color: var(--pp-smoke);
  font-family: var(--font-mono);
}

.page-products .download-section {
  background: linear-gradient(180deg, var(--pp-deep) 0%, var(--pp-blue) 100%);
  padding: 56px 0;
}

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

.page-products .download-panel {
  position: relative;
  background: var(--pp-brown);
  border-radius: 28px 4px 28px 4px;
  border: 1px solid rgba(244, 162, 97, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.page-products .download-panel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: 0;
  border-radius: 0;
}

.page-products .download-panel__inner {
  position: relative;
  z-index: 1;
  padding: 28px 20px 32px;
}

.page-products .download-section .section-title,
.page-products .guide-section .section-title {
  color: var(--pp-cream);
}

.page-products .download-section .section__note,
.page-products .guide-section .section__note {
  color: var(--pp-smoke);
}

.page-products .download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 24px;
}

.page-products .download-main__desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(241, 250, 238, 0.85);
  margin: 0 0 20px;
}

.page-products .platform-switch {
  position: relative;
  margin-bottom: 20px;
}

.page-products .platform-switch__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.page-products .platform-switch__label {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid rgba(241, 250, 238, 0.45);
  color: var(--pp-cream);
  border-radius: 4px 12px 4px 12px;
  cursor: pointer;
  margin-right: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.page-products .platform-switch__input:checked + .platform-switch__label {
  background: var(--pp-red);
  border-color: var(--pp-red);
  color: #ffffff;
  font-weight: 600;
}

.page-products .platform-switch__input:focus-visible + .platform-switch__label {
  outline: 2px solid var(--pp-gold);
  outline-offset: 2px;
}

.page-products .platform-info {
  display: none;
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(11, 19, 43, 0.55);
  border-radius: 12px 2px 12px 2px;
}

.page-products #platform-ios:checked ~ .platform-info[data-platform="ios"],
.page-products #platform-android:checked ~ .platform-info[data-platform="android"] {
  display: block;
}

.page-products .platform-info .meta-row {
  margin: 0;
}

.page-products .platform-info .meta-row dt {
  color: var(--pp-smoke);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.page-products .platform-info .meta-row dd {
  color: var(--pp-cream);
  font-size: 14px;
  margin: 0 0 12px;
  font-weight: 500;
}

.page-products .platform-info .meta-row dd:last-child {
  margin-bottom: 0;
}

.page-products .download-btn {
  margin-top: 20px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-products .download-btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.18);
}

.page-products .download-main__tip {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--pp-smoke);
  text-align: center;
}

.page-products .download-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 0;
}

.page-products .qr-code {
  width: 154px;
  height: 154px;
  background: #ffffff;
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(244, 162, 97, 0.2);
}

.page-products .qr-code__inner {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--pp-deep);
  position: relative;
  box-shadow:
    0 0, 12px 0, 24px 0, 60px 0,
    0 12px, 12px 12px, 60px 12px,
    0 24px, 12px 24px, 24px 24px, 60px 24px,
    36px 36px, 48px 36px, 60px 36px,
    24px 48px, 36px 48px, 48px 48px,
    0 60px, 24px 60px, 36px 60px, 60px 60px,
    0 72px, 12px 72px, 24px 72px, 60px 72px, 72px 72px;
}

.page-products .download-aside__note {
  font-size: 13px;
  color: var(--pp-smoke);
  text-align: center;
  max-width: 180px;
  margin: 0;
}

.page-products .download-phone {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.page-products .download-phone__img {
  width: 220px;
  height: auto;
  max-height: 330px;
  object-fit: cover;
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

.page-products .download-phone__cap {
  font-size: 13px;
  color: var(--pp-smoke);
  font-family: var(--font-mono);
}

.page-products .version-section {
  background: var(--pp-cream);
  color: var(--pp-deep);
  padding: 56px 0;
}

.page-products .version-hero {
  margin: 28px 0 0;
  text-align: center;
}

.page-products .version-hero__img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px 2px 12px 2px;
  box-shadow: 0 8px 24px rgba(27, 53, 87, 0.1);
}

.page-products .version-hero__cap {
  margin-top: 8px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--pp-brown);
}

.page-products .version-timeline {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  position: relative;
  max-width: 720px;
}

.page-products .version-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--pp-gold) 0%, var(--pp-blue) 100%);
}

.page-products .version-timeline__item {
  position: relative;
  padding: 0 0 22px 48px;
}

.page-products .version-timeline__item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pp-gold);
  border: 3px solid var(--pp-cream);
  box-shadow: 0 0 0 2px var(--pp-gold);
}

.page-products .version-timeline__badge {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.page-products .version-timeline__version {
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 700;
  color: var(--pp-deep);
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.page-products .version-detail {
  background: #ffffff;
  border-radius: 10px 2px 10px 2px;
  margin-top: 10px;
  border-left: 3px solid var(--pp-gold);
  box-shadow: 0 2px 10px rgba(27, 53, 87, 0.06);
}

.page-products .version-detail summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--pp-deep);
  list-style: none;
  font-family: var(--font-body);
  transition: background-color 0.2s;
}

.page-products .version-detail summary::-webkit-details-marker {
  display: none;
}

.page-products .version-detail summary::before {
  content: '+ ';
  color: var(--pp-red);
  font-weight: 700;
}

.page-products .version-detail[open] summary::before {
  content: '− ';
}

.page-products .version-detail summary:hover {
  background: rgba(29, 53, 87, 0.04);
}

.page-products .version-detail__body {
  padding: 0 16px 14px;
  color: var(--pp-brown);
  font-size: 14px;
  line-height: 1.7;
}

.page-products .version-detail__body p {
  margin: 0;
}

.page-products .version-more {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--pp-brown);
}

.page-products .version-more a {
  color: var(--pp-red);
  text-decoration: underline;
}

.page-products .guide-section {
  background:
    linear-gradient(180deg, rgba(230, 57, 70, 0.04), transparent 120px),
    linear-gradient(180deg, var(--pp-blue) 0%, var(--pp-deep) 100%);
  padding: 56px 0;
}

.page-products .guide-steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .guide-step {
  background: rgba(11, 19, 43, 0.65);
  border: 1px solid rgba(241, 250, 238, 0.12);
  border-radius: 4px 16px 4px 16px;
  padding: 24px 20px 20px 58px;
  position: relative;
}

.page-products .guide-step__num {
  position: absolute;
  left: 16px;
  top: 22px;
  width: 28px;
  height: 28px;
  background: var(--pp-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.35);
}

.page-products .guide-step__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--pp-cream);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.page-products .guide-step__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--pp-smoke);
}

.page-products .guide-figure {
  margin: 28px 0 0;
  text-align: center;
}

.page-products .guide-figure__img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 14px 4px 14px 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.page-products .guide-figure__cap {
  margin-top: 8px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--pp-smoke);
}

.page-products .guide-help {
  margin-top: 32px;
  padding: 20px 18px;
  background: rgba(241, 250, 238, 0.06);
  border-radius: 14px 2px 14px 2px;
  border: 1px solid rgba(241, 250, 238, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.page-products .guide-help p {
  margin: 0;
  font-size: 14px;
  color: var(--pp-cream);
}

.page-products .guide-help .btn {
  min-width: 140px;
}

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

  .page-products .guide-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .guide-step {
    padding: 24px 16px 18px;
    text-align: center;
  }

  .page-products .guide-step__num {
    position: static;
    margin: 0 auto 12px;
  }

  .page-products .download-grid {
    grid-template-columns: 1fr 180px;
  }

  .page-products .download-aside {
    padding: 12px 0;
  }
}

@media (min-width: 1024px) {
  .page-products .product-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-products .product-hero {
    padding: 64px 0 72px;
  }

  .page-products .product-hero__visual {
    order: 2;
  }

  .page-products .download-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: center;
    gap: 40px;
  }

  .page-products .download-phone__img {
    width: 220px;
    max-height: 330px;
    transform: rotate(3deg);
  }

  .page-products .download-panel__inner {
    padding: 36px 36px 40px;
  }

  .page-products .download-aside {
    border-left: 1px dashed rgba(241, 250, 238, 0.16);
  }

  .page-products .version-timeline {
    margin-left: 24px;
  }

  .page-products .version-timeline__item {
    padding-left: 56px;
  }

  .page-products .version-timeline::before {
    left: 22px;
  }

  .page-products .version-timeline__item::before {
    left: 15px;
  }

  .page-products .guide-help {
    flex-direction: row;
    justify-content: center;
  }
}
