/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ---- Base layout ---- */

.page[b-f9zoesscbt] {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* subtle light background like brochure */
    background: linear-gradient(135deg, #f9fafb, #e5e7eb);
    color: #111827;
}

/* main content container */
.ulx-main[b-f9zoesscbt] {
    flex: 1;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.75rem 3.5rem;
}

/* ---- NAVBAR ---- */

.ulx-navbar[b-f9zoesscbt] {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 8px 18px rgba(15, 23, 42, 0.05);
}

.ulx-navbar-inner[b-f9zoesscbt] {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.6rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative; /* NEW */
}

/* ---- Brand ---- */

.ulx-brand[b-f9zoesscbt] {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.ulx-logo-img[b-f9zoesscbt] {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.ulx-brand-text[b-f9zoesscbt] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: #111827;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

    .ulx-brand-text > span[b-f9zoesscbt] {
        color: #f97316; /* UbuntuLex orange */
        font-weight: 600;
    }

    .ulx-brand-text[b-f9zoesscbt]::first-line {
        font-size: 1.35rem;
        font-weight: 500;
        letter-spacing: 0.02em;
    }

.ulx-tagline[b-f9zoesscbt] {
    font-size: 0.73rem;
    color: #6b7280;
    margin-top: 0.1rem;
}

/* phone on the right, like the PDF header */
.ulx-nav-phone[b-f9zoesscbt] {
    margin-left: auto;
    font-size: 0.85rem;
    color: #4b5563;
    white-space: nowrap;
}

/* ---- Nav links ---- */

.ulx-nav-links[b-f9zoesscbt] {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-left: auto; /* was 1.25rem */
    font-size: 0.93rem;
}

    .ulx-nav-links a[b-f9zoesscbt] {
        position: relative;
        text-decoration: none;
        color: #4b5563;
        font-weight: 450;
        letter-spacing: 0.01em;
        transition: color 0.18s ease;
    }

        .ulx-nav-links a[b-f9zoesscbt]::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -0.35rem;
            width: 0;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, #f97316, #fbbf24);
            transition: width 0.18s ease;
        }

        .ulx-nav-links a:hover[b-f9zoesscbt] {
            color: #111827;
        }

            .ulx-nav-links a:hover[b-f9zoesscbt]::after {
                width: 100%;
            }

/* ---- Actions ---- */

.ulx-nav-actions[b-f9zoesscbt] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-left: 1.5rem;
}

.ulx-link-muted[b-f9zoesscbt] {
    text-decoration: none;
    color: #6b7280;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

    .ulx-link-muted:hover[b-f9zoesscbt] {
        color: #111827;
    }

.ulx-btn-primary[b-f9zoesscbt] {
    text-decoration: none;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #111827;
    border: none;
    box-shadow: 0 0 0 1px rgba(248, 148, 30, 0.35), 0 7px 16px rgba(248, 148, 30, 0.4);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

    .ulx-btn-primary:hover[b-f9zoesscbt] {
        transform: translateY(-1px);
        box-shadow: 0 0 0 1px rgba(248, 148, 30, 0.5), 0 10px 22px rgba(248, 148, 30, 0.55);
        filter: brightness(1.02);
    }

    .ulx-btn-primary:active[b-f9zoesscbt] {
        transform: translateY(0);
        box-shadow: 0 0 0 1px rgba(248, 148, 30, 0.45), 0 4px 12px rgba(248, 148, 30, 0.4);
    }

/* ---- Mobile hamburger ---- */



.ulx-nav-toggle[b-f9zoesscbt] {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    width: 2.5rem;
    height: 2.5rem;
    margin-left: 0.75rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    padding: 0.45rem;
    box-sizing: border-box;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

    .ulx-nav-toggle span[b-f9zoesscbt] {
        height: 2px;
        border-radius: 999px;
        background: #111827;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

/* ---- Error UI (keep from your original) ---- */

#blazor-error-ui[b-f9zoesscbt] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-f9zoesscbt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ---- Responsive behaviour ---- */

@media (max-width: 960px) {
    .ulx-nav-phone[b-f9zoesscbt] {
        display: none;
    }

    .ulx-nav-toggle[b-f9zoesscbt] {
        display: inline-flex;
        margin-left: auto;
    }

    /* Mobile menu panel � closed state */
    .ulx-nav-links[b-f9zoesscbt] {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        z-index: 40;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        padding: 0 1.75rem; /* no vertical padding when closed */

        pointer-events: none;
        transition: max-height 0.22s ease, opacity 0.22s ease, transform 0.22s ease, padding-top 0.22s ease, padding-bottom 0.22s ease;
    }

        .ulx-nav-links a[b-f9zoesscbt] {
            width: 100%;
            padding: 0.2rem 0;
        }

        /* Open state � applied by Blazor class .ulx-nav-open */
        .ulx-nav-links.ulx-nav-open[b-f9zoesscbt] {
            max-height: 260px; /* enough for all links */
            opacity: 1;
            transform: translateY(0);
            padding: 0.85rem 1.75rem 1.1rem; /* nice vertical padding */
            pointer-events: auto;
        }

    /* Burger -> X when open (class .is-open on button) */
    .ulx-nav-toggle.is-open span:nth-child(1)[b-f9zoesscbt] {
        transform: translateY(4px) rotate(45deg);
    }

    .ulx-nav-toggle.is-open span:nth-child(2)[b-f9zoesscbt] {
        opacity: 0;
    }

    .ulx-nav-toggle.is-open span:nth-child(3)[b-f9zoesscbt] {
        transform: translateY(-4px) rotate(-45deg);
    }

    .ulx-main[b-f9zoesscbt] {
        padding-inline: 1.25rem;
        padding-top: 1.75rem;
    }
}




@media (max-width: 640px) {
    .ulx-navbar-inner[b-f9zoesscbt] {
        padding-inline: 1.25rem;
    }

    .ulx-main[b-f9zoesscbt] {
        padding-inline: 1.25rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ahknyrlexv],
.components-reconnect-repeated-attempt-visible[b-ahknyrlexv],
.components-reconnect-failed-visible[b-ahknyrlexv],
.components-pause-visible[b-ahknyrlexv],
.components-resume-failed-visible[b-ahknyrlexv],
.components-rejoining-animation[b-ahknyrlexv] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ahknyrlexv],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ahknyrlexv],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ahknyrlexv],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ahknyrlexv],
#components-reconnect-modal.components-reconnect-retrying[b-ahknyrlexv],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ahknyrlexv],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ahknyrlexv],
#components-reconnect-modal.components-reconnect-failed[b-ahknyrlexv],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ahknyrlexv] {
    display: block;
}


#components-reconnect-modal[b-ahknyrlexv] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ahknyrlexv 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ahknyrlexv 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ahknyrlexv 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ahknyrlexv]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ahknyrlexv 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ahknyrlexv {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ahknyrlexv {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ahknyrlexv {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ahknyrlexv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ahknyrlexv] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ahknyrlexv] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ahknyrlexv] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ahknyrlexv] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ahknyrlexv] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ahknyrlexv] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ahknyrlexv 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ahknyrlexv] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ahknyrlexv {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
:root[b-iokrysehpf] {
    --ubx-orange: #f97316;
    --ubx-indigo: #4f46e5;
    --ubx-text-main: #020617;
    --ubx-text-muted: #6b7280;
    --ubx-border-soft: #e5e7eb;
}

/* SECTION WRAPPER */
.ubx-hero-invest[b-iokrysehpf] {
    background: #ffffff;
    padding: 4.5rem 1.5rem 4rem;
    border-bottom: 1px solid var(--ubx-border-soft);
}

.ubx-hero-invest__inner[b-iokrysehpf] {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

/* LEFT SIDE */
.ubx-hero-invest__copy[b-iokrysehpf] {
    max-width: 620px;
}

.ubx-hero-invest__eyebrow[b-iokrysehpf] {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ubx-text-muted);
    margin-bottom: 0.75rem;
}

.ubx-hero-invest__title[b-iokrysehpf] {
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: var(--ubx-text-main);
}

.ubx-hero-invest__title-highlight[b-iokrysehpf] {
    color: var(--ubx-orange);
}

.ubx-hero-invest__subtitle[b-iokrysehpf] {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--ubx-text-muted);
    margin-bottom: 1.6rem;
}

.ubx-hero-invest__pills[b-iokrysehpf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.ubx-pill[b-iokrysehpf] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.82rem;
    color: #4b5563;
}

    .ubx-pill span[b-iokrysehpf] {
        font-weight: 600;
        color: #111827;
    }

/* BUTTONS */
.ubx-hero-invest__actions[b-iokrysehpf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ubx-btn[b-iokrysehpf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
}

/* Primary CTA – gradient button */
.ubx-hero-invest .ubx-btn--primary[b-iokrysehpf] {
    background: linear-gradient(135deg, var(--ubx-indigo), var(--ubx-orange));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 14px 35px rgba(79, 70, 229, 0.35);
}

    .ubx-hero-invest .ubx-btn--primary:hover[b-iokrysehpf] {
        transform: translateY(-1px);
        box-shadow: 0 18px 45px rgba(79, 70, 229, 0.55);
    }

/* Secondary CTA */
.ubx-hero-invest .ubx-btn--outline[b-iokrysehpf] {
    background: #ffffff;
    color: var(--ubx-text-main);
    border-color: #d1d5db;
}

    .ubx-hero-invest .ubx-btn--outline:hover[b-iokrysehpf] {
        border-color: var(--ubx-orange);
        background: #f9fafb;
    }

.ubx-hero-invest__note[b-iokrysehpf] {
    font-size: 0.85rem;
    color: var(--ubx-text-muted);
}

/* RIGHT SIDE – PRODUCT MOCKUP */
.ubx-hero-invest__visual[b-iokrysehpf] {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

    .ubx-hero-invest__visual[b-iokrysehpf]::before {
        content: "";
        position: absolute;
        inset: 10% -10%;
        background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), transparent 55%), radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.2), transparent 55%);
        filter: blur(6px);
        z-index: 0;
    }

/* “SCREEN” FRAME */
.ubx-screen[b-iokrysehpf] {
    position: relative;
    z-index: 1;
    border-radius: 1.4rem;
    background: #020617;
    padding: 0.9rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(15, 23, 42, 0.9);
    max-width: 480px;
    width: 100%;
}

.ubx-screen__topbar[b-iokrysehpf] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    background: #020617;
    border: 1px solid rgba(55, 65, 81, 0.9);
    margin-bottom: 0.6rem;
}

.ubx-dot[b-iokrysehpf] {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fef9c3, var(--ubx-orange));
}

.ubx-screen__title[b-iokrysehpf] {
    margin-left: auto;
    font-size: 0.75rem;
    color: #9ca3af;
}

.ubx-screen__body[b-iokrysehpf] {
    border-radius: 1.1rem;
    border: 1px solid rgba(55, 65, 81, 0.85);
    background: #020617;
    padding: 1rem;
}

/* SIMPLE GREY PLACEHOLDER FOR VIDEO/GIF */
.ubx-video-placeholder[b-iokrysehpf] {
    position: relative;
    border-radius: 0.9rem;
    background: #111827; /* grey box */
    border: 1px solid #374151;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
    overflow: hidden;
}

    /* remove play icon overlay */
    .ubx-video-placeholder[b-iokrysehpf]::before {
        content: none;
    }

    .ubx-video-placeholder span[b-iokrysehpf] {
        max-width: 260px;
    }

/* caption under the placeholder */
.ubx-screen__caption[b-iokrysehpf] {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.6rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .ubx-hero-invest__inner[b-iokrysehpf] {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ubx-hero-invest__visual[b-iokrysehpf] {
        justify-content: center;
        order: -1; /* screen on top on tablet/mobile */
    }

    .ubx-hero-invest__title[b-iokrysehpf] {
        font-size: 2.3rem;
    }
}

@media (max-width: 640px) {
    .ubx-hero-invest[b-iokrysehpf] {
        padding: 3rem 1.25rem 3rem;
    }

    .ubx-hero-invest__title[b-iokrysehpf] {
        font-size: 2rem;
    }

    .ubx-screen[b-iokrysehpf] {
        max-width: 100%;
    }
}
/* HARD OVERRIDE for UbuntuLex hero primary button */
.ubx-hero-invest .ubx-btn--primary[b-iokrysehpf] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ubx-indigo), var(--ubx-orange)) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 14px 35px rgba(79, 70, 229, 0.35) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

    .ubx-hero-invest .ubx-btn--primary:hover[b-iokrysehpf] {
        transform: translateY(-1px);
        box-shadow: 0 18px 45px rgba(79, 70, 229, 0.55) !important;
    }

    /* remove any old overlay that might be covering the text */
    .ubx-hero-invest .ubx-btn--primary[b-iokrysehpf]::before,
    .ubx-hero-invest .ubx-btn--primary[b-iokrysehpf]::after {
        content: none !important;
    }


/* End of HERO*/
/* FEATURES SECTION */
.ubx-features[b-iokrysehpf] {
    background: #f9fafb;
    padding: 3rem 1.5rem 3.5rem;
}

.ubx-features__inner[b-iokrysehpf] {
    max-width: 1180px;
    margin: 0 auto;
}

/* Header */
.ubx-features__header[b-iokrysehpf] {
    text-align: center;
    margin-bottom: 3rem;
}

.ubx-features__eyebrow[b-iokrysehpf] {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ubx-text-muted);
    margin-bottom: 0.5rem;
}

.ubx-features__title[b-iokrysehpf] {
    font-size: 2.2rem;
    margin: 0 0 0.75rem;
    color: var(--ubx-text-main);
}

.ubx-features__subtitle[b-iokrysehpf] {
    max-width: 620px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--ubx-text-muted);
}

/* === MOSAIC GRID LAYOUT === */
.ubx-features__grid[b-iokrysehpf] {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "self ask"
        "docs ask"
        "docs bottom";
    gap: 1rem; /* was 1.75rem */
}

/* map elements to grid areas */
.ubx-feature-card--self[b-iokrysehpf] {
    grid-area: self;
}

.ubx-feature-card--docs[b-iokrysehpf] {
    grid-area: docs;
}

.ubx-feature-card--ask[b-iokrysehpf] {
    grid-area: ask;
}

/* bottom-right row container with two small cards */
.ubx-features__bottom[b-iokrysehpf] {
    grid-area: bottom;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem; /* was 1.75rem */
}

/* === CARD STYLES === */
.ubx-feature-card[b-iokrysehpf] {
    background: #ffffff;
    border-radius: 2rem;
    padding: 1rem 1rem 1.1rem; /* was 1.4rem 1.4rem 1.6rem */
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    flex-direction: column;
}

/* Make docs card taller to echo the reference */
.ubx-feature-card--docs[b-iokrysehpf] {
    min-height: 260px;
}

/* Big ask card spans two rows – give it some minimum height */
.ubx-feature-card--ask[b-iokrysehpf] {
    min-height: 320px;
}

/* Dark variant for Multi-platform */
.ubx-feature-card--dark[b-iokrysehpf] {
    background: radial-gradient(circle at top left, #111827, #020617);
    border-color: rgba(15, 23, 42, 0.9);
}

/* Media (image) area */
.ubx-feature-card__media[b-iokrysehpf] {
    border-radius: 1.4rem;
    background: #f3f4f6;
    overflow: hidden;
    margin-bottom: 0.7rem; /* was 1.1rem */
}

/* darker background for dark card */
.ubx-feature-card__media--dark[b-iokrysehpf] {
    background: radial-gradient(circle at top left, #111827, #020617);
}

.ubx-feature-card__img[b-iokrysehpf] {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

/* Body */
.ubx-feature-card__body[b-iokrysehpf] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* was 0.4rem */
}

.ubx-feature-card__title[b-iokrysehpf] {
    font-size: 1.2rem;
    margin: 0;
    color: var(--ubx-text-main);
}

.ubx-feature-card__title--dark[b-iokrysehpf] {
    color: #f9fafb;
}

.ubx-feature-card__text[b-iokrysehpf] {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ubx-text-muted);
    margin: 0;
}

.ubx-feature-card__text--dark[b-iokrysehpf] {
    color: #e5e7eb;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .ubx-features__grid[b-iokrysehpf] {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: none;
    }

    /* fall back to simple vertical stacking on tablet/mobile */
    .ubx-feature-card--self[b-iokrysehpf],
    .ubx-feature-card--docs[b-iokrysehpf],
    .ubx-feature-card--ask[b-iokrysehpf],
    .ubx-features__bottom[b-iokrysehpf] {
        grid-area: auto;
    }

    .ubx-features__bottom[b-iokrysehpf] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ubx-features[b-iokrysehpf] {
        padding: 3rem 1.25rem 3.5rem;
    }

    .ubx-features__title[b-iokrysehpf] {
        font-size: 1.8rem;
    }

    .ubx-feature-card__img[b-iokrysehpf] {
        height: 180px;
    }
}


/* GOAL / VISION SECTION */
.ubx-goals[b-iokrysehpf] {
    background: #2f3a4a; /* dark slate, matches your theme */
    color: #f9fafb;
    padding: 4rem 1.5rem 4.5rem;
}

.ubx-goals__inner[b-iokrysehpf] {
    max-width: 1180px;
    margin: 0 auto;
}

.ubx-goals__header[b-iokrysehpf] {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ubx-goals__eyebrow[b-iokrysehpf] {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.6rem;
}

.ubx-goals__title[b-iokrysehpf] {
    font-size: 2.1rem;
    margin: 0 0 0.75rem;
    color: #f9fafb;
}

.ubx-goals__subtitle[b-iokrysehpf] {
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #e5e7eb;
}

/* "How we plan to do it" heading */
.ubx-goals__plan[b-iokrysehpf] {
    text-align: center;
    margin-bottom: 2rem;
}

.ubx-goals__plan-title[b-iokrysehpf] {
    font-size: 1.2rem;
    margin: 0 0 0.4rem;
    color: #f9fafb;
}

.ubx-goals__plan-subtitle[b-iokrysehpf] {
    margin: 0;
    font-size: 0.95rem;
    color: #d1d5db;
}

/* FLOW CHART */
.ubx-flow[b-iokrysehpf] {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    position: relative;
}

/* show connecting line behind steps on desktop */
@media (min-width: 1025px) {
    .ubx-flow[b-iokrysehpf]::before {
        content: "";
        position: absolute;
        left: 6%;
        right: 6%;
        top: 52px; /* roughly through icons */
        height: 2px;
        background: linear-gradient(to right, rgba(148,163,184,0.4), rgba(249,115,22,0.7));
        opacity: 0.7;
        z-index: 0;
    }
}

.ubx-flow__step[b-iokrysehpf] {
    position: relative;
    z-index: 1;
    background: rgba(15, 23, 42, 0.78);
    border-radius: 1.6rem;
    padding: 1.2rem 1.1rem 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
}

/* icon */
.ubx-flow__icon-wrap[b-iokrysehpf] {
    width: 54px;
    height: 54px;
    margin: 0 auto 0.6rem;
    border-radius: 999px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ubx-flow__icon[b-iokrysehpf] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* labels + colours per stage */
.ubx-flow__label[b-iokrysehpf] {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f9fafb;
}

.ubx-flow__step--ingest .ubx-flow__label[b-iokrysehpf] {
    color: #93c5fd; /* blue-ish */
}

.ubx-flow__step--understand .ubx-flow__label[b-iokrysehpf],
.ubx-flow__step--assist .ubx-flow__label[b-iokrysehpf] {
    color: #fed7aa; /* warm orange */
}

.ubx-flow__step--organise .ubx-flow__label[b-iokrysehpf] {
    color: #e5e7eb;
}

/* bullets */
.ubx-flow__bullets[b-iokrysehpf] {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #e5e7eb;
}

    .ubx-flow__bullets li + li[b-iokrysehpf] {
        margin-top: 0.25rem;
    }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .ubx-flow[b-iokrysehpf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ubx-goals[b-iokrysehpf] {
        padding: 3.2rem 1.25rem 3.5rem;
    }

    .ubx-goals__title[b-iokrysehpf] {
        font-size: 1.8rem;
    }

    .ubx-flow[b-iokrysehpf] {
        grid-template-columns: 1fr;
    }
}
