/* ==========================================================================
   DRX.BOT Website - Download Page Stylesheet
   ========================================================================== */

:root {
  --dl-primary: #d97706;
  --dl-primary-hover: #f59e0b;
  --dl-primary-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --dl-bg-card: rgba(31, 41, 55, 0.4);
  --dl-glass-border: rgba(251, 191, 36, 0.15);
  --dl-text-primary: #ffffff;
  --dl-text-secondary: rgba(255, 255, 255, 0.7);
}

.download-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: auto;
}

.download-wrapper {
  position: relative;
  z-index: 1;
  pointer-events: none;
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dl-badge,
.dl-title,
.dl-subtitle,
.dl-actions,
.dl-purchase-note,
.section-header,
.feature-box,
.install-card,
.features-more {
  pointer-events: auto;
}

.download-hero {
  padding: 8.5rem 0 4rem;
  width: 100%;
  text-align: center;
}

.dl-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(217, 119, 6, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.dl-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.3rem);
  font-weight: 700;
  color: var(--dl-text-primary);
  margin: 0 0 1rem;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.dl-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--dl-text-secondary);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  font-weight: 400;
}

.dl-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.dl-btn-primary {
  background: var(--dl-primary-gradient);
  color: #000000 !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
  border: none;
}

.dl-btn-primary svg {
  stroke: #000000 !important;
}

.dl-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  color: #000000 !important;
  text-shadow: none;
}

.dl-btn-outline {
  background: rgba(17, 24, 39, 0.5);
  color: var(--dl-text-primary) !important;
  border: 1px solid var(--dl-glass-border);
  backdrop-filter: blur(8px);
}

.dl-btn-outline:hover {
  background: rgba(217, 119, 6, 0.1);
  border-color: #fbbf24;
  color: #fbbf24 !important;
  transform: translateY(-3px);
}

.dl-purchase-note {
  margin: 1.35rem auto 0;
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- Install Section --- */
.download-install {
  padding: 0 0 3rem;
  width: 100%;
}

.install-container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.5rem;
  max-width: 1100px;
}

.install-card {
  background: var(--dl-bg-card);
  border: 1px solid var(--dl-glass-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.install-card h2 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.5rem;
  color: var(--dl-text-primary);
  margin: 0 0 1rem;
}

.install-steps,
.install-reqs {
  color: var(--dl-text-secondary);
  line-height: 1.7;
  margin: 0;
  padding-left: 1.25rem;
}

.install-steps li,
.install-reqs li {
  margin-bottom: 0.6rem;
}

.install-more {
  color: var(--dl-text-secondary);
  margin: 1rem 0 0;
}

.install-more a,
.features-more a {
  color: #fbbf24;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 2rem;
  color: var(--dl-text-primary);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--dl-text-secondary);
  font-size: 1.1rem;
}

/* --- Features Grid Section --- */
.download-features {
  padding: 2rem 0 6rem;
  width: 100%;
}

.bento-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-box {
  background: var(--dl-bg-card);
  border: 1px solid var(--dl-glass-border);
  border-radius: 16px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-box:hover {
  border-color: #fbbf24;
  background: rgba(31, 41, 55, 0.8);
  transform: translateY(-5px);
}

.feature-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-box:hover .feature-emoji {
  transform: scale(1.15) rotate(5deg);
}

.feature-box h3 {
  color: var(--dl-text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}

.feature-box h3 a {
  color: inherit;
  text-decoration: none;
}

.highlight-box {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(217, 119, 6, 0.05);
}

.features-more {
  text-align: center;
  margin: 2rem 0 0;
}

@media (max-width: 1024px) {
  .bento-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .download-hero {
    padding: 6.5rem 0 3rem;
  }
  .install-container {
    grid-template-columns: 1fr;
  }
  .dl-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .dl-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .bento-grid-4 {
    grid-template-columns: 1fr;
  }
}
