/* 
 * 解决方案页面样式
 * Solutions Page Styles
 */

/* ========================================
   页面标题区域
   ======================================== */

.page-header {
  padding: calc(60px + var(--spacing-xxl)) 0 var(--spacing-xxl);
  background: var(--color-background);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(91, 110, 245, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-title {
  font-size: var(--font-size-h1);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ========================================
   解决方案区块
   ======================================== */

.solution-section {
  background: var(--color-background-light);
  position: relative;
  overflow: hidden;
}

.solution-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.3;
  z-index: 1;
}

.solution-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 110, 245, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.solution-section:nth-child(even) {
  background: var(--color-background);
}

.solution-section:nth-child(even)::after {
  right: auto;
  left: -10%;
}

.solution-content {
  position: relative;
  z-index: 2;
}

/* 主题色变体 - 蓝色（3C数码） */
.solution-blue .solution-icon {
  background: rgba(91, 110, 245, 0.1);
  border-color: rgba(91, 110, 245, 0.3);
}

.solution-blue .solution-icon svg {
  color: #5b6ef5;
}

.solution-blue::before {
  background: linear-gradient(90deg, transparent, #5b6ef5, transparent);
}

.solution-blue::after {
  background: radial-gradient(circle, rgba(91, 110, 245, 0.08) 0%, transparent 70%);
}

.solution-blue .feature-icon {
  background: rgba(91, 110, 245, 0.15);
}

.solution-blue .feature-icon svg {
  color: #5b6ef5;
}

.solution-blue .feature-item:hover {
  border-color: #5b6ef5;
  box-shadow: 0 0 20px rgba(91, 110, 245, 0.3);
}

.solution-blue .benefits-list li::before {
  background: linear-gradient(135deg, #5b6ef5, #7b8cff);
}

/* 主题色变体 - 紫色（办公设备） */
.solution-purple .solution-icon {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
}

.solution-purple .solution-icon svg {
  color: #a855f7;
}

.solution-purple::before {
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
}

.solution-purple::after {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
}

.solution-purple .feature-icon {
  background: rgba(168, 85, 247, 0.15);
}

.solution-purple .feature-icon svg {
  color: #a855f7;
}

.solution-purple .feature-item:hover {
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.solution-purple .benefits-list li::before {
  background: linear-gradient(135deg, #a855f7, #c084fc);
}

/* 主题色变体 - 青色（智能硬件） */
.solution-cyan .solution-icon {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
}

.solution-cyan .solution-icon svg {
  color: #00d4ff;
}

.solution-cyan::before {
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.solution-cyan::after {
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
}

.solution-cyan .feature-icon {
  background: rgba(0, 212, 255, 0.15);
}

.solution-cyan .feature-icon svg {
  color: #00d4ff;
}

.solution-cyan .feature-item:hover {
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.solution-cyan .benefits-list li::before {
  background: linear-gradient(135deg, #00d4ff, #00f5ff);
}

/* 主题色变体 - 绿色（新能源） */
.solution-green .solution-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.solution-green .solution-icon svg {
  color: #10b981;
}

.solution-green::before {
  background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.solution-green::after {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.solution-green .feature-icon {
  background: rgba(16, 185, 129, 0.15);
}

.solution-green .feature-icon svg {
  color: #10b981;
}

.solution-green .feature-item:hover {
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.solution-green .benefits-list li::before {
  background: linear-gradient(135deg, #10b981, #34d399);
}

.solution-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* 解决方案标题 */
.solution-header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.solution-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.solution-icon svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  filter: drop-shadow(0 0 10px rgba(91, 110, 245, 0.3));
}

.solution-title-group {
  flex: 1;
}

.solution-title {
  font-size: var(--font-size-h2);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.solution-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  box-shadow: 0 2px 10px rgba(91, 110, 245, 0.3);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 2px 10px rgba(91, 110, 245, 0.3);
  }
  50% {
    box-shadow: 0 2px 20px rgba(91, 110, 245, 0.5);
  }
}

.solution-blue .solution-badge {
  background: linear-gradient(135deg, #5b6ef5, #7b8cff);
  box-shadow: 0 2px 10px rgba(91, 110, 245, 0.4);
}

.solution-purple .solution-badge {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.4);
}

.solution-cyan .solution-badge {
  background: linear-gradient(135deg, #00d4ff, #00f5ff);
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.4);
}

.solution-green .solution-badge {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.solution-subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
}

/* 解决方案内容 */
.solution-body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.solution-description h3,
.solution-features h3,
.solution-benefits h3 {
  font-size: var(--font-size-h3);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.solution-description p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: var(--font-size-base);
}

/* 核心能力网格 */
.features-grid {
  gap: var(--spacing-lg);
}

.feature-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--color-background-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.feature-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 110, 245, 0.1);
  border-radius: var(--border-radius-sm);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.feature-item:hover .feature-icon {
  background: rgba(91, 110, 245, 0.2);
}

.feature-item:hover .feature-icon svg {
  filter: drop-shadow(0 0 10px rgba(91, 110, 245, 0.5));
  transform: scale(1.1);
  transition: all var(--transition-base);
}

.feature-content h4 {
  font-size: 18px;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.feature-content p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* 方案价值列表 */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.benefits-list li {
  position: relative;
  padding-left: 32px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: var(--font-size-base);
}

.benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(91, 110, 245, 0.3);
}

.benefits-list li::after {
  content: '✓';
  position: absolute;
  left: 5px;
  top: 6px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* CTA按钮组 */
.solution-cta {
  display: flex;
  gap: var(--spacing-md);
  padding-top: var(--spacing-md);
}

/* ========================================
   响应式 - 平板
   ======================================== */

@media screen and (max-width: 1024px) {
  .solution-icon {
    width: 64px;
    height: 64px;
  }
  
  .solution-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .solution-title {
    font-size: 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   响应式 - 移动端
   ======================================== */

@media screen and (max-width: 768px) {
  .page-header {
    padding: calc(60px + var(--spacing-xl)) 0 var(--spacing-xl);
  }
  
  .page-title {
    font-size: var(--font-size-h1-mobile);
  }
  
  .page-subtitle {
    font-size: var(--font-size-base-mobile);
  }
  
  .solution-header {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .solution-icon {
    width: 56px;
    height: 56px;
  }
  
  .solution-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .solution-title {
    font-size: var(--font-size-h2-mobile);
  }
  
  .solution-subtitle {
    font-size: var(--font-size-base-mobile);
  }
  
  .solution-body {
    gap: var(--spacing-lg);
  }
  
  .solution-description h3,
  .solution-features h3,
  .solution-benefits h3 {
    font-size: var(--font-size-h3-mobile);
  }
  
  .solution-description p {
    font-size: var(--font-size-base-mobile);
  }
  
  .feature-item {
    flex-direction: column;
    padding: var(--spacing-md);
  }
  
  .feature-content h4 {
    font-size: 16px;
  }
  
  .feature-content p {
    font-size: var(--font-size-small-mobile);
  }
  
  .benefits-list li {
    font-size: var(--font-size-base-mobile);
    padding-left: 28px;
  }
  
  .benefits-list li::before {
    width: 16px;
    height: 16px;
    top: 6px;
  }
  
  .benefits-list li::after {
    left: 3px;
    top: 4px;
    font-size: 10px;
  }
  
  .solution-cta {
    flex-direction: column;
  }
  
  .solution-cta .btn {
    width: 100%;
  }
}


/* ========================================
   方案架构图区域
   ======================================== */

.architecture-section {
  background: var(--color-background);
}

.architecture-card {
  background: var(--color-background-card);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.architecture-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-h3);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xl);
}

.architecture-title svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  filter: drop-shadow(0 0 10px rgba(91, 110, 245, 0.3));
}

/* 业务流程图 */
.flow-diagram {
  display: flex;
  align-items: stretch;
  gap: var(--spacing-md);
  overflow-x: auto;
  padding: var(--spacing-md) 0;
}

.flow-step {
  flex: 1;
  min-width: 180px;
  background: var(--color-background-elevated);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
}

.flow-step:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.flow-step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  box-shadow: var(--shadow-button);
}

.flow-step:nth-child(3) .flow-step-number {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.flow-step:nth-child(5) .flow-step-number {
  background: linear-gradient(135deg, #00d4ff, #00f5ff);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.flow-step:nth-child(7) .flow-step-number {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.flow-step:nth-child(9) .flow-step-number {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.flow-step:nth-child(11) .flow-step-number {
  background: linear-gradient(135deg, #ef4444, #f87171);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.flow-step-content h4 {
  font-size: 18px;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
  margin-top: var(--spacing-sm);
}

.flow-step-content p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
}

.flow-step-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.flow-step-details span {
  font-size: 12px;
  color: var(--color-text-light);
  padding-left: var(--spacing-xs);
}

.flow-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}

.flow-arrow svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  opacity: 0.5;
}

/* 技术架构图 */
.tech-architecture {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.tech-layer {
  background: var(--color-background-elevated);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.tech-layer:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.tech-layer-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-border);
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-layer:nth-child(1) .tech-layer-title {
  background: linear-gradient(90deg, #5b6ef5, #7b8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-layer:nth-child(1) {
  border-left: 3px solid #5b6ef5;
}

.tech-layer:nth-child(2) .tech-layer-title {
  background: linear-gradient(90deg, #a855f7, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-layer:nth-child(2) {
  border-left: 3px solid #a855f7;
}

.tech-layer:nth-child(3) .tech-layer-title {
  background: linear-gradient(90deg, #00d4ff, #00f5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-layer:nth-child(3) {
  border-left: 3px solid #00d4ff;
}

.tech-layer:nth-child(4) .tech-layer-title {
  background: linear-gradient(90deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-layer:nth-child(4) {
  border-left: 3px solid #10b981;
}

.tech-layer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.tech-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md);
  background: var(--color-background-card);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border-light);
  min-width: 120px;
  transition: all var(--transition-base);
}

.tech-module:hover {
  border-color: var(--color-primary);
  background: var(--color-background-elevated);
  transform: translateY(-2px);
}

.tech-module svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.tech-module:hover svg {
  filter: drop-shadow(0 0 10px rgba(91, 110, 245, 0.5));
  transform: scale(1.1);
}

.tech-module span {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
}

/* 技术特点 */
.tech-highlights {
  margin-top: var(--spacing-xl);
}

.tech-highlight-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--color-background-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.tech-highlight-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.tech-highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 110, 245, 0.1);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.tech-highlight-item:hover .tech-highlight-icon {
  background: rgba(91, 110, 245, 0.2);
}

.tech-highlight-icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.tech-highlight-item:hover .tech-highlight-icon svg {
  filter: drop-shadow(0 0 10px rgba(91, 110, 245, 0.5));
  transform: scale(1.1);
}

/* 为每个技术特点添加不同颜色 */
.tech-highlight-item:nth-child(1) .tech-highlight-icon {
  background: rgba(245, 158, 11, 0.1);
}

.tech-highlight-item:nth-child(1):hover .tech-highlight-icon {
  background: rgba(245, 158, 11, 0.2);
}

.tech-highlight-item:nth-child(1) .tech-highlight-icon svg {
  color: #f59e0b;
}

.tech-highlight-item:nth-child(1):hover {
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.tech-highlight-item:nth-child(2) .tech-highlight-icon {
  background: rgba(16, 185, 129, 0.1);
}

.tech-highlight-item:nth-child(2):hover .tech-highlight-icon {
  background: rgba(16, 185, 129, 0.2);
}

.tech-highlight-item:nth-child(2) .tech-highlight-icon svg {
  color: #10b981;
}

.tech-highlight-item:nth-child(2):hover {
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.tech-highlight-item:nth-child(3) .tech-highlight-icon {
  background: rgba(239, 68, 68, 0.1);
}

.tech-highlight-item:nth-child(3):hover .tech-highlight-icon {
  background: rgba(239, 68, 68, 0.2);
}

.tech-highlight-item:nth-child(3) .tech-highlight-icon svg {
  color: #ef4444;
}

.tech-highlight-item:nth-child(3):hover {
  border-color: #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.tech-highlight-item h4 {
  font-size: 20px;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.tech-highlight-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========================================
   响应式 - 平板
   ======================================== */

@media screen and (max-width: 1024px) {
  .flow-diagram {
    flex-direction: column;
  }
  
  .flow-arrow {
    width: 100%;
    height: 40px;
  }
  
  .flow-arrow svg {
    transform: rotate(90deg);
  }
  
  .tech-layer-content {
    justify-content: center;
  }
  
  .tech-highlights .grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   响应式 - 移动端
   ======================================== */

@media screen and (max-width: 768px) {
  .architecture-card {
    padding: var(--spacing-md);
  }
  
  .architecture-title {
    font-size: var(--font-size-h3-mobile);
  }
  
  .architecture-title svg {
    width: 24px;
    height: 24px;
  }
  
  .flow-step {
    min-width: 100%;
  }
  
  .flow-step-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .flow-step-content h4 {
    font-size: 16px;
  }
  
  .flow-step-content p {
    font-size: var(--font-size-small-mobile);
  }
  
  .flow-step-details span {
    font-size: 11px;
  }
  
  .tech-layer {
    padding: var(--spacing-md);
  }
  
  .tech-layer-title {
    font-size: 16px;
  }
  
  .tech-module {
    min-width: 100px;
    padding: var(--spacing-sm);
  }
  
  .tech-module svg {
    width: 28px;
    height: 28px;
  }
  
  .tech-module span {
    font-size: var(--font-size-small-mobile);
  }
  
  .tech-highlight-icon {
    width: 56px;
    height: 56px;
  }
  
  .tech-highlight-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .tech-highlight-item h4 {
    font-size: 18px;
  }
  
  .tech-highlight-item p {
    font-size: var(--font-size-small-mobile);
  }
}
