/* gouche-bidu 页面专属样式 */

/* Hero区 */
.hero {
  background: linear-gradient(135deg, #ff7d00 0%, #ff9330 100%);
  padding: 50px 0;
  text-align: center;;
  color: #fff;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: #fff;
  color: #ff7d00;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* 模块通用样式 */
.module {
  padding: 60px 0;
}

.module-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.module-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-top: -30px;
  margin-bottom: 40px;
}

/* 模块1：购车全流程图 */
.process-section {
  background: #fff;
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 150px;
  text-align: center;
  position: relative;
}

.process-step::after {
  content: "→";
  position: absolute;
  right: -20px;
  top: 30px;
  font-size: 24px;
  color: #ff7d00;
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff7d00, #ff9330);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 15px;
}

.step-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.step-link {
  display: inline-block;
  padding: 8px 16px;
  background: #fff9f0;
  color: #ff7d00;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid #ff7d00;
  transition: 0.3s;
}

.step-link:hover {
  background: #ff7d00;
  color: #fff;
}

/* 购车知识卡片 */
.knowledge-section {
  background: #f7f8fa;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.knowledge-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.knowledge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 125, 0, 0.12);
  border-color: #ff7d00;
}

.card-icon-wrap {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #fff9f0, #fff4e5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.card-icon-wrap i {
  font-size: 18px;
  color: #ff7d00;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.card-steps span {
  font-size: 10px;
  color: #ff7d00;
  background: #fff9f0;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Tab 切换样式 */
.tab-section {
  margin-bottom: 40px;
  background: #fff;
  padding: 20px 0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.tab-section .container {
  max-width: 1200px;
  padding: 0 20px;
}

.tab-nav {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.tab-item {
  padding: 12px 30px;
  background: #f7f8fa;
  border: 1px solid #e8e8e8;
  border-radius: 30px;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  font-weight: 500;
}

.tab-item:hover {
  border-color: #ff7d00;
  color: #ff7d00;
  background: #fff9f0;
}

.tab-item.active {
  background: linear-gradient(135deg, #ff7d00, #ff9330);
  color: #fff;
  border-color: #ff7d00;
  box-shadow: 0 4px 12px rgba(255, 125, 0, 0.3);
}

/* 卡片隐藏样式 */
.knowledge-card.hidden {
  display: none;
}

/* 更多按钮 */
.more-btn-wrap {
  text-align: center;
  margin-top: 40px;
}

.more-btn {
  display: inline-block;
  padding: 12px 50px;
  background: #ff7d00;
  color: #fff;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
  border: 2px solid #ff7d00;
}

.more-btn:hover {
  background: #fff;
  color: #ff7d00;
}

/* 模块3：避坑指南 */
.pitfalls-section {
  background: #fff;
}

.pitfall-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.pitfall-card {
  background: #f7f8fa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.pitfall-card:hover {
  background: #fff;
  border-color: #ff7d00;
  box-shadow: 0 6px 16px rgba(255, 125, 0, 0.15);
  transform: translateY(-3px);
}

.pitfall-card .card-icon {
  width: 48px;
  height: 48px;
  background: #fff9f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ff7d00;
  margin-bottom: 12px;
  border: 1px solid #ff7d00;
}

.pitfall-card .card-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.pitfall-card .card-desc {
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
  flex: 1;
}

.pitfall-card .card-link {
  font-size: 13px;
  color: #ff7d00;
  font-weight: 500;
  text-decoration: underline;
}

.pitfall-card .card-link:hover {
  color: #ff9330;
}

/* 模块4：政策速递 */
.policy-section {
  background: #fff;
  border-top: 1px solid #f0f0f0;
  border-bottom:1px solid #f0f0f0;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.policy-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
}

.policy-card .policy-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.policy-card .policy-icon {
  width: 36px;
  height: 36px;
  background: #fff9f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ff7d00;
  border: 1px solid #ff7d00;
}

.policy-card .policy-header-content {
  flex: 1;
}

.policy-card .policy-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.policy-card .policy-tag {
  font-size: 12px;
  color: #ff7d00;
}

.policy-card .policy-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
}

.policy-card .policy-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f8fa;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 15px;
}

.policy-card .policy-search i {
  color: #999;
}

.policy-card .policy-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #333;
  outline: none;
}

.policy-card .policy-search input::placeholder {
  color: #999;
}

.policy-card .policy-item {
  background: #fafafa;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 12px;
}

.policy-card .policy-item:last-child {
  margin-bottom: 0;
}

.policy-card .policy-item .item-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.policy-card .policy-item .item-header i {
  color: #ff7d00;
}

.policy-card .policy-item .item-content {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

.policy-card .policy-item .item-content p {
  margin: 4px 0;
}

.policy-card .policy-item .item-link {
  display: inline-block;
  font-size: 12px;
  color: #ff7d00;
  margin-top: 10px;
  font-weight: 500;
}

.policy-card .policy-item .item-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.policy-card .policy-item .action-btn {
  font-size: 12px;
  color: #ff7d00;
  padding: 4px 10px;
  border: 1px solid #ff7d00;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.policy-card .policy-item .action-btn:hover {
  background: #ff7d00;
  color: #fff;
}

/* 模块7：常见问题FAQ */
.faq-section {
  background: #fff;
}

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

.faq-item {
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #fff9f0;
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle {
  font-size: 20px;
  color: #ff7d00;
  transition: 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* 服务保障模块 */
.service-section {
  background: #f5f5f5;
  padding: 40px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #ff7d00;
  box-shadow: 0 4px 12px rgba(255, 125, 0, 0.1);
}

.service-card .service-icon {
  font-size: 24px;
  color: #ff7d00;
  margin-bottom: 12px;
}

.service-card .service-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.service-card .service-link {
  font-size: 14px;
  color: #ff7d00;
  font-weight: 500;
}

/* ========== 移动端响应式样式 ========== */
@media (max-width: 768px) {
  .hero {
    padding: 30px 0;
  }

  .hero h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .cta-btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .module {
    padding: 30px 0;
  }

  .module-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .module-subtitle {
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 20px;
  }

  .process-timeline {
    gap: 15px;
  }

  .process-step {
    min-width: 100px;
    flex: 1;
  }

  .process-step::after {
    display: none;
  }

  .step-number {
    width: 45px;
    height: 45px;
    font-size: 18px;
    margin: 0 auto 10px;
  }

  .step-title {
    font-size: 14px;
  }

  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .knowledge-card {
    padding: 14px;
  }

  .card-icon-wrap {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .card-icon-wrap i {
    font-size: 16px;
  }

  .card-title {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .card-desc {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .card-steps span {
    font-size: 9px;
    padding: 1px 5px;
  }

  .tab-section {
    margin-bottom: 20px;
    padding: 10px 0;
  }

  .tab-nav {
    gap: 8px;
  }

  .tab-item {
    padding: 8px 20px;
    font-size: 13px;
  }

  .more-btn-wrap {
    margin-top: 20px;
  }

  .more-btn {
    padding: 10px 30px;
    font-size: 14px;
  }

  .pitfall-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pitfall-card {
    padding: 16px;
  }

  .pitfall-card .card-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-bottom: 8px;
  }

  .pitfall-card .card-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .pitfall-card .card-desc {
    font-size: 12px;
    margin-bottom: 0;
  }

  .pitfall-card .card-link {
    display: none;
  }

  .policy-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .policy-card {
    padding: 16px;
  }

  .policy-card .policy-header {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .policy-card .policy-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .policy-card .policy-title {
    font-size: 14px;
  }

  .policy-card .policy-item {
    padding: 10px;
    margin-bottom: 10px;
  }

  .policy-card .policy-item .item-content {
    font-size: 12px;
  }

  .faq-list {
    width: 100%;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 13px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card .service-icon {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .service-card .service-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .service-card .service-link {
    font-size: 13px;
  }
}

