.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, #f5f3ff);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)}.key-card{background:linear-gradient(135deg, #f8fafc, #fff);border-radius:28px;padding:20px;margin-bottom:28px;border:1px solid var(--gray-200)}.key-header{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-weight:600;color:var(--gray-700)}.key-header i{color:#8b5cf6;font-size:1.2rem}.key-hint{font-size:0.7rem;font-weight:normal;color:var(--gray-400);margin-left:auto}.key-input-wrapper{display:flex;gap:12px;flex-wrap:wrap}.key-input{flex:1;padding:14px 20px;border:2px solid var(--gray-200);border-radius:60px;font-size:0.95rem;transition:all 0.3s;font-family:monospace}.key-input:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,0.1)}.key-random-btn{background:linear-gradient(135deg, #8b5cf6, #7c3aed);border:none;padding:12px 24px;border-radius:60px;color:white;font-weight:500;cursor:pointer;transition:all 0.3s;display:inline-flex;align-items:center;gap:8px}.key-random-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(139,92,246,0.3)}.key-strength{margin-top:12px;font-size:0.7rem}.strength-weak{color:#ef4444}.strength-medium{color:#f59e0b}.strength-strong{color:#10b981}.crypto-container{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;margin-bottom:24px}.crypto-card{background:white;border-radius:24px;overflow:hidden;border:1px solid var(--gray-200);transition:all 0.3s}.crypto-card:hover{box-shadow:0 8px 25px rgba(0,0,0,0.08)}.crypto-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);flex-wrap:wrap;gap:12px}.header-title{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--gray-700)}.header-title i{color:#8b5cf6}.header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.input-mode-switch,.output-mode-switch{display:flex;gap:4px;background:var(--gray-100);border-radius:40px;padding:3px}.mode-switch{background:transparent;border:none;padding:5px 14px;border-radius:30px;font-size:0.7rem;cursor:pointer;transition:all 0.2s}.mode-switch.active{background:#8b5cf6;color:white}.icon-btn{background:transparent;border:none;width:32px;height:32px;border-radius:50%;cursor:pointer;transition:all 0.2s;color:var(--gray-500)}.icon-btn:hover{background:var(--gray-100);color:#8b5cf6}.file-upload-label{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;transition:all 0.2s;color:var(--gray-500)}.file-upload-label:hover{background:var(--gray-100);color:#8b5cf6}.crypto-textarea{width:100%;min-height:280px;padding:20px;border:none;font-family:'Fira Code',monospace;font-size:0.85rem;line-height:1.6;resize:vertical;background:#1a1a2e;color:#e0e0e0}.crypto-textarea:focus{outline:none}.crypto-textarea[readonly]{background:#0f0f1a;color:#a0a0c0}.crypto-footer{padding:10px 20px;background:var(--gray-50);border-top:1px solid var(--gray-200);font-size:0.7rem;color:var(--gray-500)}.crypto-actions{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:0 8px}.action-btn{width:70px;height:70px;border-radius:50%;border:none;cursor:pointer;transition:all 0.3s;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:0.7rem}.action-btn i{font-size:1.3rem}.action-btn.encrypt{background:linear-gradient(135deg, #10b981, #059669);color:white;box-shadow:0 4px 15px rgba(16,185,129,0.3)}.action-btn.decrypt{background:linear-gradient(135deg, #f59e0b, #d97706);color:white;box-shadow:0 4px 15px rgba(245,158,11,0.3)}.action-btn.swap{background:linear-gradient(135deg, #64748b, #475569);color:white;box-shadow:0 4px 15px rgba(100,116,139,0.3)}.action-btn:hover{transform:scale(1.05)}.quick-examples{margin-top:20px}.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)}.example-buttons{display:flex;flex-wrap:wrap;gap: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}.info-section{margin-top:24px}.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}@media (max-width:900px){.crypto-container{grid-template-columns:1fr}.crypto-actions{flex-direction:row;justify-content:center;padding:16px 0}.action-btn{width:80px;height:56px;border-radius:40px;flex-direction:row;gap:8px}.info-grid{grid-template-columns:repeat(2, 1fr)}}@media (max-width:480px){.core-stats{gap:12px}.core-stat{padding:12px 20px}.key-input-wrapper{flex-direction:column}.info-grid{grid-template-columns:1fr}}