/* ==========================================================================
   SME ACADEMY — Design System
   Learn. Apply. Grow.
   Modern SaaS + Business Academy + African/Ethiopian business context.
   Mobile-first. Zero external dependencies.

   COMPONENT INVENTORY (classes you can rely on):
   Layout: .container .section .section-head .grid .grid-2 .grid-3 .grid-4
           .page-head .app-layout .sidebar .main-area .topbar
   Nav:    .navbar .nav-links .nav-cta .nav-user .drawer .drawer-backdrop
           .side-link .side-link.active .side-section
   Buttons: .btn .btn-primary .btn-accent .btn-outline .btn-ghost .btn-light
            .btn-sm .btn-lg .btn-block .btn-icon
   Badges: .badge .badge-free .badge-premium .badge-success .badge-warn
           .badge-danger .badge-info .badge-outline
   Cards:  .card .card-hover .course-card .thumb .thumb-emoji .course-meta
           .price-card .price-feature .live-card .path-card .resource-card
           .cert-card .testimonial .stat-card
   Forms:  .form .form-row .field .label .input .select .textarea
           .file-drop .checkbox .form-hint .input-icon
   Tables: .table-wrap .table .t-actions
   Feedback: .alert .alert-success .alert-warn .alert-danger .alert-info
             .toast-wrap .toast .modal-backdrop .modal .modal-head .modal-body .modal-foot
   Progress: .progress .progress-bar .progress-fill .progress-label .ring
   Misc:   .tabs .tab .tab.active .chip .chip.active .avatar .avatar-sm
           .step .steps .timeline .tl-item .accordion .acc-item .acc-head .acc-body
           .comment .comment-body .empty .search-box .auth-card .certificate
           .feature-list .divider .hero .hero-badge .kpi .kpi-num
           .cal-grid .cal-day .path-stage .schedule-strip
   Utilities: .flex .between .center .gap-* .muted .small .bold .mt-* .mb-*
             .hide .show-mobile .hide-mobile .text-center .pill .fade-up
   ========================================================================== */

:root {
  --brand-950: #062b1e;
  --brand-900: #0a3d2c;
  --brand-800: #0d4f38;
  --brand-700: #106145;
  --brand-600: #137a55;
  --brand-500: #179a68;
  --brand-400: #3fb884;
  --brand-100: #d9f2e6;
  --brand-50:  #eefaf4;
  --accent:    #f5a623;
  --accent-2:  #e8880f;
  --accent-soft: #fdf3e0;
  --ink:       #0f172a;
  --ink-2:     #33415c;
  --muted:     #5b6b84;
  --line:      #e4e9f0;
  --paper:     #fbfaf7;
  --white:     #ffffff;
  --danger:    #dc2626;
  --danger-soft:#fee2e2;
  --warn:      #b45309;
  --warn-soft: #fef3c7;
  --success:   #15803d;
  --success-soft:#dcfce7;
  --info:      #1d4ed8;
  --info-soft: #dbeafe;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow:    0 4px 12px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.05);
  --shadow-lg: 0 16px 40px rgba(15,23,42,.14);
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --font: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-800); }
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ink-2); }
::selection { background: var(--brand-100); }

/* ---------- Layout ---------- */
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { color: var(--brand-600); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .5rem; }
.section-head p { margin-top: .6rem; font-size: 1.05rem; }
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.page-head { padding: 3rem 0 1.5rem; }
.page-head h1 { margin-bottom: .4rem; }
.page-head p { max-width: 640px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2rem 0; }
.text-center { text-align: center; }

/* ---------- Header / Nav (public + top) ---------- */
.navbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar-inner { display: flex; align-items: center; gap: 1rem; height: 68px; }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.logo .logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff; font-size: 1.05rem; box-shadow: var(--shadow-sm); flex: none;
}
.logo small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: .35rem; margin-left: 1.2rem; flex: 1; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: .5rem .8rem; border-radius: var(--r-sm); }
.nav-links a:hover, .nav-links a.active { color: var(--brand-700); background: var(--brand-50); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-user { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(6,20,14,.5); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(300px, 84vw); z-index: 80;
  background: var(--white); padding: 1.2rem; transform: translateX(-105%); transition: transform .28s ease;
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer a { display: block; padding: .7rem .9rem; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; }
.drawer a:hover, .drawer a.active { background: var(--brand-50); color: var(--brand-700); }
.drawer .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.drawer .drawer-close { background: none; border: 0; font-size: 1.4rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-text-only { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .logo { font-size: 1rem; }
  .logo small { display: none; }
  .logo .logo-mark { width: 32px; height: 32px; font-size: .9rem; border-radius: 9px; }
  .navbar-inner { gap: .6rem; }
  .nav-toggle { display: block; }
}

/* ---------- Member / Admin app layout ---------- */
.app-layout { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.sidebar {
  background: var(--brand-950); color: #d8efe3; padding: 1.3rem 1rem; position: sticky; top: 0;
  height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: .2rem;
}
.sidebar .logo { color: #fff; padding: .2rem .4rem 1rem; }
.sidebar .side-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: #7fa898; padding: 1.1rem .6rem .4rem; font-weight: 700; }
.side-link {
  display: flex; align-items: center; gap: .7rem; padding: .68rem .75rem; border-radius: 10px;
  color: #c8e2d4; font-weight: 600; font-size: .93rem; transition: background .15s;
}
.side-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.side-link.active { background: linear-gradient(90deg, var(--brand-500), var(--brand-600)); color: #fff; box-shadow: var(--shadow-sm); }
.side-link .si { width: 22px; text-align: center; font-size: 1rem; }
.sidebar-foot { margin-top: auto; padding: 1rem .6rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #8fb5a4; }
.main-area { min-width: 0; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.8rem; background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.topbar h2 { font-size: 1.15rem; }
.topbar-actions { display: flex; align-items: center; gap: .7rem; }
.page-wrap { padding: 1.8rem; max-width: 1280px; }
.member-hero {
  background: linear-gradient(120deg, var(--brand-900), var(--brand-700) 60%, var(--brand-500));
  color: #fff; border-radius: var(--r-lg); padding: 2rem 2.2rem; margin-bottom: 1.8rem; position: relative; overflow: hidden;
}
.member-hero h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.member-hero p { color: #cfe9dc; }
.member-hero::after { content: '📈'; position: absolute; right: -10px; bottom: -24px; font-size: 8rem; opacity: .16; transform: rotate(-12deg); }
@media (max-width: 920px) {
  .app-layout { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; z-index: 90; transform: translateX(-105%); transition: transform .28s ease; width: min(300px, 84vw); }
  .sidebar.open { transform: translateX(0); }
  .topbar { padding: .9rem 1rem; }
  .page-wrap { padding: 1.1rem; }
  .app-burger { display: inline-flex !important; }
}
.app-burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .7rem; font-size: 1.15rem; cursor: pointer; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-950); color: #b9d6c8; padding: 3.5rem 0 2rem; margin-top: 3rem; }
.footer .grid { gap: 2rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer a { color: #b9d6c8; display: block; padding: .28rem 0; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer .tagline { color: #8fb5a4; margin: .8rem 0 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8fb5a4; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff !important; padding: 0 !important; }
.socials a:hover { background: var(--brand-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.35rem; border-radius: 12px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: all .18s ease; font-family: inherit; line-height: 1.2; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 4px 14px rgba(19,122,85,.3); }
.btn-primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #3d2a00; box-shadow: 0 4px 14px rgba(245,166,35,.3); }
.btn-accent:hover { background: var(--accent-2); color: #3d2a00; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-700); background: var(--brand-50); }
.btn-ghost { background: transparent; color: var(--brand-700); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--brand-50); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-sm { padding: .45rem .85rem; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { padding: .5rem; border-radius: 10px; }

/* ---------- Badges / Chips ---------- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: var(--r-full); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.badge-free { background: var(--brand-100); color: var(--brand-800); }
.badge-premium { background: linear-gradient(90deg, #fde68a, var(--accent)); color: #5b3a00; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-outline { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .95rem; border-radius: var(--r-full); border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--brand-500); color: var(--brand-700); }
.chip.active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.card-hover { transition: transform .2s, box-shadow .2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card { text-align: left; }
.feature-card .fc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--brand-50); margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: .45rem; }
.feature-card p { font-size: .94rem; }

/* Course cards */
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.thumb { aspect-ratio: 16/9; position: relative; display: grid; place-items: center; overflow: hidden; }
.thumb-emoji { font-size: 3rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.thumb .thumb-tag { position: absolute; top: 10px; left: 10px; }
.thumb .thumb-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: rgba(0,0,0,.25); }
.thumb .thumb-progress span { display: block; height: 100%; background: var(--accent); }
.course-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.course-body .course-title { font-size: 1.06rem; font-weight: 800; color: var(--ink); line-height: 1.35; }
.course-body .course-title a { color: inherit; }
.course-body .course-title a:hover { color: var(--brand-600); }
.course-meta { display: flex; align-items: center; gap: .8rem; font-size: .84rem; color: var(--muted); font-weight: 600; }
.course-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #c3ccda; }
.course-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .7rem; border-top: 1px dashed var(--line); }
.course-foot .price { font-weight: 800; color: var(--brand-700); }
.course-foot .price.free { color: var(--success); }
.stars { color: var(--accent); font-size: .9rem; letter-spacing: 1px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.input, .select, .textarea {
  width: 100%; padding: .72rem .95rem; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(23,154,104,.12); }
.textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: .8rem; color: var(--muted); }
.file-drop { border: 2px dashed var(--line); border-radius: 14px; padding: 1.4rem; text-align: center; color: var(--muted); cursor: pointer; transition: all .15s; background: var(--paper); }
.file-drop:hover, .file-drop.over { border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-700); }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.checkbox input { margin-top: .2rem; accent-color: var(--brand-600); width: 17px; height: 17px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); background: #fafbfc; }
.table td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fafbfc; }
.table .t-actions { display: flex; gap: .4rem; flex-wrap: wrap; }

/* ---------- Alerts / Toasts / Modals ---------- */
.alert { padding: .9rem 1.1rem; border-radius: 12px; font-size: .93rem; font-weight: 600; display: flex; gap: .6rem; align-items: flex-start; border: 1px solid transparent; }
.alert-success { background: var(--success-soft); color: var(--success); border-color: #bbf7d0; }
.alert-warn { background: var(--warn-soft); color: var(--warn); border-color: #fde68a; }
.alert-danger { background: var(--danger-soft); color: var(--danger); border-color: #fecaca; }
.alert-info { background: var(--info-soft); color: var(--info); border-color: #bfdbfe; }
.toast-wrap { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: grid; gap: .6rem; max-width: min(92vw, 380px); }
.toast { background: var(--ink); color: #fff; padding: .85rem 1.1rem; border-radius: 12px; font-size: .9rem; box-shadow: var(--shadow-lg); animation: toastIn .25s ease; display: flex; gap: .6rem; align-items: center; }
.toast.success { background: var(--brand-700); }
.toast.warn { background: var(--warn); }
.toast.error { background: var(--danger); }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-backdrop { position: fixed; inset: 0; background: rgba(6,20,14,.55); z-index: 150; display: grid; place-items: center; padding: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border-radius: var(--r-lg); width: min(560px, 100%); max-height: 88vh; overflow-y: auto; padding: 1.6rem; transform: translateY(14px); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
.modal-backdrop.open .modal { transform: none; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.modal-head h3 { font-size: 1.2rem; }
.modal-close { background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--muted); line-height: 1; }
.modal-foot { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.4rem; }

/* ---------- Progress ---------- */
.progress { height: 8px; border-radius: var(--r-full); background: #e6ebf2; overflow: hidden; }
.progress-bar { display: flex; gap: .6rem; align-items: center; }
.progress-bar .progress { flex: 1; }
.progress-fill { height: 100%; border-radius: var(--r-full); background: linear-gradient(90deg, var(--brand-500), var(--brand-600)); transition: width .4s ease; }
.progress-label { font-size: .85rem; font-weight: 700; color: var(--brand-700); white-space: nowrap; }
.ring { --p: 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand-500) calc(var(--p)*1%), #e6ebf2 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 10px; background: #fff; border-radius: 50%; }
.ring b { position: relative; z-index: 1; font-size: 1.05rem; }

/* ---------- Tabs / Steps / Accordion / Timeline ---------- */
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; }
.tab { padding: .7rem 1.1rem; font-weight: 700; font-size: .93rem; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; background: none; border-top: 0; border-left: 0; border-right: 0; font-family: inherit; }
.tab:hover { color: var(--brand-700); }
.tab.active { color: var(--brand-700); border-bottom-color: var(--brand-600); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.step { position: relative; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.step .step-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-800); font-weight: 800; font-size: .9rem; margin-bottom: .6rem; }
.step.done .step-num { background: var(--brand-600); color: #fff; }
.step.done { border-color: var(--brand-400); }
.accordion .acc-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; overflow: hidden; background: #fff; }
.acc-head { display: flex; align-items: center; gap: .8rem; padding: .95rem 1.1rem; cursor: pointer; font-weight: 700; font-size: .95rem; }
.acc-head .acc-arrow { margin-left: auto; transition: transform .2s; color: var(--muted); }
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 1.1rem 1rem; }
.acc-item.open .acc-body { display: block; }
.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 1.2rem 0; }
.tl-item::before { content: ''; position: absolute; left: -1.6rem; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-400); }
.tl-item.done::before { background: var(--brand-600); border-color: var(--brand-600); }
.tl-item h4 { font-size: .98rem; }
.tl-item p { font-size: .88rem; }

/* ---------- Avatars / KPI / Empty ---------- */
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); font-size: 1rem; flex: none; }
.avatar-sm { width: 32px; height: 32px; font-size: .82rem; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.6rem; }
.kpi { display: flex; align-items: center; gap: 1rem; }
.kpi .kpi-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.3rem; background: var(--brand-50); flex: none; }
.kpi-num { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.kpi-label { font-size: .84rem; color: var(--muted); font-weight: 600; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty .empty-icon { font-size: 3rem; margin-bottom: .6rem; opacity: .5; }
.empty h3 { color: var(--ink-2); margin-bottom: .3rem; }

/* ---------- Hero / Landing ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 500px at 85% -10%, rgba(63,184,132,.28), transparent 60%), radial-gradient(900px 480px at -10% 110%, rgba(245,166,35,.16), transparent 55%), linear-gradient(135deg, var(--brand-950), var(--brand-900) 55%, var(--brand-800)); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { color: #cfe9dc; font-size: 1.12rem; max-width: 540px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: .45rem 1rem; border-radius: var(--r-full); font-size: .85rem; font-weight: 700; color: #eaf7f0; margin-bottom: 1.4rem; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art-card { background: #fff; border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-lg); width: min(100%, 430px); }
.hero-art .mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 1rem; }
.hero-art .mini-chart span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand-400), var(--brand-600)); opacity: .85; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.6rem; }
.hero-stats b { font-size: 1.5rem; color: #fff; display: block; }
.hero-stats span { font-size: .84rem; color: #9fc5b4; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* ---------- Category / misc cards ---------- */
.cat-card { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: all .18s; }
.cat-card:hover { border-color: var(--brand-400); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card .cc-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; flex: none; }
.cat-card h4 { font-size: 1rem; }
.cat-card span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.stat-card .kpi-num { font-size: 1.8rem; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.testimonial .stars { margin-bottom: .6rem; display: block; }
.testimonial p { font-size: .96rem; }
.testimonial .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; }
.testimonial .who b { display: block; font-size: .94rem; }
.testimonial .who span { font-size: .82rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.price-card.featured { border-color: var(--brand-500); box-shadow: 0 18px 48px rgba(19,122,85,.18); position: relative; }
.price-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-600); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: .3rem .9rem; border-radius: var(--r-full); }
.price { font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.price small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.price-note { font-size: .88rem; color: var(--muted); }
.feature-list { list-style: none; display: grid; gap: .6rem; }
.feature-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--ink-2); font-weight: 500; }
.feature-list li::before { content: '✓'; color: var(--brand-600); font-weight: 800; flex: none; }
.feature-list li.off { color: #9aa7bd; }
.feature-list li.off::before { content: '✕'; color: #c2cbd9; }

/* ---------- Live classes / calendar ---------- */
.live-card { display: flex; gap: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem; }
.live-date { flex: none; width: 74px; text-align: center; background: var(--brand-50); border-radius: 12px; padding: .7rem .4rem; }
.live-date b { display: block; font-size: 1.5rem; color: var(--brand-700); line-height: 1.1; }
.live-date span { font-size: .74rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.live-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.live-card .live-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .86rem; color: var(--muted); font-weight: 600; margin-bottom: .7rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
@media (max-width: 760px) { .cal-grid { grid-template-columns: repeat(4, 1fr); } .cal-grid .cal-day:nth-child(n+8) { display: none; } }
.cal-day { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .5rem; text-align: center; font-size: .8rem; color: var(--muted); font-weight: 600; min-height: 76px; display: flex; flex-direction: column; gap: .3rem; }
.cal-day b { font-size: 1.05rem; color: var(--ink); display: block; }
.cal-day .cal-ev { font-size: .66rem; background: var(--brand-50); color: var(--brand-800); border-radius: 6px; padding: .15rem .3rem; font-weight: 700; }
.schedule-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.sched-day { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem; text-align: center; }
.sched-day b { display: block; font-size: .86rem; margin-bottom: .4rem; }
.sched-day .sched-emoji { font-size: 1.6rem; display: block; margin-bottom: .3rem; }
.sched-day span { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* ---------- Paths / certificates / comments ---------- */
.path-stage { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 1.2rem; }
.path-stage h4 { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.path-stage ul { list-style: none; display: grid; gap: .45rem; }
.path-stage li { display: flex; gap: .55rem; align-items: center; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.path-stage li.done { color: var(--success); }
.path-stage li .ps-ico { flex: none; }
.cert-card { border: 1.5px solid #e8d9a8; background: linear-gradient(160deg, #fffdf5, #fdf6e3); border-radius: var(--r-md); padding: 1.5rem; }
.certificate { border: 3px double var(--brand-700); border-radius: 20px; padding: 3rem 2rem; text-align: center; background: linear-gradient(160deg, #fffef9, #faf6ea); max-width: 820px; margin-inline: auto; }
.certificate .cert-logo { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 1rem; background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); color: #fff; font-size: 1.6rem; }
.certificate h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.certificate .cert-name { font-size: 2rem; font-family: Georgia, serif; color: var(--brand-800); margin: .6rem 0; }
.certificate .cert-meta { display: flex; justify-content: center; gap: 1rem 2.4rem; flex-wrap: wrap; margin-top: 1.6rem; font-size: .88rem; color: var(--muted); }
.certificate .cert-seal { width: 74px; height: 74px; border: 2px solid var(--brand-600); border-radius: 50%; display: grid; place-items: center; margin: 1.4rem auto 0; color: var(--brand-700); font-weight: 800; font-size: .7rem; text-align: center; line-height: 1.25; transform: rotate(-8deg); }
.comment { display: flex; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment:last-child { border-bottom: 0; }
.comment-body { flex: 1; }
.comment-body .c-meta { display: flex; gap: .6rem; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: .25rem; }
.comment-body .c-meta b { color: var(--ink); }
.comment-body p { font-size: .93rem; }
.comment-body .c-actions { display: flex; gap: .8rem; margin-top: .5rem; font-size: .82rem; font-weight: 700; }
.comment-body .c-actions button { background: none; border: 0; color: var(--brand-600); cursor: pointer; font-family: inherit; font-weight: 700; font-size: .82rem; }

/* ---------- Search / auth / misc ---------- */
.search-box { position: relative; }
.search-box .input { padding-left: 2.6rem; }
.search-box .search-ico { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 90; overflow: hidden; max-height: 420px; overflow-y: auto; }
.search-results .sr-item { display: block; padding: .7rem .95rem; border-bottom: 1px solid var(--line); }
.search-results .sr-item:hover { background: var(--brand-50); }
.search-results .sr-item b { display: block; font-size: .9rem; }
.search-results .sr-item span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.search-results .sr-group { padding: .5rem .95rem .2rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; background: #fafbfc; }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(150deg, var(--brand-950), var(--brand-800)); color: #fff; padding: 3rem 3.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h1 { color: #fff; font-size: 2.2rem; margin-bottom: 1rem; }
.auth-side p { color: #cfe9dc; }
.auth-side .auth-quote { border-left: 3px solid var(--accent); padding-left: 1.1rem; margin-top: 2rem; font-style: italic; color: #eaf7f0; }
.auth-main { display: grid; place-items: center; padding: 2rem 1.2rem; }
.auth-card { width: min(460px, 100%); }
.auth-card h2 { margin-bottom: .3rem; }
.auth-card .auth-sub { color: var(--muted); margin-bottom: 1.6rem; font-size: .95rem; }
@media (max-width: 900px) { .auth-side { display: none; } .auth-page { grid-template-columns: 1fr; } }
.pill { display: inline-block; padding: .25rem .7rem; border-radius: var(--r-full); background: var(--brand-50); color: var(--brand-800); font-size: .78rem; font-weight: 700; }
.demo-accounts { background: var(--accent-soft); border: 1px dashed var(--accent); border-radius: 14px; padding: 1rem 1.2rem; font-size: .85rem; margin-top: 1.4rem; }
.demo-accounts b { color: #7c4a03; }

/* ---------- Utilities ---------- */
.flex { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.center { justify-content: center; }
.gap-1 { gap: .4rem; } .gap-2 { gap: .8rem; } .gap-3 { gap: 1.2rem; } .gap-4 { gap: 1.8rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.bold { font-weight: 700; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.2rem; }
.hide { display: none !important; }
.show-mobile { display: none !important; }
@media (max-width: 900px) { .show-mobile { display: initial !important; } .hide-mobile { display: none !important; } }
.thumb-grad-1 { background: linear-gradient(135deg, #0d4f38, #179a68); }
.thumb-grad-2 { background: linear-gradient(135deg, #134e5e, #2a8e9c); }
.thumb-grad-3 { background: linear-gradient(135deg, #5b3a00, #f5a623); }
.thumb-grad-4 { background: linear-gradient(135deg, #3c1d5e, #8b5cf6); }
.thumb-grad-5 { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.thumb-grad-6 { background: linear-gradient(135deg, #164e63, #22d3ee); }
.thumb-grad-7 { background: linear-gradient(135deg, #4c1d95, #a855f7); }
.thumb-grad-8 { background: linear-gradient(135deg, #14532d, #65a30d); }
.fade-up { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.skeleton { background: linear-gradient(90deg, #eef1f5 25%, #f7f9fb 50%, #eef1f5 75%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
