.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, #764ba2);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, #3b82f6);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:12px}.tool-header p{color:var(--gray-500);font-size:1rem}.core-stats{display:flex;justify-content:center;gap:24px;margin-bottom:32px;flex-wrap:wrap}.core-stat{background:white;border-radius:60px;padding:16px 28px;display:flex;align-items:center;gap:16px;box-shadow:0 4px 15px rgba(0,0,0,0.05);border:1px solid var(--gray-200)}.core-stat-icon{width:48px;height:48px;background:linear-gradient(135deg, #e0e7ff, #f0f4ff);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--primary-color);font-size:1.3rem}.core-stat-info{text-align:left}.core-stat-value{display:block;font-size:1.5rem;font-weight:700;color:var(--gray-800)}.core-stat-label{font-size:0.7rem;color:var(--gray-500)}.converter-tabs{display:flex;gap:16px;margin-bottom:32px;justify-content:center}.converter-tab{background:transparent;border:none;padding:16px 32px;cursor:pointer;transition:all 0.3s;border-radius:20px;text-align:center;min-width:200px}.converter-tab i{font-size:1.5rem;color:var(--gray-400);margin-bottom:8px;display:block}.converter-tab span{display:block;font-weight:600;color:var(--gray-600);margin-bottom:4px}.converter-tab small{font-size:0.7rem;color:var(--gray-400)}.converter-tab.active{background:linear-gradient(135deg, var(--primary-color), var(--primary-dark));box-shadow:0 8px 25px rgba(59,130,246,0.3)}.converter-tab.active i,.converter-tab.active span,.converter-tab.active small{color:white}.dual-editor{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;margin-bottom:24px}.editor-card{background:white;border-radius:24px;overflow:hidden;border:1px solid var(--gray-200);transition:all 0.3s}.editor-card:hover{box-shadow:0 8px 25px rgba(0,0,0,0.08)}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:linear-gradient(135deg, #f8fafc, #fff);border-bottom:1px solid var(--gray-200)}.editor-title{display:flex;align-items:center;gap:12px;font-weight:600;color:var(--gray-700)}.editor-title i{font-size:1.1rem}.tag-badge{font-size:0.65rem;background:var(--gray-100);padding:2px 8px;border-radius:20px;font-weight:normal;color:var(--gray-500)}.editor-actions{display:flex;gap:8px}.editor-actions button,.editor-actions label{background:transparent;border:none;padding:6px 10px;border-radius:30px;cursor:pointer;transition:all 0.2s;color:var(--gray-500);font-size:0.8rem;display:inline-flex;align-items:center;justify-content:center}.editor-actions button:hover,.editor-actions label:hover{background:var(--gray-100);color:var(--primary-color)}.code-textarea{width:100%;min-height:300px;padding:20px;border:none;font-family:'Fira Code',monospace;font-size:0.85rem;line-height:1.6;resize:vertical;background:#1a1a2e;color:#e0e0e0}.code-textarea:focus{outline:none}.code-output{min-height:300px;padding:20px;font-family:'Fira Code',monospace;font-size:0.85rem;line-height:1.6;background:#1a1a2e;color:#e0e0e0;white-space:pre-wrap;word-break:break-all}.editor-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;background:var(--gray-50);border-top:1px solid var(--gray-200);font-size:0.7rem;color:var(--gray-500)}.lang-badge{background:var(--gray-200);padding:2px 10px;border-radius:20px}.convert-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:1.2rem;font-weight:600;color:var(--primary-color)}.convert-icon i{font-size:1.5rem}.convert-options{background:var(--gray-50);border-radius:20px;padding:20px;margin:20px 0;display:flex;flex-wrap:wrap;gap:32px;align-items:center}.option-group{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.option-group label{font-size:0.75rem;font-weight:600;color:var(--gray-500)}.option-buttons{display:flex;gap:16px;flex-wrap:wrap}.checkbox-label{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:0.8rem}.checkbox-label input{display:none}.checkmark{width:18px;height:18px;border:2px solid var(--gray-400);border-radius:4px;display:inline-block;position:relative;transition:all 0.2s}.checkbox-label input:checked+.checkmark{background:var(--primary-color);border-color:var(--primary-color)}.checkbox-label input:checked+.checkmark::after{content:'\f00c';font-family:'Font Awesome 6 Free';font-weight:900;font-size:10px;color:white;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.variable-input{padding:8px 16px;border:1px solid var(--gray-300);border-radius:40px;font-size:0.85rem;width:150px}.auto-convert{display:flex;justify-content:flex-end;margin-bottom:20px}.switch-label{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:0.8rem;color:var(--gray-600)}.switch-label input{display:none}.switch-slider{width:44px;height:24px;background:var(--gray-300);border-radius:30px;position:relative;transition:all 0.3s}.switch-slider::after{content:'';position:absolute;width:18px;height:18px;background:white;border-radius:50%;top:3px;left:3px;transition:all 0.3s}.switch-label input:checked+.switch-slider{background:var(--primary-color)}.switch-label input:checked+.switch-slider::after{left:23px}.preview-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.7);z-index:1000;display:flex;align-items:center;justify-content:center}.preview-modal-content{background:white;border-radius:24px;width:90%;max-width:900px;height:80%;display:flex;flex-direction:column;overflow:hidden}.preview-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--gray-200)}.preview-modal-header span{font-weight:600}.close-preview{background:transparent;border:none;font-size:1.5rem;cursor:pointer;color:var(--gray-500)}.preview-modal-body{flex:1;padding:16px}.preview-iframe{width:100%;height:100%;border:none;border-radius:12px}.info-footer{margin-top:24px;background:var(--gray-50);border-radius:20px;padding:20px}.info-footer-header{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-weight:600}.info-footer-steps{display:grid;grid-template-columns:repeat(4, 1fr);gap:16px}.step-item{display:flex;gap:12px;align-items:flex-start}.step-number{width:32px;height:32px;background:var(--primary-color);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.85rem;margin-bottom:4px}.step-content p{font-size:0.7rem;color:var(--gray-500)}@media (max-width:900px){.dual-editor{grid-template-columns:1fr}.convert-icon{display:none}.converter-tab{min-width:auto;padding:12px 20px}.info-footer-steps{grid-template-columns:repeat(2, 1fr)}.convert-options{flex-direction:column;align-items:flex-start}}@media (max-width:480px){.info-footer-steps{grid-template-columns:1fr}.core-stats{gap:12px}.core-stat{padding:12px 20px}.option-buttons{flex-direction:column;gap:8px}}@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}