/* ============================================
   平台服务 /platform/ · 页面专属样式
   作用域：.page-products
   ============================================ */

.page-products {
  --prod-grid-gap: clamp(1.25rem, 3vw, 2.5rem);
  overflow-x: hidden;
}

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

/* ---------- 区块标题通用 ---------- */
.page-products .prod-section-head {
  max-width: 780px;
  margin-bottom: 1rem;
}

.page-products .prod-section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(200, 255, 0, 0.25);
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.06);
}

.page-products .prod-section-desc {
  font-size: var(--text-big);
  line-height: 1.75;
  color: var(--mist);
  margin-top: 0.9rem;
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  background: var(--deep);
  color: var(--parchment);
  padding: calc(var(--header-h) + 3.5rem) 0 5rem;
  overflow: hidden;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 52%;
  height: 130%;
  background: linear-gradient(155deg, rgba(0, 166, 81, 0.35), rgba(0, 166, 81, 0.02));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lime) 45%, transparent);
  opacity: 0.5;
  pointer-events: none;
}

.page-products .prod-hero .container {
  position: relative;
  z-index: 2;
}

.page-products .prod-hero .breadcrumb {
  margin-bottom: 2.2rem;
  color: var(--mist);
}

.page-products .prod-hero .breadcrumb a {
  color: var(--parchment);
  text-decoration: none;
  transition: color 0.3s ease-out;
}

.page-products .prod-hero .breadcrumb a:hover {
  color: var(--lime);
}

.page-products .prod-hero .breadcrumb-sep {
  margin: 0 0.5rem;
  color: var(--mist);
  opacity: 0.6;
}

.page-products .prod-hero-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.25rem;
}

.page-products .prod-hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--white);
  margin: 0 0 0.9rem;
}

.page-products .prod-hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.page-products .prod-hero-desc {
  font-size: var(--text-big);
  line-height: 1.8;
  color: var(--parchment);
  opacity: 0.92;
  max-width: 720px;
  margin: 0;
}

.page-products .prod-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 2.75rem;
  max-width: 780px;
}

.page-products .prod-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.1rem 0.6rem;
  text-align: center;
}

.page-products .prod-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--lime);
  line-height: 1.2;
}

.page-products .prod-stat-unit {
  font-size: 0.85em;
  font-weight: 400;
  color: var(--mist);
}

.page-products .prod-stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--mist);
  margin-top: 0.35rem;
}

.page-products .prod-hero-flow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green) 30%, var(--lime) 60%, transparent);
  background-size: 220% 100%;
  animation: prod-flow-move 4.5s linear infinite;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes prod-flow-move {
  from { background-position: 220% 0; }
  to   { background-position: -220% 0; }
}

/* ---------- 核心功能矩阵 ---------- */
.page-products .prod-functions {
  position: relative;
  background: var(--deep);
  padding: var(--space-section) 0;
}

.page-products .prod-func-grid {
  display: grid;
  gap: var(--prod-grid-gap);
  margin-top: 3rem;
}

.page-products .prod-func-card {
  --prod-tilt: -0.4deg;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transform: rotate(var(--prod-tilt));
  transition: transform 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
  overflow: hidden;
}

.page-products .prod-func-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-out;
}

.page-products .prod-func-card:hover,
.page-products .prod-func-card:focus-within {
  transform: rotate(0deg) translateY(-6px);
  border-color: rgba(200, 255, 0, 0.32);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 255, 0, 0.08);
}

.page-products .prod-func-card:hover::before {
  transform: scaleX(1);
}

.page-products .prod-func-calendar { --prod-tilt: -1.1deg; }
.page-products .prod-func-live     { --prod-tilt: 0.9deg; }
.page-products .prod-func-lineup   { --prod-tilt: -0.5deg; }
.page-products .prod-func-review   { --prod-tilt: 0.7deg; }
.page-products .prod-func-mobile   { --prod-tilt: -0.8deg; }

.page-products .prod-func-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-products .prod-func-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 166, 81, 0.14);
  color: var(--green);
  margin-bottom: 1.25rem;
  transition: background 0.3s ease-out, color 0.3s ease-out;
}

.page-products .prod-func-card:hover .prod-func-icon {
  background: rgba(0, 166, 81, 0.24);
  color: var(--lime);
}

.page-products .prod-func-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--white);
  margin: 0 0 0.6rem;
}

.page-products .prod-func-card p {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--mist);
  margin: 0;
}

.page-products .prod-func-card .data-chip {
  margin-top: auto;
  align-self: flex-start;
}

.page-products .prod-func-figure {
  margin: 1.5rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

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

.page-products .prod-func-calendar .prod-func-figure img {
  max-height: 440px;
  object-fit: cover;
  object-position: center top;
}

/* 平板 2 列 */
@media (min-width: 768px) and (max-width: 1099px) {
  .page-products .prod-func-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
  .page-products .prod-func-calendar {
    grid-row: span 2;
  }
}

/* 桌面 3 列 */
@media (min-width: 1100px) {
  .page-products .prod-func-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
  .page-products .prod-func-calendar {
    grid-row: span 2;
  }
}

/* ---------- 数据覆盖范围 ---------- */
.page-products .prod-coverage {
  background: var(--pine);
  color: var(--parchment);
  padding: var(--space-section) 0;
}

.page-products .prod-coverage .prod-section-tag {
  color: var(--green);
  border-color: rgba(0, 166, 81, 0.35);
  background: rgba(0, 166, 81, 0.08);
}

.page-products .prod-coverage .prod-section-desc {
  color: rgba(242, 232, 213, 0.75);
}

.page-products .prod-coverage-main {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}

.page-products .prod-coverage-copy h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-products .prod-coverage-copy p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--parchment);
  opacity: 0.88;
  margin: 0;
}

.page-products .prod-coverage-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.page-products .prod-coverage-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.75rem;
  border-bottom: 1px solid rgba(242, 232, 213, 0.1);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(242, 232, 213, 0.85);
}

.page-products .prod-coverage-list li:last-child {
  border-bottom: none;
}

.page-products .prod-coverage-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.25rem;
  width: 8px;
  height: 8px;
  background: var(--lime);
  transform: rotate(45deg);
}

.page-products .prod-coverage-list strong {
  color: var(--white);
}

.page-products .prod-coverage-viz {
  background: rgba(10, 14, 26, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
}

.page-products .prod-coverage-viz svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-products .prod-coverage-viz-note {
  font-size: var(--text-xs);
  color: var(--mist);
  margin: 0.75rem 0 0;
}

.page-products .prod-coverage-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
}

.page-products .prod-cov-stat {
  background: rgba(10, 14, 26, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.4rem 0.75rem;
  text-align: center;
}

.page-products .prod-cov-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--lime);
  line-height: 1.2;
}

.page-products .prod-cov-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--mist);
  margin-top: 0.4rem;
}

@media (min-width: 768px) {
  .page-products .prod-coverage-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .page-products .prod-coverage-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .page-products .prod-coverage-stats {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ---------- 技术架构与数据同步 ---------- */
.page-products .prod-tech {
  position: relative;
  background: var(--deep);
  padding: var(--space-section) 0;
  overflow: hidden;
}

.page-products .prod-tech::before {
  content: "";
  position: absolute;
  top: 0;
  left: -15%;
  width: 46%;
  height: 100%;
  background: linear-gradient(160deg, rgba(0, 166, 81, 0.12), transparent);
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 88%);
  pointer-events: none;
}

.page-products .prod-tech-layout {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.page-products .prod-tech-lead {
  font-size: var(--text-big);
  line-height: 1.8;
  color: var(--parchment);
  margin: 0 0 2rem;
  border-left: 3px solid var(--green);
  padding-left: 1.25rem;
}

.page-products .prod-tech-steps {
  display: grid;
  gap: 1rem;
}

.page-products .prod-tech-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
}

.page-products .prod-tech-step:hover {
  border-color: rgba(0, 166, 81, 0.4);
  background: rgba(0, 166, 81, 0.05);
}

.page-products .prod-tech-idx {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--lime);
  line-height: 1.6;
}

.page-products .prod-tech-step-copy h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.25rem;
}

.page-products .prod-tech-step-copy p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--mist);
  margin: 0;
}

.page-products .prod-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.page-products .prod-tech-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--lime);
  border: 1px solid rgba(200, 255, 0, 0.28);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: rgba(200, 255, 0, 0.05);
}

.page-products .prod-tech-visual {
  position: relative;
}

.page-products .prod-tech-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-deep);
}

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

.page-products .prod-tech-figure figcaption {
  padding: 0.85rem 1rem;
  background: rgba(10, 14, 26, 0.85);
  font-size: var(--text-xs);
  color: var(--mist);
  text-align: center;
}

@media (min-width: 960px) {
  .page-products .prod-tech-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: start;
  }
  .page-products .prod-tech-visual {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* ---------- 使用场景与入口 ---------- */
.page-products .prod-scenarios {
  background: var(--parchment);
  color: var(--pine);
  padding: var(--space-section) 0;
}

.page-products .prod-scenarios .prod-section-tag {
  color: var(--green);
  border-color: rgba(0, 166, 81, 0.3);
  background: rgba(0, 166, 81, 0.06);
}

.page-products .prod-scenarios .section-title {
  color: var(--pine);
}

.page-products .prod-scenarios .prod-section-desc {
  color: rgba(13, 42, 29, 0.7);
}

.page-products .prod-scenario-list {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  margin-top: 3.5rem;
}

.page-products .prod-scenario-item {
  position: relative;
  display: grid;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(13, 42, 29, 0.08);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 4px 18px rgba(13, 42, 29, 0.05);
}

.page-products .prod-scenario-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 3vw, 2rem);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  border-radius: 0 0 4px 4px;
}

.page-products .prod-scenario-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  opacity: 0.45;
  line-height: 1;
}

.page-products .prod-scenario-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 900;
  color: var(--pine);
  letter-spacing: -0.3px;
  margin: 0 0 0.6rem;
}

.page-products .prod-scenario-content p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: rgba(13, 42, 29, 0.85);
  margin: 0;
}

.page-products .prod-scenario-figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(13, 42, 29, 0.1);
  box-shadow: 0 10px 24px rgba(13, 42, 29, 0.1);
}

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

@media (min-width: 860px) {
  .page-products .prod-scenario-item {
    grid-template-columns: 48px 1fr minmax(280px, 440px);
    gap: 2rem;
    align-items: center;
  }
}

.page-products .prod-scenario-links {
  display: grid;
  gap: 1.25rem;
  margin-top: 4rem;
}

.page-products .prod-link-card {
  position: relative;
  background: var(--deep);
  color: var(--parchment);
  border-radius: 14px;
  padding: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease-out, border-color 0.3s ease-out;
}

.page-products .prod-link-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 90px;
  height: 90px;
  background: var(--green);
  opacity: 0.18;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transition: opacity 0.3s ease-out;
}

.page-products .prod-link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 255, 0, 0.3);
}

.page-products .prod-link-card:hover::after {
  opacity: 0.32;
}

.page-products .prod-link-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 0.5rem;
  position: relative;
  z-index: 1;
}

.page-products .prod-link-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--mist);
  margin: 0 0 1.25rem;
  position: relative;
  z-index: 1;
}

.page-products .prod-link-card .btn-outline {
  position: relative;
  z-index: 1;
  border-color: rgba(242, 232, 213, 0.45);
  color: var(--parchment);
}

@media (min-width: 768px) {
  .page-products .prod-scenario-links {
    grid-template-columns: repeat(3, 1fr);
  }
}
