/* 算力租赁页面样式 */

body {
  padding-top: 0;
}

.header {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* banner区域 */
.banner {
  height: 60vh;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.banner .title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.banner .sub-title {
  font-size: 24px;
  opacity: 0.9;
}

/* 锚点导航 */
.nav {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 70px;
  z-index: 100;
}

.nav ul {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.nav ul li a {
  display: block;
  padding: 20px 30px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.nav ul li a:hover {
  color: #7C3AED;
  background: #f8f9fa;
}

/* 文章区域 */
.article {
  padding-bottom: 60px;
}

.section {
  padding: 60px 5%;
}

.section.bg-gray {
  background: #f8f9fa;
}

.title-line {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.title-line .title {
  font-size: 36px;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
}

.title-line .title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #7C3AED, #EC4899);
  border-radius: 2px;
}

.title-line a {
  display: block;
  position: absolute;
  top: -100px;
}

/* 服务优势 */
.advantages {
  max-width: 1200px;
  margin: 0 auto;
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.advantage-item {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}

.advantage-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item .icon i {
  font-size: 28px;
  color: #fff;
}

.advantage-item .title {
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.advantage-item .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* 算力产品 */
.products {
  max-width: 1400px;
  margin: 0 auto;
}

.product-category {
  margin-bottom: 50px;
}

.product-category:last-child {
  margin-bottom: 0;
}

.product-category h3 {
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 30px;
  text-align: center;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}

.product-card.highlight {
  border: 2px solid #7C3AED;
  background: linear-gradient(135deg, #fff 0%, #fdf2f8 100%);
}

.product-card .img {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.product-card .img i {
  font-size: 56px;
  color: #7C3AED;
}

.product-card .title {
  font-size: 20px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.product-card .desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.product-card .spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.product-card .spec span {
  font-size: 14px;
  color: #666;
}

.product-card .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

/* 价格方案 */
.pricing {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-table {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.pricing-table th {
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  color: #fff;
  font-weight: bold;
  font-size: 15px;
}

.pricing-table td {
  font-size: 15px;
  color: #333;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover {
  background: #f8f9fa;
}

.pricing-table .price {
  font-size: 20px;
  font-weight: bold;
  color: #7C3AED;
}

.pricing-table .price span {
  font-size: 14px;
  font-weight: normal;
  color: #666;
}

.pricing-note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #999;
}

/* 使用流程 */
.process {
  max-width: 1200px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.step-num {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: #666;
}

.step-arrow {
  color: #ccc;
  font-size: 24px;
}

/* 立即咨询 */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.contact-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
  background: #fff;
  color: #7C3AED;
  border: 2px solid #7C3AED;
}

.btn-secondary:hover {
  background: #7C3AED;
  color: #fff;
}

/* 响应式 */
@media screen and (max-width: 1024px) {
  .advantage-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner .title {
    font-size: 36px;
  }

  .banner .sub-title {
    font-size: 18px;
  }

  .process-steps {
    flex-wrap: wrap;
    gap: 30px;
  }

  .step-arrow {
    display: none;
  }

  .step {
    flex: 0 0 calc(50% - 30px);
  }
}

@media screen and (max-width: 768px) {
  .banner {
    height: 40vh;
  }

  .banner .title {
    font-size: 28px;
  }

  .banner .sub-title {
    font-size: 16px;
  }

  .nav ul {
    flex-wrap: wrap;
  }

  .nav ul li a {
    padding: 15px 20px;
    font-size: 14px;
  }

  .title-line .title {
    font-size: 24px;
  }

  .advantage-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .pricing-table {
    overflow-x: auto;
  }

  .contact-btns {
    flex-direction: column;
  }

  .step {
    flex: 0 0 100%;
  }
}
