/* 下载英雄区域 */
.download_header {
  padding: 180px 0 100px;
  text-align: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.download_header h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.download_header p {
  font-size: 20px;
  color: #636e72;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* 下载选项区域 */
.download_options {
  padding: 100px 0;
  background-color: white;
}

.download_title {
  text-align: center;
  margin-bottom: 60px;
}

.download_title h2 {
  font-size: 36px;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.download_title p {
  color: #636e72;
  max-width: 700px;
  margin: 0 auto;
}

.platform_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.platform_card {
  background-color: #f9fafc;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.platform_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.platform_card-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.platform_card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.platform_card p {
  color: #636e72;
  margin-bottom: 25px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.download-btn i {
  margin: 0 5px;
}

.download-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 下载历史 */
.download_history {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.download_history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: white;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.download_history-table th,
.download_history-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.download_history-table th {
  background: #f9fafc;
  font-weight: 600;
  color: var(--dark-color);
}

.download_history-table tr:last-child td {
  border-bottom: none;
}

.download_history-table tr:hover {
  background: #f9fafc;
}

.download_history-code {
  display: inline-block;
  padding: 4px 8px;
  background: var(--success-color);
  color: white;
  border-radius: 4px;
  font-size: 0.9rem;
}

.download_platform-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.download_platform-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #f8f9fa;
  color: var(--dark-color);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid #eee;
}

.download_platform-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.download_platform-link i {
  margin-right: 6px;
  font-size: 0.9rem;
}

.download_platform-link.windows:hover {
  background: #0078d7;
}

.download_platform-link.macos:hover {
  background: #a2aaad;
}

.download_platform-link.linux:hover {
  background: #333;
}

/* 系统要求 */
.download_system {
  padding: 100px 0;
  background-color: white;
}

.download_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.download_card {
  background-color: #f9fafc;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.download_card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--dark-color);
  font-size: 20px;
}

.download_card h4 i {
  color: var(--primary-color);
}

.download_card ul {
  list-style: none;
}

.download_card li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #636e72;
}

.download_card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--success-color);
}

/* 常见问题 */
.download_faq {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.faq_item {
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq_item-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--dark-color);
  transition: var(--transition);
}

.faq_item-question:hover {
  background: #f9fafc;
}

.faq_item-question i {
  transition: transform 0.3s ease;
}

.faq_item-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #636e72;
}

.faq_item-answer.active {
  padding: 20px;
  max-height: 1000px;
}

.faq_item-question.active i {
  transform: rotate(180deg);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .download_header {
    padding: 150px 0 60px;
  }

  .download_header h1 {
    font-size: 36px;
  }

  .download_header p {
    font-size: 18px;
  }

  .platform_grid,
  .download_grid {
    grid-template-columns: 1fr;
  }

  .download_history-table {
    display: block;
    overflow-x: auto;
  }
}
