/* ==========================================================================
   南途锦域建站 - 页面专属模块样式
   每类页面独立原创设计，避免重复撞款
   ========================================================================== */

/* ==========================================================================
   [服务详情页] 服务规格 / 交付物 / 能力矩阵
   ========================================================================== */
.svc-hero-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.svc-hero-meta .shm-tag {
  padding: 6px 14px;
  background: rgba(107, 75, 168, 0.12);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--purple-glow);
}

/* 能力矩阵：错落网格 */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cap-cell {
  background: var(--slate);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 26px 24px;
  transition: all 0.35s ease;
  position: relative;
}

.cap-cell:nth-child(3n+2) {
  margin-top: 24px;
}

.cap-cell:hover {
  border-color: var(--purple);
  background: var(--slate-2);
}

.cap-cell .cap-ico {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(107, 75, 168, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-glow);
  margin-bottom: 16px;
}

.cap-cell h4 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
}

.cap-cell p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
}

/* 交付物清单 */
.deliver-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
}

.deliver-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  background: var(--slate);
}

.deliver-list li:nth-child(2n) {
  border-right: none;
}

.deliver-list li:nth-last-child(-n+2) {
  border-bottom: none;
}

.deliver-list li .dl-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(107, 75, 168, 0.15);
  color: var(--purple-glow);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-en);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 规格表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--slate);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-2);
}

.spec-table th,
.spec-table td {
  padding: 14px 22px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-2);
}

.spec-table th {
  background: var(--slate-2);
  color: var(--purple-glow);
  font-weight: 600;
  width: 32%;
  letter-spacing: 1px;
}

.spec-table td {
  color: var(--text-2);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   [方案页] 行业痛点 / 架构图 / 数据指标
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pain-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--slate);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  border-left: 3px solid var(--purple);
  transition: all 0.3s ease;
}

.pain-card:hover {
  background: var(--slate-2);
  transform: translateX(4px);
}

.pain-card .pain-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(107, 75, 168, 0.15);
  color: var(--purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-card h4 {
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 6px;
}

.pain-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

/* 方案架构：层叠堆栈 */
.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-layer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: var(--slate);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  transition: all 0.3s ease;
}

.arch-layer:hover {
  border-color: var(--purple);
  background: var(--slate-2);
}

.arch-layer .arch-no {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  font-weight: 700;
  font-family: var(--font-en);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-layer .arch-body h4 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}

.arch-layer .arch-body p {
  font-size: 13px;
  color: var(--text-2);
}

.arch-layer .arch-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

.arch-layer .arch-tags span {
  padding: 3px 10px;
  background: var(--coal);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  color: var(--muted);
}

/* 数据指标条 */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-box {
  text-align: center;
  padding: 30px 20px;
  background: var(--slate);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
}

.metric-box .mb-num {
  font-size: 38px;
  font-weight: 700;
  color: var(--purple-glow);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 10px;
}

.metric-box .mb-label {
  font-size: 13px;
  color: var(--text-2);
}

/* ==========================================================================
   [案例详情] 项目信息卡 / 图集 / 成果
   ========================================================================== */
.case-detail-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.case-cover {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-summary h1 {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.case-summary .cs-desc {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.9;
  margin-bottom: 24px;
}

.cs-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.cs-info-item .ci-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--font-en);
}

.cs-info-item .ci-val {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* 案例图集 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.gallery-grid img {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  border-color: var(--purple);
}

/* 成果对比 */
.result-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 36px;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--slate) 100%);
  border: 1px solid var(--purple);
  border-radius: var(--r-lg);
}

.result-item {
  text-align: center;
}

.result-item .ri-num {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 8px;
}

.result-item .ri-label {
  font-size: 13px;
  color: rgba(233, 231, 242, 0.8);
}

/* ==========================================================================
   [工艺展示] 细节大图 + 标注
   ========================================================================== */
.craft-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.craft-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.craft-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(107, 75, 168, 0.25) 100%);
}

.craft-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.craft-point {
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
}

.craft-point:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.craft-point .cp-no {
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--purple);
  font-family: var(--font-en);
  line-height: 1;
  opacity: 0.6;
}

.craft-point h4 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
}

.craft-point p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ==========================================================================
   [风格解析] 风格卡片墙
   ========================================================================== */
.style-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.style-tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-2);
  cursor: pointer;
}

.style-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.7);
}

.style-tile:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.style-tile .st-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 12, 0.92));
  z-index: 2;
}

.style-tile .st-info h4 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 6px;
}

.style-tile .st-info p {
  font-size: 12.5px;
  color: var(--purple-mist);
}

/* 色卡展示 */
.palette-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.palette-chip {
  flex: 1;
  min-width: 130px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-2);
}

.palette-chip .pc-color {
  height: 90px;
}

.palette-chip .pc-meta {
  padding: 12px 16px;
  background: var(--slate);
}

.palette-chip .pc-name {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

.palette-chip .pc-hex {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   [流程页] 详细工序
   ========================================================================== */
.process-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.proc-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--slate);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  transition: all 0.35s ease;
}

.proc-card:hover {
  border-color: var(--purple);
  background: var(--slate-2);
}

.proc-card .pc-stage {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-purple);
}

.proc-card .pc-stage .pc-stage-no {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-en);
  line-height: 1;
}

.proc-card .pc-stage .pc-stage-sub {
  font-size: 9px;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-top: 2px;
}

.proc-card h4 {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 8px;
}

.proc-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.proc-card .pc-deliver {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.proc-card .pc-deliver span {
  padding: 3px 10px;
  background: var(--coal);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--purple-glow);
}

/* ==========================================================================
   [优势页] 差异化对比
   ========================================================================== */
.diff-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--slate);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-2);
}

.diff-table th,
.diff-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-2);
}

.diff-table thead th {
  background: var(--slate-2);
  color: var(--text);
  font-weight: 600;
}

.diff-table thead th.us {
  color: var(--purple-glow);
}

.diff-table tbody td.us {
  color: var(--purple-glow);
  font-weight: 500;
}

.diff-table tbody td.them {
  color: var(--muted);
}

.diff-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   [口碑页] 客户Logo墙
   ========================================================================== */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.logo-cell {
  aspect-ratio: 2 / 1;
  background: var(--slate);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.logo-cell:hover {
  opacity: 1;
  border-color: var(--purple);
  background: var(--slate-2);
}

.logo-cell span {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
}

/* ==========================================================================
   [关于页] 使命愿景 / 价值观
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  padding: 36px 28px;
  background: var(--slate);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  text-align: center;
  transition: all 0.35s ease;
}

.value-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
}

.value-card .vc-ico {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(107, 75, 168, 0.15);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-glow);
}

.value-card h4 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.8;
}

/* 大数字展示 */
.big-stat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.big-stat .bs-item {
  text-align: center;
  padding: 30px 16px;
  border-right: 1px solid var(--line-2);
}

.big-stat .bs-item:last-child {
  border-right: none;
}

.big-stat .bs-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--purple-glow);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 10px;
}

.big-stat .bs-label {
  font-size: 13px;
  color: var(--text-2);
}

/* ==========================================================================
   [通用] 服务导航卡 / 下一篇
   ========================================================================== */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--slate);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  transition: all 0.3s ease;
}

.nav-card:hover {
  border-color: var(--purple);
  transform: translateX(4px);
  background: var(--slate-2);
}

.nav-card .nc-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: rgba(107, 75, 168, 0.15);
  color: var(--purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-card .nc-body h4 {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}

.nav-card .nc-body p {
  font-size: 12.5px;
  color: var(--muted);
}

.nav-card .nc-arrow {
  margin-left: auto;
  color: var(--purple-glow);
}

/* ==========================================================================
   页面专属响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .cap-grid,
  .metric-row,
  .big-stat,
  .style-wall,
  .logo-wall,
  .nav-cards,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .big-stat .bs-item {
    border-right: none;
  }
}

@media (max-width: 980px) {
  .case-detail-head,
  .craft-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pain-grid,
  .process-track {
    grid-template-columns: 1fr;
  }
  .deliver-list {
    grid-template-columns: 1fr;
  }
  .deliver-list li {
    border-right: none;
  }
  .arch-layer {
    flex-wrap: wrap;
  }
  .arch-layer .arch-tags {
    margin-left: 0;
  }
  .result-band {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   [团队页] 工作场景横幅
   ========================================================================== */
.team-banner {
  padding: 0 0 8px;
}

.team-banner .container {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.team-banner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: brightness(0.78) saturate(0.92);
}

.team-banner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: flex-end;
  padding: 40px 44px;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0) 35%, rgba(10, 10, 12, 0.85) 100%);
}

.team-banner-overlay .banner-quote {
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 1px;
  max-width: 720px;
  border-left: 3px solid var(--purple-glow);
  padding-left: 18px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .team-banner img {
    height: 260px;
  }
  .team-banner-overlay {
    padding: 22px 20px;
  }
  .team-banner-overlay .banner-quote {
    font-size: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 560px) {
  .cap-grid,
  .metric-row,
  .big-stat,
  .style-wall,
  .logo-wall,
  .nav-cards,
  .value-grid,
  .pain-grid,
  .process-track,
  .cs-info,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .palette-row {
    flex-direction: column;
  }
}
