/* =============================================
   MAIN CSS — EduLearn Academy
   Tema: Putih & Orange
   ============================================= */

:root {
    --orange: #FF6B1A;
    --orange-dark: #E05500;
    --orange-light: #FF8C42;
    --orange-pale: #FFF0E6;
    --orange-pale2: #FFE4CC;
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --gray-50: #F9F9F9;
    --gray-100: #F0F0EE;
    --gray-200: #E0E0DD;
    --gray-400: #A0A09D;
    --gray-600: #606060;
    --gray-800: #2A2A28;
    --black: #141410;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
    --shadow-orange: 0 4px 20px rgba(255,107,26,0.25);
    --transition: 0.25s ease;
    --nav-height: 70px;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--gray-600); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255,107,26,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
}
.btn-outline:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-white {
    background: var(--white);
    color: var(--orange);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    background: var(--orange-pale);
    transform: translateY(-2px);
}
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
    transition: all var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-color: var(--orange-pale2);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--black);
}
.logo-icon {
    font-size: 1.5rem;
    color: var(--orange);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--orange);
    background: var(--orange-pale);
}
.btn-nav-primary {
    background: var(--orange) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    box-shadow: var(--shadow-orange);
}
.btn-nav-primary:hover {
    background: var(--orange-dark) !important;
    transform: translateY(-1px);
}
.btn-nav-outline {
    border: 1.5px solid var(--orange) !important;
    color: var(--orange) !important;
    border-radius: 50px !important;
    padding: 7px 18px !important;
}
.nav-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--orange-pale);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--orange-dark);
}
.user-avatar {
    width: 28px; height: 28px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition);
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: var(--nav-height);
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,20,16,0.75) 0%, rgba(255,107,26,0.25) 100%);
}
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    color: var(--white);
}
.slide-tag {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeUp 0.6s ease 0.2s both;
}
.slide-content h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    color: var(--white);
    margin-bottom: 18px;
    animation: fadeUp 0.6s ease 0.35s both;
    max-width: 680px;
}
.slide-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease 0.5s both;
}
.slide-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease 0.65s both;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}
.dot.active { background: var(--orange); width: 28px; border-radius: 5px; }
.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}
.slider-arrow {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    font-size: 1.2rem;
    transition: all var(--transition);
    user-select: none;
}
.slider-arrow:hover { background: var(--orange); border-color: var(--orange); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
}
.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
}
.stat-label { font-size: 0.85rem; color: var(--gray-400); font-weight: 500; }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 80px 24px; }
.section-sm { padding: 50px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .tag {
    display: inline-block;
    background: var(--orange-pale);
    color: var(--orange);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; color: var(--black); }
.section-header p { max-width: 540px; margin: 0 auto; }

/* =============================================
   ABOUT SECTION (Landing Page)
   ============================================= */
.about-section {
    background: var(--off-white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--orange);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-orange);
    text-align: center;
}
.about-badge .big { font-size: 1.8rem; font-weight: 800; display: block; line-height: 1; }
.about-badge .small { font-size: 0.8rem; opacity: 0.9; }
.about-text .tag {
    display: inline-block;
    background: var(--orange-pale);
    color: var(--orange);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.about-text h2 { color: var(--black); margin-bottom: 18px; }
.about-text p { margin-bottom: 20px; line-height: 1.8; }
.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 28px 0;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 3px solid var(--orange);
    transition: all var(--transition);
}
.feature-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}
.feature-icon {
    width: 36px; height: 36px;
    background: var(--orange-pale);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.feature-text strong { display: block; font-size: 0.92rem; color: var(--black); margin-bottom: 3px; }
.feature-text span { font-size: 0.83rem; color: var(--gray-400); }

/* =============================================
   COURSES GRID
   ============================================= */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-pale2);
}
.course-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--orange-pale) 0%, var(--orange-pale2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-level {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--white);
    color: var(--orange);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}
.course-body { padding: 20px; }
.course-category {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.course-body h3 {
    font-size: 1.05rem;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.4;
}
.course-body p { font-size: 0.88rem; margin-bottom: 16px; }
.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    font-size: 0.82rem;
    color: var(--gray-400);
}
.course-instructor { display: flex; align-items: center; gap: 6px; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section { background: var(--off-white); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange-pale2);
}
.why-icon {
    width: 64px; height: 64px;
    background: var(--orange-pale);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all var(--transition);
}
.why-card:hover .why-icon {
    background: var(--orange);
    transform: rotate(-5deg) scale(1.1);
}
.why-card h3 { color: var(--black); margin-bottom: 12px; }
.why-card p { font-size: 0.9rem; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(0,0,0,0.06);
    border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
}
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--orange); transform: translateY(-2px); }
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    text-align: center;
    font-size: 0.85rem;
}

/* =============================================
   AUTH PAGES (Login/Register)
   ============================================= */
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
    padding-top: var(--nav-height);
}
.auth-visual {
    background: linear-gradient(145deg, var(--orange) 0%, #FF3D00 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}
.auth-visual::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.auth-visual-content { position: relative; z-index: 1; }
.auth-visual h2 { font-size: 2.2rem; color: var(--white); margin-bottom: 16px; }
.auth-visual p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: var(--white);
}
.auth-form-wrap { width: 100%; max-width: 400px; }
.auth-form-wrap h1 {
    font-size: 1.9rem;
    color: var(--black);
    margin-bottom: 8px;
}
.auth-form-wrap .subtitle { color: var(--gray-400); margin-bottom: 36px; }

/* FORM ELEMENTS */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 7px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255,107,26,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ALERTS */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.alert-error { background: #FFF0F0; color: #C00; border: 1px solid #FFD0D0; }
.alert-success { background: #F0FFF4; color: #166534; border: 1px solid #BBF7D0; }
.auth-link { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--gray-400); }
.auth-link a { color: var(--orange); font-weight: 600; }

/* =============================================
   DASHBOARD
   ============================================= */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - var(--nav-height));
    margin-top: var(--nav-height);
}
.sidebar {
    background: var(--black);
    padding: 32px 0;
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    overflow-y: auto;
}
.sidebar-user {
    padding: 0 20px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}
.sidebar-avatar {
    width: 52px; height: 52px;
    background: var(--orange);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.sidebar-user h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 4px; font-family: var(--font-body); }
.sidebar-user span { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.sidebar-menu { padding: 0 12px; }
.sidebar-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: 8px 8px 6px;
    margin-top: 16px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
    margin-bottom: 4px;
}
.sidebar-link:hover, .sidebar-link.active {
    background: rgba(255,107,26,0.15);
    color: var(--orange-light);
}
.sidebar-link.active { background: rgba(255,107,26,0.2); color: var(--orange); font-weight: 600; }
.sidebar-icon { font-size: 1.1rem; width: 20px; text-align: center; }

.dashboard-main { background: var(--gray-50); padding: 36px 40px; }
.dashboard-header { margin-bottom: 32px; }
.dashboard-header h1 { font-size: 1.7rem; color: var(--black); margin-bottom: 6px; }
.dashboard-header p { color: var(--gray-400); }

.dash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}
.dash-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 18px;
}
.dash-card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.dash-card-icon.orange { background: var(--orange-pale); }
.dash-card-icon.blue { background: #EBF5FF; }
.dash-card-icon.green { background: #F0FFF4; }
.dash-card h4 { font-size: 1.5rem; color: var(--black); font-family: var(--font-body); font-weight: 700; }
.dash-card span { font-size: 0.85rem; color: var(--gray-400); }

/* =============================================
   VIDEO PLAYER
   ============================================= */
.video-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    padding: 28px 24px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.video-main {}
.video-embed {
    background: var(--black);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
}
.video-embed iframe { width: 100%; height: 100%; border: none; }
.video-info { background: var(--white); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--gray-100); }
.video-info h2 { font-size: 1.3rem; color: var(--black); margin-bottom: 10px; }
.video-info p { font-size: 0.92rem; }

.playlist-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: calc(var(--nav-height) + 28px);
}
.playlist-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-100);
    background: var(--off-white);
}
.playlist-header h3 { font-size: 1rem; color: var(--black); }
.playlist-progress { font-size: 0.8rem; color: var(--gray-400); margin-top: 4px; }
.playlist-progress span { color: var(--orange); font-weight: 600; }

.playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}
.playlist-item:hover { background: var(--orange-pale); }
.playlist-item.active { background: var(--orange-pale); border-left: 3px solid var(--orange); }
.playlist-num {
    width: 28px; height: 28px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-600);
    flex-shrink: 0;
}
.playlist-item.active .playlist-num, .playlist-item.completed .playlist-num {
    background: var(--orange);
    color: var(--white);
}
.playlist-item-info h4 { font-size: 0.88rem; color: var(--black); margin-bottom: 3px; font-family: var(--font-body); font-weight: 500; }
.playlist-item-info span { font-size: 0.78rem; color: var(--gray-400); }

/* =============================================
   COURSES PAGE
   ============================================= */
.page-header {
    background: linear-gradient(135deg, var(--black) 0%, #2D1A0A 100%);
    padding: 60px 24px;
    text-align: center;
    margin-top: var(--nav-height);
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }
.page-header .breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}
.page-header .breadcrumb a { color: var(--orange-light); }

/* FILTERS */
.filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 24px;
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
}
.filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-600);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--orange);
    color: var(--white);
}

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - var(--nav-height));
    margin-top: var(--nav-height);
}
.admin-sidebar {
    background: #1A1A1A;
    padding: 24px 0;
}
.admin-main { background: var(--gray-50); padding: 32px; }
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    border-collapse: collapse;
}
.admin-table th {
    background: var(--off-white);
    padding: 14px 18px;
    text-align: left;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--gray-100);
}
.admin-table td {
    padding: 14px 18px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--orange-pale); }
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-orange { background: var(--orange-pale); color: var(--orange); }
.badge-green { background: #F0FFF4; color: #166534; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .auth-page { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .video-layout { grid-template-columns: 1fr; }
    .playlist-sidebar { position: static; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--white); padding: 20px; box-shadow: var(--shadow-lg); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .slide-content p { display: none; }
    .courses-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .dash-cards { grid-template-columns: 1fr; }
}
