/* ========== Solution Page Redesign — Differentiation from Product Pages ========== */
/* 解决方案页专属样式：全宽叙事 + 深色数据墙 + 阶段流程 + 产品矩阵 */

/* --- Module 1: Banner Stats Bar --- */
.sol-banner-stats {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
.sol-banner-stat {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 16px 24px;
  color: #fff;
  min-width: 140px;
}
.sol-banner-stat .stat-value {
  font-family: 'D-DIN', 'DIN Alternate', monospace;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.sol-banner-stat .stat-label {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 4px;
}

/* --- Module 2: Industry Challenges (Zigzag Stagger) --- */
.sol-challenges {
  background: #fff;
  padding: 80px 0 0;
}
.sol-challenges .section-title {
  text-align: left;
  margin-bottom: 56px;
}
.sol-challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
}
/* Odd cards (01, 03) sit at top; even cards (02, 04) sit at bottom */
.sol-challenge-card {
  display: flex;
  gap: 0;
  align-items: stretch;
  opacity: 0;
  animation: solStaggerIn 0.6s ease forwards;
}
.sol-challenge-card:nth-child(odd) {
  align-self: start;
  margin-bottom: 60px;
}
.sol-challenge-card:nth-child(even) {
  align-self: end;
  margin-top: 60px;
}

@keyframes solStaggerIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sol-challenge-num {
  font-family: 'D-DIN', 'DIN Alternate', monospace;
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  padding-right: 16px;
}
.sol-challenge-body {
  border-left: 2px solid var(--text-1);
  padding-left: 16px;
}
.sol-challenge-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-1);
  line-height: 1.4;
}
.sol-challenge-card p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
}

/* Bottom full-width divider line */
.sol-challenge-line {
  height: 2px;
  background: var(--text-1);
  margin-top: 0;
}

/* --- Module 3: Transformation Journey (Horizontal Steps) --- */
.sol-journey {
  padding: 80px 0;
}
.sol-journey .section-title {
  text-align: center;
  margin-bottom: 56px;
}
.sol-journey-track {
  position: relative;
}
.sol-journey-steps {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.sol-journey-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.sol-journey-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'D-DIN', monospace;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(22,119,255,0.25);
}
.sol-journey-step h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-1);
}
.sol-journey-step > p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 16px;
}
.sol-journey-step-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.sol-journey-step-products span {
  font-size: 12px;
  background: var(--primary-1);
  color: var(--primary-7);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Connector line behind circles */
.sol-journey-connector {
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--gray-3);
  z-index: 1;
}

/* Progress bar */
.sol-journey-progress {
  margin-top: 48px;
  height: 4px;
  background: var(--gray-2);
  border-radius: 2px;
  overflow: hidden;
}
.sol-journey-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-4));
  border-radius: 2px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Module 4: Product Matrix (Left text + Right grid) --- */
.sol-products {
  background: var(--gray-1);
  padding: 80px 0;
}
.sol-products-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.sol-products-left {
  flex: 0 0 32%;
  position: sticky;
  top: 100px;
}
.sol-products-left h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text-1);
  line-height: 1.4;
}
.sol-products-left p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
}
.sol-products-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}
.sol-products-count span {
  font-family: 'D-DIN', monospace;
  font-size: 32px;
  font-weight: 700;
}
.sol-products-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sol-product-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-1);
  transition: all 0.3s;
  display: block;
}
.sol-product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(22,119,255,0.1);
  transform: translateY(-2px);
}
.sol-product-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.sol-product-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text-1);
}
.sol-product-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}
.sol-product-card-arrow {
  margin-top: 14px;
  color: var(--primary);
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(-4px);
}
.sol-product-card:hover .sol-product-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --- Module 5: Advantages (3×2 Grid with left accent) --- */
.sol-advantages {
  padding: 80px 0;
}
.sol-advantages .section-title {
  text-align: center;
  margin-bottom: 48px;
}
.sol-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sol-adv-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--gray-1);
  border-radius: 8px;
  padding: 24px;
  border-left: 3px solid var(--primary);
  transition: box-shadow 0.3s, transform 0.3s;
}
.sol-adv-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.sol-adv-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sol-adv-card h4 {
  font-size: 16px;
  color: var(--text-1);
  margin-bottom: 6px;
}
.sol-adv-card p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
}

/* --- Module 6: Metrics Dark Wall --- */
.sol-metrics {
  background: #1a1f2e;
  padding: 80px 0;
  color: #fff;
}
.sol-metrics .section-title {
  text-align: center;
  margin-bottom: 56px;
}
.sol-metrics .section-title h2 {
  color: #fff;
}
.sol-metrics .section-title p {
  color: rgba(255,255,255,0.5);
}
.sol-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.sol-metric-item {
  padding: 20px 0;
}
.sol-metric-value {
  font-family: 'D-DIN', monospace;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-3), var(--primary-5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 10px;
}
.sol-metric-label {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}
.sol-metric-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* --- Module 6: Customer Cases (Full-width) --- */
.sol-cases {
  padding: 80px 0;
}
.sol-cases .section-title {
  text-align: center;
  margin-bottom: 48px;
}
.sol-case-highlight {
  background: var(--gray-1);
  border-radius: 12px;
  padding: 40px 48px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s;
}
.sol-case-highlight:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.sol-case-highlight:last-child {
  margin-bottom: 0;
}
.sol-case-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  background: var(--primary-1);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-weight: 500;
}
.sol-case-title {
  font-size: 20px;
  color: var(--text-1);
  margin-bottom: 12px;
}
.sol-case-highlight blockquote {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  margin: 0 0 24px 0;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  font-style: normal;
}
.sol-case-metrics {
  display: flex;
  gap: 16px;
}
.sol-case-metric {
  background: #fff;
  border-radius: 8px;
  padding: 14px 24px;
  text-align: center;
  border: 1px solid var(--border-1);
}
.sol-case-metric .value {
  font-family: 'D-DIN', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.sol-case-metric .label {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .sol-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .sol-challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sol-challenge-card:nth-child(odd),
  .sol-challenge-card:nth-child(even) {
    margin: 0;
    align-self: auto;
  }
  .sol-challenge-card {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gray-3);
  }
  .sol-challenge-card:nth-child(3),
  .sol-challenge-card:nth-child(4) {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  /* Journey: vertical layout */
  .sol-journey-steps {
    flex-direction: column;
    gap: 0;
  }
  .sol-journey-connector {
    display: none;
  }
  .sol-journey-step {
    text-align: left;
    padding: 0 0 32px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .sol-journey-step:last-child {
    padding-bottom: 0;
  }
  .sol-journey-step-num {
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
  .sol-journey-step-products {
    justify-content: flex-start;
  }

  /* Product Matrix: stack */
  .sol-products-inner {
    flex-direction: column;
    gap: 32px;
  }
  .sol-products-left {
    flex: none;
    position: static;
  }

  /* Advantages: 2 columns */
  .sol-adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Metrics: 2 columns */
  .sol-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Cases: smaller padding */
  .sol-case-highlight {
    padding: 28px 24px;
  }
  .sol-case-metrics {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .sol-banner-stats {
    flex-direction: column;
    gap: 10px;
  }
  .sol-banner-stat {
    padding: 12px 16px;
  }
  .sol-banner-stat .stat-value {
    font-size: 22px;
  }

  .sol-challenge-grid {
    grid-template-columns: 1fr;
  }
  .sol-challenge-card:nth-child(3) {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gray-3);
  }
  .sol-challenge-num {
    font-size: 32px;
  }

  .sol-products-grid {
    grid-template-columns: 1fr;
  }

  .sol-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sol-metric-value {
    font-size: 36px;
  }

  .sol-case-highlight blockquote {
    font-size: 14px;
  }
  .sol-case-metrics {
    gap: 10px;
  }
  .sol-case-metric {
    padding: 10px 16px;
    flex: 1;
    min-width: 120px;
  }

  .sol-adv-grid {
    grid-template-columns: 1fr;
  }

  .sol-challenges,
  .sol-journey,
  .sol-products,
  .sol-advantages,
  .sol-metrics,
  .sol-cases {
    padding: 56px 0;
  }
}
