*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.6;color:#333;background-color:#f8fafc}.navbar,.dashboard-nav{background:#fff;padding:1rem 2rem;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:100}.nav-brand{font-size:1.5rem;font-weight:700;color:#6366f1}.nav-links{display:flex;gap:1.5rem;align-items:center}.nav-links a{text-decoration:none;color:#64748b;font-weight:500;transition:color .3s}.nav-links a:hover,.nav-links a.active{color:#6366f1}.btn-primary,.btn-secondary,.btn-logout,.btn-cancel,.btn-copy,.btn-subscribe{padding:.75rem 1.5rem;border:none;border-radius:.5rem;font-weight:600;text-decoration:none;display:inline-block;cursor:pointer;transition:all .3s;text-align:center}.btn-primary{background:#6366f1;color:#fff}.btn-primary:hover{background:#5856eb;transform:translateY(-1px)}.btn-secondary{background:#e2e8f0;color:#64748b}.btn-secondary:hover{background:#cbd5e1}.btn-large{padding:1rem 2rem;font-size:1.1rem}.btn-logout{background:#ef4444;color:#fff;padding:.5rem 1rem}.btn-cancel{background:#f97316;color:#fff;padding:.5rem 1rem}.landing-page{min-height:100vh}.hero{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:6rem 2rem;text-align:center}.hero-content h1{font-size:3.5rem;margin-bottom:1.5rem;font-weight:800}.hero-content p{font-size:1.25rem;margin-bottom:2.5rem;max-width:600px;margin-left:auto;margin-right:auto}.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.features{padding:6rem 2rem;max-width:1200px;margin:0 auto;text-align:center}.features h2{font-size:2.5rem;margin-bottom:3rem;color:#1e293b}.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.feature-card{background:#fff;padding:2rem;border-radius:1rem;box-shadow:0 4px 6px #0000001a;transition:transform .3s}.feature-card:hover{transform:translateY(-4px)}.feature-icon{font-size:3rem;margin-bottom:1rem}.feature-card h3{margin-bottom:1rem;color:#1e293b}.pricing-preview,.pricing-container{padding:6rem 2rem;max-width:1200px;margin:0 auto;text-align:center}.pricing-cards,.pricing-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:3rem}.pricing-card{background:#fff;padding:2rem;border-radius:1rem;box-shadow:0 4px 6px #0000001a;position:relative;transition:transform .3s}.pricing-card:hover{transform:translateY(-4px)}.pricing-card.featured{border:3px solid #6366f1;transform:scale(1.05)}.popular-badge{background:#6366f1;color:#fff;padding:.5rem 1rem;border-radius:1rem;position:absolute;top:-10px;left:50%;transform:translate(-50%);font-size:.875rem;font-weight:600}.price{font-size:3rem;font-weight:800;color:#1e293b;margin:1rem 0}.price span{font-size:1rem;color:#64748b}.features-list{list-style:none;margin:2rem 0;text-align:left}.features-list li{padding:.5rem 0;color:#64748b}.dashboard-content,.courses-content,.affiliate-content,.analytics-content{max-width:1200px;margin:0 auto;padding:2rem}.dashboard-header,.courses-header,.affiliate-header,.analytics-header{margin-bottom:3rem}.dashboard-header h1,.courses-header h1,.affiliate-header h1,.analytics-header h1{font-size:2.5rem;color:#1e293b;margin-bottom:.5rem}.stats-grid,.analytics-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:3rem}.stat-card,.summary-card{background:#fff;padding:1.5rem;border-radius:1rem;box-shadow:0 2px 4px #0000001a;display:flex;align-items:center;gap:1rem}.stat-icon,.summary-icon{font-size:2rem;background:#f1f5f9;padding:1rem;border-radius:.5rem}.stat-content h3,.summary-content h3{font-size:1.5rem;color:#1e293b;margin-bottom:.25rem}.stat-content p,.summary-content p{color:#64748b;font-size:.875rem}input,textarea,select{width:100%;padding:.75rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:1rem;margin-bottom:1rem;transition:border-color .3s}input:focus,textarea:focus,select:focus{outline:none;border-color:#6366f1}.email-form{display:flex;gap:1rem;max-width:400px;margin:0 auto}.email-form input{flex:1;margin-bottom:0}.dashboard-loading,.courses-loading,.affiliate-loading,.analytics-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;gap:1rem}.spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #6366f1;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.section{background:#fff;padding:2rem;border-radius:1rem;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem}.section h2{color:#1e293b;margin-bottom:1.5rem}.action-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.action-btn{display:flex;align-items:center;gap:1rem;padding:1.5rem;background:#f8fafc;border-radius:.5rem;text-decoration:none;color:#1e293b;font-weight:600;transition:all .3s}.action-btn:hover{background:#e2e8f0;transform:translateY(-2px)}.action-btn span{font-size:1.5rem}.courses-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.course-card{background:#fff;border-radius:1rem;overflow:hidden;box-shadow:0 2px 4px #0000001a;transition:transform .3s}.course-card:hover{transform:translateY(-2px)}.course-card.enrolled{border:2px solid #10b981}.course-content{padding:1.5rem}.course-price{font-size:1.5rem;font-weight:700;color:#6366f1;margin:1rem 0}.course-actions{padding:1rem 1.5rem;background:#f8fafc}.enrolled-badge{color:#10b981;font-weight:600}.progress-bar{background:#e2e8f0;height:8px;border-radius:4px;margin:1rem 0;overflow:hidden}.progress-fill{background:#10b981;height:100%;transition:width .3s}.affiliate-link-card{background:#f8fafc;padding:1.5rem;border-radius:.5rem;border:2px dashed #cbd5e1}.link-display{display:flex;gap:1rem;margin-bottom:1rem}.link-input{flex:1;margin-bottom:0;background:#fff}.btn-copy{background:#6366f1;color:#fff;white-space:nowrap}.how-it-works{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.step{display:flex;gap:1rem;align-items:flex-start}.step-number{background:#6366f1;color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.commission-table{background:#f8fafc;border-radius:.5rem;overflow:hidden}.commission-row{display:grid;grid-template-columns:1fr 1fr 1fr;padding:1rem;border-bottom:1px solid #e2e8f0}.commission-row.header{background:#6366f1;color:#fff;font-weight:600}.commission-row:last-child{border-bottom:none}.charts-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:2rem;margin-bottom:3rem}.chart-container{background:#fff;padding:1.5rem;border-radius:1rem;box-shadow:0 2px 4px #0000001a}.chart-placeholder{height:250px;display:flex;align-items:flex-end;justify-content:space-around;padding:1rem 0}.chart-bars{display:flex;gap:.5rem;align-items:flex-end;height:200px;width:100%;justify-content:space-around}.chart-bar{display:flex;flex-direction:column;align-items:center;flex:1}.bar{background:#6366f1;min-height:10px;width:30px;border-radius:2px 2px 0 0;transition:all .3s;cursor:pointer}.bar:hover{background:#5856eb}.bar.user-bar{background:#10b981}.bar.user-bar:hover{background:#059669}.bar-label{margin-top:.5rem;font-size:.75rem;color:#64748b;text-align:center}.success-page,.cancel-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2)}.success-container,.cancel-container{background:#fff;padding:3rem;border-radius:1rem;text-align:center;max-width:500px;box-shadow:0 10px 25px #0003}.success-icon,.cancel-icon{font-size:4rem;margin-bottom:1rem}.success-actions,.cancel-actions{display:flex;gap:1rem;justify-content:center;margin:2rem 0;flex-wrap:wrap}.footer{background:#1e293b;color:#fff;padding:3rem 2rem 2rem;margin-top:4rem}.footer-content{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:2rem}.footer-brand{font-size:1.5rem;font-weight:700}.footer-links{display:flex;gap:2rem}.footer-links a{color:#cbd5e1;text-decoration:none;transition:color .3s}.footer-links a:hover{color:#fff}@media (max-width: 768px){.hero-content h1{font-size:2.5rem}.nav-links{flex-direction:column;gap:1rem}.hero-buttons{flex-direction:column;align-items:center}.pricing-container,.feature-grid{grid-template-columns:1fr}.commission-row{grid-template-columns:1fr;gap:.5rem}.charts-section{grid-template-columns:1fr}.link-display{flex-direction:column}}
