* { margin: 0; padding: 0; box-sizing: border-box; }
.dw-ua-wrapper { max-width: 1100px; margin: auto; padding: 50px 15px; font-family: 'Inter', sans-serif; }
.dw-ua-card { background: #fff; padding: 40px; border-radius: 24px; border: 1px solid #e2e8f0; box-shadow: 0 15px 40px rgba(0,0,0,0.04); transition: .4s; }
.dw-ua-card:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(37, 99, 235, 0.08); border-color: #bfdbfe; }

/* Header */
.dw-ua-header { text-align: center; margin-bottom: 35px; }
.dw-badge { background: #eff6ff; color: #2563eb; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 15px; border: 1px solid #bfdbfe; }
.dw-ua-header h2 { font-size: 34px; font-weight: 800; color: #0f172a; margin: 0 0 10px 0; }
.dw-ua-header p { color: #64748b; font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Input */
.textarea-wrapper { position: relative; }
.textarea-wrapper i { position: absolute; top: 20px; left: 20px; color: #94a3b8; font-size: 18px; }
.dw-ua-input-area textarea { width: 100%; height: 110px; padding: 20px 20px 20px 50px; border-radius: 16px; border: 2px solid #e2e8f0; background: #f8fafc; font-size: 15px; color: #334155; resize: none; outline: none; transition: 0.3s; font-family: monospace; line-height: 1.5; }
.dw-ua-input-area textarea:focus { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }

/* Buttons */
.dw-ua-actions { display: flex; gap: 15px; justify-content: center; margin-top: 25px; flex-wrap: wrap; }
.dw-btn-primary { background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; border: none; padding: 14px 28px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 8px; font-size: 15px; box-shadow: 0 8px 15px rgba(37, 99, 235, 0.2); }
.dw-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 20px rgba(37, 99, 235, 0.3); }
.dw-btn-secondary { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; padding: 14px 24px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.dw-btn-secondary:hover { background: #e2e8f0; color: #0f172a; }
.dw-btn-outline { background: #fee2e2; color: #dc2626; border: none; padding: 14px 20px; border-radius: 12px; cursor: pointer; transition: 0.3s; font-size: 16px; }
.dw-btn-outline:hover { background: #fecaca; }

/* Grid Results */
.dw-ua-result { margin-top: 35px; }
.dw-ua-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dw-ua-box { background: #fff; padding: 25px; border-radius: 16px; border: 1px solid #e2e8f0; text-align: center; transition: 0.3s; position: relative; overflow: hidden; }
.dw-ua-box:hover { border-color: #2563eb; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.03); }
.dw-ua-box i { font-size: 26px; margin-bottom: 15px; opacity: 0.8; }
.dw-ua-box p { color: #64748b; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.5px; }
.dw-ua-box span { font-size: 17px; font-weight: 800; color: #0f172a; word-break: break-word; }
.dw-ua-box.full { grid-column: 1 / -1; }

/* AI Cyber Analysis Box */
.ai-box { background: #f8fafc; text-align: left; padding: 25px; display: flex; flex-direction: row; align-items: center; gap: 20px; }
.ai-box i { font-size: 35px; margin: 0; }
.ai-box p { margin-bottom: 5px; }
.ai-box span { font-size: 16px; font-weight: 600; line-height: 1.5; }

/* Responsive */
@media(max-width: 900px) { .dw-ua-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px) { 
    .dw-ua-grid { grid-template-columns: 1fr; } 
    .dw-ua-actions button { flex: 1; justify-content: center; } 
    .dw-btn-outline { flex: none; }
    .dw-ua-card { padding: 30px 20px; }
    .ai-box { flex-direction: column; text-align: center; }
}