/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; line-height: 1.6; }

/* === Navbar === */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background: rgba(0,0,0,0.1); }
.logo img { height: 48px; }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 600; }

/* === Hero === */
.hero { background: linear-gradient(135deg, #6C63FF, #3F3D56); color: #fff; min-height: 90vh; display: flex; flex-direction: column; }
.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 2rem; }
.hero-content h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; }

/* === Buttons === */
.cta-buttons { display: flex; gap: 1rem; }
.btn { padding: 0.8rem 2rem; border-radius: 30px; text-decoration: none; font-weight: 700; transition: transform 0.2s; }
.btn:hover { transform: scale(1.05); }
.btn-primary { background: #FFD700; color: #333; }
.btn-secondary { background: transparent; border: 2px solid #fff; color: #fff; }

/* === Sections === */
.section { padding: 4rem 5%; text-align: center; }
.section h2 { font-size: 2rem; margin-bottom: 1.5rem; color: #3F3D56; }

/* === Courses Grid === */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2rem; }
.course-card { background: #f9f9f9; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.2s; }
.course-card:hover { transform: translateY(-4px); }
.course-card img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 1rem; }
.course-card h3 { color: #6C63FF; margin-bottom: 0.5rem; }

/* === Download === */
.download-section { background: #3F3D56; color: #fff; }
.download-section h2 { color: #FFD700; }
.store-buttons { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.store-badge img { height: 50px; }

/* === Footer === */
footer { text-align: center; padding: 2rem; background: #222; color: #aaa; font-size: 0.9rem; }

/* === Responsive === */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 1.8rem; }
    .nav-links { display: none; }
    .cta-buttons { flex-direction: column; }
}


/* === Legal Pages Styles === */
.prose {
  color: #d1d5db;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  color: #ffffff;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.prose ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: #ffffff;
  font-weight: 600;
}

.prose a {
  color: #00FFFF;
  text-decoration: none;
  transition: color 0.2s;
}

.prose a:hover {
  color: #6C63FF;
  text-decoration: underline;
}

/* Improve readability for legal content */
.bg-dark-800\/50 {
  backdrop-filter: blur(10px);
}

/* Responsive adjustments for legal pages */
@media (max-width: 640px) {
  .prose h1 {
    font-size: 1.875rem;
  }
  
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}