/* ========== 平台服务页 专属样式 ========== */

/* --- 首屏控制台 --- */
.page-products .product-hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 60px;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(62, 155, 79, 0.28), transparent 55%),
    linear-gradient(135deg, var(--c-night-deep), var(--c-charcoal));
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  overflow: hidden;
}

.page-products .product-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    115deg,
    transparent 0,
    transparent 48px,
    rgba(255, 255, 255, 0.02) 48px,
    rgba(255, 255, 255, 0.02) 49px
  );
  pointer-events: none;
}

.page-products .product-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-products .product-hero__title-main {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.06;
  color: var(--c-white);
  letter-spacing: 0.01em;
}

.page-products .product-hero__title-sub {
  display: block;
  margin-top: 10px;
  font-family: var(--font-title);
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  line-height: 1.3;
  color: var(--c-gold);
}

.page-products .product-hero__lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-gray-mid);
}

.page-products .product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.page-products .product-hero__visual {
  max-width: 520px;
}

.page-products .hero-window {
  border: var(--border-thin);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(29, 62, 47, 0.55), rgba(11, 29, 42, 0.92));
  box-shadow: var(--shadow-panel);
}

.page-products .hero-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: rgba(26, 26, 26, 0.7);
  border-bottom: var(--border-thin);
}

.page-products .hero-window__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gray-mid);
}

.page-products .hero-window__dot:nth-child(1) {
  background: #e05c5c;
}

.page-products .hero-window__dot:nth-child(2) {
  background: #d9a83d;
}

.page-products .hero-window__dot:nth-child(3) {
  background: var(--c-green);
}

.page-products .hero-window__label {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--c-gray-mid);
}

.page-products .hero-window__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.page-products .hero-window__stat {
  padding: 18px 16px;
  background: rgba(11, 29, 42, 0.9);
}

.page-products .hero-window__stat .data-label {
  display: block;
  margin-bottom: 6px;
}

.page-products .hero-window__stat .data-value {
  display: block;
  font-size: 1.5rem;
  line-height: 1.15;
}

/* --- 功能总览控制台 --- */
.page-products .section-head {
  max-width: 660px;
}

.page-products .section-head__desc {
  margin-top: 12px;
  color: var(--c-gray-light);
  line-height: 1.7;
}

.page-products .console-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
}

.page-products .console-card {
  position: relative;
  display: block;
  padding: 30px 22px 22px;
  text-decoration: none;
  color: var(--c-white);
  background: linear-gradient(150deg, rgba(29, 62, 47, 0.38), rgba(11, 29, 42, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  transition:
    transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.page-products .console-card--gold {
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.16), rgba(11, 29, 42, 0.94));
  border-color: rgba(212, 175, 55, 0.28);
}

.page-products .console-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-green);
  box-shadow: 0 0 0 1px rgba(62, 155, 79, 0.25), var(--shadow-panel);
}

.page-products .console-card--gold:hover {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25), var(--shadow-panel);
}

.page-products .console-card__num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--c-gray-mid);
}

.page-products .console-card--gold .console-card__num {
  color: var(--c-gold);
}

.page-products .console-card h3 {
  margin: 18px 0 10px;
  font-family: var(--font-title);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.page-products .console-card p {
  margin: 0 0 22px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--c-gray-mid);
}

.page-products .console-card__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-green);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.page-products .console-card--gold .console-card__link {
  color: var(--c-gold);
}

.page-products .console-card:hover .console-card__link {
  border-bottom-color: currentColor;
}

.page-products .arch-figure {
  margin: 44px 0 0;
}

.page-products .arch-figure__img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--border-thin);
  border-radius: var(--radius);
}

.page-products .arch-figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--c-gray-mid);
}

/* --- 通用服务模块 --- */
.page-products .service-section {
  position: relative;
  padding: 68px 0;
  background: var(--c-night-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-products .service-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(62, 155, 79, 0.55) 0,
    rgba(62, 155, 79, 0.55) 56px,
    transparent 56px,
    transparent 72px
  );
  pointer-events: none;
}

.page-products .service-section--alt {
  background: linear-gradient(180deg, rgba(29, 62, 47, 0.2), rgba(11, 29, 42, 0.55)), var(--c-night-deep);
}

.page-products .service-section--alt::before {
  background: repeating-linear-gradient(
    90deg,
    rgba(197, 232, 42, 0.5) 0,
    rgba(197, 232, 42, 0.5) 56px,
    transparent 56px,
    transparent 72px
  );
}

.page-products .service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-products .service-row__info h2 {
  margin: 14px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: var(--c-white);
}

.page-products .service-row__info > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-gray-light);
}

.page-products .feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.page-products .feature-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--c-gray-mid);
}

.page-products .feature-list li:last-child {
  border-bottom: 0;
}

.page-products .feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-green);
  font-weight: 700;
}

.page-products .feature-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--c-white);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page-products .service-row__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 28px;
}

.page-products .data-chip {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--c-green);
}

.page-products .data-chip--lime {
  border-left-color: var(--c-lime);
}

.page-products .data-chip .data-label {
  margin-bottom: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-products .data-chip .data-value {
  font-size: 1.1rem;
  line-height: 1.3;
}

/* --- 屏幕模拟框 --- */
.page-products .screen-figure {
  margin: 0;
  background: rgba(11, 29, 42, 0.6);
  border: var(--border-thin);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.page-products .screen-figure__img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .screen-figure figcaption {
  margin: 10px 14px 14px;
  font-size: 0.82rem;
  color: var(--c-gray-mid);
  line-height: 1.5;
}

.page-products .screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: rgba(26, 26, 26, 0.75);
  border-bottom: var(--border-thin);
}

.page-products .screen-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gray-mid);
}

.page-products .screen-bar__dot:nth-child(1) {
  background: var(--c-green);
}

.page-products .screen-bar__dot:nth-child(2) {
  background: var(--c-gold);
}

.page-products .screen-bar__dot:nth-child(3) {
  background: var(--c-lime);
}

.page-products .screen-bar__label {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--c-gray-mid);
}

/* --- 手机框示意 --- */
.page-products .phone-figure {
  margin: 0;
}

.page-products .phone-frame {
  width: min(300px, 88%);
  margin: 0 auto;
  padding: 9px;
  background: linear-gradient(145deg, #303030, #121212);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  box-shadow: var(--shadow-panel);
}

.page-products .phone-frame__inner {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 25px;
  background: var(--c-night-deep);
}

.page-products .phone-frame__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .phone-frame__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 29, 42, 0.82);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-products .phone-frame__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 9px;
  background: var(--c-lime);
  color: var(--c-night-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.page-products .phone-figure figcaption {
  max-width: 300px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--c-gray-mid);
  line-height: 1.5;
}

/* --- 会员权益中心 --- */
.page-products .member-section {
  position: relative;
  padding: 76px 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(212, 175, 55, 0.14), transparent 48%),
    linear-gradient(180deg, var(--c-night-deep), var(--c-charcoal));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-products .member-head {
  max-width: 720px;
  padding-left: 20px;
  border-left: 3px solid var(--c-gold);
}

.page-products .member-head h2 {
  margin: 14px 0 14px;
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: var(--c-white);
}

.page-products .member-head p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-gray-light);
}

.page-products .member-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}

.page-products .member-card {
  padding: 28px 22px;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.1), rgba(11, 29, 42, 0.85));
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius);
  transition:
    transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.page-products .member-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-gold);
}

.page-products .member-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  color: var(--c-gold);
  font-size: 18px;
}

.page-products .member-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--c-white);
}

.page-products .member-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--c-gray-mid);
}

.page-products .member-note {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 20px 22px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius);
}

.page-products .member-note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-gray-light);
}

.page-products .member-note__highlight {
  color: var(--c-gold);
  font-weight: 600;
}

.page-products .member-figure {
  margin: 44px 0 0;
}

.page-products .member-figure__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius);
}

.page-products .member-figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  text-align: right;
  color: var(--c-gray-mid);
}

/* --- 相关入口 --- */
.page-products .related-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .related-links__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: background 200ms ease, border-color 200ms ease;
}

.page-products .related-links__item:hover {
  background: rgba(62, 155, 79, 0.06);
  border-color: rgba(62, 155, 79, 0.3);
}

.page-products .related-links__link {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-white);
  text-decoration: none;
  transition: color 200ms ease;
}

.page-products .related-links__link:hover {
  color: var(--c-green);
}

/* --- 响应式增强 --- */
@media (min-width: 640px) {
  .page-products .service-row__meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

  .page-products .member-note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

@media (min-width: 992px) {
  .page-products .product-hero {
    padding: calc(var(--header-h) + 64px) 0 80px;
  }

  .page-products .product-hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }

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

  .page-products .service-section {
    padding: 88px 0;
  }

  .page-products .service-row {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }

  .page-products .service-row--reverse {
    grid-template-columns: 7fr 5fr;
  }

  .page-products .service-row--reverse .service-row__visual {
    order: -1;
  }
}
