/* =============================================
   SMART LOAD ACADEMY - STYLES
   ============================================= */

/* Hero Section */
.academy-hero {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Progress Overview Cards */
.progress-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #00D9FF 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Modules Section */
.modules-section {
  padding: 4rem 0;
  background: var(--bg-dark);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Module Card */
.module-card {
  position: relative;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.module-card.free:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.module-card.locked {
  opacity: 0.7;
}

.module-card.locked:hover {
  opacity: 1;
  border-color: rgba(255, 107, 53, 0.3);
}

/* Module Badge */
.module-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.module-badge.free {
  background: linear-gradient(90deg, #00D9FF 0%, #00B8FF 100%);
  color: white;
}

.module-badge.locked {
  background: rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
}

.module-badge.premium {
  background: linear-gradient(90deg, #FF6B35 0%, #FF8C35 100%);
  color: white;
}

/* Module Content */
.module-number {
  font-size: 0.875rem;
  color: #666;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.module-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.module-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: white;
}

.module-desc {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  min-height: 3rem;
}

.module-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #888;
}

/* Progress Bar */
.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00D9FF 0%, #FF6B35 100%);
  border-radius: 1rem;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 0.75rem;
  color: #666;
  text-align: right;
  margin-bottom: 1rem;
}

/* Module Button */
.btn-module {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.module-card.free .btn-module {
  background: linear-gradient(90deg, #00D9FF 0%, #FF6B35 100%);
  color: white;
}

.module-card.free .btn-module:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
}

.module-card.locked .btn-module {
  background: rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.module-card.locked .btn-module:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

/* Locked Overlay */
.locked-overlay {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.lock-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.locked-overlay p {
  font-size: 0.875rem;
  color: #888;
}

/* Animated Background */
.bg-animated {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .progress-overview {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 2rem;
  }

  .module-title {
    font-size: 1.25rem;
  }
}
