/* ========================================
   LESSON STYLES - DAYS 1-100
   WOW Content Blocks and Lesson Headers
   ======================================== */

/* Lesson Header */
.lesson-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
}

.lesson-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="lessonGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23lessonGrid)"/></svg>');
    z-index: 1;
}

.lesson-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.lesson-day {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.lesson-category {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.lesson-duration {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.lesson-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.lesson-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

/* WOW Content Blocks */
.strategic-trust-solution {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.strategic-trust-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="solutionGrid" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M 30 0 L 0 0 0 30" fill="none" stroke="%233b82f6" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23solutionGrid)"/></svg>');
    z-index: 1;
}

.solution-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4); }
}

.solution-icon i {
    color: white;
    font-size: 2rem;
}

.solution-header h2 {
    color: #1e40af;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
}

.solution-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.prevention-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 1rem;
}

.prevention-header h3 {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.prevention-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 900;
}

.badge-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.framework-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.phase-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.5s ease;
}

.phase-card:hover::before {
    left: 100%;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.phase-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.phase-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phase-icon i {
    color: #0277bd;
    font-size: 1.5rem;
}

.phase-header h4 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-text strong {
    color: #1e40af;
    font-weight: 700;
    font-size: 0.95rem;
}

.feature-text span {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Success Metrics */
.success-metrics {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.success-metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="successGrid" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="%2322c55e" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23successGrid)"/></svg>');
    z-index: 1;
}

.metrics-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.metrics-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    animation: metricsPulse 3s ease-in-out infinite;
}

@keyframes metricsPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(34, 197, 94, 0.4); }
}

.metrics-icon i {
    color: white;
    font-size: 2rem;
}

.metrics-header h2 {
    color: #16a34a;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.metric-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #16a34a;
    margin-bottom: 0.5rem;
    display: block;
}

.metric-label {
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.metric-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Prevention Checklist */
.prevention-checklist {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.prevention-checklist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="checklistGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23f59e0b" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23checklistGrid)"/></svg>');
    z-index: 1;
}

.checklist-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.checklist-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    animation: checklistPulse 3s ease-in-out infinite;
}

@keyframes checklistPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4); }
}

.checklist-icon i {
    color: white;
    font-size: 2rem;
}

.checklist-header h2 {
    color: #d97706;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
}

.checklist-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.checklist-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.checklist-check {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.checklist-check i {
    color: white;
    font-size: 0.9rem;
}

.checklist-content {
    flex: 1;
}

.checklist-content h4 {
    color: #d97706;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.checklist-content p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lesson-header {
        padding: 2rem;
    }
    
    .lesson-title {
        font-size: 2rem;
    }
    
    .lesson-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .strategic-trust-solution,
    .success-metrics,
    .prevention-checklist {
        padding: 2rem;
    }
    
    .framework-phases {
        grid-template-columns: 1fr;
    }
    
    .prevention-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .checklist-items {
        grid-template-columns: 1fr;
    }
}
