* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #E8F4FD 0%, #B8E6FF 100%);
    min-height: 100vh;
}

.header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #2c5f2d, #4a90a4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-btn.active {
    background: #1565C0;
    color: white;
}

.nav-btn:not(.active) {
    background: transparent;
    color: #666;
}

.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title h1 {
    color: #1565C0;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.page-title p {
    color: #666;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.content-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    background: white;
    border-radius: 15px;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    white-space: nowrap;
}

.tab-btn.active {
    background: #1565C0;
    color: white;
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.interactive-section {
    background: white;
    border-radius: 20px;
    padding: clamp(1rem, 3vw, 2rem);
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.interactive-section:hover {
    transform: translateY(-5px);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #42A5F5, #1E88E5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.quiz-container {
    background: linear-gradient(45deg, #E8F5E8, #C8E6C9);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.quiz-question {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2E7D32;
}

.quiz-options {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quiz-option {
    padding: 1rem;
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.quiz-option:hover {
    border-color: #4CAF50;
    background: #F1F8E9;
}

.quiz-option.selected {
    border-color: #4CAF50;
    background: #E8F5E8;
}

.quiz-option.correct {
    border-color: #4CAF50;
    background: #C8E6C9;
}

.quiz-option.incorrect {
    border-color: #F44336;
    background: #FFEBEE;
}

.quiz-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    display: none;
}

.quiz-result.correct {
    background: #C8E6C9;
    color: #2E7D32;
}

.quiz-result.incorrect {
    background: #FFCDD2;
    color: #C62828;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #42A5F5, #1E88E5);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-left: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 15px;
    height: 15px;
    background: #42A5F5;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #42A5F5;
}

.timeline-age {
    background: #E3F2FD;
    color: #1565C0;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.comparison-card:hover {
    transform: scale(1.05);
}

.comparison-card.asi {
    border: 3px solid #4CAF50;
    background: linear-gradient(135deg, #E8F5E8, #F1F8E9);
}

.comparison-card.sufor {
    border: 3px solid #FF9800;
    background: linear-gradient(135deg, #FFF3E0, #FFCC80);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.asi .card-icon {
    background: #4CAF50;
}

.sufor .card-icon {
    background: #FF9800;
}

.myth-fact-container {
    display: grid;
    gap: 1rem;
}

.myth-fact-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 5px solid #E0E0E0;
}

.myth-fact-item:hover {
    transform: translateX(5px);
    border-left-color: #1565C0;
}

.myth-fact-item.revealed {
    border-left-color: #4CAF50;
    background: #F1F8E9;
}

.myth-label {
    background: #FFEBEE;
    color: #D32F2F;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}

.fact-label {
    background: #E8F5E8;
    color: #2E7D32;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}

.hidden-content {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px dashed #E0E0E0;
}

.interactive-btn {
    background: linear-gradient(45deg, #42A5F5, #1E88E5);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 1rem 0;
    width: 100%;
    max-width: 300px;
}

.interactive-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 165, 245, 0.4);
}

.progress-bar {
    background: #E0E0E0;
    height: 8px;
    border-radius: 4px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.quiz-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #E0E0E0;
}

.quiz-section h3 {
    color: #1565C0;
    margin-bottom: 1rem;
    text-align: center;
}

.quiz-grid {
    display: grid;
    gap: 1.5rem;
}

.quiz-counter {
    background: #E3F2FD;
    color: #1565C0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-buttons {
        justify-content: center;
    }
    
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .content-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        max-width: none;
        min-width: auto;
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline::before {
        left: 0.5rem;
    }
    
    .timeline-item {
        margin-left: 0.5rem;
    }
    
    .timeline-item::before {
        left: -1.5rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-option {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0 0.5rem;
    }
    
    .interactive-section {
        padding: 1rem;
    }
    
    .nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}