/* 麻豆 - 优化版CSS样式表 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部 */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
}

.logo a {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #d946ef;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

nav a:hover {
  color: #d946ef;
}

.search-box {
  display: flex;
  gap: 10px;
  background: #f5f5f5;
  padding: 8px 15px;
  border-radius: 20px;
  min-width: 200px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 14px;
}

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* 面包屑导航 */
.breadcrumb {
  background: #f9f9f9;
  padding: 10px 0;
  font-size: 13px;
  color: #6b7280;
}

.breadcrumb a {
  color: #d946ef;
  text-decoration: none;
}

/* 英雄横幅 */
.hero-banner {
  padding: 100px 0;
  color: white;
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 按钮 */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #d946ef, #ec4899);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217, 70, 239, 0.3);
}

.btn-secondary {
  background: white;
  color: #d946ef;
  border: 2px solid #d946ef;
}

.btn-secondary:hover {
  background: #f5f3ff;
}

/* 章节 */
.section {
  padding: 60px 0;
  border-bottom: 1px solid #f0f0f0;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #1f2937;
  text-align: center;
}

.section-description {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
  font-size: 16px;
}

/* 企业资质模块 */
.enterprise-qualification {
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.5), rgba(240, 240, 255, 0.5));
}

.qualification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.qualification-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.qualification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(217, 70, 239, 0.15);
}

.qualification-card h3 {
  color: #d946ef;
  margin-bottom: 15px;
  font-size: 18px;
}

.qualification-card p {
  color: #6b7280;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

/* 视频网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(217, 70, 239, 0.2);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(217, 70, 239, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .play-button {
  opacity: 1;
}

.badge-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #d946ef, #ec4899);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1f2937;
  line-height: 1.4;
}

.video-stats {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 13px;
}

.stat {
  color: #6b7280;
}

.publish-date {
  font-size: 12px;
  color: #9ca3af;
}

/* 特性网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(217, 70, 239, 0.15);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1f2937;
}

.feature-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

/* 专家网格 */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.expert-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid #d946ef;
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(217, 70, 239, 0.15);
}

.expert-header {
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
}

.expert-header h3 {
  font-size: 18px;
  color: #1f2937;
  margin-bottom: 5px;
}

.expert-title {
  color: #d946ef;
  font-weight: 600;
  font-size: 14px;
}

.expert-content p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* 合作品牌 */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.partner-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  font-weight: 600;
  color: #6b7280;
}

.partner-item:hover {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.1), rgba(236, 72, 153, 0.1));
  color: #d946ef;
}

/* 步骤网格 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.step-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(217, 70, 239, 0.15);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d946ef, #ec4899);
  color: white;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1f2937;
}

.step-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.05), rgba(236, 72, 153, 0.05));
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.1), rgba(236, 72, 153, 0.1));
}

.faq-question h3 {
  font-size: 16px;
  color: #1f2937;
  margin: 0;
}

.faq-toggle {
  font-size: 24px;
  color: #d946ef;
  font-weight: bold;
}

.faq-answer {
  padding: 20px;
  color: #6b7280;
  line-height: 1.8;
}

/* 评论网格 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(217, 70, 239, 0.15);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.review-header span {
  font-weight: 600;
  color: #1f2937;
}

.review-rating {
  display: flex;
  gap: 5px;
  align-items: center;
}

.star {
  font-size: 14px;
}

.review-content {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 14px;
}

.review-date {
  font-size: 12px;
  color: #9ca3af;
}

/* 联系方式 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.contact-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(217, 70, 239, 0.15);
}

.contact-card h3 {
  color: #d946ef;
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-card p {
  color: #6b7280;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

/* 页脚 */
footer {
  background: #1f2937;
  color: white;
  padding: 50px 0 20px;
}

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

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 16px;
}

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

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

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #d946ef;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
}

.footer-bottom a {
  color: #d946ef;
  text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
  }

  .search-box {
    min-width: 100%;
  }

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

  .hero-subtitle {
    font-size: 16px;
  }

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

  .btn {
    width: 100%;
  }

  .section h2 {
    font-size: 24px;
  }

  .video-grid,
  .feature-grid,
  .expert-grid,
  .partner-grid,
  .steps-grid,
  .reviews-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .qualification-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

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

  .hero-subtitle {
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .section h2 {
    font-size: 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

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

.video-card,
.feature-card,
.expert-card,
.review-card {
  animation: fadeIn 0.6s ease-out;
}

/* 打印样式 */
@media print {
  header,
  footer,
  .search-box {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}


/* Generated logo icon styles */
.logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-logo-icon {
  width: 40px;
  height: 40px;
  display: inline-block;
  border-radius: 12px;
}
.logo span {
  line-height: 1;
}
