.page-products {
  --app-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
}

.page-products .app-breadcrumb-wrap {
  padding-top: 22px;
  padding-bottom: 4px;
}

.page-products .app-hero {
  position: relative;
  padding: 30px 0 16px;
}

.page-products .app-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 55, 72, 0.33) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 55, 72, 0.33) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 18% 28%, rgba(0, 0, 0, 0.88), transparent 62%);
  mask-image: radial-gradient(ellipse at 18% 28%, rgba(0, 0, 0, 0.88), transparent 62%);
  pointer-events: none;
}

.page-products .app-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px 64px;
  align-items: center;
}

.page-products .app-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.page-products .phone-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  max-width: 88vw;
  max-height: 88vw;
  border: 1px dashed rgba(0, 217, 255, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: app-orbit 32s linear infinite;
  pointer-events: none;
}

.page-products .phone-orbit::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 50%;
}

.page-products .phone-frame {
  position: relative;
  z-index: 2;
  width: min(66vw, 280px);
  padding: 9px;
  border-radius: 36px;
  background: #0A0F14;
  border: 1px solid var(--c-line);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(0, 217, 255, 0.12);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--app-ease);
}

.page-products .phone-frame:hover {
  transform: rotate(-1.5deg) scale(1.02);
}

.page-products .phone-screen {
  position: relative;
  border-radius: 27px;
  overflow: hidden;
  aspect-ratio: 1 / 2;
  background: var(--c-bg-steel);
  border: 1px solid #222D3B;
}

.page-products .phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 28%, transparent 64%, rgba(0, 0, 0, 0.64));
  pointer-events: none;
}

.page-products .phone-live-tag {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0D1117;
  background: var(--c-green);
  border-radius: var(--radius-pill);
}

.page-products .phone-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0D1117;
}

.page-products .phone-score-block {
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 14px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(13, 17, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-products .phone-score-league {
  font-size: 11px;
  color: var(--c-muted);
  letter-spacing: 0.08em;
}

.page-products .phone-score-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--c-orange);
  text-align: center;
}

.page-products .phone-score-team {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-text);
  text-align: right;
  text-transform: uppercase;
}

.page-products .app-hero-copy {
  position: relative;
  z-index: 2;
}

.page-products .app-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .app-hero-title {
  margin: 18px 0 16px;
  font-size: clamp(30px, 7vw, 58px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-products .app-hero-title-accent {
  display: block;
  margin-top: 10px;
  font-size: 0.58em;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-green);
}

.page-products .app-hero-lead {
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.9;
  max-width: 620px;
}

.page-products .app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.page-products .app-hero-stats {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}

.page-products .app-hero-stats .stat-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--c-green);
}

.page-products .app-hero-stats .stat-label {
  color: var(--c-muted);
  font-size: 13px;
}

.page-products .app-features {
  position: relative;
  padding: 88px 0 72px;
}

.page-products .app-section-head {
  margin-bottom: 38px;
}

.page-products .app-section-head .section-title {
  margin: 10px 0 12px;
  font-size: clamp(26px, 4.6vw, 42px);
  font-weight: 900;
}

.page-products .section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-green);
}

.page-products .section-kicker-blue {
  color: var(--c-blue);
}

.page-products .app-section-lead {
  max-width: 680px;
  color: var(--c-muted);
  line-height: 1.8;
}

.page-products .app-feature-grid {
  display: grid;
  gap: 18px;
}

.page-products .app-feature-card {
  position: relative;
  padding: 30px 26px 26px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sharp);
  transition: transform 0.35s var(--app-ease), border-color 0.35s var(--app-ease), box-shadow 0.35s var(--app-ease);
}

.page-products .app-feature-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 26px;
  width: 46px;
  height: 3px;
  background: var(--c-green);
}

.page-products .app-feature-card:nth-child(2)::before {
  background: var(--c-blue);
}

.page-products .app-feature-card:nth-child(3)::before {
  background: var(--c-orange);
}

.page-products .app-feature-card:nth-child(4)::before {
  background: var(--c-blue);
}

.page-products .app-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 255, 20, 0.4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.page-products .app-feature-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: rgba(160, 174, 192, 0.22);
}

.page-products .app-feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  background: rgba(57, 255, 20, 0.07);
  border: 1px solid rgba(57, 255, 20, 0.28);
  border-radius: var(--radius-sharp);
  color: var(--c-green);
}

.page-products .app-feature-icon-blue {
  background: rgba(0, 217, 255, 0.07);
  border-color: rgba(0, 217, 255, 0.28);
  color: var(--c-blue);
}

.page-products .app-feature-icon-orange {
  background: rgba(255, 92, 0, 0.07);
  border-color: rgba(255, 92, 0, 0.28);
  color: var(--c-orange);
}

.page-products .app-feature-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sharp);
}

.page-products .app-feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
}

.page-products .app-feature-card p {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.8;
}

.page-products .app-optimization {
  padding: 84px 0;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), transparent 48%), var(--c-bg-card);
  border-block: 1px solid var(--c-line);
}

.page-products .app-optimization-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-products .app-optimization-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
}

.page-products .app-optimization-copy .section-title {
  margin-top: 10px;
  margin-bottom: 12px;
}

.page-products .app-perf-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .app-perf-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-blue);
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.6;
}

.page-products .app-perf-list li:nth-child(2) {
  border-left-color: var(--c-green);
}

.page-products .app-perf-list li:nth-child(3) {
  border-left-color: var(--c-orange);
}

.page-products .app-perf-list li:nth-child(4) {
  border-left-color: var(--c-blue);
}

.page-products .app-opt-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.page-products .app-opt-metric {
  padding: 16px;
  background: var(--c-bg-steel);
  border-radius: var(--radius-sharp);
}

.page-products .app-opt-metric-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-blue);
}

.page-products .app-opt-metric:nth-child(2) .app-opt-metric-num {
  color: var(--c-green);
}

.page-products .app-opt-metric:nth-child(3) .app-opt-metric-num {
  color: var(--c-orange);
}

.page-products .app-opt-metric:nth-child(4) .app-opt-metric-num {
  color: var(--c-green);
}

.page-products .app-opt-metric-num small {
  font-size: 0.58em;
  color: var(--c-muted);
}

.page-products .app-opt-metric-label {
  display: block;
  margin-top: 9px;
  font-size: 13px;
  color: var(--c-muted);
}

.page-products .app-download {
  position: relative;
  padding: 84px 0;
  overflow: hidden;
}

.page-products .app-download::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.13), transparent 62%);
  pointer-events: none;
}

.page-products .app-download-tabs {
  margin-top: 36px;
}

.page-products .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .tab-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 24px;
  background: transparent;
  color: var(--c-muted);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.3s var(--app-ease), color 0.3s var(--app-ease), border-color 0.3s var(--app-ease);
}

.page-products .tab-btn[aria-selected="true"] {
  background: var(--c-green);
  border-color: var(--c-green);
  color: var(--c-bg);
}

.page-products .app-download-panels {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.page-products .app-download-panel {
  flex: 1 1 320px;
  min-width: 0;
}

.page-products .tab-panel[hidden] {
  display: none !important;
}

.page-products .app-download-card {
  height: 100%;
  padding: 28px 26px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sharp);
}

.page-products .app-download-card .tag {
  margin-bottom: 16px;
}

.page-products .app-download-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
}

.page-products .app-download-card p {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.9;
}

.page-products .app-store-badge {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-blue);
}

.page-products .app-qr-wrap {
  display: grid;
  justify-items: center;
  margin-top: 36px;
  text-align: center;
}

.page-products .app-qr-frame {
  padding: 12px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.page-products .app-qr-frame img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.page-products .app-qr-hint {
  margin: 14px 0 0;
  color: var(--c-muted);
  font-size: 14px;
}

.page-products .app-changelog {
  padding: 84px 0;
  border-top: 1px solid var(--c-line);
  background: linear-gradient(120deg, rgba(57, 255, 20, 0.04), transparent 52%), var(--c-bg);
}

.page-products .app-changelog-grid {
  display: grid;
  gap: 40px;
}

.page-products .app-changelog-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.page-products .app-version-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--radius-sharp);
  transition: transform 0.3s var(--app-ease), border-color 0.3s var(--app-ease);
}

.page-products .app-version-card:first-child {
  border-left-color: var(--c-green);
}

.page-products .app-version-card:hover {
  transform: translateX(5px);
  border-left-color: var(--c-green);
}

.page-products .app-version-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-products .app-version-num {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 800;
  color: var(--c-blue);
}

.page-products .app-version-card:first-child .app-version-num {
  color: var(--c-green);
}

.page-products .app-version-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .app-version-body li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--c-muted);
}

.page-products .app-version-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--c-blue);
  transform: rotate(45deg);
}

.page-products .app-version-card:first-child .app-version-body li::before {
  background: var(--c-green);
}

.page-products .app-changelog-more {
  margin-top: 28px;
}

.page-products .app-changelog-visual {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-products .app-changelog-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
}

.page-products .app-changelog-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .app-crosslinks {
  padding: 72px 0 96px;
}

.page-products .app-crosslinks-grid {
  display: grid;
  gap: 16px;
}

.page-products .app-crosslink {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
  padding: 22px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sharp);
  color: var(--c-text);
  text-decoration: none;
  transition: transform 0.3s var(--app-ease), border-color 0.3s var(--app-ease), box-shadow 0.3s var(--app-ease);
}

.page-products .app-crosslink:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 217, 255, 0.4);
  box-shadow: var(--shadow-card);
}

.page-products .app-crosslink .tag {
  grid-column: 1 / -1;
  justify-self: start;
}

.page-products .app-crosslink-title {
  font-size: 17px;
  font-weight: 700;
}

.page-products .app-crosslink-arrow {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--c-orange);
}

@keyframes app-orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (min-width: 768px) {
  .page-products .app-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-products .app-opt-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .app-optimization-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .page-products .app-crosslinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-products .app-hero {
    padding: 54px 0 30px;
  }

  .page-products .app-hero-grid {
    grid-template-columns: minmax(320px, 440px) 1fr;
  }

  .page-products .app-hero-visual {
    position: sticky;
    top: 26px;
    align-self: start;
    min-height: 540px;
  }

  .page-products .app-optimization {
    padding: 110px 0;
  }

  .page-products .app-optimization-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }

  .page-products .app-features,
  .page-products .app-download,
  .page-products .app-changelog {
    padding: 110px 0;
  }

  .page-products .app-changelog-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 64px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    animation: none !important;
    transition: none !important;
  }
}
