/* =============================================
   JIRALEARNING — Main Stylesheet
   ============================================= */

@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --green: #00C853;
  --green-dark: #00A040;
  --green-glow: rgba(0,200,83,0.18);
  --black: #0A0F0D;
  --dark: #111916;
  --dark2: #182117;
  --card: #141F18;
  --border: rgba(0,200,83,0.15);
  --text: #E8F5EC;
  --muted: #7DA88A;
  --white: #ffffff;
  --gold: #FFD700;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.45);
  --transition: all 0.25s 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: 'Sora', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 3px; }

/* ============ UTILITIES ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--dark); }
.text-center { text-align: center; }

.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-glow); border: 1px solid var(--border);
  color: var(--green); padding: .35rem 1rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.18;
  margin-bottom: .75rem;
}

.section-title span { color: var(--green); }

.section-sub {
  color: var(--muted); font-size: 1.05rem;
  max-width: 600px; margin: 0 auto 3rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.6rem; border-radius: 50px;
  font-size: .92rem; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: var(--transition); white-space: nowrap;
}
.btn--primary {
  background: var(--green); color: var(--black);
  box-shadow: 0 0 20px var(--green-glow);
}
.btn--primary:hover {
  background: var(--green-dark);
  box-shadow: 0 0 32px rgba(0,200,83,.35);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--green); color: var(--green);
  background: var(--green-glow);
}
.btn--lg { padding: .9rem 2.2rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============ FLASH ============ */
.flash {
  position: fixed; top: 1rem; right: 1rem; z-index: 9999;
  padding: .9rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9rem;
  animation: slideIn .3s ease;
}
.flash--success { background: var(--green); color: var(--black); }
.flash--error { background: #ff4d4d; color: #fff; }
@keyframes slideIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:none; } }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,15,13,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .9rem 1.25rem; max-width: 1200px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; flex-shrink: 0;
}
.logo__icon { font-size: 1.5rem; }
.logo__text {
  font-size: 1.1rem; font-weight: 800;
  color: var(--text);
}
.logo__text span { color: var(--green); }

.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav__link {
  color: var(--muted); text-decoration: none;
  padding: .45rem .85rem; border-radius: 50px;
  font-size: .88rem; font-weight: 500;
  transition: var(--transition);
}
.nav__link:hover, .nav__link.active {
  color: var(--green); background: var(--green-glow);
}

.header__actions { display: flex; align-items: center; gap: .6rem; margin-left: 1rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .3rem;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,83,.12) 0%, transparent 65%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300C853' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-glow); border: 1px solid var(--border);
  color: var(--green); padding: .4rem 1rem; border-radius: 50px;
  font-size: .78rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero__badge::before { content: '●'; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__title .highlight {
  color: var(--green);
  text-shadow: 0 0 40px rgba(0,200,83,.4);
}
.hero__desc {
  color: var(--muted); font-size: 1.1rem;
  margin-bottom: 2rem; max-width: 480px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero__stats { display: flex; gap: 2rem; }
.hero__stat strong {
  display: block; font-size: 1.6rem; font-weight: 800; color: var(--green);
}
.hero__stat span { font-size: .8rem; color: var(--muted); }

.hero__visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero__card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem; width: 100%;
  max-width: 380px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.hero__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.hero__card-thumb {
  background: linear-gradient(135deg, #1a2e20, #0d1f12);
  border-radius: 12px; height: 160px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; border: 1px solid var(--border);
}
.hero__card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.hero__card p { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.hero__card-meta {
  display: flex; justify-content: space-between; align-items: center;
}
.hero__card-price { font-size: 1.2rem; font-weight: 800; color: var(--green); }
.hero__card-badge {
  background: var(--green-glow); color: var(--green);
  border: 1px solid var(--border); border-radius: 50px;
  padding: .25rem .7rem; font-size: .75rem; font-weight: 600;
}

/* floating badges */
.hero__float {
  position: absolute; background: var(--card);
  border: 1px solid var(--border); border-radius: 12px;
  padding: .65rem 1rem; font-size: .8rem; font-weight: 600;
  white-space: nowrap; box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.hero__float--1 { top: 10%; left: -60px; animation-delay: 0s; }
.hero__float--2 { bottom: 20%; right: -50px; animation-delay: 1.5s; }
.hero__float--1 span, .hero__float--2 span { color: var(--green); }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-bar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center; gap: 1rem;
}
.stat-item strong {
  display: block; font-size: 2rem; font-weight: 800; color: var(--green);
}
.stat-item span { font-size: .85rem; color: var(--muted); }

/* ============ COURSES GRID ============ */
.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.course-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,200,83,.35);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.course-card__thumb {
  height: 170px; background: linear-gradient(135deg, #162016, #0d1a10);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.course-card__thumb::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, var(--card), transparent);
}
.course-card__level {
  position: absolute; top: .75rem; left: .75rem; z-index: 1;
  background: rgba(0,0,0,.7); color: var(--green);
  border: 1px solid var(--border); border-radius: 50px;
  padding: .2rem .7rem; font-size: .72rem; font-weight: 600;
}
.course-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.course-card__cat {
  font-size: .73rem; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem;
}
.course-card__title {
  font-size: 1rem; font-weight: 700; line-height: 1.4;
  margin-bottom: .5rem;
}
.course-card__desc {
  font-size: .82rem; color: var(--muted); margin-bottom: 1rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card__meta {
  display: flex; gap: 1rem; font-size: .78rem; color: var(--muted);
  margin-bottom: 1rem;
}
.course-card__meta span { display: flex; align-items: center; gap: .3rem; }
.course-card__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem; border-top: 1px solid var(--border);
}
.course-card__price { font-size: 1.2rem; font-weight: 800; color: var(--green); }
.course-card__price del { font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: .35rem; }
.course-card__rating { font-size: .82rem; color: var(--gold); font-weight: 600; }

/* ============ CATEGORIES ============ */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem; margin-top: 3rem;
}
.cat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1rem;
  text-align: center; text-decoration: none; color: inherit;
  transition: var(--transition);
}
.cat-card:hover {
  border-color: var(--green); background: var(--dark2);
  transform: translateY(-3px);
}
.cat-card__icon { font-size: 2.2rem; margin-bottom: .75rem; }
.cat-card__name { font-size: .88rem; font-weight: 600; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  position: relative; overflow: hidden;
}
.testi-card::before {
  content: '"'; position: absolute; top: -.5rem; right: 1rem;
  font-size: 6rem; color: rgba(0,200,83,.08); font-family: Georgia, serif;
  line-height: 1;
}
.testi-card__stars { color: var(--gold); margin-bottom: .75rem; font-size: 1rem; }
.testi-card__text { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.testi-card__author { display: flex; align-items: center; gap: .75rem; }
.testi-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), #004d20);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: var(--white); flex-shrink: 0;
}
.testi-card__name { font-weight: 700; font-size: .9rem; }
.testi-card__course { font-size: .78rem; color: var(--green); }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-item__question {
  width: 100%; text-align: left; background: none;
  border: none; color: var(--text); font-size: .95rem; font-weight: 600;
  padding: 1.2rem 1.5rem; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
  transition: var(--transition);
}
.faq-item__question:hover { color: var(--green); }
.faq-item__question .icon {
  color: var(--green); font-size: 1.2rem; transition: var(--transition); flex-shrink: 0;
}
.faq-item.open .faq-item__question .icon { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.faq-item.open .faq-item__answer { max-height: 300px; }
.faq-item__answer p { padding: 0 1.5rem 1.2rem; color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, #0d2416 0%, #051209 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(0,200,83,.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  margin-bottom: 1rem;
}
.cta-section p { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-section .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ HOW IT WORKS ============ */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.step-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; position: relative;
}
.step-card__num {
  width: 48px; height: 48px; background: var(--green-glow);
  border: 1.5px solid var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: var(--green);
  margin-bottom: 1.25rem;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p { font-size: .87rem; color: var(--muted); }

/* ============ FORMS ============ */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem; background: radial-gradient(ellipse at top, rgba(0,200,83,.07) 0%, transparent 60%);
}
.auth-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.5rem; width: 100%; max-width: 440px;
}
.auth-box h1 { font-size: 1.7rem; font-weight: 800; margin-bottom: .4rem; }
.auth-box p.sub { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .45rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .8rem 1rem; background: var(--dark2);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: inherit; font-size: .95rem;
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-link { font-size: .85rem; color: var(--muted); margin-top: 1.25rem; text-align: center; }
.form-link a { color: var(--green); text-decoration: none; font-weight: 600; }

/* ============ DASHBOARD ============ */
.dashboard { padding: 2.5rem 0; }
.dashboard__grid { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.dashboard__sidebar {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 80px;
}
.dashboard__avatar {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), #004d20);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: #fff; margin: 0 auto 1rem;
}
.dashboard__name { text-align: center; font-weight: 700; margin-bottom: .25rem; }
.dashboard__email { text-align: center; font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.dashboard__menu { display: flex; flex-direction: column; gap: .35rem; }
.dashboard__menu a {
  padding: .65rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
  color: var(--muted); font-size: .88rem; font-weight: 500;
  transition: var(--transition); display: flex; align-items: center; gap: .6rem;
}
.dashboard__menu a:hover, .dashboard__menu a.active {
  color: var(--green); background: var(--green-glow);
}
.dash-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem;
}
.dash-stat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.25rem; text-align: center;
}
.dash-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--green); }
.dash-stat span { font-size: .8rem; color: var(--muted); }
.enrolled-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.enrolled-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.25rem;
  text-decoration: none; color: inherit; transition: var(--transition);
}
.enrolled-card:hover { border-color: var(--green); }
.enrolled-card h4 { font-size: .92rem; font-weight: 700; margin-bottom: .4rem; }
.enrolled-card p { font-size: .78rem; color: var(--muted); margin-bottom: .75rem; }
.progress-bar {
  height: 5px; background: var(--dark); border-radius: 3px; overflow: hidden; margin-bottom: .4rem;
}
.progress-bar__fill { height: 100%; background: var(--green); border-radius: 3px; }
.progress-label { font-size: .73rem; color: var(--muted); }

/* ============ COURSE DETAIL ============ */
.course-hero {
  background: linear-gradient(135deg, #0d2416, #060f09);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.course-hero__inner {
  display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start;
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
}
.course-hero__cat {
  font-size: .78rem; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .75rem;
}
.course-hero__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.course-hero__desc { color: var(--muted); margin-bottom: 1.5rem; }
.course-hero__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .85rem; color: var(--muted); }
.course-hero__meta span { display: flex; align-items: center; gap: .35rem; }
.course-buy-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 80px;
}
.course-buy-box .price { font-size: 2rem; font-weight: 800; color: var(--green); margin-bottom: .25rem; }
.course-buy-box del { color: var(--muted); font-size: 1rem; }
.course-buy-box .discount {
  display: inline-block; background: rgba(255,215,0,.15); color: var(--gold);
  border-radius: 4px; padding: .15rem .5rem; font-size: .78rem; font-weight: 700; margin-bottom: 1.25rem;
}
.course-includes { list-style: none; margin: 1.25rem 0; display: flex; flex-direction: column; gap: .6rem; }
.course-includes li { font-size: .87rem; color: var(--muted); display: flex; gap: .6rem; }
.course-includes li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ============ PAGE HEADER ============ */
.page-header {
  background: linear-gradient(180deg, rgba(0,200,83,.07) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0; text-align: center;
}
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.page-header p { color: var(--muted); margin-top: .75rem; font-size: 1rem; }

/* ============ AFFILIATE ============ */
.affiliate-hero {
  min-height: 70vh; display: flex; align-items: center;
  background: radial-gradient(ellipse at top, rgba(0,200,83,.1) 0%, transparent 60%);
}
.affiliate-features {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.aff-feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
}
.aff-feature__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.aff-feature h3 { font-weight: 700; margin-bottom: .5rem; }
.aff-feature p { font-size: .87rem; color: var(--muted); }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; height: 400px;
  display: flex; align-items: center; justify-content: center; font-size: 8rem;
}
.about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; line-height: 1.8; }
.about-points { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.about-points li { font-size: .9rem; color: var(--muted); display: flex; gap: .6rem; }
.about-points li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.contact-item__icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item h4 { font-size: .88rem; font-weight: 700; }
.contact-item a { font-size: .82rem; color: var(--green); text-decoration: none; }

/* ============ PAGINATION ============ */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination a, .pagination span {
  padding: .5rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); text-decoration: none; color: var(--muted);
  font-size: .88rem; transition: var(--transition);
}
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .active { background: var(--green); color: var(--black); border-color: var(--green); font-weight: 700; }

/* ============ FOOTER ============ */
.footer { background: var(--dark); border-top: 1px solid var(--border); padding: 4rem 0 0; }
.footer__inner {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer__brand p { color: var(--muted); font-size: .87rem; margin-top: .75rem; max-width: 260px; }
.footer__socials { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.social-btn {
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; border-radius: var(--radius-sm);
  padding: .45rem .85rem; font-size: .78rem; font-weight: 600;
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--green); color: var(--green); }
.footer__col h4 { font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer__col ul li a { color: var(--muted); text-decoration: none; font-size: .87rem; transition: var(--transition); }
.footer__col ul li a:hover { color: var(--green); }
.footer__bottom {
  border-top: 1px solid var(--border); padding: 1.25rem 0;
}
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer__bottom p, .footer__bottom a { font-size: .82rem; color: var(--muted); }
.footer__bottom a { text-decoration: none; transition: var(--transition); }
.footer__bottom a:hover { color: var(--green); }
.footer__bottom div { display: flex; gap: .75rem; align-items: center; }

/* ============ BADGE / TAGS ============ */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 50px; font-size: .72rem; font-weight: 700; }
.badge--green { background: var(--green-glow); color: var(--green); border: 1px solid var(--border); }

/* ============ EMPTY STATE ============ */
.empty-state { text-align: center; padding: 4rem 0; }
.empty-state .icon { font-size: 4rem; margin-bottom: 1rem; display: block; }
.empty-state h3 { font-weight: 700; margin-bottom: .5rem; }
.empty-state p { color: var(--muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 65px; left: 0; right: 0; flex-direction: column; background: var(--dark); border-bottom: 1px solid var(--border); padding: 1rem; gap: .25rem; }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
  .header__actions .btn--ghost { display: none; }
  .header__inner { flex-wrap: wrap; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .course-hero__inner { grid-template-columns: 1fr; }
  .course-buy-box { position: static; }
  .dashboard__grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__float { display: none; }
}

@media (max-width: 480px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ============ ADMIN UI ============ */
.admin-page {
  display: flex;
  min-height: 100vh;
  background: #080c0a; /* Darker background for distinction */
}
.admin-sidebar {
  width: 260px;
  background: var(--dark);
  border-right: 1px solid var(--border);
  padding: 2rem 1.25rem;
  flex-shrink: 0;
}
.admin-nav { display: flex; flex-direction: column; gap: .25rem; }
.admin-nav__link {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--muted);
  font-size: .88rem; font-weight: 500; transition: var(--transition);
}
.admin-nav__link:hover, .admin-nav__link.active {
  color: var(--green); background: var(--green-glow);
}
.admin-content {
  flex: 1;
  padding: 2.5rem 1.5rem;
  max-width: 1400px;
}

@media (max-width: 992px) {
  .admin-page { flex-direction: column; }
  .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 1rem; }
  .admin-nav { flex-direction: row; overflow-x: auto; padding-bottom: .5rem; }
  .admin-nav__link { white-space: nowrap; }
}
