/* LEAN DEVELOPER PAGE STYLES */

/* HERO SECTION */
.lean-hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 3rem;
}

.lean-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
}

.lean-hero p {
    color: #E0E0E0;
}

.lean-hero .subtitle {
    font-size: 1.1rem;
    color: #E0E0E0;
    margin: 0;
}

/* PRINCIPLE CARDS */
.principle-section {
    margin-bottom: 3rem;
}

.principle-section h2,
.resources-section h2,
.practice-section h2 {
    color: var(--color-accent-text);
}

.principle-card {
    background: white;
    border-left: 4px solid var(--color-accent);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.principle-card h3 {
    color: var(--color-accent);
    font-size: 1.4rem;
    margin-top: 0;
}

.principle-card ul {
    list-style-type: none;
    padding-left: 0;
}

.principle-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.principle-card li:last-child {
    border-bottom: none;
}

.code-block {
    background-color: #f5f5f5;
    border-left: 3px solid var(--color-accent);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #333;
    white-space: pre;
}

/* RESOURCES SECTION */
.resources-section {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.resources-section h2 {
    color: var(--color-secondary);
    margin-top: 0;
}

.resource-bullets {
    list-style-type: none;
    padding-left: 0;
}

.resource-bullets li {
    padding: 0.7rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.resource-bullets li::before {
    content: "\25B8";
    position: absolute;
    left: 0;
    color: var(--color-accent-text);
    font-weight: bold;
}

.resources-section .btn-cta {
    margin-top: 1rem;
}

/* PRACTICE SECTION */
.practice-section {
    background: #F3E5F5;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #9C27B0;
}

.practice-section h2 {
    color: var(--color-secondary);
    margin-top: 0;
}

.challenge-list {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

.challenge-list li {
    counter-increment: item;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.challenge-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #9C27B0;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .lean-hero h1 {
        font-size: 1.8rem;
    }

    .principle-card {
        padding: 1.5rem;
    }

    .code-block code {
        font-size: 0.85rem;
    }
}