/* === LMS Landing Components Styles === */

/* Nav */
.lms-nav {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.lms-nav .lms-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lms-nav-brand a {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.lms-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.lms-nav-menu li a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lms-nav-menu li a:hover {
    color: #2c3e50;
}

.lms-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.lms-nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .lms-nav-toggle {
        display: block;
    }

    .lms-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .lms-nav-menu.open {
        display: flex;
    }

    .lms-nav {
        position: relative;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
}

.lms-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.lms-section-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #333;
}

.lms-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lms-btn-primary {
    background: #2c3e50;
    color: #fff;
}

.lms-btn-primary:hover {
    background: #34495e;
    color: #fff;
}

.lms-btn-secondary {
    background: transparent;
    color: #2c3e50;
    border-color: #2c3e50;
}

.lms-btn-secondary:hover {
    background: #2c3e50;
    color: #fff;
}

/* Hero */
.lms-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.lms-hero .lms-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lms-hero-content {
    flex: 1;
}

.lms-hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
}

.lms-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px;
    opacity: 0.9;
}

.lms-hero-image {
    flex: 1;
    text-align: center;
}

.lms-hero-image img {
    max-width: 100%;
    height: auto;
}

.lms-hero .lms-btn-primary {
    background: #fff;
    color: #2c3e50;
}

.lms-hero .lms-btn-primary:hover {
    background: rgba(255,255,255,0.9);
}

/* Features */
.lms-features {
    padding: 80px 0;
    background: #f8f9fa;
}

.lms-features .lms-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lms-features-image {
    flex: 1;
    text-align: center;
}

.lms-features-image img {
    max-width: 100%;
    height: auto;
}

.lms-features-content {
    flex: 1;
}

.lms-features-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 30px;
}

/* Courses Grid */
.lms-courses-grid {
    padding: 80px 0;
    background: #fff;
}

.lms-courses-row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.lms-course-card {
    width: 25%;
    padding: 15px;
    text-align: center;
}

.lms-course-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lms-course-icon img {
    max-width: 40px;
    height: auto;
}

.lms-course-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #333;
}

.lms-course-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Content Section */
.lms-content-section {
    padding: 80px 0;
}

.lms-content-section:nth-child(even) {
    background: #f8f9fa;
}

.lms-content-section .lms-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lms-content-image {
    flex: 1;
    text-align: center;
}

.lms-content-image img {
    max-width: 100%;
    height: auto;
}

.lms-content-text {
    flex: 1;
}

.lms-content-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 30px;
}

/* Testimonial */
.lms-testimonial {
    padding: 80px 0;
    background: #2c3e50;
    color: #fff;
    text-align: center;
}

.lms-testimonial-quote {
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.lms-testimonial-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    quotes: "\201C" "\201D" "\2018" "\2019";
}

.lms-testimonial-text::before {
    content: "\201C";
}

.lms-testimonial-text::after {
    content: "\201D";
}

.lms-testimonial-desc {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.8;
    margin: 0 0 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.lms-testimonial-author {
    font-size: 16px;
}

.lms-testimonial-name {
    font-weight: 700;
    display: block;
}

.lms-testimonial-info {
    opacity: 0.7;
    font-size: 14px;
}

/* FAQ */
.lms-faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.lms-faq .lms-container {
    display: flex;
    gap: 40px;
}

.lms-faq-header {
    flex: 0 0 350px;
}

.lms-faq-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 30px;
}

.lms-faq-items {
    flex: 1;
}

.lms-faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.lms-faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lms-faq-question:hover {
    background: #f0f0f0;
}

.lms-faq-icon {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.lms-faq-item.active .lms-faq-icon {
    transform: rotate(45deg);
}

.lms-faq-answer {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.lms-faq-answer p {
    margin: 0;
}

/* Pricing */
.lms-pricing {
    padding: 80px 0;
    background: #fff;
}

.lms-pricing-row {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.lms-pricing-card {
    flex: 0 0 350px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}

.lms-pricing-featured {
    border-color: #2c3e50;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.lms-pricing-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #333;
}

.lms-pricing-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px;
}

.lms-pricing-amount {
    margin-bottom: 25px;
}

.lms-pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: #2c3e50;
}

.lms-pricing-period {
    font-size: 16px;
    color: #999;
}

/* CTA */
.lms-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

.lms-cta-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 15px;
}

.lms-cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 30px;
}

.lms-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.lms-cta .lms-btn-primary {
    background: #fff;
    color: #2c3e50;
}

.lms-cta .lms-btn-primary:hover {
    background: rgba(255,255,255,0.9);
}

.lms-cta .lms-btn-secondary {
    border-color: #fff;
    color: #fff;
}

.lms-cta .lms-btn-secondary:hover {
    background: #fff;
    color: #2c3e50;
}

/* Footer */
.lms-footer {
    padding: 40px 0;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}

.lms-footer-social {
    margin-bottom: 15px;
}

.lms-social-link {
    color: #999;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.lms-social-link:hover {
    color: #fff;
}

.lms-footer-copyright {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
    .lms-hero .lms-container,
    .lms-features .lms-container,
    .lms-content-section .lms-container {
        flex-direction: column;
    }

    .lms-hero-title {
        font-size: 32px;
    }

    .lms-course-card {
        width: 50%;
    }

    .lms-faq .lms-container {
        flex-direction: column;
    }

    .lms-faq-header {
        flex: none;
    }

    .lms-pricing-row {
        flex-direction: column;
        align-items: center;
    }

    .lms-pricing-featured {
        transform: none;
    }

    .lms-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .lms-course-card {
        width: 100%;
    }

    .lms-hero-title {
        font-size: 26px;
    }
}
