/* =======================
   Error 404 Hero Section Start
======================= */
.error404-pro-hero-section {
    position: relative;
    padding: 100px 0 100px;
    background:
        radial-gradient(circle at center top, rgba(16, 146, 255, 0.22) 0%, rgba(4, 70, 148, 0.08) 24%, transparent 48%),
        linear-gradient(180deg, #020b1f 0%, #010816 100%);
    overflow: hidden;
}

.error404-pro-hero-glow {
    position: absolute;
    left: 50%;
    top: -140px;
    transform: translateX(-50%);
    width: 980px;
    height: 420px;
    background: radial-gradient(circle, rgba(24, 162, 255, 0.24) 0%, rgba(6, 77, 160, 0.08) 34%, transparent 68%);
    filter: blur(42px);
    pointer-events: none;
}

.error404-pro-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 64px;
    align-items: center;
}

.error404-pro-hero-content {
    max-width: 520px;
}

.error404-pro-hero-content h1 {
    max-width: 500px;
    color: #fcfdff;
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 600;
    margin-bottom: 28px;
}

.error404-pro-hero-content p {
    max-width: 470px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 17px;
    line-height: 1.72;
    margin-bottom: 38px;
}

.error404-pro-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.error404-pro-btn {
    min-width: 142px;
    height: 42px;
    padding: 0 22px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.error404-pro-btn-primary {
    background: linear-gradient(90deg, #0a95f4 0%, #1498ff 50%, #00a9e7 100%);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(8, 128, 244, 0.18);
}

.error404-pro-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(8, 128, 244, 0.24);
}

.error404-pro-btn-secondary {
    background: #f4f4f5;
    color: #1d2430;
}

.error404-pro-btn-secondary:hover {
    transform: translateY(-2px);
    background: #ffffff;
}

.error404-pro-hero-visual {
    position: relative;
    width: 100%;
    min-height: 470px;
}

.error404-pro-visual-bg {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.error404-pro-bg-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
}

.error404-pro-visual-card {
    position: absolute;
    left: -110px;
    top: 58px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
}

.error404-pro-card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.error404-pro-hero-visual:hover .error404-pro-visual-card {
    transform: translateY(-6px);
}

.error404-pro-hero-visual:hover .error404-pro-visual-bg {
    transform: translateY(-2px);
}

.error404-pro-visual-bg {
    transition: transform 0.4s ease;
}

/* responsive */
@media (max-width: 1150px) {
    .error404-pro-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
        gap: 42px;
    }

    .error404-pro-hero-content h1 {
        font-size: 56px;
        max-width: 440px;
    }

    .error404-pro-hero-visual {
        min-height: 430px;
    }

    .error404-pro-visual-bg {
        max-width: 360px;
    }

    .error404-pro-visual-card {
        max-width: 330px;
        top: 52px;
    }
}

@media (max-width: 991px) {
    .error404-pro-hero-section {
        padding: 80px 0 90px;
    }

    .error404-pro-hero-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .error404-pro-hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .error404-pro-hero-content h1 {
        max-width: 620px;
        margin: 0 auto 22px;
        font-size: 48px;
    }

    .error404-pro-hero-content p {
        max-width: 620px;
        margin: 0 auto 30px;
        font-size: 15px;
    }

    .error404-pro-hero-actions {
        justify-content: center;
    }

    .error404-pro-hero-visual {
        max-width: 520px;
        min-height: 430px;
        margin: 0 auto;
    }

    .error404-pro-visual-bg {
        max-width: 380px;
    }

    .error404-pro-visual-card {
        max-width: 350px;
    }
}

@media (max-width: 767px) {
    .error404-pro-hero-section {
        padding: 60px 0 60px;
    }

    .error404-pro-hero-content h1 {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .error404-pro-hero-content p {
        font-size: 14px;
        line-height: 1.72;
        margin-bottom: 24px;
    }

    .error404-pro-hero-actions {
        gap: 12px;
        flex-wrap: wrap;
    }

    .error404-pro-btn {
        min-width: 132px;
        height: 40px;
        font-size: 14px;
    }

    .error404-pro-hero-visual {
        min-height: 330px;
        max-width: 100%;
    }

    .error404-pro-visual-bg {
        max-width: 260px;
        margin: 0 auto;
        border-radius: 18px;
    }

    .error404-pro-bg-image {
        border-radius: 18px;
    }

    .error404-pro-visual-card {
        position: absolute;
        left: 50%;
        top: 34px;
        transform: translateX(-50%);
        max-width: 265px;
        border-radius: 14px;
    }

    .error404-pro-card-image {
        border-radius: 14px;
    }

    .error404-pro-hero-visual:hover .error404-pro-visual-card {
        transform: translateX(-50%) translateY(-4px);
    }
}

@media (max-width: 520px) {
    .error404-pro-hero-content h1 {
        font-size: 30px;
    }

    .error404-pro-hero-content p {
        font-size: 13px;
    }

    .error404-pro-hero-visual {
        min-height: 285px;
    }

    .error404-pro-visual-bg {
        max-width: 300px;
    }

    .error404-pro-visual-card {
        max-width: 390px;
        top: 18px;
        left: 150px;
    }
}

/* =======================
   Error 404 Hero Section End
======================= */