/* ========================================
   Academy FC Pro Page
   ======================================== */

.academy-page { padding-top: 120px; padding-bottom: 80px; }

/* Hero */
.academy-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 80px; }
.academy-hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.3; margin-bottom: 20px; }
.academy-hero-content p { color: var(--text-secondary); font-size: 1rem; line-height: 1.9; margin-bottom: 32px; }
.academy-hero-stats { display: flex; gap: 32px; margin-top: 32px; }
.academy-hero-stat-num { font-family: var(--font-en); font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.academy-hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.academy-hero-img { border-radius: 20px; overflow: hidden; height: 360px; }
.academy-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Courses */
.academy-courses { margin-bottom: 80px; }
.academy-courses-title { text-align: center; font-size: 1.6rem; font-weight: 900; margin-bottom: 16px; }
.academy-courses-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 48px; font-size: 0.95rem; }
.academy-courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.academy-course-card { background: #111111; border: 1px solid rgba(255,255,255,0.07); border-radius: 20px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.academy-course-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent 5%, var(--primary) 50%, transparent 95%); opacity: 0; transition: opacity 0.3s ease; z-index: 5; }
.academy-course-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.academy-course-card:hover::before { opacity: 0.7; }
.academy-course-img { height: 200px; overflow: hidden; position: relative; }
.academy-course-img div { width: 100%; height: 100%; transition: transform 0.4s ease; }
.academy-course-card:hover .academy-course-img div { transform: scale(1.05); }
.academy-course-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, #111111, transparent); }
.academy-course-level { position: absolute; top: 16px; right: 16px; font-size: 0.72rem; font-weight: 700; padding: 6px 16px; border-radius: 8px; color: #fff; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.academy-course-level.beginner { background: #22c55e; }
.academy-course-level.intermediate { background: #f59e0b; }
.academy-course-level.advanced { background: #ef4444; }
.academy-course-body { padding: 24px 28px; }
.academy-course-title { font-size: 1.05rem; font-weight: 800; line-height: 1.6; margin-bottom: 10px; }
.academy-course-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.academy-course-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.academy-course-btn { display: block; width: 100%; padding: 12px; border-radius: 50px; background: rgba(255,107,43,0.1); color: var(--primary); font-weight: 700; font-size: 0.9rem; font-family: var(--font-fa); border: 1px solid rgba(255,107,43,0.2); cursor: pointer; transition: all 0.3s ease; text-align: center; text-decoration: none; }
.academy-course-btn:hover { background: var(--primary); color: #fff; }

/* Instructors */
.academy-instructors { margin-bottom: 80px; }
.academy-instructors-title { text-align: center; font-size: 1.6rem; font-weight: 900; margin-bottom: 48px; }
.academy-instructors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.academy-instructor { text-align: center; }
.academy-instructor-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; border: 3px solid var(--primary); box-shadow: 0 0 20px rgba(255,107,43,0.2); }
.academy-instructor-avatar div { width: 100%; height: 100%; }
.academy-instructor h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.academy-instructor p { font-size: 0.82rem; color: var(--text-muted); }

/* CTA */
.academy-cta { text-align: center; padding: 60px 40px; background: #111111; border-radius: 24px; border: 1px solid rgba(255,107,43,0.15); position: relative; overflow: hidden; }
.academy-cta::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,107,43,0.1) 0%, transparent 70%); pointer-events: none; }
.academy-cta h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 16px; position: relative; z-index: 1; }
.academy-cta p { color: var(--text-secondary); margin-bottom: 28px; position: relative; z-index: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .academy-hero { grid-template-columns: 1fr; }
  .academy-hero-img { order: -1; height: 280px; }
  .academy-courses-grid { grid-template-columns: repeat(2, 1fr); }
  .academy-instructors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .academy-courses-grid { grid-template-columns: 1fr; }
  .academy-instructors-grid { grid-template-columns: 1fr; max-width: 300px; }
  .academy-hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .academy-hero-content { text-align: center; }
}
