*{box-sizing:border-box;margin:0;padding:0}:root{--primary:#4f46e5;--primary-dark:#3730a3;--background:#f8fafc;--surface:#fff;--text:#111827;--muted:#64748b;--border:#e2e8f0;--success:#16a34a;--shadow:0 10px 30px #0f172a14}body{background:var(--background);color:var(--text);font-family:Inter,Arial,sans-serif;line-height:1.6;transition:background .3s,color .3s}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.navbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:100;justify-content:space-between;align-items:center;height:72px;padding:0 6%;display:flex;position:sticky;top:0}.logo{font-size:1.3rem;font-weight:800}.logo span{background:var(--primary);color:#fff;border-radius:10px;justify-content:center;align-items:center;width:35px;height:35px;margin-right:6px;display:inline-flex}nav{gap:30px;display:flex}nav a{color:var(--muted);font-weight:600}nav a:hover,nav a.active{color:var(--primary)}.nav-actions{align-items:center;gap:12px;display:flex}.nav-actions button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;width:40px;height:40px}.profile-btn{color:var(--primary);background:#eef2ff;border-radius:9px;padding:9px 15px;font-weight:700}.hero{grid-template-columns:1.1fr .9fr;align-items:center;gap:60px;min-height:650px;padding:80px 7%;display:grid}.badge{color:var(--primary);background:#eef2ff;border-radius:50px;margin-bottom:20px;padding:7px 14px;font-size:.85rem;font-weight:700;display:inline-block}.hero h1{max-width:700px;margin-bottom:25px;font-size:clamp(2.7rem,6vw,5rem);line-height:1.05}.hero h1 span{color:var(--primary)}.hero-text{color:var(--muted);max-width:600px;margin-bottom:30px;font-size:1.1rem}.hero-buttons{flex-wrap:wrap;gap:15px;display:flex}.btn{cursor:pointer;border:none;border-radius:10px;justify-content:center;align-items:center;padding:12px 20px;font-weight:700;display:inline-flex}.btn.primary{background:var(--primary);color:#fff}.btn.primary:hover{background:var(--primary-dark)}.btn.secondary{background:var(--surface);border:1px solid var(--border);color:var(--text)}.btn.full{width:100%}.hero-card{background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:30px;justify-content:center;align-items:center;min-height:430px;display:flex;position:relative}.learning-illustration{filter:drop-shadow(0 20px 20px #0003);font-size:9rem}.floating-card{background:#fff;border-radius:14px;align-items:center;gap:10px;padding:15px;display:flex;position:absolute;box-shadow:0 15px 30px #00000026}.floating-card span{font-size:1.6rem}.floating-card strong{display:block}.floating-card small{color:#64748b}.card-one{top:55px;left:-25px}.card-two{bottom:55px;right:-25px}.section{padding:70px 7%}.section-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px;display:flex}.section-label{color:var(--primary);letter-spacing:1.5px;margin-bottom:5px;font-size:.78rem;font-weight:800}.section-heading h2{font-size:2rem}.view-link{color:var(--primary);font-weight:700}.features{grid-template-columns:repeat(4,1fr);gap:20px;display:grid}.feature-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px;padding:25px}.feature-icon{background:#eef2ff;border-radius:12px;place-items:center;width:50px;height:50px;margin-bottom:18px;font-size:1.5rem;display:grid}.feature-card h3{margin-bottom:8px}.feature-card p{color:var(--muted)}.course-grid{grid-template-columns:repeat(3,1fr);gap:25px;display:grid}.course-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;transition:transform .2s,box-shadow .2s;overflow:hidden}.course-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px #0f172a1f}.course-image{background:linear-gradient(135deg,#eef2ff,#ddd6fe);place-items:center;height:180px;display:grid;position:relative}.course-icon{font-size:5rem}.favorite-btn{cursor:pointer;background:#fff;border:none;border-radius:50%;width:38px;height:38px;font-size:1.2rem;position:absolute;top:15px;right:15px}.course-content{padding:22px}.course-meta{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.course-meta span{color:var(--primary);background:#eef2ff;border-radius:20px;padding:4px 9px;font-size:.72rem;font-weight:700}.course-content h3{margin-bottom:10px;font-size:1.15rem}.course-content p{color:var(--muted);font-size:.9rem}.course-info{color:var(--muted);flex-wrap:wrap;gap:12px;margin:18px 0;font-size:.8rem;display:flex}.course-info.large{font-size:.9rem}.course-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;padding-top:15px;display:flex}.course-footer strong{font-size:1.25rem}.small-btn{background:var(--primary);color:#fff;border-radius:8px;padding:8px 13px;font-size:.82rem;font-weight:700}.cta{color:#fff;background:#111827;border-radius:25px;justify-content:space-between;align-items:center;gap:30px;margin:30px 7% 80px;padding:50px;display:flex}.cta p:not(.section-label){color:#cbd5e1}footer{color:#fff;background:#0f172a;padding:35px 7%}.footer-content{justify-content:space-between;gap:20px;display:flex}.footer-content p{color:#94a3b8}.page-header{text-align:center;padding:80px 7% 40px}.page-header h1{margin-bottom:10px;font-size:3rem}.page-header p:last-child{color:var(--muted)}.course-controls{grid-template-columns:1fr 200px 200px;gap:15px;padding:20px 7%;display:grid}.search-box{background:var(--surface);border:1px solid var(--border);border-radius:10px;align-items:center;gap:10px;height:50px;padding:0 15px;display:flex}.search-box input{width:100%;color:var(--text);background:0 0;border:none;outline:none}.course-controls select{border:1px solid var(--border);background:var(--surface);height:50px;color:var(--text);border-radius:10px;padding:0 12px}.course-hero{background:#eef2ff;grid-template-columns:250px 1fr;align-items:center;gap:50px;padding:70px 7%;display:grid}.course-hero-icon{width:250px;height:250px;box-shadow:var(--shadow);background:#fff;border-radius:25px;place-items:center;font-size:8rem;display:grid}.course-hero-content h1{margin:15px 0;font-size:3.2rem;line-height:1.1}.course-hero-content>p{max-width:750px;color:var(--muted)}.detail-actions{gap:12px;margin-top:25px;display:flex}.course-detail-layout{grid-template-columns:1fr 330px;gap:30px;display:grid}.content-card,.enroll-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;margin-bottom:25px;padding:28px}.content-card h2{margin-bottom:25px}.topic-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.topic{background:var(--background);border-radius:9px;padding:13px}.topic span{color:var(--success);margin-right:7px;font-weight:700}.lesson{border-bottom:1px solid var(--border);align-items:center;gap:15px;padding:16px 0;display:flex}.lesson-number{min-width:35px;height:35px;color:var(--primary);background:#eef2ff;border-radius:50%;place-items:center;font-weight:700;display:grid}.lesson div{flex:1}.lesson p{color:var(--muted);font-size:.8rem}.enroll-card{height:fit-content;position:sticky;top:100px}.enroll-icon{margin-bottom:15px;font-size:4rem}.enroll-card p{color:var(--muted)}.price{margin:20px 0;font-size:2rem;font-weight:800}.dashboard-stats{grid-template-columns:repeat(4,1fr);gap:20px;padding:20px 7% 40px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;align-items:center;gap:15px;padding:22px;display:flex}.stat-card>span{font-size:2rem}.stat-card strong{font-size:1.7rem}.stat-card p{color:var(--muted);font-size:.85rem}.empty-state{text-align:center;color:var(--muted);padding:60px 20px}.empty-state div{margin-bottom:10px;font-size:3rem}.empty-state h3{color:var(--text);margin-bottom:8px}.hidden{display:none!important}#toast{color:#fff;opacity:0;z-index:999;background:#111827;border-radius:10px;padding:14px 20px;transition:all .3s;position:fixed;bottom:25px;right:25px;transform:translateY(100px);box-shadow:0 10px 30px #0003}#toast.show{opacity:1;transform:translateY(0)}body.dark{--background:#0f172a;--surface:#1e293b;--text:#f8fafc;--muted:#94a3b8;--border:#334155}body.dark .course-hero{background:#172554}body.dark .profile-btn,body.dark .badge,body.dark .course-meta span{color:#fff;background:#312e81}body.dark .hero-text{color:#fff}body.dark .floating-card{color:#111827}@media (width<=1000px){.features,.course-grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr}.hero-card{width:100%;max-width:600px;margin:auto}.course-detail-layout{grid-template-columns:1fr}.enroll-card{position:static}}@media (width<=700px){.navbar{padding:0 4%}nav,.profile-btn{display:none}.hero{padding:60px 5%}.hero h1{font-size:2.7rem}.section{padding:50px 5%}.features,.course-grid,.dashboard-stats{grid-template-columns:1fr}.course-controls{grid-template-columns:1fr;padding:20px 5%}.course-hero{grid-template-columns:1fr;padding:50px 5%}.course-hero-icon{width:150px;height:150px;font-size:5rem}.course-hero-content h1{font-size:2.3rem}.topic-grid{grid-template-columns:1fr}.cta{flex-direction:column;align-items:flex-start;margin:20px 5% 50px;padding:30px}.footer-content{flex-direction:column}}.progress-wrapper{margin:15px 0}.progress-label{justify-content:space-between;margin-bottom:6px;font-size:.8rem;display:flex}.progress-bar{background:#e2e8f0;border-radius:20px;height:7px;overflow:hidden}.progress-bar div{background:var(--primary);border-radius:20px;height:100%;transition:width .4s}.lesson-btn{border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:7px;padding:7px 11px;font-size:.75rem;font-weight:700}.lesson-btn:hover{border-color:var(--primary)}.lesson-btn.completed{color:#15803d;background:#dcfce7;border-color:#bbf7d0}.quiz-callout{justify-content:space-between;align-items:center;gap:30px;display:flex}.quiz-container{max-width:850px;margin:auto}.quiz-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:20px;padding:35px}.quiz-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.timer{color:var(--primary);background:#eef2ff;border-radius:10px;padding:10px 15px;font-weight:800}.quiz-progress{background:#e2e8f0;border-radius:20px;height:8px;margin-bottom:35px;overflow:hidden}.quiz-progress div{background:var(--primary);width:0;height:100%;transition:width .3s}.question-count{color:var(--primary);margin-bottom:15px;font-weight:700}.quiz-card h2{margin-bottom:25px;font-size:1.6rem}.quiz-options{gap:12px;display:grid}.quiz-option{border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;text-align:left;border-radius:12px;align-items:center;gap:15px;padding:16px;transition:all .2s;display:flex}.quiz-option:hover{border-color:var(--primary)}.quiz-option span{background:var(--background);border-radius:50%;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.quiz-option.selected{border:2px solid var(--primary);background:#eef2ff}.quiz-actions{justify-content:flex-end;margin-top:30px;display:flex}.quiz-result{background:var(--surface);border:1px solid var(--border);text-align:center;box-shadow:var(--shadow);border-radius:20px;padding:60px 30px}.result-icon{margin-bottom:10px;font-size:4rem}.quiz-result h1{margin:10px 0}.score{color:var(--primary);margin:20px 0;font-size:4rem;font-weight:900}.result-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px;display:flex}@media (width<=700px){.quiz-card{padding:22px}.quiz-header,.quiz-callout{flex-direction:column;align-items:flex-start}.lesson{align-items:flex-start}}.dashboard-welcome{justify-content:space-between;align-items:center;gap:30px;padding:60px 7% 30px;display:flex}.dashboard-welcome h1{font-size:2.6rem;line-height:1.2}.dashboard-welcome h1 span{color:var(--primary)}.dashboard-layout{grid-template-columns:1.4fr .8fr;gap:25px;padding:20px 7% 50px;display:grid}.chart-container{height:320px;position:relative}.achievement-list{gap:15px;margin-top:20px;display:grid}.achievement{border:1px solid var(--border);opacity:.45;border-radius:12px;align-items:center;gap:15px;padding:14px;display:flex}.achievement.unlocked{opacity:1;background:#f0fdf4;border-color:#bbf7d0}.achievement>span{font-size:1.7rem}.achievement strong{display:block}.achievement p{color:var(--muted);font-size:.8rem}.notification-list{gap:12px;margin-top:20px;display:grid}.notification{background:var(--background);border-radius:10px;align-items:flex-start;gap:15px;padding:15px;display:flex}.notification>span{font-size:1.5rem}.notification strong{display:block}.notification p{color:var(--muted);font-size:.85rem}.profile-layout{grid-template-columns:300px 1fr;gap:25px;max-width:1000px;margin:30px auto 80px;padding:0 5%;display:grid}.profile-card{background:var(--surface);border:1px solid var(--border);text-align:center;height:fit-content;box-shadow:var(--shadow);border-radius:18px;padding:35px}.avatar{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:100px;height:100px;margin:0 auto 20px;font-size:2.5rem;font-weight:800;display:grid}.profile-card>p{color:var(--muted)}.profile-role{color:var(--primary);background:#eef2ff;border-radius:20px;margin-top:12px;padding:4px 12px;font-size:.8rem;display:inline-block}.form-group{margin-bottom:20px}.form-group label{margin-bottom:7px;font-weight:700;display:block}.form-group input,.form-group select{border:1px solid var(--border);background:var(--background);width:100%;height:48px;color:var(--text);border-radius:9px;outline:none;padding:0 13px}.form-group input:focus,.form-group select:focus{border-color:var(--primary)}@media (width<=850px){.dashboard-layout{grid-template-columns:1fr;padding-left:5%;padding-right:5%}.dashboard-welcome{flex-direction:column;align-items:flex-start;padding-left:5%;padding-right:5%}.dashboard-welcome h1{font-size:2rem}.profile-layout{grid-template-columns:1fr}}@media (width<=600px){.dashboard-stats{padding:20px 5%}.chart-container{height:250px}}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:focus-visible{outline-offset:2px;outline:3px solid #a5b4fc}.field-error{color:#dc2626;margin-top:5px;font-size:13px}button.favorite-btn,button.lesson-btn,button.quiz-option{font:inherit}body.dark .achievement.unlocked{background:#22c55e24;border-color:#4ade8073}body.dark .achievement.unlocked strong{color:#f1f5f9}body.dark .achievement.unlocked p{color:#cbd5e1}body.dark .progress-bar{background:#334155}@media (width<=700px){.navbar{flex-wrap:wrap;row-gap:6px;height:auto;padding:10px 4%}.navbar nav{border-top:1px solid var(--border);order:3;justify-content:space-around;gap:8px;width:100%;padding-top:6px;display:flex}.navbar .profile-btn{padding:8px 12px;font-size:13px;display:inline-flex}}
