/* =============================================
   FONDOS TECH — 404 Error Page Styles (404.css)
   ============================================= */

.error-hero-section {
    padding: 8.5rem 0 4rem;
    background-color: var(--bg-light, #f5faff);
    position: relative;
    overflow: hidden;
}

/* Background Visual Container */
.error-visual-wrapper {
    position: relative;
    display: inline-block;
}

/* Badge Label */
.error-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #cee4fd;
    color: var(--primary-color, #086ad8);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 4px 12px rgba(8, 106, 216, 0.08);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
    display: inline-block;
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 8px rgba(220, 53, 69, 0.8);
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

/* 404 Digits using Solid Primary Color */
.error-number-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.error-number-display .digit {
    font-size: 7.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-color, #086ad8);
    letter-spacing: -0.05em;
}

.shield-zero-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    background: #ffffff;
    border: 2px solid #cee4fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(8, 106, 216, 0.16);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.shield-zero-wrapper:hover {
    transform: rotate(0deg) scale(1.05);
}

.zero-shield-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.zero-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--primary-color, #086ad8);
    opacity: 0.3;
    animation: ringPulse 2s infinite ease-out;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Headings */
.error-main-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #212529;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.error-main-desc {
    font-size: 1.125rem;
    color: #495057;
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 2rem;
}

.requested-path-badge {
    background: #e6f0fa;
    color: var(--primary-color, #086ad8);
    font-family: monospace;
    font-size: 0.95rem;
    padding: 0.2rem 0.6rem;
    border-radius: 0.375rem;
    border: 1px solid #c0dcfa;
}



/* Button Styles */
.btn-404-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background-color: var(--primary-color, #086ad8);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 2.5rem;
    box-shadow: 0 8px 20px rgba(8, 106, 216, 0.3);
    transition: all 0.25s ease;
}

.btn-404-primary:hover {
    background-color: var(--primary-dark, #0656B0);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 106, 216, 0.4);
    color: #ffffff !important;
}

.btn-404-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background-color: #ffffff;
    color: var(--primary-color, #086ad8) !important;
    border: 1px solid #cee4fd;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 2.5rem;
    box-shadow: 0 4px 14px rgba(33, 37, 41, 0.04);
    transition: all 0.25s ease;
}

.btn-404-outline:hover {
    background-color: #f0f7ff;
    border-color: var(--primary-color, #086ad8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 106, 216, 0.12);
}

.btn-404-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #495057;
    border: none;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.25rem;
    border-radius: 2.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-404-ghost:hover {
    color: var(--primary-color, #086ad8);
    background: rgba(8, 106, 216, 0.06);
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .error-hero-section {
        padding: 7rem 0 3rem;
    }

    .error-number-display .digit {
        font-size: 5.5rem;
    }

    .shield-zero-wrapper {
        width: 80px;
        height: 80px;
        border-radius: 50%;
    }

    .zero-shield-img {
        width: 44px;
        height: 44px;
    }

    .error-main-title {
        font-size: 2.125rem;
    }

    .error-main-desc {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .error-number-display .digit {
        font-size: 4rem;
    }

    .shield-zero-wrapper {
        width: 64px;
        height: 64px;
        border-radius: 50%;
    }

    .zero-shield-img {
        width: 36px;
        height: 36px;
    }

    .error-main-title {
        font-size: 1.75rem;
    }

    .btn-404-primary, .btn-404-outline, .btn-404-ghost {
        width: 100%;
        justify-content: center;
    }
}
