/* ========================================
   解决方案页面样式 - Solutions Page
   工程美学设计系统 v2.0
   ======================================== */

/* Page Hero */
.page-hero {
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #050505;
}

.page-hero .bg-grid {
  opacity: 0.4;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero .label {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #22d3ee;
  padding: 6px 12px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 2px;
  background: rgba(34, 211, 238, 0.05);
}

.page-hero h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
  color: #fafafa;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: var(--text-xl);
  color: #a3a3a3;
  line-height: 1.7;
}

/* Tech Corner Decoration */
.tech-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tech-corner-tl {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.tech-corner-tr {
  top: 20px;
  right: 20px;
  border-left: none;
  border-bottom: none;
}

.tech-corner-bl {
  bottom: 20px;
  left: 20px;
  border-right: none;
  border-top: none;
}

.tech-corner-br {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

/* Solutions Overview */
.solutions-overview {
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.solutions-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.overview-text h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-6);
  color: #fafafa;
  font-weight: 600;
}

.overview-text p {
  color: #a3a3a3;
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.overview-text strong {
  color: #fafafa;
  font-weight: 600;
}

.overview-features {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: #a3a3a3;
}

.feature-check {
  color: #22d3ee;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

/* Solution Diagram */
.overview-visual {
  display: flex;
  justify-content: center;
}

.solution-diagram {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  min-width: 320px;
  position: relative;
}

.solution-diagram::before {
  content: 'SYSTEM_ARCH';
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #737373;
  background: #0a0a0a;
  padding: 0 8px;
  letter-spacing: 0.1em;
}

.diagram-layer {
  width: 100%;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: var(--space-4);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.diagram-layer:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.layer-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xs);
  color: #3b82f6;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.layer-items {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.layer-item {
  font-size: var(--text-sm);
  color: #a3a3a3;
  padding: var(--space-1) var(--space-3);
  background: #111111;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.diagram-arrow {
  color: #3b82f6;
  font-size: var(--text-xl);
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.7;
}

/* Solution Categories */
.solution-categories {
  padding-top: var(--space-20);
  background: #050505;
}

.solution-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.solution-block {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-block:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.05);
}

.solution-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #22d3ee);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-block:hover::before {
  opacity: 1;
}

.solution-header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-8);
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-icon {
  width: 64px;
  height: 64px;
  color: #3b82f6;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.solution-title h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  color: #fafafa;
  font-weight: 600;
}

.solution-title p {
  color: #737373;
  font-size: var(--text-base);
}

.solution-content {
  padding: var(--space-8);
}

.solution-desc {
  margin-bottom: var(--space-8);
  max-width: 800px;
}

.solution-desc p {
  color: #a3a3a3;
  line-height: 1.8;
}

/* Module Cards */
.solution-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.module-card {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: var(--space-6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.module-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  background: #141414;
}

.module-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-card:hover::after {
  opacity: 1;
}

.module-card h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  color: #fafafa;
  font-weight: 600;
}

.module-card ul {
  list-style: none;
}

.module-card li {
  font-size: var(--text-sm);
  color: #737373;
  padding: var(--space-1) 0;
  padding-left: var(--space-4);
  position: relative;
  transition: color 0.2s ease;
}

.module-card li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  opacity: 0.7;
}

.module-card:hover li {
  color: #a3a3a3;
}

/* Industry Cards */
.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.industry-card {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: var(--space-6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  background: #141414;
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-icon {
  font-size: 32px;
  margin-bottom: var(--space-4);
  color: #60a5fa;
}

.industry-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: #fafafa;
  font-weight: 600;
}

.industry-card p {
  font-size: var(--text-sm);
  color: #737373;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: var(--space-24) 0;
  text-align: center;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), transparent);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  color: #fafafa;
  font-weight: 700;
}

.cta-content p {
  font-size: var(--text-lg);
  color: #a3a3a3;
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* Engineering Buttons */
.btn-engineering {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-engineering-primary {
  background: #3b82f6;
  color: #fafafa;
  border-color: #3b82f6;
}

.btn-engineering-primary:hover {
  background: #60a5fa;
  border-color: #60a5fa;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.btn-engineering-secondary {
  background: transparent;
  color: #a3a3a3;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-engineering-secondary:hover {
  border-color: rgba(59, 130, 246, 0.5);
  color: #fafafa;
  background: rgba(59, 130, 246, 0.05);
}

/* Grid Background Decoration */
.bg-grid-engineering {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Code Tag Decoration */
.code-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #737373;
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Status Indicator */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #737373;
}

.status-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22d3ee;
  border-radius: 50%;
  box-shadow: 0 0 8px #22d3ee;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Section Label */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #3b82f6;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '//';
  color: #737373;
}

/* Responsive */
@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .overview-visual {
    order: -1;
  }
  
  .solution-modules {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industry-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-corner {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: var(--text-4xl);
  }
  
  .solution-header {
    flex-direction: column;
    text-align: center;
  }
  
  .solution-icon {
    width: 48px;
    height: 48px;
  }
  
  .solution-modules {
    grid-template-columns: 1fr;
  }
  
  .industry-cards {
    grid-template-columns: 1fr;
  }
  
  .overview-features {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-engineering {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .solution-diagram {
    min-width: 280px;
    padding: var(--space-6);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .module-card,
  .industry-card,
  .solution-block,
  .diagram-layer,
  .btn-engineering {
    transition: none;
  }
  
  .module-card:hover,
  .industry-card:hover,
  .solution-block:hover {
    transform: none;
  }
  
  .status-indicator::before {
    animation: none;
  }
}
