:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #DBEAFE;
    --success: #059669;
    --accent: #EA580C;
    --dark: #1F2937;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #EBF5FF 0%, #F3E8FF 50%, #FEF3C7 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 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='%239C92AC' fill-opacity='0.4'%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");
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-ghost {
    color: var(--dark);
    border-color: var(--light-gray);
}

.btn-ghost:hover {
    background: var(--light-gray);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 40px -10px rgba(0,0,0,0.15);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation: float 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Course Cards */
.courses-preview {
    padding: 5rem 0;
    background: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.course-image {
    height: 200px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--light-gray) 100%);
}

.course-level {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.course-content {
    padding: 2rem;
}

.course-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    color: var(--gray);
}

.course-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Mobile */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
}
/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Footer Styles */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contacts h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contacts a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: white;
}

.partner-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.partner-links a {
    color: var(--primary);
    font-weight: 600;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #9CA3AF;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
    }
}
/* Courses Catalog */
.courses-hero {
    background: linear-gradient(135deg, #EBF5FF 0%, #E6FFFA 100%);
    padding: 8rem 0 4rem;
    margin-top: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.courses-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
}

.courses-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3B82F6 0%, #14B8A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

/* Filters */
.catalog-filters {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.filters-header h3 {
    font-weight: 700;
    color: #1F2937;
}

.clear-filters {
    background: none;
    border: none;
    color: #EA580C;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.clear-filters:hover {
    opacity: 0.7;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
}

.filter-group input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    transition: all 0.3s;
}

.filter-group input[type="text"]:focus {
    outline: none;
    border-color: #14B8A6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
    color: #4B5563;
    font-weight: 500;
    transition: color 0.3s;
}

.checkbox-label:hover,
.radio-label:hover {
    color: #1F2937;
}

.checkbox-label input,
.radio-label input {
    margin-right: 0.5rem;
    accent-color: #3B82F6;
}

.btn-full {
    width: 100%;
    background: linear-gradient(135deg, #3B82F6 0%, #14B8A6 100%);
    color: white;
    padding: 0.75rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

/* Catalog Content */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-count {
    color: #6B7280;
}

.results-count strong {
    color: #1F2937;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    background: white;
    color: #1F2937;
    font-weight: 500;
}

/* Course Cards Full */
.course-card-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

.course-card-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.course-image {
    height: 220px;
    background: linear-gradient(135deg, #EBF5FF 0%, #E6FFFA 100%);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #3B82F6 0%, #14B8A6 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.course-info {
    padding: 2rem;
}

.course-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #1F2937;
}

.course-info p {
    color: #6B7280;
    line-height: 1.6;
}

.course-features {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6B7280;
    font-size: 0.875rem;
}

.feature svg {
    color: #14B8A6;
}

.course-footer {
    display: flex;justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #F3F4F6;
}

.course-price {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3B82F6 0%, #14B8A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.course-footer .btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #14B8A6 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.course-footer .btn-primary:hover {
    transform: translateX(3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4rem;
}

.page-num,
.page-prev,
.page-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    background: white;
    color: #6B7280;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-num:hover,
.page-prev:hover,
.page-next:hover {
    color: #3B82F6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-num.active {
    background: linear-gradient(135deg, #3B82F6 0%, #14B8A6 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Mobile */
@media (max-width: 768px) {
    .courses-hero {
        padding: 6rem 0 3rem;
    }
    
    .courses-hero h1 {
        font-size: 2.5rem;
    }
    
    .catalog-layout {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }
    
    .catalog-filters {
        position: static;
        margin-bottom: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .course-footer .btn-primary {
        width: 100%;
        padding: 1rem;
    }
    
    .catalog-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .sort-select {
        width: 100%;
    }
}

/* Single Course Page */
.course-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #F0F4FF 0%, #FEF3C7 100%);
}

.course-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.course-meta span {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.course-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.course-desc {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.course-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.course-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.price-block {
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.price-note {
    font-size: 0.875rem;
    color: var(--gray);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

.course-preview-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.course-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    background: rgba(0,0,0,0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Curriculum Section */
.course-curriculum {
    padding: 4rem 0;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.module-block {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.module-header h3 {
    font-size: 1.25rem;
}

.module-lessons {
    color: var(--gray);
    font-size: 0.875rem;
}

.lesson-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.lesson-item:hover {
    background: var(--light-gray);
}

.lesson-item.locked {
    opacity: 0.6;
}

.lesson-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
}

.lesson-info {
    flex: 1;
}

.lesson-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.lesson-duration {
    font-size: 0.875rem;
    color: var(--gray);
}

.lock-icon {
    color: var(--gray);
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.features-list svg {
    color: var(--success);
}

.instructor-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.instructor-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-info h4 {
    margin-bottom: 0.25rem;
}

.instructor-info p {
    font-size: 0.875rem;
    color: var(--gray);
}

.btn-success {
    background: var(--success);
}

.btn-success:hover {
    background: #047857;
}

/* Mobile */
@media (max-width: 768px) {
    .course-hero-grid,
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
    
    .course-hero-visual {
        order: -1;
    }
    
    .course-stats {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Dashboard Styles */
.dashboard-hero {
    background: linear-gradient(135deg, #EBF5FF 0%, #F3E8FF 100%);
    padding: 6rem 0 3rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.user-welcome h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.user-welcome p {
    color: var(--gray);
    font-size: 1.125rem;
}

.dashboard-stats {
    display: flex;
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Dashboard Layout */
.dashboard-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.dashboard-sidebar {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
}

.nav-item:hover {
    background: var(--light-gray);
}

.nav-item.active {
    background: var(--primary);
    color: white;
}

.nav-item svg {
    width: 20px;
    height: 20px;
}

/* Main Content */
.dashboard-main h2 {
    margin-bottom: 2rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
}

.empty-state img {
    max-width: 200px;
    margin-bottom: 2rem;
}

.empty-state h3 {
    margin-bottom: 1rem;
}

/* Course Progress Cards */
.my-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-progress-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.course-progress-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.course-progress-card .course-image {
    height: 180px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, #E0E7FF 100%);
}

.progress-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.course-progress-card .course-info {
    padding: 1.5rem;
}

.course-progress-card h3 {
    margin-bottom: 0.5rem;
}

.course-meta {
    color: var(--gray);
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: width 0.5s ease;
}

.btn-full {
    width: 100%;
}

/* Recent Activity */
.recent-activity {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.recent-activity h3 {
    margin-bottom: 1.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.activity-content p {
    margin-bottom: 0.25rem;
}

.activity-content span {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Mobile Dashboard */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .stat-card {
        padding: 1rem;
        flex: 1;
    }
    
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: static;
    }
    
    .my-courses-grid {
        grid-template-columns: 1fr;
    }
}
/* Instructor Dashboard */
.instructor-hero {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0E7FF 100%);
    padding: 6rem 0 3rem;
}

.instructor-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.instructor-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat-box {
    background: white;
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    filter: grayscale(0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

/* Instructor Layout */
.instructor-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.instructor-sidebar {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.instructor-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
}

.instructor-nav .nav-link:hover {
    background: var(--light-gray);
}

.instructor-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.instructor-nav svg {
    width: 20px;
    height: 20px;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 3rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--dark);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.action-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.action-card p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Courses Table */
.my-courses-section {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.courses-table {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.courses-table table {
    width: 100%;
    border-collapse: collapse;
}

.courses-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--light-gray);
    font-weight: 600;
    color: var(--gray);
    font-size: 0.875rem;
    text-transform: uppercase;
}

.courses-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.course-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.course-title img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Mobile Instructor */
@media (max-width: 768px) {
    .instructor-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-box {
        padding: 1.5rem;
    }
    
    .instructor-layout {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-table {
        font-size: 0.875rem;
    }
}
/* Create Course Page */
.create-course-page {
    padding: 6rem 0 3rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Creation Steps */
.creation-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.creation-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--light-gray);
    z-index: -1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0 2rem;
    cursor: pointer;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.step.active .step-number {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.step-name {
    font-size: 0.875rem;
    color: var(--gray);
}

.step.active .step-name {
    color: var(--primary);
    font-weight: 600;
}

/* Form Styling */
.course-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-step {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-step.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Image Upload */
.image-upload {
    position: relative;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border: 2px dashed var(--light-gray);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-label:hover {
    border-color: var(--primary);
    background: var(--light-gray);
}

.image-upload input[type="file"] {
    display: none;
}

/* Module Builder */
.module-block {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.btn-remove {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
}

.btn-remove:hover {
    color: #EF4444;
}

.lessons-container {
    margin: 1rem 0;
}

.lesson-item {
    display: grid;
    grid-template-columns: 2fr 1fr 80px 40px;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.lesson-item input,
.lesson-item select {
    padding: 0.5rem;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
}

.btn-add-lesson {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.form-actions .btn {
    min-width: 120px;
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.setting-block {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
}

.checkbox-setting,
.radio-setting {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.checkbox-setting input,
.radio-setting input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Summary */
.form-summary {
    background: #F0F9FF;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.summary-content p {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.summary-content span {
    color: var(--dark);
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .form-grid,
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .lesson-item {
        grid-template-columns: 1fr;
    }
    
    .creation-steps {
        margin: 0 -1rem 2rem;
    }
}
/* Lesson Viewer */
.lesson-viewer {
    min-height: 100vh;
    background: var(--light-gray);
}

.lesson-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: 100vh;
}

/* Lesson Sidebar */
.lesson-sidebar {
    background: white;
    overflow-y: auto;
    border-right: 1px solid #E5E7EB;
}

.course-nav {
    padding: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.back-to-course {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

.lessons-list {
    padding: 1rem;
}

.module-section {
    margin-bottom: 2rem;
}

.module-section h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.module-section ul {
    list-style: none;
}

.module-section li {
    margin-bottom: 0.5rem;
}

.module-section a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
}

.module-section li.active a {
    background: var(--primary);
    color: white;
}

.module-section li.completed a {
    color: var(--success);
}

.lesson-status {
    width: 24px;
    height: 24px;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.module-section li.completed .lesson-status {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

/* Video Container */
.video-container {
    background: black;
    position: relative;
}

.lesson-video {
    width: 100%;
    max-height: 500px;
}

/* Lesson Content */
.lesson-content {
    overflow-y: auto;
    padding-bottom: 3rem;
}

.lesson-header {
    padding: 2rem 3rem;
    background: white;
}

.lesson-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.lesson-text {
    padding: 2rem 3rem;
    background: white;
    line-height: 1.8;
}

/* Materials */
.lesson-materials {
    margin: 2rem 3rem;
    padding: 2rem;
    background: #F0F9FF;
    border-radius: 12px;
}

.materials-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
}

.material-item:hover {
    background: var(--primary);
    color: white;
}

/* Navigation */
.lesson-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: white;
    margin-top: 2rem;
}

.nav-prev,
.nav-next {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.completed-badge {
    color: var(--success);
    font-weight: 600;
}

/* Comments */
.lesson-comments {
    margin: 2rem 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.comment-form textarea {
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    resize: vertical;
}

.comment {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.875rem;
}

/* Mobile */
@media (max-width: 768px) {
    .lesson-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .lesson-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100vh;
        z-index: 1000;
    }
    
    .lesson-sidebar.open {
        display: block;
    }
    
    .lesson-content {
        padding-top: 60px;
    }
    
    .lesson-header,
    .lesson-text {
        padding: 1.5rem;
    }
    
    .lesson-navigation {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .lesson-comments {
        margin: 1rem;
    }
}
/* Auth Page */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #EBF5FF 0%, #F3E8FF 100%);
    padding: 2rem 0;
}

.auth-container {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    background: var(--light-gray);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;    transition: all 0.3s;
}

.tab-btn.active {
    background: white;
    color: var(--primary);
}

.auth-form {
    display: none;
    padding: 2.5rem;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-remember {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: var(--gray);
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--light-gray);
}

.social-btn {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    background: #4A76A8;
    color: white;
    border-color: #4A76A8;
}

.password-strength {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.password-strength.weak {
    color: #EF4444;
}

.password-strength.medium {
    color: #F59E0B;
}

.password-strength.strong {
    color: var(--success);
}

.register-benefits {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.register-benefits h4 {
    margin-bottom: 1rem;
}

.register-benefits ul {
    list-style: none;
}

.register-benefits li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}
