/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #1a1a1a;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #8059B3;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #8059B3;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #8059B3;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-count {
    background: #CF3334;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.auth-btn {
    background: #8059B3;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.auth-btn:hover {
    background: #6d4a9a;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8059B3, #6d4a9a);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 89, 179, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #8059B3;
    border: 2px solid #8059B3;
}

.btn-secondary:hover {
    background: #8059B3;
    color: white;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(128, 89, 179, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: #8059B3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    font-size: 8rem;
    opacity: 0.8;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* Featured Courses */
.featured-courses {
    padding: 80px 0;
    background: #0f0f0f;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2a2a2a;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.course-image {
    height: 200px;
    background: linear-gradient(135deg, #8059B3, #CD9261);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.course-instructor {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-text {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4B9F8E;
    margin-bottom: 1rem;
}

/* Features */
.features {
    padding: 80px 0;
    background: #0a0a0a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #8059B3;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #0f0f0f;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}

.testimonial-content p {
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2.5rem;
}

.author-info h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #8059B3;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8059B3;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #b0b0b0;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8059B3;
    box-shadow: 0 0 0 2px rgba(128, 89, 179, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .courses-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}
/* Page 
Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #8059B3;
}

.page-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Course Filters */
.course-filters {
    padding: 40px 0;
    background: #0f0f0f;
    border-bottom: 1px solid #1a1a1a;
}

.filter-controls {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.search-box input {
    width: 300px;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: #8059B3;
    box-shadow: 0 0 0 2px rgba(128, 89, 179, 0.2);
}

.filter-dropdown select {
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    min-width: 200px;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: #8059B3;
}

/* All Courses */
.all-courses {
    padding: 60px 0;
    background: #0a0a0a;
}

.course-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.course-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.9rem;
}

/* Cart Page */
.cart-page {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.cart-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cart-item {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #2a2a2a;
}

.cart-item-image {
    font-size: 3rem;
    min-width: 80px;
    text-align: center;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cart-item-details p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4B9F8E;
    margin-right: 1rem;
}

.cart-summary {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #2a2a2a;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.empty-cart {
    text-align: center;
    padding: 4rem 0;
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Course Detail Page */
.course-detail-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.course-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.course-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.course-instructor {
    color: #8059B3;
    font-weight: 600;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-purchase-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #2a2a2a;
    position: sticky;
    top: 100px;
}

.course-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #4B9F8E;
    margin-bottom: 1.5rem;
}

.course-description {
    padding: 60px 0;
}

.course-modules {
    background: #0f0f0f;
    padding: 60px 0;
}

.modules-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.modules-list li {
    background: #1a1a1a;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.module-number {
    background: #8059B3;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Auth Pages */
.auth-page {
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 3rem;
    width: 100%;
    max-width: 400px;
    border: 1px solid #2a2a2a;
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #8059B3;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: #8059B3;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Account Page */
.account-page {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.account-header {
    text-align: center;
    margin-bottom: 3rem;
}

.account-header h1 {
    color: #8059B3;
    margin-bottom: 0.5rem;
}

.account-sections {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.account-sidebar {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #2a2a2a;
    height: fit-content;
}

.account-content {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #2a2a2a;
}

.purchased-course {
    background: #0f0f0f;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #2a2a2a;
}

.course-progress {
    margin-top: 1rem;
}

.progress-bar {
    background: #2a2a2a;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #8059B3, #4B9F8E);
    height: 100%;
    transition: width 0.3s ease;
}

.logout-btn {
    background: #CF3334;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    margin-top: 1rem;
}

.logout-btn:hover {
    background: #b02a2b;
}

/* Contact Page */
.contact-page {
    padding: 120px 0 60px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid #2a2a2a;
}

/* Checkout Page */
.checkout-page {
    padding: 120px 0 60px;
}

.checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.checkout-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.checkout-form {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #2a2a2a;
}

.order-summary {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #2a2a2a;
    height: fit-content;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2a2a2a;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4B9F8E;
    margin-top: 1rem;
}

/* Static Pages */
.static-page {
    padding: 120px 0 60px;
}

.static-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.static-content h1 {
    color: #8059B3;
    margin-bottom: 2rem;
}

.static-content h2 {
    color: #ffffff;
    margin: 2rem 0 1rem;
}

.static-content p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.static-content ul {
    color: #b0b0b0;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.static-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .course-detail-container,
    .checkout-sections,
    .account-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box input {
        width: 100%;
        max-width: 300px;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .course-info h1 {
        font-size: 2rem;
    }
}