/* ============================================
   华云数科官网 · 子页面共享样式
   复用主站设计令牌（assets/index-p_ackRJ4.css）
   ============================================ */

/* ---------- 子页顶部导航 ---------- */
.sub-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sub-header-inner {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sub-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.sub-logo-mark {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--color-brand);
  color: #fff;
}
.sub-logo-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.sub-logo-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}
.sub-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.sub-nav a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.sub-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.sub-nav .is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.sub-nav-cta {
  display: inline-flex !important;
  align-items: center;
  height: 38px;
  padding: 0 16px !important;
  border-radius: 8px;
  background: var(--color-brand) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.sub-nav-cta:hover {
  background: var(--color-brand-hover) !important;
}

/* ---------- Hero 区 ---------- */
.sub-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #061224 0%, #0a1b33 55%, #132840 100%);
  color: #fff;
}
.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.sub-hero-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.22;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sub-hero-inner {
  position: relative;
  z-index: 1;
  /* 定版竖值 64/72，用 padding-block 避免覆盖容器的左右内边距 */
  padding-block: 64px 72px;
}
.sub-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.sub-crumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.sub-crumb a:hover {
  color: #fff;
}
.sub-crumb .sep {
  opacity: 0.5;
}
.sub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
}
.sub-hero h1 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.sub-hero h1 em {
  font-style: normal;
  color: #fff;
}
.sub-hero h1 .hl {
  color: #fff;
}
.sub-hero-desc {
  margin-top: 16px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}
.sub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
/* ---------- Hero 入场动画（首屏 0.2~0.8s 错落出场） ---------- */
@keyframes subFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes subFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes subScaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .sub-crumb {
    animation: subFadeIn 0.6s ease-out backwards;
    animation-delay: 0.1s;
  }
  .sub-hero-badge {
    animation: subScaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    animation-delay: 0.25s;
  }
  .sub-hero h1 {
    animation: subFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: 0.38s;
  }
  .sub-hero-desc {
    animation: subFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: 0.5s;
  }
  .sub-hero-actions {
    animation: subFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: 0.62s;
  }
  .sub-hero-actions .btn {
    animation: subScaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }
  .sub-hero-actions .btn:nth-child(1) { animation-delay: 0.72s; }
  .sub-hero-actions .btn:nth-child(2) { animation-delay: 0.82s; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}
.btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}
.btn-brand {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.25);
}
.btn-brand:hover {
  background: var(--color-brand-hover);
  box-shadow: 0 6px 20px rgba(230, 0, 18, 0.35);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline {
  border: 1px solid var(--color-line-strong);
  background: #fff;
  color: var(--color-navy);
}
.btn-outline:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}
.btn-outline:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}

/* ---------- 通用内容区 ---------- */
.sub-section {
  padding: 88px 0;
}
.sub-section-alt {
  background: var(--color-paper-alt);
}
.sub-section-navy {
  background: var(--color-navy);
  color: #fff;
}
.sub-sec-head {
  max-width: 720px;
}
.sub-sec-head .title-bar {
  background: linear-gradient(135deg, #e60012 0%, #ff1a2e 100%);
  position: relative;
  overflow: hidden;
}
.sub-sec-head .title-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer-bar 3s infinite;
  pointer-events: none;
}
@keyframes shimmer-bar {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}
.sub-sec-title {
  margin-top: 16px;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-navy);
  text-wrap: balance;
}
.sub-section-navy .sub-sec-title {
  color: #fff;
}
.sub-sec-desc {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--color-muted);
}
.sub-section-navy .sub-sec-desc {
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- 数据统计 ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 1024px) {
  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s, border-color 0.25s;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(135deg, #e60012 0%, #ff1a2e 100%);
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-card:hover::before {
  height: 100%;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-line-strong);
}
.stat-card:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}
.stat-num {
  font-size: clamp(22px, 1.9vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  font-variant-numeric: tabular-nums slashed-zero;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.stat-num small {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  margin-left: 0;
  margin-top: 4px;
}
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* overview 左栏内的统计卡：桌面端收窄为 2 列，避免「400G/800G」等长数字在窄卡中裁切
   （stat-grid 独立使用时仍保持上方 4 列规则；此处仅为 overview-grid 内的覆盖） */
@media (min-width: 1024px) {
  .overview-grid .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 特性卡片 ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .feat-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feat-card {
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s, border-color 0.25s;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-line-strong);
}
.feat-card:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}
.feat-icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-paper-soft);
  color: var(--color-navy);
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
}
.feat-card:hover .feat-icon {
  background: var(--color-navy);
  color: #fff;
  transform: scale(1.05);
}
.feat-title {
  margin-top: 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-navy);
}
.feat-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-muted);
}

/* ---------- 产品矩阵 ---------- */
.line-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .line-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .line-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.line-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
.line-card:hover {
  border-color: var(--color-brand);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.line-card:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}
.line-card .tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
}
.line-card .tag.core {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.line-card .tag.new {
  background: var(--color-brand);
  color: #fff;
}
.line-name {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
}
.line-desc {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}
.spec-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}
.spec-table th {
  background: var(--color-paper-alt);
  color: var(--color-navy);
  font-weight: 700;
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--color-line);
  white-space: nowrap;
}
.spec-table td {
  padding: 13px 18px;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-line);
  line-height: 1.6;
  vertical-align: top;
}
.spec-table tbody tr {
  transition: background-color 0.2s;
}
.spec-table tbody tr:hover {
  background-color: var(--color-paper-alt);
}
.spec-table tr:last-child td {
  border-bottom: none;
}
.spec-table td strong {
  color: var(--color-navy);
  font-weight: 700;
}

/* ---------- 场景 ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.scene-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, border-color 0.25s;
}
.scene-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-line-strong);
}
.scene-card:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}
.scene-body {
  padding: 24px;
}
.scene-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-navy);
}
.scene-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-muted);
}
.scene-points {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scene-points span {
  border: 1px solid var(--color-line);
  background: var(--color-paper-soft);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--color-navy);
}

/* ---------- 深色区块（方案页用） ---------- */
.navy-feat-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .navy-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .navy-feat-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.navy-feat-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.25s, background-color 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.navy-feat-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}
.navy-feat-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}
.navy-feat-icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(230, 0, 18, 0.2);
  color: #fff;
  transition: background-color 0.25s, transform 0.25s;
}
.navy-feat-card:hover .navy-feat-icon {
  background: rgba(230, 0, 18, 0.35);
  transform: scale(1.05);
}
.navy-feat-title {
  margin-top: 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
}
.navy-feat-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- FAQ 区块 ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s;
}
.faq-item:hover { border-color: var(--color-line-strong); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background-color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 19px;
  font-weight: 400;
  color: var(--color-brand);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--color-paper-soft); }
.faq-answer {
  padding: 0 20px 18px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--color-muted);
}
.sub-section-navy .faq-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.sub-section-navy .faq-item[open],
.sub-section-navy .faq-item:hover { border-color: rgba(255, 255, 255, 0.25); }
.sub-section-navy .faq-item summary { color: #fff; }
.sub-section-navy .faq-item[open] summary { background: rgba(255, 255, 255, 0.06); }
.sub-section-navy .faq-item summary::after { color: #ff6b78; }
.sub-section-navy .faq-answer { color: rgba(255, 255, 255, 0.62); }

/* ---------- CTA 区块 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0a1b33 0%, #132840 60%, #1b3a5f 100%);
  color: #fff;
  border-radius: 20px;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 0, 18, 0.2) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 32px;
}
@media (min-width: 768px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 44px 48px;
  }
}
.cta-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cta-desc {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- 相关链接 ---------- */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .rel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .rel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.rel-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
.rel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 0, 18, 0.06), transparent);
  transition: left 0.5s;
  pointer-events: none;
}
.rel-card:hover::before {
  left: 100%;
}
.rel-card:hover {
  border-color: var(--color-brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.rel-card:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}
.rel-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
}
.rel-desc {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--color-muted);
}
.rel-arrow {
  color: var(--color-brand);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.rel-card:hover .rel-arrow {
  transform: translateX(4px);
}

/* ---------- 子页图片区块（图文并茂） ---------- */
.gallery-img-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.gallery-img-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gallery-img-card:hover img {
  transform: scale(1.06);
}
.show-img-band {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  min-height: 288px;
  background: var(--color-navy);
}
.show-img-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.show-img-band:hover img {
  transform: scale(1.05);
}
.show-img-band .show-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 28px;
  background: linear-gradient(0deg, rgba(6, 18, 36, 0.92) 0%, rgba(6, 18, 36, 0) 100%);
  color: #fff;
}
.show-img-band .show-cap h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.show-img-band .show-cap p {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}
.scene-card .scene-img {
  display: block;
  width: 100%;
  aspect-ratio: 20 / 9;
  object-fit: cover;
  background: var(--color-paper-soft);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scene-card:hover .scene-img {
  transform: scale(1.06);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
  /* 定版实现要点：图片卡与左侧文字区等高（stretch + height:100%），720x720 方形 cover 填满 */
  .gallery-img-card {
    align-self: stretch;
    height: auto;
  }
  .gallery-img-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
  }
}

/* ---------- 子页页脚 ---------- */
.sub-footer {
  background: var(--color-navy-deep);
  color: #fff;
}
.sub-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.sub-footer a:hover {
  color: #fff;
}
.sub-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (min-width: 640px) {
  .sub-footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}
.sub-footer-cols h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.sub-footer-cols ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-footer-cols ul a {
  font-size: 13px;
}
.sub-footer-bottom {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
@media (min-width: 640px) {
  .sub-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- 移动端导航（汉堡 + 抽屉） ---------- */
.sub-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}
.sub-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 900px) {
  .sub-nav {
    display: none;
  }
  .sub-menu-btn {
    display: inline-flex;
  }
}
.sub-menu-panel {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  overflow-y: auto;
  background: #fff;
  padding: 8px 20px 32px;
}
.sub-menu-panel.open {
  display: block;
  animation: subMenuIn 0.25s ease-out;
}
@keyframes subMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.sub-menu-group {
  border-bottom: 1px solid var(--color-line);
}
.sub-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 16px 0 4px;
  border-radius: 10px;
  background: var(--color-brand);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.sub-menu-cta:active {
  transform: scale(0.98);
}
.sub-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 2px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
}
.sub-menu-sub {
  padding: 6px 0 10px;
}
.sub-menu-sub a {
  display: block;
  min-height: 44px;
  padding: 12px 2px 12px 14px;
  font-size: 14.5px;
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px dashed var(--color-line);
}
.sub-menu-sub a:last-child {
  border-bottom: none;
}
.sub-menu-sub a:active {
  color: var(--color-brand);
}

/* ---------- 滚动进场 reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }
  @media (max-width: 767px) {
    .reveal {
      transform: translateY(16px);
    }
  }
}

/* ---------- 表格滑动提示 ---------- */
.table-wrap {
  position: relative;
}
.table-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44px;
  background: linear-gradient(90deg, transparent, var(--color-paper) 85%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}
.table-wrap.can-scroll::after {
  opacity: 1;
}
.table-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-muted);
  animation: subFadeIn 0.4s ease;
}

/* ---------- 移动端节奏压缩 + 触控目标 ---------- */
@media (max-width: 767px) {
  .sub-section {
    padding: 56px 0;
  }
  .btn {
    min-height: 44px;
  }
}
@media (max-width: 480px) {
  .sub-section {
    padding: 44px 0;
  }
  .show-img-band .show-cap {
    padding: 18px 22px;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .stat-card,
  .feat-card,
  .line-card,
  .scene-card,
  .navy-feat-card,
  .rel-card {
    transform: none !important;
    transition: none !important;
  }
  .gallery-img-card img,
  .scene-img,
  .show-img-band img {
    transform: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .title-bar::after,
  .cta-band::before,
  .sub-menu-panel {
    animation: none !important;
  }
  .sub-crumb,
  .sub-hero-badge,
  .sub-hero h1,
  .sub-hero-desc,
  .sub-hero-actions,
  .sub-hero-actions .btn {
    animation: none !important;
  }
}
