/* Section Unlock System Styles */
.section {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    position: relative;
}

.section.active {
    opacity: 1;
    transform: translateY(0);
}

.section.unlocked {
    opacity: 1;
}

.section-title {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.section-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.section-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    margin-top: 1.5rem;
}

.unlock-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.unlock-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
}

.unlock-button:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    cursor: not-allowed;
    opacity: 0.8;
    transform: none;
    box-shadow: none;
}

.engagement-message {
    font-size: 1rem;
    color: #718096;
    margin: 1rem 0;
    text-align: center;
    font-style: italic;
    padding: 0.5rem;
    background: #f7fafc;
    border-radius: 4px;
    border-left: 3px solid #48bb78;
}

.article-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    z-index: 1000;
}

.article-progress-bar {
    height: 100%;
    background: #48bb78;
    width: 0;
    transition: width 0.3s ease;
}

.timer-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#timer {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2d3748;
}

.section-timer {
    color: #4a5568;
    font-size: 1rem;
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section {
        padding: 1rem;
        margin: 1rem 0;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .unlock-button {
        width: 100%;
        max-width: 200px;
    }

    .section-footer {
        padding: 0.75rem 0;
    }

    .timer-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Content Boxes Between Sections */
.key-takeaway,
.quick-tip,
.did-you-know,
.expert-insight,
.action-steps,
.success-story,
.pro-tip,
.warning-box,
.final-thoughts {
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    position: relative;
}

.key-takeaway h3,
.quick-tip h3,
.did-you-know h3,
.expert-insight h3,
.action-steps h3,
.success-story h3,
.pro-tip h3,
.warning-box h3,
.final-thoughts h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #2d3748;
}

.key-takeaway p,
.quick-tip p,
.did-you-know p,
.expert-insight p,
.action-steps p,
.success-story p,
.pro-tip p,
.warning-box p,
.final-thoughts p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Specific Styles for Each Box Type */
.key-takeaway {
    border-left: 4px solid #4299e1;
    background: #ebf8ff;
}

.quick-tip {
    border-left: 4px solid #48bb78;
    background: #f0fff4;
}

.did-you-know {
    border-left: 4px solid #ed8936;
    background: #fffaf0;
}

.expert-insight {
    border-left: 4px solid #805ad5;
    background: #faf5ff;
}

.action-steps {
    border-left: 4px solid #3182ce;
    background: #ebf8ff;
}

.success-story {
    border-left: 4px solid #38a169;
    background: #f0fff4;
}

.pro-tip {
    border-left: 4px solid #d69e2e;
    background: #fffff0;
}

.warning-box {
    border-left: 4px solid #e53e3e;
    background: #fff5f5;
}

.final-thoughts {
    border-left: 4px solid #4a5568;
    background: #f7fafc;
}

/* Mobile Responsiveness for Content Boxes */
@media (max-width: 768px) {
    .key-takeaway,
    .quick-tip,
    .did-you-know,
    .expert-insight,
    .action-steps,
    .success-story,
    .pro-tip,
    .warning-box,
    .final-thoughts {
        margin: 1.5rem 1rem;
        padding: 1rem;
    }

    .key-takeaway h3,
    .quick-tip h3,
    .did-you-know h3,
    .expert-insight h3,
    .action-steps h3,
    .success-story h3,
    .pro-tip h3,
    .warning-box h3,
    .final-thoughts h3 {
        font-size: 1.1rem;
    }
} 