/* ═══════════════════════════════════════════════
   clfsec Front Page Styles
   ═══════════════════════════════════════════════ */

/* ─── Icon Circle ─── */
.clfsec-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--clfsec-bg-secondary);
    border: 2px solid var(--clfsec-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.clfsec-card:hover .clfsec-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 0 24px rgba(14, 165, 233, 0.2);
}

/* ─── Difficulty Badge ─── */
.clfsec-difficulty-badge {
    position: absolute;
    top: 0; right: 0;
    padding: 0.35rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    border-radius: 0 12px 0 12px;
}
.clfsec-difficulty-badge.text-dark {
    color: #1e293b !important;
}

/* ─── Hero CTA Enhancements ─── */
.clfsec-btn-cta-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1e293b;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.clfsec-btn-cta-gold:hover {
    color: #1e293b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.btn-sm-hero {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}
.btn-sm-hero:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .btn-sm-hero {
        font-size: 0.8rem !important;
    }
}

/* ─── Course Cover ─── */
.clfsec-course-cover {
    transition: transform 0.3s ease;
}
.clfsec-card:hover .clfsec-course-cover {
    transform: scale(1.03);
}

/* ─── Skill Bars (Growth Tracker) ─── */
.clfsec-skill-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--clfsec-bg-secondary);
    overflow: hidden;
    margin-bottom: 1rem;
}
.clfsec-skill-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease;
}

/* ─── Featured Post Large Card ─── */
.clfsec-featured-post {
    border: 2px solid var(--clfsec-primary);
    border-left: 5px solid var(--clfsec-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.clfsec-featured-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
}

/* ─── Conversion CTA Cards ─── */
.clfsec-cta-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.clfsec-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.clfsec-cta-featured {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.08);
    position: relative;
}

.clfsec-cta-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #1e293b;
    padding: 0.2rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.clfsec-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.clfsec-cta-price {
    min-height: 2.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}
