/* ======================================
   Learning Paths Modern - Homepage Section
   Inspired by HubSpot, Salesforce, OMR
   ====================================== */

.learning-paths-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(107, 76, 154, 0.02) 0%, 
        rgba(255, 255, 255, 0.5) 50%,
        rgba(0, 118, 34, 0.02) 100%);
}

.learning-paths-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Section */
.learning-paths-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--rs-glass-bg);
    backdrop-filter: var(--rs-glass-blur);
    border: 1px solid rgba(107, 76, 154, 0.2);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rs-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--rs-text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--rs-text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Learning Paths Grid */
.learning-paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

/* Learning Path Card */
.learning-path-card {
    background: var(--rs-glass-bg);
    backdrop-filter: var(--rs-glass-blur-strong);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.learning-path-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(107, 76, 154, 0.2);
    background: var(--rs-glass-bg-strong);
    border-color: rgba(107, 76, 154, 0.3);
}

/* Card Image */
.card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(107, 76, 154, 0.1) 0%, 
        rgba(0, 118, 34, 0.1) 100%);
}

.card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.learning-path-card:hover .card-image img {
    transform: scale(1.05);
}

.level-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: rgba(107, 76, 154, 0.9);
    backdrop-filter: blur(10px) saturate(180%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Content */
.card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--rs-primary);
    margin-bottom: 12px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--rs-text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--rs-primary);
}

.card-excerpt {
    font-size: 15px;
    color: var(--rs-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Card Meta */
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--rs-text-secondary);
}

.meta-item svg {
    opacity: 0.7;
}

.meta-item.rating {
    color: #F59E0B;
    font-weight: 600;
}

/* Card CTA Button */
.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--rs-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-cta:hover {
    background: var(--rs-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(107, 76, 154, 0.3);
}

.card-cta.enrolled {
    background: #10B981;
}

.card-cta.enrolled:hover {
    background: #059669;
}
/* View All CTA */
.learning-paths-cta {
    text-align: center;
    margin-top: 64px;
}

/* Button-Styles werden von buttons-global.css übernommen */   box-shadow: 0 8px 16px rgba(107, 76, 154, 0.2);
}

/* No Courses State */
.no-courses {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: var(--rs-glass-bg-light);
    backdrop-filter: var(--rs-glass-blur);
    border-radius: 16px;
    border: 1px solid rgba(107, 76, 154, 0.1);
}

.no-courses h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--rs-text-primary);
    margin-bottom: 12px;
}

.no-courses p {
    font-size: 16px;
    color: var(--rs-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .learning-paths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .learning-paths-modern {
        padding: 60px 0;
    }
    
    .learning-paths-inner {
        padding: 0 16px;
    }
    
    .learning-paths-header {
        margin-bottom: 48px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .learning-paths-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-price {
        font-size: 24px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .learning-paths-cta {
        margin-top: 48px;
    }
    
    .btn-all-courses {
        padding: 14px 32px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .section-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .card-meta {
        flex-direction: column;
        gap: 12px;
    }
}
