.page-products {
  --app-card-bg: rgba(27, 21, 52, 0.78);
  --app-card-line: rgba(255, 255, 255, 0.08);
  --app-card-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
  --app-glow-pink: rgba(255, 42, 109, 0.35);
  --app-glow-amber: rgba(255, 167, 36, 0.28);
  --app-phone-width: 250px;
  --app-phone-pad: 10px;
  --app-chapter-size: clamp(3rem, 10vw, 4.6rem);
  background: transparent;
}

.page-products .site-breadcrumbs {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1rem 1.25rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.page-products .site-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .site-breadcrumbs a {
  color: var(--soft-lavender);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.page-products .site-breadcrumbs a:hover {
  border-color: var(--soft-lavender);
}

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

.js .page-products [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-film), transform 0.7s var(--ease-film);
}

.js .page-products [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.js .page-products [data-reveal-delay="1"].is-revealed {
  transition-delay: 0.08s;
}

.js .page-products [data-reveal-delay="2"].is-revealed {
  transition-delay: 0.16s;
}

.js .page-products [data-reveal-delay="3"].is-revealed {
  transition-delay: 0.24s;
}

/* ===== 首屏 ===== */
.page-products .app-hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.25rem 3rem;
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(255, 42, 109, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(255, 167, 36, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(11, 12, 26, 0.6), rgba(11, 12, 26, 0.9));
}

.page-products .app-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  max-width: var(--container);
  margin-inline: auto;
}

.page-products .app-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.page-products .app-hero__glow {
  position: absolute;
  inset: 15% 5% 10%;
  background: radial-gradient(ellipse at center, rgba(255, 42, 109, 0.22), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

.page-products .phone-frame {
  position: relative;
  width: var(--app-phone-width);
  padding: var(--app-phone-pad);
  background: linear-gradient(145deg, #2a2347, #14102a);
  border-radius: 36px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 50px var(--app-glow-pink);
  z-index: 1;
}

.page-products .phone-frame__screen {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 2;
  overflow: hidden;
  border-radius: 26px;
  background: var(--deep-night);
}

.page-products .phone-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 26px;
}

.page-products .phone-frame__speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  z-index: 2;
}

.page-products .phone-frame__caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-align: center;
}

.page-products .app-hero__content {
  max-width: 540px;
  text-align: left;
}

.page-products .app-hero__content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(27, 21, 52, 0.7);
  border: 1px solid rgba(255, 42, 109, 0.35);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.page-products .app-hero__content h1 {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  text-shadow: 0 0 30px rgba(255, 42, 109, 0.16);
}

.page-products .app-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

.page-products .app-hero__lead strong,
.page-products .app-hero__lead b {
  color: var(--text-primary);
  font-weight: 600;
}

.page-products .app-hero__points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-products .app-hero__points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.page-products .app-hero__point-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 0 3px rgba(255, 42, 109, 0.18), 0 0 12px var(--app-glow-pink);
  flex-shrink: 0;
}

/* ===== 核心能力 ===== */
.page-products .app-capabilities {
  padding: 3.5rem 1.25rem 3rem;
  max-width: var(--container);
  margin-inline: auto;
}

.page-products .section-head {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

.page-products .chapter-number {
  font-family: var(--font-title);
  font-size: var(--app-chapter-size);
  line-height: 0.9;
  color: var(--muted-gold);
  opacity: 0.85;
  flex-shrink: 0;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.page-products .section-head__text h2 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 0.35rem;
}

.page-products .section-head__sub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

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

.page-products .cap-card {
  position: relative;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 42, 109, 0.1), transparent 50%),
    linear-gradient(145deg, rgba(27, 21, 52, 0.92), rgba(20, 16, 42, 0.86));
  border: 1px solid var(--app-card-line);
  border-radius: 20px;
  padding: 2rem 1.5rem 1.6rem;
  box-shadow: var(--app-card-shadow);
  transition: transform 0.45s var(--ease-film), box-shadow 0.45s var(--ease-film);
  transform: rotate(-0.8deg);
}

.page-products .cap-card:nth-child(even) {
  transform: rotate(0.9deg);
}

.page-products .cap-card--tilt-left {
  transform: rotate(-1.6deg);
}

.page-products .cap-card--tilt-right {
  transform: rotate(1.1deg);
}

.page-products .cap-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 32px var(--app-glow-pink);
  border-color: rgba(255, 42, 109, 0.3);
}

.page-products .cap-card__pin {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffc271, var(--warm-orange) 70%);
  box-shadow:
    0 4px 12px rgba(255, 167, 36, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.page-products .cap-card:hover .cap-card__pin {
  transform: scale(1.12);
  box-shadow:
    0 0 0 6px rgba(255, 167, 36, 0.14),
    0 8px 18px rgba(255, 167, 36, 0.4);
}

.page-products .cap-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--neon-pink);
}

.page-products .cap-card__icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(255, 42, 109, 0.45));
}

.page-products .cap-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0 0 0.6rem;
}

.page-products .cap-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.page-products .cap-card__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--warm-orange);
  background: rgba(255, 167, 36, 0.1);
  border: 1px solid rgba(255, 167, 36, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.page-products .capabilities-visuals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.page-products .app-ambient {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--app-card-line);
  box-shadow: var(--app-card-shadow);
}

.page-products .app-ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  border-radius: 20px;
  transition: transform 1.2s var(--ease-film);
}

.page-products .app-ambient:hover img {
  transform: scale(1.03);
}

.page-products .clarity-figure {
  margin: 0;
}

.page-products .clarity-figure__frame {
  display: block;
  width: 100%;
  aspect-ratio: 900 / 360;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--app-card-line);
  box-shadow: var(--app-card-shadow);
  background: linear-gradient(180deg, #0f1022, #1c1640);
}

.page-products .clarity-figure__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.page-products .clarity-figure figcaption,
.page-products .scene-figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ===== 版本与适配 ===== */
.page-products .app-version {
  padding: 3rem 1.25rem;
  max-width: var(--container);
  margin-inline: auto;
}

.page-products .version-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.page-products .version-media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--app-card-line);
  box-shadow: var(--app-card-shadow);
}

.page-products .version-media img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 1.1s var(--ease-film);
}

.page-products .version-media:hover img {
  transform: scale(1.02);
}

.page-products .version-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.6rem;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(255, 42, 109, 0.16), transparent 60%),
    rgba(27, 21, 52, 0.85);
  border: 1px solid rgba(255, 42, 109, 0.32);
  border-radius: 22px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 28px var(--app-glow-pink);
  transition: transform 0.45s var(--ease-film), box-shadow 0.45s var(--ease-film);
}

.page-products .version-badge:hover {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 0 40px rgba(255, 42, 109, 0.45);
}

.page-products .version-badge__num {
  font-family: var(--font-title);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--muted-gold);
  text-shadow: 0 0 18px rgba(245, 192, 122, 0.35);
}

.page-products .version-badge__label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

.page-products .version-content__desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.page-products .version-content__desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.page-products .version-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-products .version-features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-primary);
}

.page-products .version-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--film-green);
  box-shadow: 0 0 8px rgba(0, 240, 181, 0.4);
}

.page-products .version-faq {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--soft-lavender);
  background: rgba(184, 169, 255, 0.08);
  border: 1px solid rgba(184, 169, 255, 0.22);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.page-products .version-faq:hover {
  background: rgba(184, 169, 255, 0.16);
  border-color: rgba(184, 169, 255, 0.4);
}

.page-products .version-content__note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 1.1rem 0 0;
}

.page-products .version-content__note a {
  color: var(--soft-lavender);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 169, 255, 0.4);
  transition: border-color 0.3s ease;
}

.page-products .version-content__note a:hover {
  border-color: var(--soft-lavender);
}

.page-products .changelog {
  margin-top: 3rem;
  padding: 2rem 1.25rem;
  background: rgba(27, 21, 52, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
}

.page-products .changelog__title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--muted-gold);
  margin: 0 0 1.5rem;
  letter-spacing: 0.04em;
}

.page-products .timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
  border-left: 1px solid rgba(255, 42, 109, 0.3);
}

.page-products .timeline-item {
  position: relative;
  padding: 0 0 1.25rem 1rem;
}

.page-products .timeline-item:last-child {
  padding-bottom: 0;
}

.page-products .timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 42, 109, 0.55);
}

.page-products .timeline-item__meta {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--muted-gold);
  display: block;
  line-height: 1.2;
}

.page-products .timeline-item__title {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ===== 使用场景 ===== */
.page-products .app-scenes {
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(255, 167, 36, 0.1), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(255, 42, 109, 0.12), transparent 70%);
}

.page-products .app-scenes__layout {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

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

.page-products .scene-card {
  display: flex;
  gap: 1.1rem;
  background:
    linear-gradient(145deg, rgba(27, 21, 52, 0.8), rgba(20, 16, 42, 0.7));
  border: 1px solid var(--app-card-line);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--app-card-shadow);
  transition: transform 0.4s var(--ease-film), box-shadow 0.4s var(--ease-film);
}

.page-products .scene-card--offset {
  margin-left: 1rem;
}

.page-products .scene-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.46), 0 0 24px var(--app-glow-amber);
  border-color: rgba(255, 167, 36, 0.25);
}

.page-products .scene-card__no {
  font-family: var(--font-title);
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(245, 192, 122, 0.4);
  flex-shrink: 0;
  min-width: 2.2rem;
  text-align: center;
}

.page-products .scene-card__body h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}

.page-products .scene-card__body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 0.8rem;
}

.page-products .scene-card__link {
  font-size: 0.875rem;
  color: var(--soft-lavender);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 169, 255, 0.4);
  transition: border-color 0.3s ease;
}

.page-products .scene-card__link:hover {
  border-color: var(--soft-lavender);
}

.page-products .scene-figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, #0f1022, #1a1240);
}

.page-products .scene-figure img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  opacity: 0.92;
  transition: opacity 0.6s ease, transform 1s var(--ease-film);
}

.page-products .scene-figure:hover img {
  opacity: 1;
  transform: scale(1.02);
}

/* ===== 桌面端增强 ===== */
@media (min-width: 768px) {
  .page-products .app-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
  }

  .page-products .app-hero__content {
    max-width: 560px;
    text-align: left;
  }

  .page-products .app-hero__points {
    grid-template-columns: 1fr;
  }

  .page-products .capabilities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .page-products .capabilities-visuals {
    grid-template-columns: 1fr 1.6fr;
    gap: 1.5rem;
  }

  .page-products .version-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
  }

  .page-products .chapter-number {
    font-size: clamp(3.5rem, 7vw, 5rem);
  }
}

@media (min-width: 1024px) {
  .page-products .app-hero {
    padding: 3rem 2rem 4.5rem;
  }

  .page-products .app-hero__inner {
    --app-phone-width: 300px;
    gap: 4.5rem;
  }

  .page-products .app-hero__lead {
    font-size: 1.125rem;
  }

  .page-products .app-capabilities {
    padding-top: 4rem;
  }

  .page-products .app-version {
    padding-top: 4rem;
  }

  .page-products .scene-card--offset {
    margin-left: 2.5rem;
  }

  .page-products .changelog {
    padding: 2.5rem 2.5rem;
  }
}

@media (min-width: 1200px) {
  .page-products .app-scenes__layout {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: center;
  }

  .page-products .app-scenes {
    padding-top: 4rem;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  .page-products .phone-frame {
    animation: app-phone-float 8s ease-in-out infinite;
  }

  .page-products .phone-frame__img {
    height: calc(100% + 40px);
    object-fit: cover;
    animation: app-screen-breathe 14s ease-in-out infinite alternate;
  }
}

@keyframes app-phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes app-screen-breathe {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}
