/* ===================帝王云 ==================== */
/* ============= www.diwangyun.com ================ */
/* ============= www.diwangyun.cn ================= */
/* ============== 代码有价，版权无价 ================= */
/* =======帝王云模板为帝王云自行开发，已办理源码著作权 ========== */
/* =======未经允许 仿站或扒站 发现必究，请尊重开发者心血 ========== */
/* ==========="愿你走完山水万城 仍与理想重逢" ============ */
/* ============模板作者：江遇:QQ 1481234828=========== */


/* 解决方案页面样式 */

.solutions-page {
  padding-top: 70px;
}

/* Hero Section */
.solutions-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #3b82f6 100%);
  padding: 100px 0 80px;
  position: relative;
  color: white;
  overflow: hidden;
}

.solutions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-content > p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-stat {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  opacity: 0.9;
}

/* 解决方案网格 */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.solution-item {
  background: white;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.solution-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.solution-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.solution-icon {
  font-size: 48px;
}

.solution-item h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.solution-item > p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
  flex-grow: 1;
}

.solution-features {
  list-style: none;
  margin-bottom: 24px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-gray);
  font-size: 14px;
}

.solution-features li::before {
  content: '✓';
  color: #10b981;
  font-weight: 700;
}

/* 成功案例 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  padding: 32px;
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.case-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.case-tag {
  padding: 4px 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
}

.case-card > p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-stat {
  text-align: center;
  padding: 16px;
  background: #f7fafc;
  border-radius: 12px;
}

.case-stat .stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.case-stat .stat-label {
  font-size: 14px;
  color: var(--text-gray);
}

/* 技术架构 */
.architecture-content {
  max-width: 1000px;
  margin: 0 auto;
}

.architecture-diagram {
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.arch-layer {
  padding: 24px 32px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.arch-layer h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.arch-items {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.arch-items span {
  padding: 8px 16px;
  background: #f7fafc;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-gray);
}

.arch-layer-user {
  background: #dbeafe;
}

.arch-layer-user h4 {
  color: #1e40af;
}

.arch-layer-network {
  background: #d1fae5;
}

.arch-layer-network h4 {
  color: #065f46;
}

.arch-layer-app {
  background: #fef3c7;
}

.arch-layer-app h4 {
  color: #92400e;
}

.arch-layer-data {
  background: #fce7f3;
}

.arch-layer-data h4 {
  color: #9d174d;
}

.arch-connector {
  text-align: center;
  font-size: 24px;
  color: #cbd5e1;
  margin: 8px 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #3b82f6 100%);
  padding: 100px 0;
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content > p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* 响应式 */
@media (max-width: 1024px) {
  .solutions-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .solutions-hero {
    padding: 60px 0 40px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .solutions-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }

  .architecture-diagram {
    padding: 32px;
  }

  .arch-items {
    flex-direction: column;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .hero-stat .stat-number {
    font-size: 36px;
  }

  .solution-item {
    padding: 32px 24px;
  }

  .solution-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
