.resl-welcome-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59, 92, 201, 0.35), transparent),
        linear-gradient(165deg, var(--resl-primary-dark) 0%, var(--resl-primary) 45%, var(--resl-primary-light) 100%);
    color: #fff;
}

html[data-theme="dark"] .resl-welcome-page,
html[data-resl-theme="dark"] .resl-welcome-page {
    background:
        radial-gradient(ellipse 70% 50% at 80% 0%, rgba(59, 92, 201, 0.2), transparent),
        linear-gradient(165deg, #080b18 0%, var(--resl-primary-dark) 50%, #1a2248 100%);
}

.resl-welcome-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.resl-welcome-header__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.resl-welcome-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.resl-welcome-brand__logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.96;
}

.resl-welcome-brand:hover {
    color: #fff;
    opacity: 0.92;
}

.resl-welcome-nav .nav {
    gap: 0.15rem;
}

.resl-welcome-nav .nav-item {
    display: flex;
    align-items: center;
}

.resl-welcome-nav .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.4rem;
}

.resl-welcome-nav .nav-link:hover,
.resl-welcome-nav .nav-link:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.resl-welcome-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14);
}

.resl-welcome-header .resl-theme-toggle {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.resl-welcome-header .resl-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
}

.resl-welcome-header .resl-theme-toggle .fa-sun {
    color: #fbbf24;
}

.resl-welcome-main {
    flex: 1;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

.resl-welcome-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.resl-welcome-hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.resl-welcome-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
}

.resl-welcome-hero p {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.75rem;
}

.resl-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.resl-welcome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0 1.5rem;
    border-radius: 0.65rem;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.resl-welcome-btn i {
    font-size: 0.95rem;
}

.resl-welcome-btn:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
}

.resl-welcome-btn--primary {
    background: #fff;
    color: #152068 !important;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(15, 22, 48, 0.22);
}

.resl-welcome-btn--primary i {
    color: #152068 !important;
}

.resl-welcome-btn--primary:hover,
.resl-welcome-btn--primary:focus {
    background: #f8fafc;
    color: #0f1630 !important;
    border-color: #fff;
    box-shadow: 0 10px 28px rgba(15, 22, 48, 0.28);
}

.resl-welcome-btn--primary:hover i,
.resl-welcome-btn--primary:focus i {
    color: #0f1630 !important;
}

.resl-welcome-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.45);
}

.resl-welcome-btn--ghost:hover,
.resl-welcome-btn--ghost:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.75);
}

.resl-welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.resl-welcome-feature {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.85rem;
    padding: 1.25rem;
    text-align: left;
    backdrop-filter: blur(6px);
}

html[data-theme="dark"] .resl-welcome-feature,
html[data-resl-theme="dark"] .resl-welcome-feature {
    background: rgba(15, 22, 48, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
}

.resl-welcome-feature__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.resl-welcome-feature h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #fff;
}

.resl-welcome-feature p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.resl-welcome-footer {
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.resl-welcome-footer a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: underline;
}

.resl-welcome-footer a:hover {
    color: #fff !important;
}

@media (max-width: 575.98px) {
    .resl-welcome-brand__logo {
        width: 44px;
        height: 44px;
    }

    .resl-welcome-brand {
        font-size: 1.1rem;
    }

    .resl-welcome-header__inner {
        justify-content: center;
    }

    .resl-welcome-nav {
        width: 100%;
        justify-content: center;
    }

    .resl-welcome-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .resl-welcome-btn {
        width: 100%;
    }
}
