*{margin:0;padding:0;box-sizing:border-box}.tool-header{text-align:center;margin-bottom:40px}.header-badge{display:flex;justify-content:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.badge{background:linear-gradient(135deg, #667eea 0, #764ba2 100%);color:white;padding:6px 18px;border-radius:40px;font-size:0.75rem;font-weight:500;box-shadow:0 2px 8px rgba(0,0,0,0.1)}.tool-header h1{font-size:2.2rem;font-weight:800;background:linear-gradient(135deg, #1e293b, #667eea);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:12px}.tool-header p{color:var(--gray-500);font-size:1rem}.hero-stats{display:flex;justify-content:center;gap:32px;margin-bottom:32px;flex-wrap:wrap}.hero-stat{background:white;border-radius:80px;padding:12px 24px;display:flex;align-items:center;gap:16px;box-shadow:0 4px 15px rgba(0,0,0,0.05);border:1px solid var(--gray-200)}.hero-stat-icon{width:44px;height:44px;background:linear-gradient(135deg, #e0e7ff, #f0f4ff);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#667eea;font-size:1.2rem}.hero-stat-info{text-align:left}.hero-stat-value{display:block;font-size:1.3rem;font-weight:700;color:var(--gray-800)}.hero-stat-label{font-size:0.7rem;color:var(--gray-500)}.ffmpeg-status{background:linear-gradient(135deg, #fef3c7, #fffbeb);border-radius:16px;padding:12px 20px;margin-bottom:24px;display:flex;align-items:center;gap:12px;color:#92400e;font-size:0.85rem}.ffmpeg-status.loaded{background:linear-gradient(135deg, #d1fae5, #ecfdf5);color:#065f46}.upload-area{background:linear-gradient(135deg, #f8fafc, #fff);border:2px dashed #cbd5e1;border-radius:32px;padding:48px;text-align:center;cursor:pointer;transition:all 0.3s;margin-bottom:24px}.upload-area:hover{border-color:#667eea;background:#f8fafc;transform:translateY(-2px)}.upload-area i{position:relative;font-size:28px;color:#667eea;top:5px;margin-right:10px}.upload-area p{margin-bottom:8px;color:#475569}.upload-hint{font-size:0.75rem;color:#94a3b8}.video-info-area{margin-bottom:24px}.info-card{background:linear-gradient(135deg, #f0f4ff, #fff);border-radius:20px;padding:20px;display:flex;gap:20px;border:1px solid #e0e7ff}.info-icon{width:60px;height:60px;background:#667eea;border-radius:16px;display:flex;align-items:center;justify-content:center;color:white;font-size:1.5rem}.info-details{flex:1;display:grid;grid-template-columns:repeat(2, 1fr);gap:12px}.info-row{font-size:0.85rem;color:#64748b}.info-row strong{color:#1e293b;margin-left:8px}.enhance-options{background:#f8fafc;border-radius:24px;padding:24px;margin-bottom:24px}.option-group{margin-bottom:24px}.option-group label{display:block;font-size:0.8rem;font-weight:600;color:#475569;margin-bottom:12px}.resolution-buttons,.algorithm-buttons{display:flex;gap:12px;flex-wrap:wrap}.res-btn,.algo-btn{background:white;border:1px solid #e2e8f0;padding:10px 20px;border-radius:40px;cursor:pointer;transition:all 0.2s;text-align:center}.res-btn span,.algo-btn span{display:block;font-weight:600;font-size:0.9rem}.res-btn small,.algo-btn small{font-size:0.65rem;color:#64748b}.res-btn.active,.algo-btn.active{background:linear-gradient(135deg, #667eea, #764ba2);color:white;border-color:transparent}.res-btn.active small,.algo-btn.active small{color:rgba(255,255,255,0.8)}.custom-res{display:flex;align-items:center;gap:12px;margin-top:12px;padding:12px;background:white;border-radius:16px}.custom-input{width:120px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:12px}.quality-select{padding:10px 16px;border:1px solid #e2e8f0;border-radius:40px;background:white;width:200px}.toggle-switch{display:inline-block}.toggle-switch input{display:none}.toggle-label{display:inline-block;width:50px;height:26px;background:#cbd5e1;border-radius:30px;position:relative;cursor:pointer;transition:all 0.2s}.toggle-label::after{content:'';position:absolute;width:22px;height:22px;background:white;border-radius:50%;top:2px;left:3px;transition:all 0.2s}.toggle-switch input:checked+.toggle-label{background:#667eea}.toggle-switch input:checked+.toggle-label::after{left:25px}.progress-area{background:#f8fafc;border-radius:20px;padding:24px;margin-bottom:24px}.progress-header{display:flex;justify-content:space-between;margin-bottom:16px;font-weight:500}.progress-bar{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg, #667eea, #764ba2);width:0%;transition:width 0.3s}.progress-status{margin-top:12px;font-size:0.75rem;color:#64748b;text-align:center}.result-area{background:white;border-radius:24px;overflow:hidden;border:1px solid #e2e8f0;margin-bottom:24px}.result-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:linear-gradient(135deg, #d1fae5, #ecfdf5);border-bottom:1px solid #bbf7d0}.result-header span{color:#065f46;font-weight:600}.result-actions{display:flex;gap:12px}.action-btn{background:transparent;border:none;padding:6px 16px;border-radius:30px;cursor:pointer;transition:all 0.2s;font-size:0.8rem}.action-btn:hover{background:rgba(0,0,0,0.05)}.result-compare{display:flex;align-items:center;justify-content:center;gap:24px;padding:20px;background:#f8fafc}.compare-item{text-align:center}.compare-label{font-size:0.7rem;color:#64748b;margin-bottom:4px}.compare-info{font-size:0.8rem;font-weight:500}.compare-arrow{color:#667eea;font-size:1.2rem}.result-video{width:100%;max-height:400px;background:#000}.info-footer{background:#f8fafc;border-radius:24px;padding:24px;margin-top:24px}.info-footer-header{display:flex;align-items:center;gap:10px;margin-bottom:20px;font-weight:600}.info-footer-steps{display:grid;grid-template-columns:repeat(4, 1fr);gap:20px}.step-item{display:flex;gap:14px;align-items:flex-start}.step-number{width:36px;height:36px;background:#667eea;color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.step-content h4{font-size:0.9rem;margin-bottom:4px}.step-content p{font-size:0.75rem;color:#64748b}.btn-secondary{background:transparent;border:1px solid #cbd5e1;padding:8px 20px;border-radius:40px;cursor:pointer;transition:all 0.2s;margin-top:16px}.btn-secondary:hover{background:#f1f5f9;border-color:#667eea}@media (max-width:900px){.info-details{grid-template-columns:1fr}.info-footer-steps{grid-template-columns:repeat(2, 1fr)}.resolution-buttons,.algorithm-buttons{justify-content:center}}@media (max-width:480px){.info-footer-steps{grid-template-columns:1fr}.hero-stats{gap:12px}.hero-stat{padding:10px 16px}.result-compare{flex-direction:column}.compare-arrow{transform:rotate(90deg)}.custom-res{flex-wrap:wrap}}