/* Variables de Identidad DevFusionGuru */
:root { 
    --bg-main: #000000;      /* Antes era #FFFFFF */
    --bg-card: #0A0A0A;      /* Antes era #F9FAFB */
    --text-main: #FFFFFF;    /* Antes era #000000 */
    --text-muted: #9CA3AF;
    --accent: #32FF00;       /* Tu verde neón */
    --accent-glow: rgba(50, 255, 0, 0.25);
    --border: #1F2937;
    --input-bg: #050505;
}

.dark { 
    --bg-main: #000000;
    --bg-card: #0A0A0A;
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --accent: #32FF00; 
    --accent-glow: rgba(50, 255, 0, 0.25);
    --border: #1F2937;
    --input-bg: #050505;
}

/* Base */
body { 
    background-color: var(--bg-main); 
    color: var(--text-main); 
    font-family: 'Inter', sans-serif;
    transition: background-color 0.4s ease, color 0.2s ease;
    margin: 0;
}

/* --- TUS BOTONES FUTURISTAS (Recuperados y Reforzados) --- */
.btn-futuristic {
    background-color: var(--accent);
    color: #000 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 16px 24px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-futuristic:hover {
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.1);
}

.btn-futuristic:active {
    transform: translateY(0);
}

/* --- TARJETAS 3D HOME (Efecto Pop-out) --- */
.card-3d {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    overflow: visible; 
    min-height: 180px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem;
    text-align: center;
}

.card-3d:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px var(--accent-glow);
}

.card-3d img {
    height: 100px !important;
    width: auto !important;
    max-width: none !important;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    transition: transform 0.4s ease;
}

.card-3d:hover img {
    transform: translateX(-50%) scale(1.1) translateY(-10px);
}

/* --- UI COMPONENTS (Inputs, Labels, Signature) --- */
.neo-input {
    background-color: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.neo-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.neo-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.neo-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    margin-right: 8px;
}

/* Signature Pad */
.signature-wrapper {
    background-color: #FFFFFF;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

/* Theme Toggle */
.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* --- ANIMACIONES --- */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    display: flex;
    width: 200%;
    animation: marquee 30s linear infinite;
}