/* ==========================================================================
   NOT FOUND PAGE (404) STYLES
   ========================================================================== */

.not-found-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 140px); /* Centers it perfectly on the screen */
    width: 100%;
    background-color: #F5F7FA; /* Brand Off White */
    padding: 64px 24px;
    text-align: center;
}

.not-found-page__container {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF; /* Crisp white card */
    padding: 64px 48px;
    border-radius: 16px; /* Soft, friendly corners */
    box-shadow: 0 12px 32px rgba(11, 60, 93, 0.05); /* Brand shadow */
    border: 1px solid #E5E7EB; /* Subtle border */
}

/* ==========================================================================
   1. ICON & HEADER
   ========================================================================== */

.not-found-page__icon-wrapper {
    width: 88px;
    height: 88px;
    background-color: rgba(31, 138, 112, 0.1); /* Soft Calm Teal tint */
    border: 1px solid rgba(31, 138, 112, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.not-found-page__icon {
    font-size: 32px;
    color: #1F8A70; /* Brand Calm Teal */
}

.not-found-page__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px; /* Space before button */
}

.not-found-page__title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0B3C5D; /* Brand Deep Trust Blue */
    margin: 0;
    letter-spacing: -0.5px;
}

.not-found-page__subtitle {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    color: #2D3139; /* Brand Charcoal */
    line-height: 1.6;
    margin: 0 auto;
    max-width: 400px; /* Keeps text pleasantly wrapped */
}

.not-found-page__cta-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 48px;
}

/* ==========================================================================
   2. QUICK LINKS FOOTER
   ========================================================================== */

.not-found-page__quick-links {
    padding-top: 32px;
    border-top: 1px solid #E5E7EB;
    width: 100%;
}

.not-found-page__quick-links-title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #A0A8B5; /* Brand Soft Grey */
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.not-found-page__quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.not-found-page__quick-links-list a {
    color: #0B3C5D; /* Deep Trust Blue */
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 200ms ease;
}

.not-found-page__quick-links-list a:hover {
    color: #1F8A70; /* Brand Calm Teal */
    text-decoration-color: rgba(31, 138, 112, 0.4);
}

/* ==========================================================================
   3. RESPONSIVE SCALING
   ========================================================================== */

@media (max-width: 639px) {
    .not-found-page {
        padding: 24px 16px;
    }

    .not-found-page__container {
        padding: 48px 24px;
    }

    .not-found-page__title {
        font-size: 28px;
    }

    .not-found-page__quick-links-list {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}