/* ============================================================
   Francophone Academy — Curriculum Premium Styles
   Version 2.0.0 — Gradients, Glassmorphism, Animations
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  --fa-green: #064e3b;
  --fa-green-light: #065f46;
  --fa-gold: #c9a227;
  --fa-gold-dark: #d97706;
  --fa-coral: #ff5f6d;
  --fa-blue: #3b82f6;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(6, 78, 59, 0.08);
  --shadow-lg: 0 12px 40px rgba(6, 78, 59, 0.12);
  --shadow-xl: 0 20px 60px rgba(6, 78, 59, 0.16);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(201, 162, 39, 0); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== PROGRAM CARD STAGGERED ANIMATION ===== */
.program-card {
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}
.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }

/* ===== PATH NODE PULSE ===== */
.path-node-premium.current {
  animation: pulse 2s infinite;
}

/* ===== FLAME ICON ===== */
.flame-icon {
  display: inline-flex;
  color: #f97316;
  filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.3));
}

/* ===== GLASSMORPHISM ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

/* ===== PROGRAMS PAGE ===== */
.programs-section {
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--fa-green);
  margin-bottom: 24px;
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--fa-gold), var(--fa-gold-dark));
  border-radius: 999px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.program-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fa-gold), var(--fa-gold-dark));
  opacity: 0;
  transition: opacity 0.3s;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.program-card:hover::before {
  opacity: 1;
}

.program-shine {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(201, 162, 39, 0.03) 50%,
    transparent 60%
  );
  animation: shimmer 3s infinite;
  pointer-events: none;
}

.program-active {
  border: 2px solid var(--fa-gold);
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
}

.program-locked {
  opacity: 0.75;
  background: #f9fafb;
}

.program-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.badge-locked {
  background: #f3f4f6;
  color: #9ca3af;
}

.program-flag {
  font-size: 56px;
  margin-bottom: 12px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.program-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.program-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}

.program-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-item .stat-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.stat-item .stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--fa-green);
}

.stat-item .stat-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.program-price {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--fa-green), var(--fa-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.price-period {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  -webkit-text-fill-color: #6b7280;
}

/* ===== BUTTONS PREMIUM ===== */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--fa-gold) 0%, var(--fa-gold-dark) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4);
}

.btn-premium:hover::after {
  left: 100%;
}

.btn-premium:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-locked {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-locked:hover {
  transform: none;
  box-shadow: none;
}

.btn-live {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-live:hover {
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.btn-arrow {
  transition: transform 0.3s;
}

.btn-premium:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* ===== PROGRESS RING ===== */
.program-progress-card {
  padding: 40px;
  margin-bottom: 32px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.progress-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.progress-flag {
  font-size: 48px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.progress-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.progress-meta {
  font-size: 14px;
  color: #6b7280;
}

.progress-ring-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-ring {
  transform: rotate(-90deg);
  width: 120px;
  height: 120px;
}

.progress-track {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 8;
}

.progress-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-percent {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--fa-gold), var(--fa-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== TIMELINE ===== */
.weeks-timeline {
  position: relative;
  margin-bottom: 40px;
  padding: 24px 0;
}

.timeline-track {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e 0%, #c9a227 50%, #e5e7eb 100%);
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 999px;
}

.timeline-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.timeline-node:hover {
  transform: scale(1.15);
}

.node-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid #e5e7eb;
  margin-bottom: 6px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.timeline-node.completed .node-circle {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.timeline-node.active .node-circle {
  background: linear-gradient(135deg, var(--fa-gold), var(--fa-gold-dark));
  border-color: var(--fa-gold);
  animation: pulse 2s infinite;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

.timeline-node.locked .node-circle {
  background: #f3f4f6;
  border-color: #e5e7eb;
  opacity: 0.6;
}

.node-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

.timeline-node.completed .node-label,
.timeline-node.active .node-label {
  color: var(--fa-green);
  font-weight: 700;
}

/* ===== WEEK DETAIL ===== */
.week-card {
  padding: 32px;
}

.week-header {
  margin-bottom: 24px;
}

.week-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--fa-green), var(--fa-green-light));
  color: white;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.week-duration {
  font-size: 13px;
  color: #6b7280;
  margin-left: 12px;
}

.week-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s;
  position: relative;
}

.tab-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--fa-green), var(--fa-green-light));
  color: white;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.2);
}

.week-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ===== CONTENT PANEL ===== */
.content-panel h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fa-green);
  margin: 24px 0 12px;
}

.objectives-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.objectives-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: #374151;
}

.obj-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.stats-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(34, 197, 94, 0.1);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.15);
}

.stat-icon-bg {
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-card .stat-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--fa-green);
  display: block;
}

.stat-card .stat-label {
  font-size: 12px;
  color: #6b7280;
}

.culture-box-premium {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #fefce8, #fef9c3);
  border-radius: 16px;
  border-left: 4px solid var(--fa-gold);
}

.culture-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.culture-content h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #92400e;
}

.culture-content p {
  margin: 0;
  font-size: 13px;
  color: #a16207;
  line-height: 1.5;
}

/* ===== STUDENT DASHBOARD PREMIUM ===== */
.student-header-premium {
  background: linear-gradient(135deg, var(--fa-green) 0%, var(--fa-green-light) 50%, #047857 100%);
  color: white;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.student-header-premium::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.student-header-premium h1 {
  color: white !important;
  font-size: 28px;
  margin-bottom: 6px;
  position: relative;
}

.student-header-premium .header-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  position: relative;
}

.header-stats-premium {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  position: relative;
}

.stat-glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
}

.stat-glass:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.stat-glass .stat-icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.stat-glass .stat-value {
  font-size: 24px;
  font-weight: 800;
}

.stat-glass .stat-label {
  font-size: 0.75rem; /* 12 px — lisible sur le hero vert */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;     /* blanc : contraste garanti sur fond vert premium */
  opacity: 1;         /* fini le gris fonce semi-transparent */
}

/* ===== STREAK PREMIUM ===== */
.streak-section {
  margin-bottom: 28px;
}

.streak-card-premium {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border-left: 4px solid var(--fa-gold);
}

.streak-flames {
  font-size: 40px;
  line-height: 1;
  animation: float 3s ease-in-out infinite;
}

.streak-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1a1a1a;
}

.streak-info p {
  color: #6b7280;
  margin: 0 0 12px;
}

.streak-bar-premium {
  width: 240px;
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.streak-fill-premium {
  height: 100%;
  background: linear-gradient(90deg, #f97316, var(--fa-gold), var(--fa-gold-dark));
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.streak-next {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
}

/* ===== CURRENT WEEK PREMIUM ===== */
.current-week-section {
  margin-bottom: 28px;
}

.current-week-card-premium {
  padding: 32px;
  border: 2px solid var(--fa-gold);
  position: relative;
  overflow: hidden;
}

.current-week-card-premium::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.week-badge-premium {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--fa-gold), var(--fa-gold-dark));
  color: white;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.current-week-card-premium h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1a1a1a;
}

.week-theme {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 15px;
}

.week-progress-bar-premium {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  margin-bottom: 24px;
  overflow: hidden;
}

.week-progress-fill-premium {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.week-actions-premium {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quiz-score-badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #dcfce7, #d1fae5);
  color: #166534;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== LEARNING PATH PREMIUM ===== */
.learning-path-section {
  margin-bottom: 28px;
}

.learning-path-premium {
  position: relative;
  padding-left: 24px;
}

.path-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #22c55e 0%, var(--fa-gold) 50%, #e5e7eb 100%);
  border-radius: 999px;
}

.path-weeks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.path-week-premium {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: white;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  border: 1px solid rgba(0,0,0,0.04);
}

.path-week-premium:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.path-week-premium.completed {
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
  border-left: 4px solid #22c55e;
}

.path-week-premium.current {
  background: linear-gradient(135deg, #fefce8, #ffffff);
  border-left: 4px solid var(--fa-gold);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.1);
}

.path-week-premium.locked {
  opacity: 0.6;
  cursor: not-allowed;
}

.path-week-premium.locked:hover {
  transform: none;
  box-shadow: none;
}

.path-node-premium {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.path-node-premium.completed {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.path-node-premium.current {
  background: linear-gradient(135deg, var(--fa-gold), var(--fa-gold-dark));
  color: white;
}

.pulse-ring {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--fa-gold);
  animation: pulse 2s infinite;
  z-index: -1;
}

.current-dot {
  width: 12px; height: 12px;
  background: white;
  border-radius: 50%;
}

.path-node-premium.locked {
  background: #f3f4f6;
  color: #9ca3af;
}

.path-content-premium {
  flex: 1;
}

.path-week-num {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.path-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 4px 0;
}

.path-subtitle {
  font-size: 13px;
  color: #6b7280;
}

.path-score-premium {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #dcfce7, #d1fae5);
  color: #166534;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== ACHIEVEMENTS PREMIUM ===== */
.achievements-section {
  margin-bottom: 28px;
}

.achievements-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.achievement-card-premium {
  background: white;
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.achievement-card-premium.unlocked {
  background: linear-gradient(135deg, #fefce8 0%, #ffffff 100%);
  border: 2px solid var(--fa-gold);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.15);
}

.achievement-card-premium.unlocked:hover {
  transform: translateY(-6px) rotate(2deg);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.2);
}

.achievement-card-premium.locked {
  opacity: 0.5;
  filter: grayscale(0.8);
}

.achievement-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.achievement-icon {
  font-size: 40px;
  display: block;
  position: relative;
  z-index: 1;
}

.achievement-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.achievement-card-premium h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1a1a1a;
}

.achievement-card-premium p {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}

.achievement-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
}

.achievement-card-premium.unlocked .achievement-status {
  background: linear-gradient(135deg, #dcfce7, #d1fae5);
  color: #166534;
}

.achievement-card-premium.locked .achievement-status {
  background: #f3f4f6;
  color: #9ca3af;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .progress-header {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .timeline-nodes {
    overflow-x: auto;
    padding-bottom: 12px;
    gap: 8px;
  }

  .timeline-node {
    min-width: 56px;
  }

  .week-actions,
  .week-actions-premium {
    flex-direction: column;
  }

  .btn-premium,
  .btn-large {
    width: 100%;
    justify-content: center;
  }

  .achievements-grid-premium {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-stats-premium {
    flex-wrap: wrap;
  }

  .stat-glass {
    flex: 1;
    min-width: 100px;
  }

  .streak-card-premium {
    flex-direction: column;
    text-align: center;
  }

  .streak-bar-premium {
    width: 100%;
  }

  .learning-path-premium {
    padding-left: 16px;
  }

  .path-line {
    left: 12px;
  }
}

@media (max-width: 480px) {
  .program-card {
    padding: 24px 20px;
  }

  .program-flag {
    font-size: 40px;
  }

  .student-header-premium {
    padding: 24px;
  }

  .student-header-premium h1 {
    font-size: 22px;
  }
}
