/* ===== EDUPEAK GLOBAL STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@700;800;900&display=swap');

:root {
  --cyan:    #00c8ff;
  --blue:    #3377ff;
  --purple:  #8833ee;
  --cyan-2:  #00e5ff;
  --purple-2:#aa44ff;
  --grad:    linear-gradient(135deg, #00c8ff 0%, #3377ff 50%, #8833ee 100%);
  --grad-h:  linear-gradient(135deg, #00e5ff 0%, #4488ff 50%, #aa44ff 100%);
  --dark:    #060612;
  --dark-2:  #0b0b20;
  --dark-3:  #111130;
  --dark-4:  #191940;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border:  rgba(255,255,255,0.08);
  --border-2:rgba(0,200,255,0.2);
  --text:    #f0f0ff;
  --text-2:  #9090bb;
  --text-3:  #5555aa;
  --success: #00e599;
  --warning: #ffaa00;
  --danger:  #ff4466;
  --radius:  14px;
  --radius-2:20px;
  --shadow:  0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(0,200,255,0.12);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--dark-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ===== PAGE TRANSITION ===== */
.page-enter { animation: pageIn 0.4s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-leave { animation: pageOut 0.25s ease forwards; }
@keyframes pageOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}

/* ===== LOADER ===== */
#ep-loader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s, visibility 0.4s;
}
#ep-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.loader-logo svg { width: 52px; height: 44px; }
.loader-logo-text { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; }
.loader-logo-text .edu { color: var(--cyan); }
.loader-logo-text .peak { color: var(--purple); }
.loader-bar {
  width: 200px; height: 3px;
  background: var(--dark-3);
  border-radius: 2px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 2px;
  animation: loaderFill 1.2s ease forwards;
}
@keyframes loaderFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ===== NAVBAR ===== */
#ep-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6,6,18,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#ep-nav.scrolled {
  background: rgba(6,6,18,0.95);
  border-bottom-color: var(--border-2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { width: 38px; height: 32px; }
.nav-logo-text { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.nav-logo-text .edu { color: var(--cyan); }
.nav-logo-text .peak { color: var(--purple-2); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 7px 14px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--surface-2);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: var(--transition);
  border: none;
}
.nav-btn-outline {
  color: var(--text);
  border: 1.5px solid var(--border-2);
  background: transparent;
}
.nav-btn-outline:hover { background: var(--surface-2); border-color: var(--cyan); color: var(--cyan); }
.nav-btn-primary {
  background: var(--grad);
  color: white;
}
.nav-btn-primary:hover { background: var(--grad-h); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,200,255,0.3); }
.nav-user {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.nav-user:hover { border-color: var(--border-2); }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.nav-user-info { line-height: 1.2; }
.nav-user-name { font-size: 13px; font-weight: 600; }
.nav-user-role { font-size: 11px; color: var(--text-2); text-transform: capitalize; }
.hamburger {
  display: none; flex-direction: column; gap: 4px;
  padding: 6px; cursor: pointer;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: var(--transition); }
.nav-mobile {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(6,6,18,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 5%;
  flex-direction: column; gap: 4px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-mobile a:hover { background: var(--surface-2); color: var(--text); }

/* ===== MAIN CONTENT WRAPPER ===== */
.page-wrap { padding-top: 68px; min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: 'Poppins', sans-serif; line-height: 1.15; }
.h-grad {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 50px;
  font-size: 12px; font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--text-2); max-width: 560px; }
.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  border: none; font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.btn-primary { background: var(--grad); color: white; }
.btn-primary:hover { background: var(--grad-h); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,200,255,0.3); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-2); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--cyan); color: var(--cyan); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: rgba(255,68,102,0.15); color: var(--danger); border: 1px solid rgba(255,68,102,0.3); }
.btn-danger:hover { background: rgba(255,68,102,0.25); }
.btn-success { background: rgba(0,229,153,0.12); color: var(--success); border: 1px solid rgba(0,229,153,0.3); }
.btn-success:hover { background: rgba(0,229,153,0.22); }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn-loading::after {
  content: ''; display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow-glow); }
.card-glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-2);
}
.card-featured {
  border-color: rgba(0,200,255,0.3);
  background: linear-gradient(135deg, rgba(0,200,255,0.05), rgba(136,51,238,0.05));
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-label span { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px; font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--cyan); background: var(--surface-2); box-shadow: 0 0 0 3px rgba(0,200,255,0.1); }
.form-control::placeholder { color: var(--text-3); }
.form-control option { background: var(--dark-3); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 5px; }

/* ===== FILE UPLOAD ===== */
.file-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.file-drop:hover { border-color: var(--cyan); background: rgba(0,200,255,0.04); }
.file-drop-icon { font-size: 32px; margin-bottom: 10px; }
.file-drop p { font-size: 14px; color: var(--text-2); }
.file-drop input { display: none; }

/* ===== BADGE / STATUS ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px; font-weight: 700;
}
.badge-pending  { background: rgba(255,170,0,0.12); color: var(--warning); border: 1px solid rgba(255,170,0,0.25); }
.badge-approved { background: rgba(0,229,153,0.1);  color: var(--success); border: 1px solid rgba(0,229,153,0.25); }
.badge-rejected { background: rgba(255,68,102,0.1); color: var(--danger);  border: 1px solid rgba(255,68,102,0.25); }
.badge-active   { background: rgba(0,200,255,0.1);  color: var(--cyan);    border: 1px solid rgba(0,200,255,0.25); }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ===== GRID LAYOUTS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ===== STATS BAR ===== */
.stat-bar-wrap { display: flex; flex-direction: column; gap: 4px; }
.stat-bar-label { display: flex; justify-content: space-between; font-size: 12px; }
.stat-bar-bg { height: 6px; background: var(--dark-4); border-radius: 3px; overflow: hidden; }
.stat-bar-fill { height: 100%; border-radius: 3px; background: var(--grad); transition: width 1s ease; }

/* ===== HERO SECTION ===== */
.hero {
  min-height: calc(100vh - 68px);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,200,255,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 80% 80%, rgba(136,51,238,0.08) 0%, transparent 60%);
}
.hero-canvas { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.12;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.hero-blob-1 { width: 500px; height: 500px; background: var(--cyan); top: -200px; left: -100px; }
.hero-blob-2 { width: 400px; height: 400px; background: var(--purple); bottom: -150px; right: -80px; animation-delay: -3s; }
@keyframes blobFloat { from { transform: scale(1) translate(0,0); } to { transform: scale(1.1) translate(30px,20px); } }
.hero-content { position: relative; z-index: 1; }

/* ===== DASHBOARD LAYOUT ===== */
.dash-layout { display: flex; min-height: calc(100vh - 68px); }
.dash-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--dark-2);
  border-right: 1px solid var(--border);
  padding: 28px 0;
  position: sticky; top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.sidebar-section { padding: 0 16px; margin-bottom: 8px; }
.sidebar-section-label {
  font-size: 10px; font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 12px;
  margin-bottom: 6px; margin-top: 16px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}
.sidebar-link:hover { background: var(--surface-2); color: var(--text); }
.sidebar-link.active { background: rgba(0,200,255,0.1); color: var(--cyan); }
.sidebar-link .icon { font-size: 16px; width: 20px; text-align: center; }
.sidebar-badge { margin-left: auto; background: var(--grad); color: white; border-radius: 50px; padding: 1px 8px; font-size: 11px; font-weight: 700; }
.dash-main { flex: 1; padding: 36px; min-width: 0; overflow-y: auto; }
.dash-header { margin-bottom: 32px; }
.dash-header h1 { font-size: 26px; font-weight: 800; }
.dash-header p { color: var(--text-2); font-size: 14px; margin-top: 4px; }

/* ===== STAT CARDS ===== */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  padding: 20px;
}
.stat-card-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px;
}
.stat-card-num { font-size: 28px; font-weight: 800; margin-bottom: 2px; }
.stat-card-label { font-size: 13px; color: var(--text-2); }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: left; padding: 12px 16px;
  font-size: 12px; font-weight: 700;
  color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
tbody td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--surface); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--dark-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-2);
  padding: 36px;
  max-width: 540px; width: 100%;
  transform: scale(0.95); transition: var(--transition);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-size: 20px; font-weight: 800; }
.modal-close { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; color: var(--text-2); font-size: 18px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { color: var(--text); }

/* ===== TOAST ===== */
#ep-toasts { position: fixed; bottom: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease forwards;
  max-width: 340px;
}
.toast.success { border-color: rgba(0,229,153,0.3); }
.toast.error   { border-color: rgba(255,68,102,0.3); }
.toast.info    { border-color: rgba(0,200,255,0.3); }
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 60px 0 50px;
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,200,255,0.06), transparent);
}
.page-hero-content { position: relative; }
.page-hero h1 { font-size: clamp(32px,5vw,52px); font-weight: 900; }
.page-hero p { font-size: 16px; color: var(--text-2); margin-top: 10px; max-width: 500px; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-desc { font-size: 14px; color: var(--text-2); margin-top: 12px; max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.footer-col a { display: block; font-size: 13px; color: var(--text-2); text-decoration: none; margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-3);
}
.footer-socials { display: flex; gap: 8px; }
.footer-soc {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-2);
  transition: var(--transition); text-decoration: none;
}
.footer-soc:hover { border-color: var(--border-2); color: var(--cyan); }

/* ===== MISC UTILITIES ===== */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-muted { color: var(--text-2); }
.text-cyan   { color: var(--cyan); }
.text-purple { color: var(--purple-2); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-warning { color: var(--warning); }
.divider { height: 1px; background: var(--border); margin: 20px 0; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: white;
  flex-shrink: 0;
}
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.avatar-lg { width: 60px; height: 60px; font-size: 22px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-2); }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .dash-sidebar { display: none; }
  .dash-layout { flex-direction: column; }
  .dash-main { padding: 20px 16px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .nav-btn-outline { display: none; }
  .hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 50px 0; }
}
@media (max-width: 480px) {
  .hero { min-height: auto; padding: 60px 0; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ===== TEACHER CARD ===== */
.teacher-card {
  text-align: center; padding: 32px 24px;
  transition: var(--transition);
}
.teacher-card:hover { transform: translateY(-4px); }
.teacher-card .avatar { margin: 0 auto 16px; width: 72px; height: 72px; font-size: 26px; }
.teacher-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.teacher-branch { color: var(--cyan); font-size: 13px; margin-bottom: 8px; }
.teacher-meta { font-size: 12px; color: var(--text-2); }

/* ===== COURSE CARD ===== */
.course-card { overflow: hidden; }
.course-card-header {
  height: 120px; border-radius: var(--radius) var(--radius) 0 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  margin: -28px -28px 20px;
}
.course-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.course-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-2); flex-wrap: wrap; margin-bottom: 14px; }
.course-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.course-price { font-size: 18px; font-weight: 800; }

/* ===== MESSAGING ===== */
.message-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.message-bubble.sent { background: var(--grad); color: white; border-radius: 16px 16px 4px 16px; margin-left: auto; }
.message-bubble.recv { background: var(--surface-2); color: var(--text); border-radius: 16px 16px 16px 4px; }
.message-time { font-size: 10px; color: var(--text-3); margin-top: 2px; }

/* ===== PROGRESS RING ===== */
.progress-ring { position: relative; width: 80px; height: 80px; }
.progress-ring svg { transform: rotate(-90deg); }
.progress-ring-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; }
