*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333;background-color:#f5f7fa}.container{max-width:1200px;margin:0 auto;padding:0 20px}header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px 0;text-align:center;box-shadow:0 2px 10px #0000001a}header h1{font-size:2.5em;margin-bottom:10px}.subtitle{font-size:1.2em;opacity:.9}nav{background-color:#fff;box-shadow:0 2px 5px #0000001a;position:sticky;top:0;z-index:100}.nav-menu{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;padding:0}.nav-menu li{margin:0}.nav-menu a{display:block;padding:15px 20px;text-decoration:none;color:#333;transition:all .3s ease;border-bottom:3px solid transparent}.nav-menu a:hover,.nav-menu a.active{color:#667eea;border-bottom-color:#667eea;background-color:#f8f9fa}main{padding:40px 0;min-height:calc(100vh - 300px)}section{margin-bottom:40px}h2{color:#667eea;font-size:2em;margin-bottom:20px;border-bottom:3px solid #667eea;padding-bottom:10px}h3{color:#764ba2;font-size:1.5em;margin-bottom:15px}h4{color:#555;font-size:1.2em;margin-top:15px;margin-bottom:10px}.welcome-section{background:#fff;padding:30px;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:40px}.subjects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px;margin-bottom:40px}.subject-card{background:#fff;padding:30px;border-radius:10px;box-shadow:0 2px 10px #0000001a;transition:transform .3s ease,box-shadow .3s ease;text-align:center}.subject-card:hover{transform:translateY(-5px);box-shadow:0 5px 20px #00000026}.subject-icon{font-size:4em;margin-bottom:15px}.subject-card h3{color:#667eea;margin-bottom:15px}.subject-card p{color:#666;margin-bottom:20px}.tips-section{background:#fff;padding:30px;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:40px}.tips-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:20px}.tip-card{background:#f8f9fa;padding:20px;border-radius:8px;border-left:4px solid #667eea}.tip-card h4{color:#667eea;margin-bottom:10px}.cta-section{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:40px;border-radius:10px;text-align:center}.cta-section h2{color:#fff;border-bottom:none}.btn{display:inline-block;padding:12px 30px;background:#667eea;color:#fff;text-decoration:none;border-radius:5px;transition:all .3s ease;border:none;cursor:pointer;font-size:1em}.btn:hover{background:#764ba2;transform:translateY(-2px);box-shadow:0 5px 15px #0003}.btn-large{padding:15px 40px;font-size:1.1em}.subject-intro{background:#fff;padding:30px;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px}.lesson-section{display:flex;flex-direction:column;gap:25px}.lesson-card{background:#fff;padding:30px;border-radius:10px;box-shadow:0 2px 10px #0000001a}.lesson-content{margin-top:15px}.lesson-content ul,.lesson-content ol{margin-left:25px;margin-top:10px}.lesson-content li{margin-bottom:8px}.example-box,.formula-box{background:#f8f9fa;padding:20px;border-radius:8px;margin:15px 0;border-left:4px solid #667eea}.formula-box{border-left-color:#764ba2}.practice-section{background:#fff;padding:30px;border-radius:10px;box-shadow:0 2px 10px #0000001a}.practice-box{background:#f8f9fa;padding:25px;border-radius:8px;margin:20px 0}.practice-box ol{margin-left:20px}.practice-box li{margin-bottom:15px;line-height:1.8}.quiz-intro{background:#fff;padding:30px;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px;text-align:center}.quiz-selector{background:#fff;padding:30px;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px}.subject-buttons{display:flex;flex-wrap:wrap;gap:15px;justify-content:center;margin-top:20px}.subject-btn{padding:12px 25px;background:#fff;color:#667eea;border:2px solid #667eea;border-radius:5px;cursor:pointer;transition:all .3s ease;font-size:1em}.subject-btn:hover,.subject-btn.active{background:#667eea;color:#fff}.quiz-container{background:#fff;padding:30px;border-radius:10px;box-shadow:0 2px 10px #0000001a}.question-card{margin-bottom:30px;padding:25px;background:#f8f9fa;border-radius:8px}.question-text{font-size:1.1em;font-weight:600;margin-bottom:15px;color:#333}.options{display:flex;flex-direction:column;gap:10px}.option{padding:15px;background:#fff;border:2px solid #ddd;border-radius:5px;cursor:pointer;transition:all .3s ease}.option:hover{border-color:#667eea;background:#f0f4ff}.option.selected{border-color:#667eea;background:#e8eeff}.option.correct{border-color:#28a745;background:#d4edda}.option.incorrect{border-color:#dc3545;background:#f8d7da}.quiz-buttons{display:flex;gap:15px;justify-content:center;margin-top:30px}.result-card{text-align:center;padding:40px}.score-display{font-size:3em;color:#667eea;margin:20px 0;font-weight:700}.result-message{font-size:1.3em;margin:20px 0}footer{background:#2c3e50;color:#fff;text-align:center;padding:20px 0;margin-top:40px}@media (max-width: 768px){header h1{font-size:1.8em}.subtitle{font-size:1em}.nav-menu{flex-direction:column}.nav-menu a{text-align:center}.subjects-grid,.tips-grid{grid-template-columns:1fr}h2{font-size:1.5em}.subject-buttons{flex-direction:column}.subject-btn{width:100%}}@media (max-width: 480px){.container{padding:0 15px}header h1{font-size:1.5em}.lesson-card,.subject-card,.practice-section{padding:20px}}
