.page-products {
  --hero-blue: #142833;
  --glass-line: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.page-products .product-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 72px;
  background:
    radial-gradient(760px 300px at 88% 4%, rgba(242, 101, 34, 0.30), transparent 58%),
    radial-gradient(520px 260px at -8% 110%, rgba(14, 94, 110, 0.90), transparent 62%),
    linear-gradient(132deg, #1B3B4C 0%, #142833 68%, #25563E 150%);
  color: #fff;
}

.page-products .product-hero::before {
  content: "";
  position: absolute;
  right: -110px;
  top: 110px;
  width: 300px;
  height: 300px;
  border-radius: 46% 54% 46% 54% / 54% 42% 58% 46%;
  background: rgba(242, 101, 34, 0.16);
  transform: rotate(18deg);
}

.page-products .product-hero::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 60% 40% 52% 48%;
  background: rgba(242, 101, 34, 0.10);
}

.page-products .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

.page-products .breadcrumb {
  margin-bottom: 20px;
}

.page-products .breadcrumb a,
.page-products .breadcrumb span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-decoration: none;
}

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

.page-products .breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.6;
}

.page-products .hero-app-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.page-products .hero-app-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(242, 101, 34, 0.28);
}

.page-products .hero-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.page-products h1#product-hero-title {
  margin: 0;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.15);
}

.page-products .hero-desc {
  margin: 18px 0 24px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 15px;
}

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

.page-products .hero-actions .btn-primary {
  box-shadow: var(--shadow-orange);
}

.page-products .hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.page-products .hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
}

.page-products .sys-tabs {
  position: relative;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--glass-line);
}

.page-products .sys-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-products .sys-tabs label {
  display: inline-block;
  margin-right: 10px;
  padding: 9px 22px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.page-products .sys-tabs label:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.page-products #tab-ios:checked ~ label[for="tab-ios"],
.page-products #tab-android:checked ~ label[for="tab-android"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 18px rgba(242, 101, 34, 0.35);
}

.page-products .sys-tab-panel {
  display: none;
  padding-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.page-products .sys-tab-panel strong {
  color: #fff;
}

.page-products #tab-ios:checked ~ .sys-tab-ios,
.page-products #tab-android:checked ~ .sys-tab-android {
  display: block;
}

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

.page-products .qr-card {
  width: 100%;
  max-width: 420px;
  margin: 6px auto 0;
  padding: 24px 22px 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  text-align: center;
  transform: rotate(1.4deg);
}

.page-products .qr-img {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
}

.page-products .qr-title {
  margin: 16px 0 4px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.page-products .qr-note {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.page-products .qr-safe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: rgba(46, 110, 78, 0.10);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.page-products .hero-curve-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.page-products .hero-curve {
  display: block;
  width: 100%;
  height: 56px;
  fill: #142833;
}

.page-products .product-features {
  padding: 64px 0 72px;
  background: linear-gradient(160deg, #142833 0%, #0E5E6E 76%);
}

.page-products .product-features .section-title,
.page-products .product-sys .section-title {
  color: #fff;
}

.page-products .feature-stack {
  margin-top: 44px;
}

.page-products .feature-card {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 0 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.page-products .feature-card--report {
  transform: rotate(-0.9deg);
}

.page-products .feature-card--lineup {
  transform: rotate(0.7deg);
}

.page-products .feature-card--history {
  transform: rotate(-0.6deg);
}

.page-products .feature-media {
  background: var(--blue);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.page-products .feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.page-products .feature-card:hover .feature-media img {
  transform: scale(1.04);
}

.page-products .feature-body {
  padding: 28px 26px 30px;
  position: relative;
}

.page-products .feature-index {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
}

.page-products .feature-body h3 {
  margin: 8px 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.page-products .feature-body p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.page-products .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.page-products .feature-link:hover {
  text-decoration: underline;
}

.page-products .product-sys {
  padding: 64px 0 72px;
  background:
    radial-gradient(640px 280px at 90% 10%, rgba(90, 74, 119, 0.24), transparent 62%),
    var(--teal);
  color: #fff;
}

.page-products .sys-grid {
  display: grid;
  gap: 36px;
}

.page-products .sys-intro h2 {
  color: #fff;
}

.page-products .sys-intro p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
  font-size: 15px;
  max-width: 440px;
}

.page-products .sys-list {
  display: grid;
  gap: 16px;
}

.page-products .sys-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(18, 41, 51, 0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .sys-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 41, 51, 0.18);
}

.page-products .sys-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(14, 94, 110, 0.12);
  color: var(--teal);
}

.page-products .sys-item h3 {
  margin: 2px 0 6px;
  font-size: 17px;
}

.page-products .sys-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-products .product-changelog {
  padding: 64px 0 72px;
  background: var(--light);
}

.page-products .log-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.page-products .log-head .section-desc {
  margin-top: 8px;
}

.page-products .log-timeline {
  position: relative;
  list-style: none;
  margin: 44px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid rgba(242, 101, 34, 0.28);
}

.page-products .log-item {
  position: relative;
  margin-bottom: 22px;
}

.page-products .log-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(242, 101, 34, 0.14);
}

.page-products .log-version {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 12px;
  background: rgba(242, 101, 34, 0.12);
  color: var(--orange);
  font-weight: 800;
  font-size: 16px;
}

.page-products .log-content {
  padding: 20px 22px;
}

.page-products .log-content h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
}

.page-products .log-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.page-products .product-safety {
  padding: 64px 0 72px;
  background: var(--light);
}

.page-products .safety-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: linear-gradient(135deg, #7A2E4F 0%, #5A4A77 100%);
  color: #fff;
  overflow: hidden;
}

.page-products .safety-banner::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(242, 101, 34, 0.28);
}

.page-products .safety-banner > * {
  position: relative;
  z-index: 1;
}

.page-products .safety-banner h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #fff;
}

.page-products .safety-left p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 14px;
}

.page-products .safety-list {
  margin-top: 24px;
}

.page-products .safety-list ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.page-products .safety-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}

.page-products .safety-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-weight: 800;
}

@media (min-width: 720px) {
  .page-products .product-hero {
    padding: 40px 0 80px;
  }
  .page-products .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
  }
  .page-products .hero-right {
    justify-content: flex-end;
  }
  .page-products .qr-card {
    margin: 0;
    transform: rotate(1.2deg);
  }
}

@media (min-width: 900px) {
  .page-products .hero-app-row {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
  .page-products .feature-card {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .page-products .feature-card:nth-child(even) .feature-media {
    order: 2;
  }
  .page-products .feature-body {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .page-products .feature-body h3 {
    font-size: 24px;
  }
  .page-products .feature-body p {
    font-size: 15px;
  }
  .page-products .sys-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
  .page-products .log-timeline {
    padding-left: 32px;
  }
  .page-products .log-content p {
    font-size: 15px;
  }
  .page-products .safety-banner {
    padding: 48px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .page-products .safety-list {
    margin-top: 0;
  }
}
