/* scenario.css */
.solutions-hub {
  min-height: 100vh;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 英雄区域样式 */
.hub-hero {
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hub-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  color: #2c3e50;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.25rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: #e74c3c;
  margin: 0 auto;
  border-radius: 2px;
}

/* 解决方案网格样式 */
.solutions-grid {
  padding: 100px 0;
  background: #ffffff;
}

.grid-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.grid-row:last-child {
  margin-bottom: 0;
}

.solution-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #e74c3c;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  border-color: #e8e8e8;
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.card-header {
  margin-bottom: 20px;
  text-align: center;
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.solution-card:hover .card-icon {
  transform: scale(1.05);
}

.solution-card:hover .card-icon::after {
  opacity: 1;
}

.card-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.3;
  margin: 0;
}

.card-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 28px;
  font-size: 0.95rem;
  text-align: center;
}

.card-actions {
  text-align: center;
}

.card-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: #e74c3c;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1.5px solid #e74c3c;
  position: relative;
  overflow: hidden;
}

.card-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #e74c3c;
  transition: left 0.3s ease;
  z-index: -1;
}

.card-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.card-button:hover::before {
  left: 0;
}

.card-button svg {
  transition: transform 0.3s ease;
}

.card-button:hover svg {
  transform: translateX(4px);
}

/* 咨询区域样式 */
.consultation-section {
  background: #2c3e50;
  padding: 100px 0;
  position: relative;
}

.consultation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #34495e, transparent);
}

.consultation-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.consultation-content {
  text-align: center;
}

.consultation-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.consultation-description {
  font-size: 1.125rem;
  color: #bdc3c7;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.consultation-actions {
  margin-top: 10px;
}

.consultation-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: #e74c3c;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  border: 2px solid #e74c3c;
  position: relative;
  overflow: hidden;
}

.consultation-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #c0392b;
  transition: left 0.3s ease;
  z-index: -1;
}

.consultation-button:hover {
  background: transparent;
  border-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(231, 76, 60, 0.4);
}

.consultation-button:hover::before {
  left: 0;
}

.consultation-button svg {
  transition: transform 0.3s ease;
}

.consultation-button:hover svg {
  transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .grid-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .grid-container {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .hub-hero {
    padding: 80px 0 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .solutions-grid {
    padding: 80px 0;
  }
  
  .grid-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .solution-card {
    padding: 32px 24px;
  }
  
  .consultation-section {
    padding: 80px 0;
  }
  
  .consultation-title {
    font-size: 2rem;
  }
  
  .hero-container,
  .grid-container,
  .consultation-container {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .hub-hero {
    padding: 60px 0 40px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .solutions-grid {
    padding: 60px 0;
  }
  
  .consultation-section {
    padding: 60px 0;
  }
  
  .consultation-button {
    padding: 14px 32px;
    font-size: 1rem;
  }
}