/* Downloads Page Styles */
.downloads-modern-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.downloads-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.downloads-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ff6b35 0%, #ffa500 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.platform-selector {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(31, 30, 28, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.platform-btn:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.platform-btn.active {
  background: linear-gradient(135deg, rgba(0, 120, 255, 0.2) 0%, rgba(0, 120, 255, 0.1) 100%);
  border-color: #0078ff;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 120, 255, 0.3);
}

.platform-btn i {
  font-size: 1.2rem;
}

.downloads-section {
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, transparent 100%);
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(31, 30, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
  transition: left 0.5s ease;
}

.download-card:hover::before {
  left: 100%;
}

.download-card:hover {
  background: rgba(41, 40, 38, 0.95);
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.download-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 165, 0, 0.1) 100%);
  border-radius: 12px;
  flex-shrink: 0;
  font-size: 1.75rem;
  color: var(--accent-orange);
}

.download-info {
  flex: 1;
  min-width: 0;
}

.download-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.download-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.download-external {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.download-card:hover .download-external {
  background: rgba(255, 107, 53, 0.2);
  color: var(--accent-orange);
  transform: scale(1.1);
}

.installation-guide {
  background: rgba(26, 25, 23, 0.6);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.installation-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.installation-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  counter-increment: step-counter;
  position: relative;
  padding-left: 3rem;
}

.installation-step::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #ffa500 100%);
  border-radius: 50%;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.installation-step:last-child {
  margin-bottom: 0;
}

.step-content {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.step-content strong {
  color: #fff;
  font-weight: 600;
}

.step-content code {
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent-orange);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.faq-section {
  background: rgba(26, 25, 23, 0.6);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.faq-item {
  background: rgba(31, 30, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-orange);
}

.faq-item.active .faq-question {
  color: var(--accent-orange);
}

.faq-chevron {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  transform: rotate(0deg);
}

.faq-item.active .faq-chevron {
  transform: rotate(90deg);
  color: var(--accent-orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer-content {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  padding-top: 1rem;
}

/* System Requirements Table */
.system-requirements-container {
  background: rgba(26, 25, 23, 0.6);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 107, 53, 0.1);
  overflow-x: auto;
}

.system-requirements-table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}

.system-requirements-table thead {
  border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.system-requirements-table th {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.system-requirements-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.system-requirements-table tbody tr:hover {
  background: rgba(255, 107, 53, 0.05);
}

.system-requirements-table td {
  padding: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.req-category {
  font-weight: 600;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

@media (max-width: 768px) {
  .downloads-title {
    font-size: 2rem;
  }

  .download-card {
    flex-direction: column;
    text-align: center;
  }

  .download-icon {
    margin: 0 auto;
  }

  .installation-step {
    padding-left: 3.5rem;
  }

  .system-requirements-table {
    font-size: 0.85rem;
  }

  .system-requirements-table th,
  .system-requirements-table td {
    padding: 0.75rem 0.5rem;
  }
}
