.page-products {
  --py-dark: #0A1F44;
  --py-dark-soft: #102A5C;
  --py-accent: #FF6B00;
  --py-accent-soft: #FF8A50;
  --py-bg: #F5F7FA;
  --py-surface: #FFFFFF;
  --py-muted: #4A5568;
  --py-line: #E2E8F0;
  background: var(--py-bg);
}

.page-products .x-breadcrumbs {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 24px 0;
  font-size: 0.875rem;
}

.page-products .py-app-hero {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255,107,0,0.16) 0%, transparent 45%),
    linear-gradient(135deg, #0A1F44 0%, #102A5C 58%, rgba(16,42,92,0.9) 100%);
  color: #FFFFFF;
  overflow: hidden;
  position: relative;
}

.page-products .py-app-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .py-app-hero__inner {
  display: grid;
  gap: 48px;
  padding: 40px 0 72px;
  align-items: center;
}

.page-products .py-app-hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-products .py-app-hero__content .x-eyebrow {
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
}

.page-products .py-app-hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: 0;
  margin: 0;
  max-width: 12em;
}

.page-products .py-app-hero__lead {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 36em;
}

.page-products .py-app-hero__stats {
  max-width: 420px;
}

.page-products .py-app-hero__stats .x-datalist__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.page-products .py-app-hero__stats .x-datalist__row:first-child {
  border-top: 1px solid rgba(255,255,255,0.16);
}

.page-products .py-app-hero__stats .x-datalist__key {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.06em;
}

.page-products .py-app-hero__stats .x-datalist__value {
  font-family: var(--font-data);
  font-size: 1rem;
  font-weight: 600;
  color: var(--py-accent-soft);
}

.page-products .py-app-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.page-products .py-app-hero__actions .x-btn--primary {
  background: linear-gradient(135deg, var(--py-accent) 0%, var(--py-accent-soft) 100%);
  box-shadow: 0 8px 24px rgba(255,107,0,0.32);
}

.page-products .py-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s ease;
}

.page-products .py-text-link:hover {
  border-color: var(--py-accent-soft);
}

.page-products .py-app-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.page-products .py-app-hero__mockup {
  margin: 0;
  width: min(300px, 76vw);
}

.page-products .py-app-hero__phone-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 26px 64px rgba(0,0,0,0.38);
  object-fit: cover;
}

.page-products .py-app-hero__mockup figcaption {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.52);
  text-align: center;
  letter-spacing: 0.08em;
  margin-top: 14px;
}

.page-products .py-features {
  background: var(--py-bg);
  padding: 72px 0;
}

.page-products .py-features__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
}

.page-products .py-features__head h2,
.page-products .py-version__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--py-dark);
  margin: 0;
}

.page-products .py-features__intro,
.page-products .py-version__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--py-muted);
  max-width: 42em;
  margin: 0;
}

.page-products .py-features__list {
  display: grid;
  gap: 20px;
}

.page-products .py-feature-row {
  display: grid;
  gap: 16px;
  background: var(--py-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid transparent;
  padding: 28px;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-products .py-feature-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.page-products .py-feature-row--with-media {
  padding: 0;
  overflow: hidden;
  border-top: none;
}

.page-products .py-feature-row__index {
  font-family: var(--font-data);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--py-accent);
}

.page-products .py-feature-row__body h3,
.page-products .py-feature-row__content h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--py-dark);
  margin: 0 0 10px;
  line-height: 1.3;
}

.page-products .py-feature-row__body p,
.page-products .py-feature-row__content p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--py-muted);
  margin: 0;
}

.page-products .py-feature-row__media {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--py-dark);
}

.page-products .py-feature-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .py-feature-row__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.page-products .py-trust-note {
  margin: 44px 0 0;
  padding: 22px 28px;
  border-left: 4px solid var(--py-accent);
  background: var(--py-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.page-products .py-trust-note p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--py-dark);
  margin: 0;
}

.page-products .py-download {
  background: linear-gradient(160deg, var(--py-dark) 0%, var(--py-dark-soft) 100%);
  padding: 72px 0;
}

.page-products .py-download__inner {
  display: grid;
  gap: 44px;
  align-items: start;
}

.page-products .py-download__demo .x-eyebrow,
.page-products .py-download__steps .x-eyebrow {
  color: rgba(255,255,255,0.55);
}

.page-products .py-download__demo h2,
.page-products .py-download__steps > h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  color: #FFFFFF;
  margin: 2px 0 0;
}

.page-products .py-download__demo-lead {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 14px 0 24px;
}

.page-products .py-download__demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-products .py-download__demo-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.page-products .py-download__demo-list li:first-child {
  border-top: 1px solid rgba(255,255,255,0.12);
}

.page-products .py-download__demo-num {
  font-family: var(--font-data);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--py-accent);
  min-width: 2.8em;
  line-height: 1.5;
}

.page-products .py-download__demo-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .py-download__demo-item strong {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: #FFFFFF;
  font-weight: 700;
}

.page-products .py-download__demo-item span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
}

.page-products .py-download__card {
  background: var(--py-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-lg);
}

.page-products .py-download__card-head .x-eyebrow {
  color: var(--py-accent);
}

.page-products .py-download__card-head h2 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  color: var(--py-dark);
  margin: 2px 0 0;
}

.page-products .py-download__subtitle {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--py-muted);
  margin: 8px 0 0;
}

.page-products .py-download__qr {
  background: var(--py-bg);
  border: 1px solid var(--py-line);
  border-radius: var(--radius);
  padding: 12px;
}

.page-products .py-download__qr img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-products .py-download__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .py-download__hint {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--py-muted);
  margin: 0;
}

.page-products .py-download__steps {
  margin-top: 48px;
}

.page-products .py-download__step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.page-products .py-download__step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.page-products .py-download__step:first-child {
  border-top: 1px solid rgba(255,255,255,0.12);
}

.page-products .py-download__step[data-open] {
  cursor: default;
}

.page-products .py-download__step-num {
  font-family: var(--font-data);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--py-accent);
  min-width: 2.8em;
  line-height: 1.6;
}

.page-products .py-download__step-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #FFFFFF;
  margin: 0 0 6px;
}

.page-products .py-download__step-body p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

.page-products .py-download__note {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.page-products .py-download__note a {
  color: var(--py-accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .py-version {
  background: var(--py-bg);
  padding: 72px 0 88px;
}

.page-products .py-version__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.page-products .py-version__timeline {
  display: grid;
  gap: 0;
}

.page-products .py-version__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--py-line);
}

.page-products .py-version__item:first-child {
  border-top: 1px solid var(--py-line);
}

.page-products .py-version__badge {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1rem;
  color: var(--py-accent);
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  white-space: nowrap;
  justify-self: start;
}

.page-products .py-version__content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--py-dark);
  margin: 0 0 8px;
}

.page-products .py-version__content p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--py-muted);
  margin: 0;
}

.page-products .py-version__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.page-products .py-version__tags li {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--py-dark);
  background: var(--py-surface);
  border: 1px solid var(--py-line);
  border-radius: 999px;
  padding: 4px 12px;
}

@media (min-width: 768px) {
  .page-products .py-app-hero__inner {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
    padding: 64px 0 88px;
  }

  .page-products .py-feature-row {
    padding: 32px;
  }

  .page-products .py-download__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }

  .page-products .py-download__steps {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .page-products .py-features,
  .page-products .py-download,
  .page-products .py-version {
    padding: 96px 0;
  }

  .page-products .py-features__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
  }

  .page-products .py-features__intro {
    margin-left: auto;
    max-width: 34em;
  }

  .page-products .py-feature-row--with-media {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-products .py-feature-row--with-media .py-feature-row__media {
    aspect-ratio: auto;
    min-height: 260px;
  }

  .page-products .py-feature-row--with-media .py-feature-row__media img {
    height: 100%;
  }

  .page-products .py-feature-row--reverse .py-feature-row__media {
    order: 2;
  }

  .page-products .py-feature-row--reverse .py-feature-row__content {
    order: 1;
  }

  .page-products .py-feature-row__content {
    padding: 32px;
  }

  .page-products .py-version__timeline {
    gap: 8px;
  }

  .page-products .py-version__item {
    grid-template-columns: 160px 1fr;
    gap: 40px;
    padding: 28px 0;
  }

  .page-products .py-version__badge {
    justify-self: end;
    font-size: 1.0625rem;
    padding: 8px 18px;
  }
}
