/* 增强模块样式 - 新增内容 */

/* 通用样式 */
.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text);
  opacity: 0.7;
  margin-top: 16px;
  margin-bottom: 48px;
}

/* 确保所有section的container都居中 */
.container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 使用场景 */
.use-cases {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0, 212, 255, 0.03) 100%);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.use-case-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #00ff88 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.use-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
}

.use-case-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.use-case-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.use-case-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.8;
}

/* 技术优势 */
.tech-advantages {
  padding: 80px 0;
  background: var(--bg);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.tech-item {
  text-align: center;
  padding: 32px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15);
}

.tech-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.tech-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.tech-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.7;
}

/* 客户案例 */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.03) 0%, var(--bg) 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.2;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15);
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.testimonial-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.9;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.testimonial-author strong {
  font-size: 16px;
  color: var(--primary);
}

.testimonial-author span {
  font-size: 14px;
  color: var(--text);
  opacity: 0.6;
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: var(--bg);
}

.faq-list {
  max-width: 900px;
  margin: 48px auto 0;
}

.faq-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.1);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.85;
}

.faq-item a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
  transition: opacity 0.3s;
}

.faq-item a:hover {
  opacity: 0.7;
}

/* 页脚增强 */
.footer {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 14, 39, 0.95) 100%);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.3s;
  font-size: 14px;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text);
  opacity: 0.6;
  margin-bottom: 8px;
}

.footer-bottom a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--primary);
}

.footer-keywords {
  font-size: 12px;
  opacity: 0.4;
  margin-top: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .use-case-grid,
  .tech-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .use-case-number {
    font-size: 36px;
  }
  
  .tech-icon {
    font-size: 36px;
  }
}

/* 相关知识模块 */
.knowledge-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0, 212, 255, 0.03) 100%);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.knowledge-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}

.knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
  border-color: var(--primary);
}

.knowledge-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--glass-border);
}

.knowledge-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 12px;
}

.knowledge-card strong {
  color: var(--primary);
  font-weight: 600;
}

/* 最新动态模块 */
.news-section {
  padding: 80px 0;
  background: var(--bg);
}

.news-list {
  max-width: 900px;
  margin: 48px auto 0;
}

.news-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.news-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}

.news-date {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background: rgba(0, 212, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-weight: 600;
}

.news-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.news-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.8;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.use-case-card,
.tech-item,
.testimonial-card,
.faq-item,
.knowledge-card,
.news-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.use-case-card:nth-child(1) { animation-delay: 0.1s; }
.use-case-card:nth-child(2) { animation-delay: 0.2s; }
.use-case-card:nth-child(3) { animation-delay: 0.3s; }
.use-case-card:nth-child(4) { animation-delay: 0.4s; }
.use-case-card:nth-child(5) { animation-delay: 0.5s; }
.use-case-card:nth-child(6) { animation-delay: 0.6s; }

.knowledge-card:nth-child(1) { animation-delay: 0.1s; }
.knowledge-card:nth-child(2) { animation-delay: 0.2s; }
.knowledge-card:nth-child(3) { animation-delay: 0.3s; }
.knowledge-card:nth-child(4) { animation-delay: 0.4s; }

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }

/* 响应式补充 */
@media (max-width: 768px) {
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
  
  .news-item {
    padding: 20px;
  }
  
  .news-item:hover {
    transform: translateX(4px);
  }
}
