:root {
  --bg-main: #0d0d0d;
  --bg-card: #151515;
  --bg-surface: #1a1a1a;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
}

html.light-mode {
  --bg-main: #ffffff;
  --bg-card: #f8faff;
  --bg-surface: #ffffff;
  --text-primary: #111c32;
  --text-secondary: #6b7280;
}

.download-page {
  min-height: 100vh;
  padding-top: 100px;
  background: var(--bg-main);
  color: var(--text-primary);
}

html.light-mode .download-page {
  background: linear-gradient(180deg, #f5f7ff 0%, #eef1ff 40%, #ffffff 100%);
}

.download-hero {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
  border-radius: 1.5rem;
  padding: 3rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

html.light-mode .download-hero {
  border-color: rgba(16, 24, 40, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, #6F42C1, #1DB954);
  padding: 2px;
  margin-bottom: 1.5rem;
}

.app-icon-inner {
  width: 100%;
  height: 100%;
  background: #0b0f19;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.light-mode .app-icon-inner {
  background: #ffffff;
}

.app-icon svg {
  width: 70%;
  height: 70%;
}

.download-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.download-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.download-btn-main {
  background: linear-gradient(135deg, #6F42C1, #1DB954);
  color: #fff;
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.download-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(111, 66, 193, 0.3);
  color: #fff;
}

.download-btn-main i {
  font-size: 1.5rem;
}

.app-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

html.light-mode .app-info {
  border-top-color: rgba(16, 24, 40, 0.15);
}

.app-info-item {
  text-align: center;
}

.app-info-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1DB954;
}

.app-info-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.features-section {
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

html.light-mode .feature-card {
  border-color: rgba(16, 24, 40, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(111, 66, 193, 0.2), rgba(29, 185, 84, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon i {
  font-size: 1.75rem;
  background: linear-gradient(135deg, #6F42C1, #1DB954);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.screenshots-section {
  margin-top: 3rem;
  text-align: center;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.screenshot-wrapper {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-wrapper img {
  width: 200px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.install-steps {
  margin-top: 3rem;
}

.step-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

html.light-mode .step-card {
  border-color: rgba(16, 24, 40, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6F42C1, #1DB954);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.requirements-section {
  margin-top: 3rem;
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

html.light-mode .requirements-section {
  border-color: rgba(16, 24, 40, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 2rem;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-primary);
}

html.light-mode .requirement-item {
  border-bottom-color: rgba(16, 24, 40, 0.1);
}

.requirement-item:last-child {
  border-bottom: none;
}

.requirement-item i {
  color: #1DB954;
  font-size: 1.25rem;
}

/* Text muted visibility fix */
html.light-mode .text-muted,
html.light-mode .site-footer .text-muted,
html.light-mode .site-footer a.text-muted {
  color: var(--text-secondary) !important;
}

html.light-mode .site-footer a.text-muted:hover {
  color: var(--text-primary) !important;
}
