.page-products {
  --phone-w: 252px;
  --qr-size: 150px;
  --card-radius: 14px;
  position: relative;
  overflow: clip;
}

.page-products .product-hero {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 4rem;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(0, 255, 135, 0.08) 0%, transparent 48%),
    radial-gradient(ellipse at 82% 16%, rgba(0, 212, 255, 0.10) 0%, transparent 46%),
    var(--color-bg);
}

.page-products .hero-caption {
  max-width: 760px;
  margin-top: 3rem;
}

.page-products .hero-caption__kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-neon-green);
  margin-bottom: 0.75rem;
}

.page-products .hero-caption h1 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 1.1rem;
}

.page-products .hero-caption__lead {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin: 0;
  border-left: 2px solid var(--gradient-accent);
  padding-left: 1.2rem;
}

.page-products .hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  margin-top: 3.2rem;
}

.page-products .hero-side {
  width: 100%;
  display: grid;
  gap: 1rem;
}

.page-products .hero-point {
  background: rgba(20, 27, 45, 0.86);
  border: 1px solid var(--color-line);
  border-radius: var(--card-radius);
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.page-products .hero-point:hover {
  border-color: rgba(0, 212, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.page-products .hero-point__num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  min-width: 2.2rem;
}

.page-products .hero-point h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.3rem;
  letter-spacing: 0.01em;
}

.page-products .hero-point p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.page-products .hero-stage__center {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.page-products .hero-stage__center[data-reveal] .phone-model {
  transform: perspective(1100px) rotateY(16deg) rotateZ(3deg) scale(0.94);
  transition: transform 0.9s var(--ease);
}

.page-products .hero-stage__center[data-reveal].is-visible .phone-model {
  transform: perspective(1100px) rotateY(0deg) rotateZ(0deg) scale(1);
}

.page-products .phone-model {
  position: relative;
  width: var(--phone-w);
  aspect-ratio: 300 / 620;
  background: linear-gradient(148deg, #232e46, #111827 62%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(0, 212, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-products .phone-model::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 84px;
  width: 3px;
  height: 60px;
  background: #111827;
  border-radius: 2px;
}

.page-products .phone-model__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--color-surface);
}

.page-products .phone-model__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page-products .phone-model__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: var(--color-bg);
  border-radius: 12px;
  z-index: 3;
}

.page-products .download-panel {
  position: relative;
  z-index: 3;
  margin-top: 3.4rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: rgba(20, 27, 45, 0.66);
  border: 1px solid var(--color-line);
  border-radius: 22px;
  padding: 1.8rem 1.4rem 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-products .platform-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-products .platform-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 4px;
  background: #0B0F1A;
  border: 1px solid var(--color-line);
  border-radius: 999px;
}

.page-products .platform-tabs label {
  display: inline-block;
  padding: 0.58rem 1.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .platform-radio:checked ~ .platform-tabs label[for="platform-android"],
.page-products .platform-radio:checked ~ .platform-tabs label[for="platform-ios"] {
  background: var(--gradient-accent);
  color: var(--color-bg);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 255, 135, 0.22);
}

.page-products .download-panel:has(.platform-radio:focus-visible) .platform-tabs {
  outline: 2px solid var(--color-electric-blue);
  outline-offset: 2px;
}

.page-products .qr-codes {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.page-products .qr-code {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 1.3rem 1.6rem 1.4rem;
  width: 100%;
  max-width: 260px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.page-products .platform-radio#platform-android:checked ~ .qr-codes .qr-code--android,
.page-products .platform-radio#platform-ios:checked ~ .qr-codes .qr-code--ios {
  display: flex;
}

.page-products .platform-radio#platform-android:checked ~ .qr-codes .qr-code--ios,
.page-products .platform-radio#platform-ios:checked ~ .qr-codes .qr-code--android {
  display: none;
}

.page-products .qr-art {
  width: var(--qr-size);
  height: var(--qr-size);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 3px;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(11, 15, 26, 0.1);
  flex-shrink: 0;
}

.page-products .qr-art span {
  background: transparent;
  border-radius: 1px;
}

.page-products .qr-art span.is-fill {
  background: #0B0F1A;
}

.page-products .qr-code__label {
  font-weight: 650;
  font-size: 0.92rem;
  color: #0B0F1A;
  margin: 0.5rem 0 0;
}

.page-products .qr-code__hint {
  font-size: 0.75rem;
  color: rgba(11, 15, 26, 0.68);
  margin: 0;
  line-height: 1.5;
}

.page-products .download-panel__remark {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  line-height: 1.7;
}

.page-products .download-panel__remark a,
.page-products .sync-block__content a,
.page-products .timeline__card a {
  color: var(--color-electric-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .hero-bg {
  position: absolute;
  right: -90px;
  bottom: -30px;
  width: 380px;
  opacity: 0.14;
  transform: rotate(-8deg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  pointer-events: none;
}

.page-products .hero-bg img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .tablet-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(30, 38, 56, 0.75) 0%, rgba(11, 15, 26, 1) 100%);
  border-top: 1px solid var(--color-line);
}

.page-products .tablet-section .section-head,
.page-products .features-section .section-head,
.page-products .timeline-section .section-head {
  margin-bottom: 3rem;
}

.page-products .tablet-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-products .tablet-visual[data-reveal] .tablet-model {
  transform: perspective(1000px) rotateX(12deg);
  transition: transform 0.9s var(--ease);
}

.page-products .tablet-visual[data-reveal].is-visible .tablet-model {
  transform: perspective(1000px) rotateX(0deg);
}

.page-products .tablet-model {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
  aspect-ratio: 1000 / 700;
  background: linear-gradient(148deg, #232e46, #101826 64%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 11px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.48);
}

.page-products .tablet-model::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 3px;
  height: 66px;
  background: #101826;
  transform: translateY(-50%);
  border-radius: 2px;
}

.page-products .tablet-model__screen {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-surface);
}

.page-products .tablet-model__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-products .tablet-content__lead {
  font-size: 1.08rem;
  color: var(--color-text);
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.page-products .tablet-content__lead strong {
  color: var(--color-neon-green);
  font-weight: 650;
}

.page-products .tablet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.75rem;
}

.page-products .tablet-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.94rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.page-products .tablet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 8px;
  height: 8px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transform: skew(-14deg);
}

.page-products .tablet-content__note {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  background: rgba(0, 255, 135, 0.06);
  border-left: 2px solid var(--color-neon-green);
  padding: 0.85rem 1.1rem;
  border-radius: 0 10px 10px 0;
  margin: 0;
}

.page-products .features-section {
  background:
    radial-gradient(ellipse at 82% 22%, rgba(0, 212, 255, 0.07) 0%, transparent 50%),
    var(--color-bg);
  border-top: 1px solid var(--color-line);
}

.page-products .feature-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

.page-products .feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--card-radius);
  padding: 1.5rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.page-products .feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.page-products .feature-card:hover {
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.page-products .feature-card:hover::before {
  opacity: 1;
}

.page-products .feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  color: var(--color-neon-green);
  background: rgba(0, 255, 135, 0.1);
  border-radius: 12px;
  margin-bottom: 1.1rem;
}

.page-products .feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--color-text);
  margin: 0 0 0.55rem;
}

.page-products .feature-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.65;
}

.page-products .sync-block {
  display: grid;
  gap: 2rem;
  margin-top: 3.4rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 22px;
  padding: 1.4rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.page-products .sync-block__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 320px;
}

.page-products .sync-block__visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}

.page-products .sync-block__content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.8rem;
}

.page-products .sync-block__content p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 0 1.2rem;
}

.page-products .sync-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr 1fr;
}

.page-products .sync-list li {
  font-size: 0.88rem;
  color: var(--color-text);
  padding: 0.55rem 0.7rem;
  background: rgba(0, 255, 135, 0.06);
  border: 1px solid rgba(0, 255, 135, 0.16);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.page-products .timeline-section {
  background:
    radial-gradient(ellipse at 14% 88%, rgba(0, 255, 135, 0.06) 0%, transparent 44%),
    linear-gradient(180deg, var(--color-bg) 0%, #0E1424 100%);
  border-top: 1px solid var(--color-line);
}

.page-products .timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-left: 2.1rem;
}

.page-products .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-neon-green), var(--color-electric-blue));
  opacity: 0.5;
}

.page-products .timeline__item {
  position: relative;
}

.page-products .timeline__dot {
  position: absolute;
  left: -2.1rem;
  top: 1.1rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--color-electric-blue);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}

.page-products .timeline__item--current .timeline__dot {
  border-color: var(--color-neon-green);
  box-shadow: 0 0 0 5px rgba(0, 255, 135, 0.16), 0 0 22px rgba(0, 255, 135, 0.5);
}

.page-products .timeline__card {
  background: rgba(20, 27, 45, 0.8);
  border: 1px solid var(--color-line);
  border-radius: var(--card-radius);
  padding: 1.15rem 1.25rem;
}

.page-products .timeline__item--current .timeline__card {
  border-color: rgba(0, 255, 135, 0.35);
}

.page-products .timeline__version {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-bg);
  background: var(--gradient-accent);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  margin-bottom: 0.6rem;
}

.page-products .timeline__card h3 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--color-text);
  margin: 0 0 0.4rem;
}

.page-products .timeline__card p {
  font-size: 0.86rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}

.page-products .multi-device {
  margin-top: 3rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.32);
}

.page-products .multi-device img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .page-products {
    --phone-w: 280px;
  }

  .page-products .hero-side {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .hero-side--right {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-products .sync-block {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    padding: 1.8rem;
  }

  .page-products .sync-block__visual {
    max-height: 380px;
  }

  .page-products .sync-block__visual img {
    max-height: 380px;
  }
}

@media (min-width: 992px) {
  .page-products .hero-stage {
    display: grid;
    grid-template-columns: minmax(270px, 1fr) auto minmax(270px, 1fr);
    align-items: center;
    gap: 3rem;
    margin-top: 4rem;
  }

  .page-products .hero-side {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1.1rem;
  }

  .page-products .hero-side--right {
    align-items: flex-end;
  }

  .page-products .hero-side--right .hero-point {
    flex-direction: row-reverse;
    text-align: right;
  }

  .page-products .hero-point__num {
    min-width: 2.6rem;
  }

  .page-products .hero-stage__center {
    order: 0;
  }

  .page-products .download-panel {
    max-width: 580px;
    padding: 2rem 2rem 1.6rem;
  }

  .page-products .qr-codes {
    gap: 1.2rem;
  }

  .page-products .qr-code {
    max-width: 250px;
  }

  .page-products .hero-bg {
    width: 440px;
    right: -60px;
    opacity: 0.17;
  }

  .page-products .tablet-section {
    padding-bottom: 5rem;
  }

  .page-products .tablet-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .page-products .tablet-visual {
    order: 0;
  }

  .page-products .tablet-content {
    order: 1;
  }

  .page-products .feature-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3rem;
  }

  .page-products .timeline {
    flex-direction: row;
    gap: 1.2rem;
    padding-left: 0;
  }

  .page-products .timeline::before {
    left: 2.5rem;
    right: 2.5rem;
    top: 10px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--color-neon-green), var(--color-electric-blue));
    opacity: 0.45;
  }

  .page-products .timeline__item {
    flex: 1;
    position: relative;
    padding-top: 2.6rem;
  }

  .page-products .timeline__dot {
    left: 0;
    top: 18px;
    width: 18px;
    height: 18px;
  }

  .page-products .timeline__card {
    height: 100%;
    padding: 1.25rem 1.1rem;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .page-products .timeline__card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-4px);
  }

  .page-products .multi-device {
    margin-top: 5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-products .phone-model,
  .page-products .tablet-model,
  .page-products .phone-model__screen img,
  .page-products .tablet-model__screen img {
    will-change: transform;
  }
}
