/*
 * 纳途体育官网各版块样式：首屏、系统概览、产品能力、特性卡片、应用场景、工作流程、实战现场、部署支持、结尾行动区、页脚、图片预览与渐显动画。
 * 依赖 base.css 中的配色变量；配色与装饰规则见 base.css 顶部说明。
 */

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("../assets/hero-fvs-room.jpg") center / cover no-repeat;
  filter: saturate(0.35) brightness(0.92);
  transform: scale(1.04);
  animation: hero-zoom 14s ease-out forwards;
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 23, 35, 0.7) 0%, rgba(7, 23, 35, 0) 18%),
    linear-gradient(90deg, rgba(7, 23, 35, 0.95) 0%, rgba(11, 33, 49, 0.84) 38%, rgba(25, 70, 100, 0.5) 72%, rgba(25, 70, 100, 0.38) 100%),
    linear-gradient(0deg, rgba(7, 23, 35, 0.92) 0%, rgba(7, 23, 35, 0) 45%);
}

/* 首屏左侧的斜线纹理 */
.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  background: repeating-linear-gradient(45deg, rgba(1, 231, 249, 0.05) 0 2px, transparent 2px 30px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
  mask-image: linear-gradient(90deg, #000, transparent);
}

.hero-content {
  position: relative;
  padding: 180px 0 96px;
}

.hero h1 {
  max-width: 820px;
  font-size: 80px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.hero h1 .accent {
  color: var(--cyan);
}

.hero-lead {
  max-width: 660px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-proof {
  display: grid;
  /* 按内容取宽（英文“Multi-source”较长），每栏至少 200px */
  grid-template-columns: repeat(3, minmax(200px, max-content));
  justify-content: start;
  margin-top: 64px;
  border-top: 1px solid var(--line-dark);
}

.hero-proof > div {
  display: grid;
  gap: 4px;
  padding: 22px 28px 0 0;
}

.hero-proof > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line-dark);
}

.hero-proof strong {
  color: var(--cyan);
  white-space: nowrap;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-proof span {
  color: var(--text-dark-muted);
  font-size: 14px;
}

.hero-note {
  margin-top: 26px;
  color: rgba(226, 238, 246, 0.5);
  font-size: 13px;
}

.hero-scroll {
  position: absolute;
  right: max(32px, calc((100% - var(--shell)) / 2));
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  transition: color 0.2s ease;
}

.hero-scroll:hover {
  color: var(--cyan);
}

.hero-scroll svg {
  width: 18px;
  height: 18px;
  animation: nudge 1.8s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateY(5px);
  }
}

/* ---------- 系统概览 ---------- */

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 96px;
}

.section-heading h2 {
  color: var(--ink);
}

.large-copy {
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.8;
}

.evidence-strip {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.evidence-strip > div {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.strip-index {
  color: var(--cyan-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.evidence-strip p {
  color: var(--muted);
}

.evidence-strip strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 17px;
}

/* ---------- 产品能力（标签页） ---------- */

.capability-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: 48px;
  margin-top: 64px;
}

.capability-list {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--line-dark);
}

.capability-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 8px;
  min-height: 68px;
  padding: 0 18px 0 20px;
  color: var(--text-dark-muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.capability-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--cyan);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.capability-item span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.capability-item strong {
  font-size: 17px;
  font-weight: 700;
}

.capability-item svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.capability-item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.capability-item.is-active {
  color: var(--white);
  background: rgba(1, 231, 249, 0.07);
}

.capability-item.is-active::before {
  transform: scaleY(1);
}

.capability-item.is-active span,
.capability-item.is-active svg {
  color: var(--cyan);
}

.capability-item.is-active svg {
  transform: rotate(45deg);
}

.capability-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  min-height: 440px;
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.stage-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
}

.stage-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.stage-image-wrap img.is-changing {
  opacity: 0.15;
}

.image-reference {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 4px 10px;
  color: var(--navy-950);
  background: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.stage-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
}

.stage-index {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.stage-content h3 {
  margin-top: 14px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
}

.stage-content > p:not(.stage-index) {
  margin-top: 16px;
  color: var(--text-dark-muted);
}

.stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.stage-tags li {
  padding: 5px 12px;
  color: var(--cyan);
  border: 1px solid rgba(1, 231, 249, 0.38);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- 特性卡片 ---------- */

.feature-grid-section {
  background: var(--paper);
}

.feature-heading {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 60px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: opacity 0.8s ease, transform 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.feature-card > svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  color: var(--cyan);
  background: var(--navy);
  border-radius: var(--radius);
}

.feature-card > span {
  margin-top: 28px;
  color: var(--cyan-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.35;
}

.feature-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.feature-card-highlight {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.feature-card-highlight > svg {
  color: var(--navy-950);
  background: var(--cyan);
}

.feature-card-highlight > span {
  color: var(--cyan);
}

.feature-card-highlight h3 {
  color: var(--white);
}

.feature-card-highlight p {
  color: var(--text-dark-muted);
}

/* ---------- 应用场景 ---------- */

.scenarios {
  background: var(--white);
}

.scenario-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, 330px);
  gap: 22px;
  margin-top: 64px;
}

.scenario-card {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  border-radius: var(--radius);
}

.scenario-card-wide {
  grid-row: span 2;
}

.scenario-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 0.7s ease, filter 0.5s ease;
}

.scenario-card:hover img {
  filter: none;
  transform: scale(1.05);
}

.scenario-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 23, 35, 0.95) 0%, rgba(11, 33, 49, 0.78) 42%, rgba(11, 33, 49, 0.15) 80%, rgba(11, 33, 49, 0) 100%);
}

.scenario-overlay span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.scenario-overlay h3 {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
}

.scenario-card-wide .scenario-overlay h3 {
  font-size: 34px;
}

.scenario-overlay p {
  max-width: 440px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

/* ---------- 工作流程 ---------- */

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 96px;
  align-items: start;
}

.workflow-heading > p:not(.kicker) {
  max-width: 420px;
  margin-top: 24px;
  color: var(--text-dark-muted);
  font-size: 17px;
}

.workflow-steps {
  display: grid;
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}

.workflow-steps li:first-child {
  padding-top: 0;
}

/* 序号外框为 45° 菱形，呼应标志图形 */
.workflow-steps li > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 2px 0 0 4px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
}

.workflow-steps li > span::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.workflow-steps h3 {
  font-size: 22px;
  font-weight: 800;
}

.workflow-steps p {
  margin-top: 6px;
  color: var(--text-dark-muted);
}

/* ---------- 实战现场 ---------- */

.field {
  background: var(--paper);
}

.field-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0 40px;
}

.field-heading .kicker {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.field-heading h2 {
  grid-column: 1;
  grid-row: 2;
}

.field-index {
  grid-column: 2;
  grid-row: 2;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.field-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-top: 60px;
}

.field-main-image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.field-main-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.field-main-image:hover img {
  transform: scale(1.04);
}

.image-expand {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--navy-950);
  background: var(--cyan);
  border: 0;
  border-radius: var(--radius);
}

.image-expand svg {
  width: 20px;
  height: 20px;
}

.field-copy h3 {
  margin-top: 22px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}

.field-copy p {
  margin-top: 14px;
  color: var(--muted);
}

.field-metric {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--cyan);
}

.field-metric strong {
  color: var(--navy);
  font-size: 84px;
  font-weight: 800;
  line-height: 1;
}

.field-metric span {
  color: var(--ink-soft);
  font-weight: 700;
}

.photo-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.rail-photo {
  position: relative;
  height: 220px;
  padding: 0;
  overflow: hidden;
  background: var(--navy-950);
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.rail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.rail-photo:hover img {
  transform: scale(1.06);
}

.rail-photo span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 14px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 23, 35, 0.88), rgba(7, 23, 35, 0));
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

/* ---------- 部署支持 ---------- */

.deployment {
  background: var(--white);
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 64px;
}

.deployment-grid article {
  position: relative;
  padding: 30px 28px 34px;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.deployment-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--navy);
  transition: background 0.3s ease;
}

.deployment-grid article:hover {
  color: var(--white);
  background: var(--navy);
}

.deployment-grid article:hover::before {
  background: var(--cyan);
}

.deployment-grid span {
  color: var(--cyan-deep);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.deployment-grid article:hover span {
  color: var(--cyan);
}

.deployment-grid h3 {
  margin-top: 30px;
  font-size: 21px;
  font-weight: 800;
}

.deployment-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  transition: color 0.3s ease;
}

.deployment-grid article:hover p {
  color: var(--text-dark-muted);
}

/* ---------- 结尾行动区：亮青底深蓝字（品牌规范的正式配色之一） ---------- */

.closing.dark-section {
  color: var(--navy-950);
  background: var(--cyan);
}

.closing.dark-section::before {
  width: 60%;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(25, 70, 100, 0.1) 0 2px, transparent 2px 26px);
}

.closing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing .light-kicker {
  color: var(--navy);
}

.closing .light-kicker span {
  background: var(--navy);
}

.closing h2 {
  font-size: 56px;
}

.closing-content > p:not(.kicker) {
  max-width: 640px;
  margin-top: 22px;
  color: var(--navy-700);
  font-size: 18px;
}

.closing .button-primary {
  margin-top: 40px;
  color: var(--white);
  background: var(--navy);
}

.closing .button-primary:hover {
  background: var(--navy-900);
}

/* ---------- 页脚 ---------- */

.site-footer {
  color: var(--text-dark-muted);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  min-height: 168px;
  padding: 28px 0;
  font-size: 14px;
}

.footer-brand {
  padding: 17px 0;
}

.footer-brand .brand-logo-zh {
  height: 68px;
}

.footer-brand .brand-logo-en {
  height: 40px;
}

.footer-grid > p:nth-child(2) {
  justify-self: center;
  letter-spacing: 0.06em;
}

/* ---------- 图片预览 ---------- */

.lightbox {
  width: min(1180px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  color: var(--white);
  background: var(--navy-950);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.lightbox::backdrop {
  background: rgba(7, 23, 35, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

.lightbox p {
  padding: 14px 20px;
  color: var(--text-dark-muted);
  font-size: 14px;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy-950);
  background: var(--cyan);
  border: 0;
  border-radius: var(--radius);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* ---------- 进入视口的渐显动画 ---------- */

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.has-js .feature-card[data-reveal].is-visible:hover {
  transform: translateY(-6px);
}
