/* Course-specific styles */

/* Course Hero Section */
.course-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a5684 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    pointer-events: none;
}

.course-hero .container {
    position: relative;
    z-index: 1;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge-early {
    background: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--accent-color);
}

.course-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-features span {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-features i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    text-decoration: none;
}

.hero-note {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}

/* Course Outcomes */
.course-outcomes {
    padding: 5rem 0;
    background: var(--light-color);
}

.course-outcomes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.outcome-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outcome-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.outcome-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3a5684);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.outcome-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.outcome-item p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
}

/* Course Curriculum */
.course-curriculum {
    padding: 5rem 0;
}

.course-curriculum h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.curriculum-modules {
    max-width: 900px;
    margin: 3rem auto 0;
}

.module-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.module-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.1);
}

.module-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--light-color);
    transition: background 0.3s ease;
}

.module-item.active .module-header {
    background: rgba(74, 111, 165, 0.1);
}

.module-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.module-info {
    flex: 1;
}

.module-info h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.module-duration {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.module-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.module-item.active .module-toggle {
    transform: rotate(180deg);
}

.module-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.module-item.active .module-content {
    max-height: 1000px;
    padding: 1.5rem 2rem 2rem;
}

.module-content p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.module-content ul {
    margin-bottom: 1.5rem;
}

.module-content li {
    color: var(--body-color);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.module-deliverables {
    background: rgba(74, 111, 165, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.module-deliverables strong {
    color: var(--primary-color);
}

/* Instructor Section */
.course-instructor {
    padding: 5rem 0;
    background: var(--light-color);
}

.instructor-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.instructor-image {
    text-align: center;
}

.instructor-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), #3a5684);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 4rem;
    color: white;
}

.instructor-info h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.instructor-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.instructor-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--body-color);
    font-weight: 500;
}

.credential-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.instructor-note {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    font-style: italic;
    color: var(--secondary-color);
    margin-top: 1.5rem;
}

/* Course Pricing */
.course-pricing {
    padding: 5rem 0;
}

.course-pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-comparison {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    align-items: start;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.price-display {
    margin-bottom: 0.5rem;
}

.price-current {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.price-original {
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-note {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin: 0;
}

.pricing-features {
    margin-bottom: 2rem;
}

.feature-category {
    margin-bottom: 1.5rem;
}

.feature-category h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-category li {
    padding: 0.4rem 0;
    color: var(--body-color);
    line-height: 1.5;
}

.feature-category i.fas {
    color: var(--success-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.pricing-cta {
    text-align: center;
}

.cta-note {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 0.8rem;
}

.value-comparison {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
}

.value-comparison h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.comparison-items {
    space-y: 1rem;
}

.comparison-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.comparison-item:last-child {
    border-bottom: none;
}

.comparison-label {
    flex: 1;
    color: var(--body-color);
    font-size: 0.9rem;
}

.comparison-value {
    font-weight: 600;
    color: var(--secondary-color);
}

.comparison-highlight {
    background: rgba(74, 111, 165, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-value.special {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* FAQ Section */
.course-faq {
    padding: 5rem 0;
    background: var(--light-color);
}

.course-faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(74, 111, 165, 0.05);
}

.faq-item.active .faq-question {
    background: rgba(74, 111, 165, 0.1);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials */
.course-testimonials {
    padding: 5rem 0;
}

.course-testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-item.coming-soon {
    background: var(--light-color);
    border: 2px dashed var(--border-color);
    text-align: center;
}

.testimonial-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a5684 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.final-pricing {
    margin-bottom: 2.5rem;
}

.price-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    display: inline-block;
    text-align: center;
}

.price-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.final-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.price-save {
    font-size: 0.95rem;
    opacity: 0.8;
    display: block;
}

.final-cta-button {
    margin-bottom: 2rem;
}

.btn-xl {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 12px;
}

.urgency-note {
    background: rgba(248, 198, 48, 0.2);
    border: 1px solid rgba(248, 198, 48, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.urgency-note p {
    margin: 0;
    font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        text-align: center;
    }
    
    .outcomes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .instructor-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .instructor-credentials {
        grid-template-columns: 1fr;
    }
    
    .pricing-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .cta-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .final-price {
        font-size: 2.5rem;
    }
    
    .btn-xl {
        width: 100%;
    }
}