.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, #8b5cf6, #7c3aed);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, #8b5cf6);-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, #ede9fe, #f3e8ff);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#8b5cf6;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)}.mode-tabs{display:flex;gap:16px;margin-bottom:28px;justify-content:center}.mode-tab{background:transparent;border:none;padding:14px 32px;cursor:pointer;transition:all 0.3s;border-radius:60px;text-align:center;min-width:180px}.mode-tab i{font-size:1.3rem;color:var(--gray-400);margin-bottom:6px;display:block}.mode-tab span{display:block;font-weight:600;color:var(--gray-600);margin-bottom:4px}.mode-tab small{font-size:0.65rem;color:var(--gray-400)}.mode-tab.active{background:linear-gradient(135deg, #8b5cf6, #7c3aed);box-shadow:0 8px 25px rgba(139,92,246,0.3)}.mode-tab.active i,.mode-tab.active span,.mode-tab.active small{color:white}.key-section{background:linear-gradient(135deg, #f8fafc, #fff);border-radius:24px;padding:20px;margin-bottom:28px;border:1px solid var(--gray-200)}.key-header{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-weight:600;color:var(--gray-700)}.key-hint{font-size:0.7rem;font-weight:normal;color:var(--gray-400);margin-left:auto}.key-input-wrapper{display:flex;gap:12px;margin-bottom:16px}.key-input{flex:1;padding:14px 18px;border:1px solid var(--gray-200);border-radius:60px;font-size:0.95rem;font-family:monospace;background:white;transition:all 0.3s}.key-input:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,0.1)}.key-toggle,.key-gen{background:var(--gray-100);border:1px solid var(--gray-200);padding:0 20px;border-radius:60px;cursor:pointer;transition:all 0.2s;color:var(--gray-600)}.key-toggle:hover,.key-gen:hover{background:#8b5cf6;border-color:#8b5cf6;color:white}.key-strength{display:flex;align-items:center;gap:12px}.strength-bar{flex:1;height:4px;background:var(--gray-200);border-radius:2px;overflow:hidden}.strength-bar::before{content:'';display:block;width:0%;height:100%;background:linear-gradient(90deg, #ef4444, #f59e0b, #10b981);border-radius:2px;transition:width 0.3s}.strength-text{font-size:0.7rem;color:var(--gray-500);min-width:80px}.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:10px;font-weight:600;color:var(--gray-700)}.editor-title i{color:#8b5cf6}.char-badge{background:#ede9fe;color:#7c3aed;padding:2px 8px;border-radius:20px;font-size:0.7rem;font-weight:normal}.editor-actions{display:flex;gap:8px}.action-icon{background:transparent;border:none;padding:6px 10px;border-radius:30px;cursor:pointer;transition:all 0.2s;color:var(--gray-500);font-size:0.8rem}.action-icon:hover{background:var(--gray-100);color:#8b5cf6}.editor-textarea{width:100%;min-height:200px;padding:20px;border:none;font-family:'Fira Code',monospace;font-size:0.85rem;line-height:1.6;resize:vertical;background:#1a1a2e;color:#e0e0e0}.editor-textarea:focus{outline:none}.editor-textarea[readonly]{background:#1e1e2e;cursor:default}.convert-btn-wrapper{display:flex;justify-content:center;margin:24px 0}.convert-btn{background:linear-gradient(135deg, #8b5cf6, #7c3aed);border:none;padding:14px 40px;border-radius:60px;color:white;font-weight:600;font-size:1rem;cursor:pointer;transition:all 0.3s;display:inline-flex;align-items:center;gap:12px}.convert-btn:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(139,92,246,0.4)}.info-section{margin-top:28px}.divider{display:flex;align-items:center;gap:12px;margin-bottom:16px}.divider span{font-size:0.85rem;font-weight:500;color:var(--gray-600)}.divider::after{content:'';flex:1;height:1px;background:var(--gray-200)}.info-grid{display:grid;grid-template-columns:repeat(4, 1fr);gap:16px;padding:16px;background:var(--gray-50);border-radius:20px}.info-item{display:flex;align-items:center;gap:8px;font-size:0.8rem;color:var(--gray-600)}.info-item i{color:#10b981}.quick-examples{margin-top:20px}.example-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.example-btn{background:var(--gray-100);border:1px solid var(--gray-200);padding:8px 20px;border-radius:40px;cursor:pointer;transition:all 0.2s;font-size:0.85rem}.example-btn:hover{background:#8b5cf6;border-color:#8b5cf6;color:white}@media (max-width:900px){.info-grid{grid-template-columns:repeat(2, 1fr)}.mode-tab{min-width:140px;padding:10px 20px}}@media (max-width:768px){.core-stats{gap:12px}.core-stat{padding:12px 20px}.key-input-wrapper{flex-wrap:wrap}.key-toggle,.key-gen{padding:10px 20px}.info-grid{grid-template-columns:1fr}.mode-tab{min-width:120px;padding:8px 16px}.mode-tab i{font-size:1rem}.editor-actions{flex-wrap:wrap}}