﻿/* =====================================================================
   NODUS - capa de tema (se carga después de style.css)
   Mantiene la paleta celeste / azul noche y las mismas clases del panel.
   ===================================================================== */
:root {
    --celeste: #00BCD4;
    --celeste-soft: #22d3ee;
    --accent-2: #3b82f6;
    --accent-3: #8b5cf6;
    --ok: #34d399;
    --bg-deep: #0a0f1e;
    --surface: rgba(17, 25, 45, .62);
    --surface-2: rgba(23, 33, 58, .72);
    --line: rgba(148, 163, 184, .13);
    --line-strong: rgba(0, 188, 212, .35);
    --radius: 18px;
    --grad-brand: linear-gradient(135deg, #22d3ee 0%, #00BCD4 40%, #3b82f6 100%);
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --shadow-card: 0 18px 50px -18px rgba(0, 0, 0, .65);
    --glow: 0 0 0 1px rgba(0, 188, 212, .25), 0 12px 40px -10px rgba(0, 188, 212, .35);
}

html { scroll-behavior: smooth; }
::selection { background: rgba(0, 188, 212, .35); color: #fff; }

body {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(30, 58, 138, .55), transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 0%, rgba(0, 188, 212, .16), transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 5%, rgba(59, 130, 246, .12), transparent 70%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}
body::before {
    background-image: linear-gradient(rgba(148,163,184,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 20%, transparent 75%);
    background-color: transparent;
}

/* orbes decorativos */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: orbFloat 22s ease-in-out infinite; }
.bg-orbs span:nth-child(1) { width: 480px; height: 480px; background: rgba(0,188,212,.22); top: 12%; left: -140px; }
.bg-orbs span:nth-child(2) { width: 540px; height: 540px; background: rgba(59,130,246,.2); top: 48%; right: -180px; animation-delay: -8s; }
.bg-orbs span:nth-child(3) { width: 360px; height: 360px; background: rgba(139,92,246,.14); bottom: -80px; left: 35%; animation-delay: -14s; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-50px) scale(1.12); } }
body.in-dashboard .bg-orbs { display: none; }

h1, h2, h3, .logo, .dash-header-title { font-family: var(--font-display); }

/* ---------- NAV ---------- */
nav {
    padding: 14px 6%;
    transition: background .35s, backdrop-filter .35s, border-color .35s, padding .35s;
    border-bottom: 1px solid transparent;
}
nav.scrolled {
    background: rgba(10, 15, 30, .72);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom-color: var(--line);
    padding-top: 10px; padding-bottom: 10px;
}
.logo { font-size: 24px; letter-spacing: .5px; }
.logo img { filter: drop-shadow(0 0 12px rgba(0,188,212,.55)); }
.nav-links { gap: 6px; }
.nav-links a { padding: 9px 16px; border-radius: 10px; font-size: 14px; }
.nav-links a:not(.btn-nav):hover { background: rgba(255,255,255,.06); }
.btn-nav {
    background: var(--grad-brand) !important; color: #04202b !important; border: none !important;
    padding: 10px 20px !important; font-weight: 700 !important;
    box-shadow: 0 8px 24px -8px rgba(0,188,212,.6);
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(0,188,212,.75) !important; color: #04202b !important; }

/* ---------- BOTONES ---------- */
button { font-family: inherit; }
.btn-primary {
    background: var(--grad-brand); color: #04202b; position: relative; overflow: hidden;
    box-shadow: 0 10px 30px -8px rgba(0,188,212,.6);
}
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-20deg); transition: left .7s ease;
}
.btn-primary:hover::after { left: 140%; }
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(0,188,212,.8); transform: translateY(-3px); }
.btn-secondary { background: rgba(255,255,255,.04); backdrop-filter: blur(8px); border: 1px solid var(--line); }
.btn-secondary:hover { background: rgba(0,188,212,.08); border-color: var(--line-strong); transform: translateY(-3px); }
.btn-lg { padding: 16px 26px; font-size: 15px; border-radius: 14px; white-space: nowrap; }

/* ---------- HERO ---------- */
main { padding-top: 84px; }
.hero { max-width: 1280px; width: 100%; padding: 70px 6% 40px; text-align: center; }
.hero-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; text-align: left; }
.hero-split .hero-buttons { justify-content: flex-start; flex-wrap: wrap; }
.hero h1 {
    font-size: clamp(2.5rem, 4.9vw, 4.1rem); font-weight: 700; letter-spacing: -2px; line-height: 1.04; margin-bottom: 22px;
}
.text-gradient {
    background: linear-gradient(120deg, #fff 0%, #67e8f9 35%, #00BCD4 60%, #3b82f6 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.15rem; max-width: 560px; }
.hero:not(.hero-split) p { margin-left: auto; margin-right: auto; }
.badge-warning { background: rgba(250, 204, 21, .08); border-color: rgba(250,204,21,.28); backdrop-filter: blur(8px); }
.badge-brand { background: rgba(0,188,212,.1); color: var(--celeste-soft); border: 1px solid rgba(0,188,212,.3); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulseDot 2s infinite; }
@keyframes pulseDot { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--text-muted); font-size: .85rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--ok); font-size: 1.05rem; }

/* tarjeta de vista previa del escaneo */
.preview-card {
    position: relative; border-radius: 22px; padding: 22px; background: linear-gradient(160deg, rgba(23,33,58,.9), rgba(10,15,30,.9));
    border: 1px solid var(--line); box-shadow: var(--shadow-card), 0 0 80px -20px rgba(0,188,212,.35);
    transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.preview-card:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.preview-card::before {
    content: ''; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; pointer-events: none;
    background: linear-gradient(140deg, rgba(34,211,238,.7), transparent 40%, rgba(59,130,246,.5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.pv-top { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.pv-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); display: block; }
.pv-top i:nth-child(1) { background: #ff5f57; } .pv-top i:nth-child(2) { background: #febc2e; } .pv-top i:nth-child(3) { background: #28c840; }
.pv-top em { margin-left: auto; font-style: normal; font-size: .72rem; color: var(--text-muted); font-family: ui-monospace, Consolas, monospace; }
.pv-verdict { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(255,71,87,.08); border: 1px solid rgba(255,71,87,.28); margin-bottom: 14px; }
.pv-verdict .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: rgba(255,71,87,.15); color: #ff6b7a; }
.pv-verdict b { display: block; font-family: var(--font-display); letter-spacing: .5px; color: #ff6b7a; font-size: .95rem; }
.pv-verdict small { color: var(--text-muted); font-size: .76rem; }
.pv-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); margin-bottom: 8px; font-size: .82rem; }
.pv-row i { color: var(--celeste-soft); font-size: 1.1rem; }
.pv-row span { flex: 1; color: #e2e8f0; font-family: ui-monospace, Consolas, monospace; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-tag { padding: 3px 9px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .6px; }
.pv-tag.red { background: rgba(255,71,87,.14); color: #ff6b7a; } .pv-tag.amber { background: rgba(250,204,21,.12); color: #facc15; } .pv-tag.green { background: rgba(52,211,153,.12); color: var(--ok); }
.pv-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; margin-top: 14px; }
.pv-bar b { display: block; height: 100%; width: 100%; background: var(--grad-brand); animation: pvScan 3.2s ease-in-out infinite; transform-origin: left; }
@keyframes pvScan { 0% { transform: scaleX(0); } 70%,100% { transform: scaleX(1); } }
.float-chip {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; font-size: .78rem; font-weight: 600;
    background: rgba(10,15,30,.9); border: 1px solid var(--line); box-shadow: var(--shadow-card); backdrop-filter: blur(10px); animation: chipFloat 6s ease-in-out infinite;
}
.float-chip i { color: var(--ok); font-size: 1.2rem; }
.float-chip.c1 { top: -20px; right: 10px; } .float-chip.c2 { bottom: 26px; left: -34px; animation-delay: -3s; } .float-chip.c2 i { color: var(--celeste-soft); }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- BANDA DE ESTADÍSTICAS ---------- */
.stats-band { width: 100%; max-width: 1100px; margin: 20px auto 10px; padding: 0 6%; }
.stats-band-inner {
    display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
    background: linear-gradient(180deg, var(--surface-2), var(--surface)); backdrop-filter: blur(14px);
}
.sb-item { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.sb-item:last-child { border-right: none; }
.sb-item b { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sb-item span { display: block; margin-top: 10px; color: var(--text-muted); font-size: .85rem; }

/* ---------- SECCIONES ---------- */
.features, .how-it-works-preview, .faq, .legal-section { padding: 90px 6%; max-width: 1180px; }
.eyebrow { display: inline-block; color: var(--celeste-soft); font-size: .78rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.section-title { margin-bottom: 54px; }
.section-title h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 700; letter-spacing: -1.2px; }

/* tarjetas de características */
.features-grid { gap: 22px; }
.feature-card {
    position: relative; padding: 34px; border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
    transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
}
.feature-card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0,188,212,.16), transparent 55%);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-8px); box-shadow: var(--shadow-card), var(--glow); }
.icon-box {
    width: 58px; height: 58px; border-radius: 16px; margin-bottom: 22px; font-size: 28px;
    background: linear-gradient(135deg, rgba(0,188,212,.22), rgba(59,130,246,.14)); border: 1px solid rgba(0,188,212,.3);
    box-shadow: inset 0 0 20px rgba(0,188,212,.12), 0 8px 24px -10px rgba(0,188,212,.5);
}
.feature-card h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -.3px; }

/* pasos con conector */
.steps-grid { position: relative; gap: 22px; counter-reset: step; }
.step-mini-card {
    position: relative; padding: 38px 28px 32px; border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.step-mini-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card), var(--glow); }
.step-mini-card::after {
    counter-increment: step; content: '0' counter(step); position: absolute; top: 18px; right: 22px;
    font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: rgba(255,255,255,.05); line-height: 1;
}
.step-icon { width: 66px; height: 66px; border-radius: 20px; background: var(--grad-brand); color: #04202b; box-shadow: 0 12px 30px -10px rgba(0,188,212,.7); }
.step-mini-card h4 { font-family: var(--font-display); font-size: 1.25rem; }

/* CTA final */
.cta-section { width: 100%; max-width: 1100px; padding: 30px 6% 90px; }
.cta-box {
    position: relative; overflow: hidden; text-align: center; padding: 64px 28px; border-radius: 28px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,188,212,.28), transparent 65%), linear-gradient(160deg, #10203f, #0a1226);
    border: 1px solid var(--line-strong); box-shadow: var(--shadow-card), 0 0 90px -30px rgba(0,188,212,.5);
}
.cta-box::before {
    content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
}
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -1px; margin-bottom: 14px; }
.cta-box p { color: #b6c4d8; margin: 0 auto 30px; max-width: 520px; line-height: 1.6; }
.cta-box .hero-buttons { justify-content: center; }

/* FAQ */
.faq-item { border-radius: 16px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.faq-item:hover, .faq-item[open] { border-color: var(--line-strong); }
.faq-item[open] { box-shadow: var(--glow); }
.faq-item summary { font-size: 1.05rem; gap: 16px; }
.faq-item summary i { background: rgba(0,188,212,.1); border-radius: 50%; padding: 6px; flex-shrink: 0; }

/* ---------- COMO FUNCIONA (línea de tiempo) ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 0; }
.timeline::before { content: ''; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--celeste), rgba(59,130,246,.4), transparent); border-radius: 2px; }
.tl-item { position: relative; display: flex; gap: 28px; margin-bottom: 26px; }
.tl-dot {
    flex-shrink: 0; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; z-index: 1;
    background: var(--grad-brand); color: #04202b; font-size: 1.7rem; box-shadow: 0 12px 30px -10px rgba(0,188,212,.7), 0 0 0 6px var(--bg-deep);
}
.tl-card {
    flex: 1; padding: 28px 30px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line); transition: .35s;
}
.tl-card:hover { border-color: var(--line-strong); transform: translateX(6px); box-shadow: var(--glow); }
.tl-card small { color: var(--celeste-soft); font-weight: 800; letter-spacing: 1.5px; font-size: .72rem; }
.tl-card h3 { font-size: 1.35rem; margin: 6px 0 12px; color: #fff; }
.tl-card p { color: var(--text-muted); line-height: 1.7; }
.tl-card strong { color: #fff; }
.tl-card ul { list-style: none; margin-top: 12px; }
.tl-card li { color: var(--text-muted); padding-left: 26px; position: relative; margin-bottom: 8px; font-size: .94rem; }
.tl-card li::before { content: '\2713'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* ---------- LEGAL ---------- */
.legal-content {
    gap: 0; padding: 12px 44px; border-radius: 26px; background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.legal-block { padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-block:last-child { border-bottom: none; }
.legal-number { width: 46px; height: 46px; border-radius: 14px; font-family: var(--font-display); background: linear-gradient(135deg, rgba(0,188,212,.22), rgba(59,130,246,.12)); box-shadow: 0 8px 22px -10px rgba(0,188,212,.6); }
.legal-text h3 { font-size: 1.3rem; letter-spacing: -.3px; }
.legal-text a:hover { text-decoration: underline; }
.legal-notice { border-radius: 14px; }

/* ---------- FOOTER ---------- */
.site-footer { background: linear-gradient(180deg, transparent, rgba(6,10,22,.9) 40%); border-top: 1px solid var(--line); position: relative; margin-top: 40px; }
.site-footer::before { content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 40%; height: 1px; background: linear-gradient(90deg, transparent, var(--celeste), transparent); }
.footer-links h4 { font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: #cbd5e1; }
.footer-links a { cursor: pointer; }
.footer-links a:hover { transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; max-width: 1200px; margin: 0 auto; }
.footer-bottom span { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom span i { color: var(--ok); }

/* ===================================================================
   PANEL (DASHBOARD)
   =================================================================== */
.dashboard-layout { background: radial-gradient(ellipse 70% 40% at 60% 0%, rgba(30,58,138,.35), transparent 70%), #080d1b; }
.dashboard-sidebar {
    background: linear-gradient(180deg, rgba(14,21,40,.98), rgba(8,13,27,.98));
    border-right: 1px solid var(--line); box-shadow: 8px 0 40px -20px rgba(0,0,0,.6);
}
.logo-wrapper .logo-text, .logo-text { font-family: var(--font-display); }
.logo-img { filter: drop-shadow(0 0 10px rgba(0,188,212,.5)); }
.sidebar-section-title { color: rgba(148,163,184,.55); letter-spacing: 1.5px; }
.sidebar-btn { border-radius: 12px; padding: 11px 16px; position: relative; font-weight: 500; }
.sidebar-btn:hover { background: rgba(255,255,255,.05); transform: translateX(2px); }
.sidebar-btn.active {
    background: linear-gradient(90deg, rgba(0,188,212,.18), rgba(0,188,212,.04)); color: #67e8f9; border-color: rgba(0,188,212,.25);
}
.sidebar-btn.active::before { content: ''; position: absolute; left: -12px; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: var(--celeste); box-shadow: 0 0 12px var(--celeste); }
.sidebar-btn.active i { filter: drop-shadow(0 0 6px rgba(0,188,212,.7)); }
.sidebar-footer { border-top: 1px solid var(--line); }
.user-profile { border-radius: 12px; }
.user-avatar { border-radius: 10px; background: linear-gradient(135deg, #1e3a8a, #00BCD4); }
#sidebar-avatar { border-radius: 10px; }
.user-dropdown, .dropdown-options, .modal-container { background: rgba(10,15,30,.97); border-color: var(--line); border-radius: 14px; }
.dropdown-item { border-radius: 8px; }
.dashboard-content { padding: 34px 44px 70px 36px; background: radial-gradient(ellipse 70% 35% at 50% 0%, rgba(0,188,212,.06), transparent 70%); }
.dash-header-title { font-size: 2rem; font-weight: 700; letter-spacing: -.8px; }
.dash-header-title::after { content: ''; display: block; width: 54px; height: 3px; margin-top: 12px; border-radius: 3px; background: var(--grad-brand); }
.dash-section-subtitle { color: #7f93ad; letter-spacing: 1.5px; }

.stat-card, .pin-stat-card, .chart-box, .scan-card, .table-container, .filter-bar, .modal-info-box, .scan-status-container {
    background: linear-gradient(180deg, rgba(23,33,58,.62), rgba(14,21,40,.62)); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(10px);
}
.stat-card, .pin-stat-card { transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.stat-card::after, .pin-stat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-brand); opacity: .55; }
.stat-card:hover, .pin-stat-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--glow); }
.stat-icon { background: rgba(0,188,212,.1); color: var(--celeste-soft); border-radius: 12px; }
.pin-stat-icon { color: var(--celeste-soft); opacity: .8; }
.stat-info .value, .pin-stat-value { font-family: var(--font-display); }

.dash-subtabs { border-bottom-color: var(--line); }
.dash-subtab.active { color: #67e8f9; border-bottom-color: var(--celeste); text-shadow: 0 0 14px rgba(0,188,212,.5); }

.search-input-wrapper, .dropdown-selected { background: rgba(255,255,255,.04); border-color: var(--line); border-radius: 10px; }
.search-input-wrapper:focus-within { border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(0,188,212,.12); }
.dropdown-option:hover { background: rgba(0,188,212,.08); }

.table-container { overflow: hidden; }
.dashboard-table th { background: rgba(255,255,255,.025); color: #7f93ad; }
.dashboard-table tbody tr { transition: background .2s; }
.dashboard-table tbody tr:hover { background: rgba(0,188,212,.06); }
.table-badge { border-radius: 999px; padding: 5px 11px; font-size: .64rem; }
.tb-finished { background: rgba(52,211,153,.1); color: var(--ok); border-color: rgba(52,211,153,.3); }
.tb-cheating { background: rgba(255,71,87,.12); color: #ff6b7a; border: 1px solid rgba(255,71,87,.3); }
.table-actions i { transition: .2s; } .table-actions i:hover { color: var(--celeste-soft); transform: scale(1.15); }

.btn-action { border-radius: 10px; background: rgba(255,255,255,.05); border-color: var(--line); }
.btn-action:hover { background: rgba(0,188,212,.1); border-color: var(--line-strong); transform: translateY(-1px); }

.progress-bar { height: 8px; border-radius: 8px; }
.progress-fill.success { background: linear-gradient(90deg, #10b981, #34d399); }
.progress-fill.danger { background: linear-gradient(90deg, #ef4444, #ff6b7a); }

/* detalle del escaneo */
.scan-header-premium { border-radius: 18px !important; border: 1px solid var(--line) !important; }
.scan-badge { border-radius: 999px; }
.scan-verdict-banner { border-radius: 16px !important; backdrop-filter: blur(8px); }
.scan-card:hover { border-color: rgba(0,188,212,.2); }
.scan-card-header i { color: var(--celeste-soft); }

/* modales */
.modal-overlay { background: rgba(3,6,15,.72); backdrop-filter: blur(8px); }
.modal-container { box-shadow: 0 30px 80px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(0,188,212,.12); }
.modal-copy-box { border-radius: 12px; border-color: var(--line); }
.copy-text { color: #67e8f9; font-family: ui-monospace, 'JetBrains Mono', Consolas, monospace; }

/* pantalla de carga de sesión */
#auth-loader { background: radial-gradient(ellipse at 50% 30%, #12234a, #080d1b 70%) !important; }
.loader-spinner { filter: drop-shadow(0 0 18px rgba(0,188,212,.7)); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .hero-split { grid-template-columns: 1fr; text-align: center; }
    .hero-split .hero-buttons { justify-content: center; }
    .hero-split p { margin-left: auto; margin-right: auto; }
    .hero-trust { justify-content: center; }
    .preview-card { transform: none; max-width: 520px; margin: 30px auto 0; text-align: left; }
    .float-chip.c2 { left: -10px; } .float-chip.c1 { right: -6px; }
    .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
    .sb-item:nth-child(2) { border-right: none; } .sb-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 768px) {
    nav { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 5%; }
    .nav-links { gap: 2px; } .nav-links .hide-sm { display: none; }
    main { padding-top: 74px; }
    .legal-content { padding: 6px 22px; }
    .legal-block { flex-direction: column; gap: 14px; }
    .timeline::before { left: 23px; } .tl-dot { width: 48px; height: 48px; border-radius: 15px; font-size: 1.3rem; } .tl-item { gap: 16px; }
    .tl-card { padding: 22px 20px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .dashboard-content { padding: 22px 18px 80px !important; }
    .mobile-top-bar { background: rgba(10,15,30,.95); border-bottom-color: var(--line); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}


.hero-split > div { min-width: 0; }
.preview-card { max-width: 100%; }
@media (max-width: 520px) { .hero-buttons { flex-direction: column; align-items: stretch; } .hero-buttons button { justify-content: center; } .float-chip { display: none; } .hero-trust { gap: 12px; } }

