:root {
    --bg: #050505;
    --card-bg: #111113;
    --border: #27272a;
    --text: #fafafa;
    --text-muted: #a1a1aa;
    --primary: #f97316;
    --primary-hover: #ea580c;
    --success-bg: rgba(16, 185, 129, 0.12);
    --success-border: #10b981;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --danger-border: #ef4444;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
    border-radius: 6px;
}

.hero-logo {
    width: 190px;
    height: auto;
    margin: 0 auto 18px;
    display: block;
    border-radius: 16px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    background: #050505;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.brand {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.brand span { color: var(--primary); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-selector {
    display: flex;
    gap: 6px;
    background: var(--card-bg);
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, background 0.15s;
}

.lang-btn svg {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    display: block;
}

.lang-btn:hover { transform: scale(1.15); }

.lang-btn.active {
    background: rgba(249, 115, 22, 0.15);
    border-color: var(--primary);
}

.main-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 28px;
    padding: 36px 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .main-grid { grid-template-columns: 1fr; }
}

.hero { margin-bottom: 22px; }
.hero h1 { font-size: 2rem; margin-bottom: 8px; }
.hero p { color: var(--text-muted); line-height: 1.5; font-size: 0.96rem; }

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: var(--bg);
    padding: 6px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 11px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active { background: var(--primary); color: #fff; }

.info-banner {
    background: rgba(249, 115, 22, 0.15);
    border-left: 3px solid var(--primary);
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 18px;
    line-height: 1.45;
}

.drop-zone {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(15, 23, 42, 0.4);
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.15);
}

.drop-icon { font-size: 2.3rem; margin-bottom: 8px; }
.drop-zone h3 { font-size: 1.05rem; margin-bottom: 6px; }
.drop-zone p { color: var(--text-muted); font-size: 0.88rem; }

.file-badge {
    display: inline-block;
    margin-top: 14px;
    background: #0f172a;
    border: 1px solid var(--primary);
    color: #93c5fd;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.file-badge[hidden] {
    display: none !important;
}

.action-btn {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.action-btn:hover:not(:disabled) { background: var(--primary-hover); }
.action-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.loader-box { text-align: center; margin-top: 20px; color: var(--text-muted); }

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 10px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.result-box {
    margin-top: 20px;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    word-break: break-all;
}

.result-box.success { background: var(--success-bg); border-color: var(--success-border); }
.result-box.danger { background: var(--danger-bg); border-color: var(--danger-border); }
.result-box h4 { margin-bottom: 10px; font-size: 1.05rem; }
.result-item { font-size: 0.88rem; margin-bottom: 6px; color: #e2e8f0; }
.result-item strong { color: #94a3b8; display: inline-block; min-width: 145px; }

.hashscan-link {
    display: inline-block;
    padding: 9px 15px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
}

/* ESTILOS COLUMNA LATERAL FAQ */
.sidebar-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item summary {
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: #e2e8f0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: "+";
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
    margin-top: 10px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.footer {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.x-link {
    color: #f8fafc;
    background: #000000;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.x-link:hover { border-color: var(--primary); }
