.page-products {
  --apps-deep: #061D3A;
  --apps-primary: #0A2E5C;
  --apps-orange: #FF6B00;
  --apps-yellow: #FFD700;
  --apps-gray: #9BA3AF;
  --apps-bg: #F8F5F0;
  --apps-font-display: Impact, "Arial Black", "Haettenschweiler", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --apps-font-code: "SF Mono", "Roboto Mono", "Cascadia Code", monospace;
  overflow-x: clip;
}

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

.page-products .apps-hero {
  position: relative;
  padding: 52px 0 72px;
  background: linear-gradient(135deg, var(--apps-primary) 0%, var(--apps-deep) 96%);
  color: #fff;
  overflow: hidden;
}

.page-products .apps-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255, 107, 0, 0.26), transparent 44%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-products .apps-hero::after {
  content: "APP";
  position: absolute;
  right: 3%;
  bottom: -9%;
  font-family: var(--apps-font-display);
  font-size: clamp(90px, 13vw, 210px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  letter-spacing: -4px;
  pointer-events: none;
}

.page-products .apps-hero-inner {
  position: relative;
  z-index: 1;
}

.page-products .apps-hero .breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 34px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}

.page-products .apps-hero .breadcrumb a {
  color: var(--apps-yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 215, 0, 0.45);
  transition: color 0.2s ease;
}

.page-products .apps-hero .breadcrumb a:hover {
  color: #fff;
}

.page-products .apps-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-products .apps-hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-products .apps-hero .page-hero-kicker {
  margin: 0;
  font-family: var(--apps-font-code);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--apps-yellow);
  text-transform: uppercase;
}

.page-products .apps-hero .page-hero-title {
  margin: 0;
  font-family: var(--apps-font-display);
  font-size: clamp(2.1rem, 6vw, 4.3rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
  word-break: break-word;
}

.page-products .apps-hero .page-hero-desc {
  max-width: 640px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.86);
}

.page-products .apps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.page-products .apps-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-family: var(--apps-font-code);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.page-products .apps-hero-meta span {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.page-products .phone-frame {
  position: relative;
  width: 268px;
  max-width: 82%;
  margin: 0 auto;
  padding: 10px 10px 14px;
  background: var(--apps-deep);
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
}

.page-products .phone-frame::before {
  content: "";
  display: block;
  width: 74px;
  height: 22px;
  margin: 0 auto 10px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 24px;
}

.page-products .phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  aspect-ratio: 300 / 600;
}

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

.page-products .apps-features .section-head {
  margin-bottom: 42px;
}

.page-products .features-layout {
  display: grid;
  gap: 34px;
}

.page-products .features-intro {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-products .features-intro p {
  margin: 0;
  color: var(--apps-deep);
  font-size: 1.02rem;
  line-height: 1.82;
}

.page-products .features-intro a,
.page-products .download-help a,
.page-products .apps-cta-row a {
  color: var(--apps-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 0, 0.4);
}

.page-products .features-intro a:hover,
.page-products .download-help a:hover,
.page-products .apps-cta-row a:hover {
  border-bottom-color: var(--apps-orange);
}

.page-products .app-icon {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(6, 29, 58, 0.16);
  transform: rotate(-3deg);
}

.page-products .feature-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-products .feature-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 24px 22px 22px;
  background: #fff;
  border: 1px solid rgba(10, 46, 92, 0.1);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(6, 29, 58, 0.08);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.page-products .feature-card::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 4px;
  height: 36px;
  background: var(--apps-orange);
  clip-path: polygon(0 0, 100% 14%, 100% 86%, 0 100%);
}

.page-products .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(6, 29, 58, 0.16);
}

.page-products .feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--apps-primary);
  color: #fff;
  border-radius: 12px;
}

.page-products .feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-products .feature-card h3 {
  margin: 0;
  color: var(--apps-deep);
  font-family: var(--apps-font-display);
  font-size: 1.16rem;
  line-height: 1.2;
}

.page-products .feature-card p {
  margin: 0;
  color: #3c4a5a;
  font-size: 0.93rem;
  line-height: 1.75;
}

.page-products .filter-demo {
  margin-top: 56px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--apps-primary), var(--apps-deep));
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(6, 29, 58, 0.24);
}

.page-products .filter-demo-head {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.page-products .filter-demo-label {
  margin: 0;
  font-family: var(--apps-font-code);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--apps-yellow);
}

.page-products .filter-demo-head h3 {
  margin: 0;
  font-family: var(--apps-font-display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.page-products .filter-demo-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-products .filter-demo input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.page-products .filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.page-products .filter-tabs label {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-products #demo-league:checked ~ .filter-tabs label[for="demo-league"],
.page-products #demo-cup:checked ~ .filter-tabs label[for="demo-cup"] {
  background: var(--apps-orange);
  border-color: var(--apps-orange);
  color: #fff;
  box-shadow: 0 5px 18px rgba(255, 107, 0, 0.3);
}

.page-products #demo-league:focus-visible ~ .filter-tabs label[for="demo-league"],
.page-products #demo-cup:focus-visible ~ .filter-tabs label[for="demo-cup"] {
  outline: 2px solid var(--apps-yellow);
  outline-offset: 2px;
}

.page-products .filter-panel {
  display: none;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.page-products #demo-league:checked ~ .filter-panel.demo-league-panel,
.page-products #demo-cup:checked ~ .filter-panel.demo-cup-panel {
  display: block;
}

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

.page-products .match-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--apps-yellow);
  border-radius: 6px;
}

.page-products .match-list .match-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.94rem;
}

.page-products .match-list .match-status {
  font-family: var(--apps-font-code);
  font-size: 12px;
  color: var(--apps-yellow);
  white-space: nowrap;
}

.page-products .apps-sync {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--apps-bg) 0%, #fff 100%);
}

.page-products .apps-sync .section-head {
  margin-bottom: 42px;
}

.page-products .sync-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-products .sync-media {
  position: relative;
}

.page-products .sync-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(6, 29, 58, 0.18);
}

.page-products .sync-badge {
  position: absolute;
  right: 16px;
  bottom: -12px;
  padding: 10px 16px;
  background: var(--apps-orange);
  color: #fff;
  font-family: var(--apps-font-code);
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 6px;
  box-shadow: 0 6px 22px rgba(255, 107, 0, 0.3);
}

.page-products .sync-points {
  display: grid;
  gap: 20px;
}

.page-products .sync-point {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.page-products .sync-point-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--apps-primary);
  color: var(--apps-yellow);
  border-radius: 50%;
  font-family: var(--apps-font-code);
  font-weight: 700;
}

.page-products .sync-point h3 {
  margin: 0;
  color: var(--apps-deep);
  font-size: 1.02rem;
  line-height: 1.3;
}

.page-products .sync-point p {
  margin: 5px 0 0;
  color: #3c4a5a;
  font-size: 0.93rem;
  line-height: 1.72;
}

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

.page-products .apps-timeline .section-head {
  margin-bottom: 42px;
}

.page-products .timeline-wrap {
  display: grid;
  gap: 40px;
  align-items: start;
}

.page-products .timeline-visual-wrap {
  position: relative;
}

.page-products .timeline-visual {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(6, 29, 58, 0.14);
}

.page-products .timeline-caption {
  margin: 14px 0 0;
  color: #5a6775;
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-products .version-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-products .version-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 22px 0 22px 24px;
}

.page-products .version-timeline li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(10, 46, 92, 0.16);
}

.page-products .version-timeline li:first-child::before {
  top: 30px;
}

.page-products .version-timeline li:last-child::before {
  bottom: auto;
  height: 30px;
}

.page-products .version-timeline li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  width: 12px;
  height: 12px;
  background: var(--apps-orange);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-products .version-timeline li:hover::after {
  background: var(--apps-yellow);
  transform: scale(1.22);
}

.page-products .version-tag {
  align-self: start;
  justify-self: center;
  min-width: 58px;
  padding: 7px 10px;
  background: var(--apps-primary);
  color: #fff;
  font-family: var(--apps-font-code);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
}

.page-products .version-info h3 {
  margin: 0;
  color: var(--apps-deep);
  font-size: 1rem;
  line-height: 1.3;
}

.page-products .version-info p {
  margin: 6px 0 0;
  color: #3c4a5a;
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-products .apps-scenarios {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(160deg, var(--apps-primary), var(--apps-deep));
  color: #fff;
  overflow: hidden;
}

.page-products .apps-scenarios::before {
  content: "";
  position: absolute;
  top: -12%;
  left: -10%;
  width: 46%;
  height: 56%;
  background: rgba(255, 107, 0, 0.14);
  clip-path: polygon(18% 0, 100% 14%, 86% 100%, 0 82%);
  pointer-events: none;
}

.page-products .apps-scenarios .section-kicker,
.page-products .apps-scenarios .section-title {
  color: #fff;
}

.page-products .apps-scenarios .section-note {
  color: rgba(255, 255, 255, 0.7);
}

.page-products .scenario-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  margin-top: 8px;
}

.page-products .scenario-card {
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
  transition: background 0.24s ease, transform 0.24s ease;
}

.page-products .scenario-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.page-products .scenario-no {
  margin: 0;
  font-family: var(--apps-font-code);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--apps-yellow);
}

.page-products .scenario-card h3 {
  margin: 10px 0 8px;
  font-family: var(--apps-font-display);
  font-size: 1.18rem;
  line-height: 1.2;
}

.page-products .scenario-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.75;
}

.page-products .scenario-media {
  position: relative;
  z-index: 1;
  margin-top: 36px;
}

.page-products .scenario-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.3);
}

.page-products .apps-download {
  padding: 72px 0;
  background: #fff;
}

.page-products .apps-download .section-head {
  margin-bottom: 24px;
}

.page-products .download-lead {
  max-width: 720px;
  margin: 0 0 30px;
  color: #3c4a5a;
  font-size: 1rem;
  line-height: 1.75;
}

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

.page-products .download-card {
  padding: 26px 24px;
  border: 1px solid rgba(10, 46, 92, 0.12);
  border-radius: 12px;
  background: var(--apps-bg);
  box-shadow: 0 4px 20px rgba(6, 29, 58, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.page-products .download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(6, 29, 58, 0.14);
}

.page-products .store-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  background: var(--apps-deep);
  color: var(--apps-yellow);
  border-radius: 10px;
  font-family: var(--apps-font-display);
  font-size: 18px;
}

.page-products .download-card h3 {
  margin: 0;
  color: var(--apps-deep);
  font-size: 1.08rem;
  line-height: 1.3;
}

.page-products .download-card p {
  margin: 8px 0 0;
  color: #3c4a5a;
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-products .download-help {
  margin-top: 30px;
  padding: 18px 22px;
  background: rgba(10, 46, 92, 0.05);
  border-left: 4px solid var(--apps-orange);
  color: #3c4a5a;
  font-size: 0.94rem;
  line-height: 1.7;
}

.page-products .download-help p {
  margin: 0;
}

.page-products .apps-specs {
  padding: 72px 0 84px;
  background: linear-gradient(160deg, var(--apps-deep), var(--apps-primary));
  color: #fff;
}

.page-products .apps-specs .section-kicker,
.page-products .apps-specs .section-title {
  color: #fff;
}

.page-products .apps-specs .section-note {
  color: rgba(255, 255, 255, 0.68);
}

.page-products .spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.page-products .spec-item {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  background: rgba(6, 29, 58, 0.97);
}

.page-products .spec-label {
  font-family: var(--apps-font-code);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--apps-yellow);
}

.page-products .spec-value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  line-height: 1.55;
}

.page-products .apps-cta-row {
  margin-top: 36px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
}

.page-products .apps-cta-row p {
  margin: 0;
}

.page-products .apps-cta-row a {
  color: var(--apps-yellow);
}

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

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

@media (min-width: 680px) {
  .page-products .spec-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .page-products .apps-hero {
    padding: 60px 0 84px;
  }

  .page-products .apps-hero-grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 44px;
  }

  .page-products .apps-hero-phone {
    display: flex;
    justify-content: center;
  }

  .page-products .phone-frame {
    margin: 0;
  }

  .page-products .sync-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }

  .page-products .timeline-wrap {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
  }

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

@media (min-width: 1024px) {
  .page-products .features-layout {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 50px;
  }
}
