/* Lessons CSS - Following the site's design aesthetic */

/* Override hero-section animations */
.hero-section::before {
    display: none !important;
}

.hero-section::after {
    display: none !important;
}

/* Lesson Container */
.lesson-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section Styles - Override home.css */
.lesson-content .hero-section {
    text-align: center !important;
    margin-bottom: 5rem !important;
    padding: 0 40px 3rem 40px !important;
    background: transparent !important;
    border-radius: 0 !important;
    position: static !important;
    border-bottom: 2px solid transparent !important;
    background-image: linear-gradient(135deg, #ff6b35 0%, #ff2d92 50%, #8b5cf6 100%) !important;
    background-size: 100% 2px !important;
    background-position: bottom center !important;
    background-repeat: no-repeat !important;
}

.lesson-content .hero-title {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
    background: linear-gradient(135deg, #ff6b35 0%, #ff2d92 50%, #8b5cf6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.lesson-content .hero-subtitle {
    font-size: 1.4rem !important;
    color: #444 !important;
    margin-bottom: 1.5rem !important;
    font-weight: 500 !important;
}

.lesson-content .hero-description {
    font-size: 1.1rem !important;
    color: #333 !important;
    line-height: 1.7 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* Hero Sections */
.lessons-hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a0f3a 0%, #0f0a1f 50%, #050308 100%);
    color: white;
    margin-bottom: 60px;
}

.lessons-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff2d92 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lessons-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.lesson-hero {
    display: flex;
    align-items: center;
    min-height: 500px;
    background: linear-gradient(135deg, #1a0f3a 0%, #0f0a1f 50%, #050308 100%);
    color: white;
    margin-bottom: 60px;
    padding: 0;
}

.hero-content {
    flex: 1;
    padding: 60px 40px;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.lesson-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff2d92 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lesson-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff2d92 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
    color: white;
    text-decoration: none;
}

/* Lessons Grid */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.lesson-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lesson-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.lesson-image {
    height: 200px;
    overflow: hidden;
}

.lesson-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lesson-card:hover .lesson-image img {
    transform: scale(1.1);
}

.lesson-content {
    padding: 30px;
}

.lesson-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.lesson-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.lesson-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.lesson-features li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.lesson-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

.lesson-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff2d92 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lesson-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

/* Content Sections */
.lesson-content-section {
    padding: 0 20px 60px;
}

.lesson-overview {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.lesson-overview h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.lesson-overview p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Features Grid */
.lesson-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Curriculum */
.lesson-curriculum {
    margin-bottom: 60px;
}

.lesson-curriculum h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.curriculum-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
}

.curriculum-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.curriculum-item ul {
    list-style: none;
    padding: 0;
}

.curriculum-item li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.curriculum-item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

/* Topics Grid */
.lesson-topics {
    margin-bottom: 60px;
}

.lesson-topics h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.topic-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.topic-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.topic-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.topic-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Software Grid */
.lesson-software {
    margin-bottom: 60px;
}

.lesson-software h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.software-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
}

.software-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.software-item ul {
    list-style: none;
    padding: 0;
}

.software-item li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-align: center;
}

/* Projects Grid */
.lesson-projects {
    margin-bottom: 60px;
}

.lesson-projects h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.project-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.project-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.project-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.project-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Specialties Grid */
.lesson-specialties {
    margin-bottom: 60px;
}

.lesson-specialties h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.specialty-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.specialty-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.specialty-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.specialty-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Pricing */
.lesson-pricing {
    margin-bottom: 60px;
}

.lesson-pricing h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 15px;
}

.pricing-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.pricing-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

.pricing-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff2d92 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

/* CTA Sections */
.lessons-cta, .lesson-cta {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 60px 0;
}

.lessons-cta h2, .lesson-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.lessons-cta p, .lesson-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff2d92 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.cta-btn.secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Hero Section Mobile Responsive */
@media (max-width: 768px) {
    .lesson-content .hero-section {
        padding: 0 20px 2rem 20px !important;
        margin-bottom: 4rem !important;
    }
    
    .lesson-content .hero-title {
        font-size: 2.5rem !important;
    }
    
    .lesson-content .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    .lesson-content .hero-description {
        font-size: 1rem !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .lesson-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-image {
        padding: 20px;
    }
    
    .lessons-title, .lesson-title {
        font-size: 2.5rem;
    }
    
    .lessons-subtitle, .lesson-subtitle {
        font-size: 1.1rem;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        margin: 5px 0;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .lessons-hero, .lesson-hero {
        padding: 40px 15px;
    }
    
    .lessons-title, .lesson-title {
        font-size: 2rem;
    }
    
    .lesson-overview h2, .lesson-curriculum h2, .lesson-pricing h2, .lessons-cta h2, .lesson-cta h2 {
        font-size: 2rem;
    }
    
    .feature-card, .curriculum-item, .pricing-card {
        padding: 20px;
    }
}
