/* Download Page Specific Styles */

.download-hero {
  min-height: 60vh;
  padding: 140px 0 60px;
}

.trial-notice {
  background: var(--secondary-bg);
  border: 2px solid var(--success-green);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 600px;
  margin: 2rem auto 0;
}

.trial-icon svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.trial-text h3 {
  color: var(--success-green);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.trial-text p {
  color: var(--text-secondary);
  margin: 0;
}

.download-sections {
  padding: 80px 0;
  background: var(--primary-bg);
}

.download-card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-xl);
}

.download-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.os-icon {
  background: var(--tertiary-bg);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-header h2 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.75rem;
}

.download-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.download-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--primary-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.download-option:hover {
  border-color: var(--accent-blue);
  background: var(--tertiary-bg);
}

.download-info h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.download-info p {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.download-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.file-size,
.architecture {
  background: var(--tertiary-bg);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-weight: 600;
  white-space: nowrap;
}

.download-btn svg {
  width: 20px;
  height: 20px;
}

.code-block {
  background: var(--tertiary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  position: relative;
  overflow-x: auto;
}

.code-block code {
  font-family: 'Monaco', 'Menlo', 'Cascadia Code', monospace;
  color: var(--text-primary);
  font-size: 0.9rem;
  display: block;
  white-space: nowrap;
  margin-right: 100px;
  /* Space for copy button */
}

.copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
}

.support-section {
  padding: 2rem 0 0;
}

.support-card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.support-icon {
  margin: 0 auto 1.5rem;
  width: fit-content;
  background: var(--tertiary-bg);
  padding: 1rem;
  border-radius: 12px;
}

.support-content h2 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.support-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.support-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.support-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
}

/* Responsive Design for Download Page */
@media (max-width: 1024px) {
  .download-option {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-info {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .download-hero {
    min-height: 50vh;
    padding: 120px 0 40px;
  }

  .trial-notice {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .download-card {
    padding: 1.5rem;
  }

  .download-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .download-option {
    padding: 1rem;
  }

  .download-meta {
    justify-content: center;
  }

  .support-links {
    flex-direction: column;
    align-items: center;
  }

  .support-links a {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .download-sections {
    padding: 60px 0;
  }

  .download-card {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }

  .code-block {
    padding: 0.75rem;
  }

  .code-block code {
    font-size: 0.8rem;
    margin-right: 80px;
  }

  .copy-btn {
    padding: 0.5rem;
    font-size: 0.7rem;
  }
}

/* Animation for successful copy */
@keyframes copySuccess {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.copy-btn.success {
  animation: copySuccess 0.3s ease;
}