/* =====================================================
   HOME2 — LIGHT BANNER HERO
   Scoped entirely to .home2 and its descendants.
   ===================================================== */

.home2 {
    position: relative;
    z-index: 1;
    background: #F4F6FB;
    padding: 40px 0 72px;
}

.home2-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =====================================================
   PHOTO BANNER
   ===================================================== */

.home2-banner {
    position: relative;
    min-height: 780px;
    border-radius: 28px;
    overflow: hidden;
    background: #050816;
    display: flex;
    align-items: center;
    box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .35);
}

.home2-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
}

.home2-banner-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(4, 7, 20, .92) 0%,
        rgba(4, 7, 20, .74) 32%,
        rgba(4, 7, 20, .32) 56%,
        rgba(4, 7, 20, .06) 72%,
        transparent 85%
    );
}

.home2-banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 56px 24px 56px 56px;
    color: #fff;
}

.home2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(62, 123, 250, .22);
    border: 1px solid rgba(125, 168, 255, .45);
    color: #BFD6FF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 22px;
}

.home2-eyebrow-plus {
    color: #6FA6FF;
    font-weight: 800;
}

.home2-banner-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.01em;
    color: #fff;
    margin: 0 0 18px;
}

.home2-accent {
    color: #7DC4FF;
}

.home2-description {
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(231, 236, 255, .78);
    max-width: 460px;
    margin: 0 0 30px;
}

.home2-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home2-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.home2-btn-primary {
    background: linear-gradient(120deg, #3E7BFA, #22B5EE);
    color: #fff;
    box-shadow: 0 14px 30px -10px rgba(62, 123, 250, .65);
}

.home2-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(62, 123, 250, .8);
}

.home2-btn-outline {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
}

.home2-btn-outline:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-2px);
}

.home2-banner-tagline {
    position: absolute;
    z-index: 2;
    top: 44px;
    right: 56px;
    max-width: 220px;
    margin: 0;
    text-align: right;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}

.home2-floating-card {
    position: absolute;
    z-index: 2;
    right: 40px;
    bottom: 40px;
    width: 240px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(10, 16, 38, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
}

.home2-floating-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home2-floating-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #EDEFFC;
}

.home2-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #22D3AE;
    color: #04231b;
    font-size: 12px;
    flex-shrink: 0;
}


/* =====================================================
   CORE FEATURES
   STATIC INFORMATION CARDS
   ===================================================== */

.home2-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.home2-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    /*
       Fixed equal height so all five cards
       line up perfectly.
    */
    height: 210px;
    min-height: 210px;
    box-sizing: border-box;

    padding: 22px 20px;
    background: #fff;
    border-radius: 18px;

    text-decoration: none;
    box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .18);

    transition:
        box-shadow .2s ease,
        background .2s ease;
}

/*
   Core feature cards are informational only.
   No clickable-looking behavior.
*/
.ai-crims-core-features .home2-card {
    cursor: default;
}

.ai-crims-core-features .home2-card:hover {
    transform: none;
    box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .18);
}

.home2-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 12px;
    font-size: 18px;
    margin-bottom: 6px;

    flex-shrink: 0;
}

.home2-card-icon-blue {
    background: rgba(62, 123, 250, .12);
}

.home2-card-icon-violet {
    background: rgba(139, 92, 246, .12);
}

.home2-card-icon-teal {
    background: rgba(34, 211, 174, .14);
}

.home2-card-icon-orange {
    background: rgba(245, 158, 11, .14);
}

.home2-card-icon-purple {
    background: rgba(168, 85, 247, .14);
}

.home2-card-title {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: #1A2140;

    /*
       Gives every title the same vertical area,
       even when one title wraps into two lines.
    */
    min-height: 40px;
}

.home2-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #767EA3;

    max-width: 100%;
}

.home2-card-arrow {
    display: none !important;
}


/* =====================================================
   FULL-WIDTH BANNER + CORE FEATURES
   ===================================================== */

@media (min-width: 761px) {

    .home2-banner,
    .home2-cards {
        width: 100vw;
        max-width: 100vw;

        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);

        box-sizing: border-box;
    }

    .home2-banner {
        border-radius: 0;
    }

    .home2-cards {
        padding: 0 40px;
    }
}


/* =====================================================
   OVERVIEW + INFORMATION PANEL
   ===================================================== */

.home2-bottom-row {
    display: grid;

    /*
       Keeps the overview larger than the
       information panel while maintaining
       equal overall height.
    */
    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(330px, 1fr);

    gap: 18px;
    margin-top: 18px;

    align-items: stretch;
}

.home2-overview {
    background: #fff;
    border-radius: 20px;

    padding: 40px 34px;

    box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .18);

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    height: 295px;
    min-height: 295px;
    box-sizing: border-box;
}

.home2-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 34px;
}

.home2-overview-title {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 18px;
    font-weight: 700;
    color: #1A2140;
}

.home2-overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 11px;
    background: rgba(62, 123, 250, .12);
    font-size: 16px;

    flex-shrink: 0;
}

.home2-overview-link {
    font-size: 14px;
    font-weight: 600;
    color: #3E7BFA;
    text-decoration: none;
}

.home2-overview-link:hover {
    text-decoration: underline;
}

.home2-overview-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.home2-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.home2-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 11px;
    font-size: 16px;
    margin-bottom: 6px;

    flex-shrink: 0;
}

.home2-stat-icon-blue {
    background: rgba(62, 123, 250, .12);
}

.home2-stat-icon-violet {
    background: rgba(139, 92, 246, .12);
}

.home2-stat-icon-orange {
    background: rgba(245, 158, 11, .14);
}

.home2-stat-icon-teal {
    background: rgba(34, 211, 174, .14);
}

.home2-stat-label {
    font-size: 13px;
    color: #767EA3;
    font-weight: 600;
}

.home2-stat-value {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
    color: #1A2140;
}

.home2-stat-delta {
    font-size: 12px;
    font-weight: 700;
}

.home2-stat-up {
    color: #16A34A;
}


/* =====================================================
   BLUE INFORMATION PANEL
   ===================================================== */

.home2-cta {
    position: relative;

    background: linear-gradient(
        140deg,
        #3E7BFA,
        #1E40C4
    );

    border-radius: 20px;

    padding: 28px 26px;

    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;

    height: 295px;
    min-height: 295px;

    box-sizing: border-box;
}

/*
   Decorative light — subtle only.
*/
.home2-cta::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -70px;
    top: -85px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 255, 255, .16) 0%,
        rgba(111, 196, 255, .08) 38%,
        transparent 72%
    );

    pointer-events: none;
}

/*
   Bottom ambient glow.
*/
.home2-cta::after {
    content: "";

    position: absolute;

    width: 390px;
    height: 115px;

    right: -120px;
    bottom: -65px;

    border-radius: 50%;

    background: radial-gradient(
        ellipse,
        rgba(63, 220, 255, .22) 0%,
        rgba(103, 91, 255, .12) 45%,
        transparent 72%
    );

    transform: rotate(-7deg);

    pointer-events: none;
}

.home2-cta > * {
    position: relative;
    z-index: 2;
}

.home2-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 12px;

    background: rgba(255, 255, 255, .18);

    font-size: 20px;
    margin-bottom: 14px;

    border: 1px solid rgba(255, 255, 255, .18);

    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);

    flex-shrink: 0;
}

.home2-cta h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;

    margin: 0 0 10px;

    max-width: 390px;
}

.home2-cta p {
    font-size: 13.5px;
    line-height: 1.55;

    color: rgba(255, 255, 255, .85);

    margin: 0;

    max-width: 390px;
}


/*
   OLD WHITE BUTTON:
   Completely hidden so no empty white
   pill/button appears.
*/
.home2-cta .home2-cta-btn,
.home2-cta .home2-cta-note {
    display: none !important;
}


/* =====================================================
   RESPONSIVE — TABLET
   ===================================================== */

@media (max-width: 1080px) {

    .home2-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home2-bottom-row {
        grid-template-columns: 1fr;
    }

    .home2-overview-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 20px;
    }

    .home2-cards.ai-crims-core-features .home2-card {
        height: auto;
        min-height: 185px;
    }
}


/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */

@media (max-width: 760px) {

    .home2 {
        padding: 24px 0 48px;
    }

    .home2-container {
        padding: 0 18px;
    }

    .home2-banner {
        min-height: 0;
    }

    .home2-banner-scrim {
        background: linear-gradient(
            180deg,
            rgba(4, 7, 20, .3) 0%,
            rgba(4, 7, 20, .78) 55%,
            rgba(4, 7, 20, .95) 100%
        );
    }

    .home2-banner-content {
        max-width: 100%;
        padding: 260px 20px 28px;
    }

    .home2-banner-content h1 {
        font-size: 30px;
    }

    .home2-banner-tagline {
        display: none;
    }

    .home2-floating-card {
        position: static;
        width: auto;
        margin: 0 20px 24px;
    }

    .home2-cards {
        grid-template-columns: 1fr 1fr;
        padding: 0 !important;
    }

    .home2-cards.ai-crims-core-features .home2-card {
        height: auto;
        min-height: 0;
    }

    .home2-overview,
    .home2-cta {
        height: auto;
        min-height: 0;
    }

    .home2-overview {
        padding: 30px 24px;
    }

    .home2-overview-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home2-cta {
        padding: 30px 26px;
    }
}


/* =====================================================
   RESPONSIVE — SMALL MOBILE
   ===================================================== */

@media (max-width: 480px) {

    .home2-cards {
        grid-template-columns: 1fr;
    }

    .home2-overview-stats {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .home2-overview-head {
        align-items: flex-start;
        gap: 12px;
    }

    .home2-overview-link {
        white-space: nowrap;
    }
}


/* =========================================================
   FINAL FIX — CORE FEATURES + OVERVIEW ONLY
   This block is intentionally scoped to .home2.
   The hero image, navbar, routes, backend data and other
   landing-page sections are not modified.
   ========================================================= */

/* ---------- Core feature cards: equal visual structure ---------- */

.home2 .ai-crims-core-features {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

.home2 .ai-crims-core-features .home2-card {
    width: 100% !important;
    height: 214px !important;
    min-height: 214px !important;
    margin: 0 !important;
    padding: 22px 20px !important;
    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    border: 1px solid rgba(62, 123, 250, .08) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .98) !important;

    cursor: default !important;
    pointer-events: none !important;
    text-decoration: none !important;

    box-shadow:
        0 10px 28px rgba(15, 23, 42, .07),
        0 1px 2px rgba(15, 23, 42, .04) !important;

    transform: none !important;
}

.home2 .ai-crims-core-features .home2-card::after {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    margin-top: auto !important;
    border-radius: 999px !important;
    background: linear-gradient(
        90deg,
        rgba(62,123,250,.00),
        rgba(62,123,250,.18),
        rgba(139,92,246,.12),
        rgba(62,123,250,.00)
    ) !important;
}

.home2 .ai-crims-core-features .home2-card:hover {
    transform: none !important;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, .07),
        0 1px 2px rgba(15, 23, 42, .04) !important;
}

/* Icons occupy exactly the same starting area. */
.home2 .ai-crims-core-features .home2-card-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 0 13px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}

/* Titles all start at exactly the same vertical position. */
.home2 .ai-crims-core-features .home2-card-title {
    display: block !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    color: #172044 !important;
}

/* Descriptions line up below the fixed title area. */
.home2 .ai-crims-core-features .home2-card-desc {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #68759e !important;
}

/* No arrows / hidden clickable remnants. */
.home2 .ai-crims-core-features .home2-card-arrow,
.home2 .ai-crims-core-features .home2-card a,
.home2 .ai-crims-core-features .home2-card button {
    display: none !important;
}

/* ---------- Overview + blue information panel ---------- */

.home2 .home2-bottom-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1.7fr) minmax(330px, 1fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
    margin-top: 18px !important;
}

.home2 .home2-overview,
.home2 .home2-cta {
    height: 300px !important;
    min-height: 300px !important;
    box-sizing: border-box !important;
}

/* Overview: balanced header and four equally spaced statistics. */
.home2 .home2-overview {
    padding: 34px 34px !important;
    justify-content: flex-start !important;
}

.home2 .home2-overview-head {
    min-height: 42px !important;
    margin-bottom: 28px !important;
}

.home2 .home2-overview-title {
    font-size: 18px !important;
}

.home2 .home2-overview-stats {
    flex: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    align-items: stretch !important;
}

.home2 .home2-stat {
    min-width: 0 !important;
    padding: 0 22px !important;
    border-right: 1px solid rgba(62,123,250,.12) !important;
    justify-content: flex-start !important;
}

.home2 .home2-stat:first-child {
    padding-left: 0 !important;
}

.home2 .home2-stat:last-child {
    padding-right: 0 !important;
    border-right: 0 !important;
}

.home2 .home2-stat-icon {
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 8px !important;
}

.home2 .home2-stat-label {
    min-height: 34px !important;
    display: flex !important;
    align-items: flex-start !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.home2 .home2-stat-value {
    margin-top: 4px !important;
    font-size: 30px !important;
    line-height: 1 !important;
}

/* Blue panel: more visual depth, no fake button. */
.home2 .home2-cta {
    padding: 30px 28px !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.14), transparent 28%),
        radial-gradient(circle at 72% 100%, rgba(74,211,255,.18), transparent 38%),
        linear-gradient(140deg, #3f7df5 0%, #2f5cdb 52%, #2448c5 100%) !important;
}

.home2 .home2-cta::before {
    width: 180px !important;
    height: 180px !important;
    right: -48px !important;
    top: -58px !important;
}

.home2 .home2-cta::after {
    width: 330px !important;
    height: 105px !important;
    right: -95px !important;
    bottom: -58px !important;
}

.home2 .home2-cta-icon {
    width: 46px !important;
    height: 46px !important;
    margin-bottom: 14px !important;
}

.home2 .home2-cta h3 {
    max-width: 400px !important;
    margin-bottom: 10px !important;
    font-size: 21px !important;
    line-height: 1.25 !important;
}

.home2 .home2-cta p {
    max-width: 400px !important;
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.58 !important;
}

/* Remove every old CTA button/empty pill. */
.home2 .home2-cta-btn,
.home2 .home2-cta-note {
    display: none !important;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
    .home2 .ai-crims-core-features {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .home2 .ai-crims-core-features .home2-card {
        height: 210px !important;
        min-height: 210px !important;
    }

    .home2 .home2-bottom-row {
        grid-template-columns: 1fr !important;
    }

    .home2 .home2-overview,
    .home2 .home2-cta {
        height: auto !important;
        min-height: 280px !important;
    }

    .home2 .home2-overview-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
    .home2 .ai-crims-core-features {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }

    .home2 .ai-crims-core-features .home2-card {
        height: auto !important;
        min-height: 190px !important;
        pointer-events: none !important;
    }

    .home2 .home2-overview {
        padding: 28px 24px !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .home2 .home2-overview-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        row-gap: 24px !important;
    }

    .home2 .home2-stat {
        padding: 0 14px !important;
        border-right: 1px solid rgba(62,123,250,.12) !important;
    }

    .home2 .home2-stat:nth-child(2) {
        border-right: 0 !important;
    }

    .home2 .home2-stat:nth-child(3),
    .home2 .home2-stat:nth-child(4) {
        border-top: 1px solid rgba(62,123,250,.10) !important;
        padding-top: 20px !important;
    }

    .home2 .home2-cta {
        height: auto !important;
        min-height: 240px !important;
    }
}

@media (max-width: 480px) {
    .home2 .ai-crims-core-features {
        grid-template-columns: 1fr !important;
    }

    .home2 .home2-overview-stats {
        grid-template-columns: 1fr 1fr !important;
    }
}
/* =========================================================
   AI-CRIMS HOME2 — PREMIUM SOFT GLOW
   Scoped ONLY to .home2
   Does not modify hero image size, navbar, routes,
   backend, Jinja data, or other sections.
   ========================================================= */

/* ---------- Main Home2 ambient glow ---------- */

.home2 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.home2::before,
.home2::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
}

.home2::before {
    width: 420px;
    height: 420px;
    top: 260px;
    left: -180px;
    background: rgba(62, 123, 250, 0.10);
}

.home2::after {
    width: 420px;
    height: 420px;
    right: -180px;
    bottom: 80px;
    background: rgba(139, 92, 246, 0.09);
}


/* =========================================================
   CORE FEATURE CARDS
   ========================================================= */

.home2-cards.ai-crims-core-features .home2-card {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(248,251,255,0.96)
        );

    border: 1px solid rgba(148, 163, 184, 0.18);

    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.06),
        0 0 0 1px rgba(255,255,255,0.70) inset;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/* Soft light inside every card */

.home2-cards.ai-crims-core-features .home2-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -90px;
    bottom: -95px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(62,123,250,0.15) 0%,
        rgba(62,123,250,0.06) 40%,
        transparent 72%
    );

    pointer-events: none;
}


/* Top subtle shine */

.home2-cards.ai-crims-core-features .home2-card::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    top: -35px;
    height: 55px;

    background: radial-gradient(
        ellipse,
        rgba(255,255,255,0.95),
        transparent 70%
    );

    pointer-events: none;
}


/* Keep content above glow */

.home2-cards.ai-crims-core-features .home2-card > * {
    position: relative;
    z-index: 2;
}


/* Gentle hover */

.home2-cards.ai-crims-core-features .home2-card:hover {
    transform: translateY(-3px) !important;

    border-color: rgba(62,123,250,0.30);

    box-shadow:
        0 16px 38px rgba(30,64,175,0.10),
        0 0 24px rgba(62,123,250,0.08);
}


/* ---------- Feature icons ---------- */

.home2-cards.ai-crims-core-features .home2-card-icon {
    position: relative;

    border: 1px solid rgba(255,255,255,0.85);

    box-shadow:
        0 6px 18px rgba(30,64,175,0.08),
        0 0 14px rgba(62,123,250,0.06);

    z-index: 3;
}


/* Blue icon */

.home2-cards.ai-crims-core-features
.home2-card-icon-blue {
    background: linear-gradient(
        145deg,
        rgba(62,123,250,0.16),
        rgba(96,165,250,0.08)
    );

    box-shadow:
        0 0 18px rgba(62,123,250,0.12);
}


/* Violet icon */

.home2-cards.ai-crims-core-features
.home2-card-icon-violet {
    background: linear-gradient(
        145deg,
        rgba(139,92,246,0.17),
        rgba(167,139,250,0.08)
    );

    box-shadow:
        0 0 18px rgba(139,92,246,0.12);
}


/* Teal icon */

.home2-cards.ai-crims-core-features
.home2-card-icon-teal {
    background: linear-gradient(
        145deg,
        rgba(34,211,174,0.18),
        rgba(45,212,191,0.07)
    );

    box-shadow:
        0 0 18px rgba(34,211,174,0.12);
}


/* Orange icon */

.home2-cards.ai-crims-core-features
.home2-card-icon-orange {
    background: linear-gradient(
        145deg,
        rgba(245,158,11,0.18),
        rgba(251,191,36,0.07)
    );

    box-shadow:
        0 0 18px rgba(245,158,11,0.10);
}


/* Purple icon */

.home2-cards.ai-crims-core-features
.home2-card-icon-purple {
    background: linear-gradient(
        145deg,
        rgba(168,85,247,0.18),
        rgba(192,132,252,0.07)
    );

    box-shadow:
        0 0 18px rgba(168,85,247,0.11);
}


/* =========================================================
   PROJECT OVERVIEW
   ========================================================= */

.home2-overview {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.99),
            rgba(248,251,255,0.97)
        );

    border: 1px solid rgba(148,163,184,0.16);

    box-shadow:
        0 14px 38px rgba(30,64,175,0.07),
        0 0 0 1px rgba(255,255,255,0.80) inset;
}


/* Overview ambient light */

.home2-overview::before {
    content: "";
    position: absolute;

    width: 330px;
    height: 180px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    background: radial-gradient(
        ellipse,
        rgba(62,123,250,0.12) 0%,
        rgba(34,211,174,0.06) 38%,
        transparent 72%
    );

    pointer-events: none;
}


/* Small blue light at upper area */

.home2-overview::after {
    content: "";
    position: absolute;

    width: 220px;
    height: 100px;

    left: -90px;
    top: -70px;

    border-radius: 50%;

    background: radial-gradient(
        ellipse,
        rgba(96,165,250,0.10),
        transparent 72%
    );

    pointer-events: none;
}


.home2-overview > * {
    position: relative;
    z-index: 2;
}


/* ---------- Overview title icon ---------- */

.home2-overview-icon {
    border: 1px solid rgba(62,123,250,0.15);

    box-shadow:
        0 5px 16px rgba(62,123,250,0.08),
        0 0 15px rgba(62,123,250,0.07);
}


/* ---------- Statistics ---------- */

.home2-stat {
    position: relative;
}

.home2-stat-icon {
    border: 1px solid rgba(255,255,255,0.9);

    box-shadow:
        0 6px 16px rgba(30,64,175,0.07),
        0 0 14px rgba(62,123,250,0.06);
}


.home2-stat-value {
    text-shadow:
        0 2px 10px rgba(30,64,175,0.08);
}


/* =========================================================
   BLUE INFORMATION PANEL
   ========================================================= */

.home2-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #3678F4 0%,
            #2858D9 52%,
            #2948C8 100%
        );

    border: 1px solid rgba(125,168,255,0.35);

    box-shadow:
        0 18px 42px rgba(37,76,190,0.22),
        0 0 35px rgba(62,123,250,0.18);
}


/* Large blue/cyan atmospheric glow */

.home2-cta::before {
    content: "";

    position: absolute;

    width: 310px;
    height: 310px;

    right: -95px;
    top: -120px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255,255,255,0.20) 0%,
        rgba(125,196,255,0.13) 28%,
        rgba(88,130,255,0.08) 48%,
        transparent 72%
    );

    filter: blur(2px);

    pointer-events: none;
    z-index: 0;
}


/* Bottom cyan/violet glow */

.home2-cta::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 150px;

    right: -120px;
    bottom: -75px;

    border-radius: 50%;

    background: radial-gradient(
        ellipse,
        rgba(34,211,238,0.30) 0%,
        rgba(99,102,241,0.20) 38%,
        transparent 72%
    );

    filter: blur(4px);

    transform: rotate(-8deg);

    pointer-events: none;
    z-index: 0;
}


/* Keep all actual content above effects */

.home2-cta > * {
    position: relative;
    z-index: 3;
}


/* ---------- CTA icon ---------- */

.home2-cta-icon {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.24),
            rgba(255,255,255,0.10)
        ) !important;

    border: 1px solid rgba(255,255,255,0.25) !important;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.13),
        0 0 22px rgba(125,196,255,0.20) !important;
}


/* ---------- CTA text ---------- */

.home2-cta h3 {
    text-shadow:
        0 3px 16px rgba(0,0,0,0.14);
}

.home2-cta p {
    text-shadow:
        0 1px 8px rgba(0,0,0,0.08);
}


/* =========================================================
   SOFT GLOW LINE BETWEEN SECTIONS
   ========================================================= */

.home2-bottom-row {
    position: relative;
}

.home2-bottom-row::before {
    content: "";

    position: absolute;

    left: 8%;
    right: 8%;
    top: -10px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(62,123,250,0.18),
        rgba(139,92,246,0.18),
        transparent
    );

    filter: blur(.3px);

    pointer-events: none;
}


/* =========================================================
   DESKTOP — KEEP EVERYTHING ALIGNED
   ========================================================= */

@media (min-width: 1101px) {

    .home2-cards.ai-crims-core-features {
        grid-template-columns:
            repeat(5, minmax(0, 1fr)) !important;

        align-items: stretch !important;
    }

    .home2-cards.ai-crims-core-features .home2-card {
        height: 210px !important;
        min-height: 210px !important;
        box-sizing: border-box !important;
    }

    .home2-bottom-row {
        grid-template-columns:
            minmax(0, 1.7fr)
            minmax(330px, 1fr) !important;

        align-items: stretch !important;
    }

    .home2-overview,
    .home2-cta {
        height: 295px !important;
        min-height: 295px !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .home2-cards.ai-crims-core-features .home2-card {
        min-height: 185px !important;
    }

    .home2-overview,
    .home2-cta {
        height: auto !important;
        min-height: 280px !important;
    }
}


/* =========================================================
   MOBILE — REDUCED GLOW
   ========================================================= */

@media (max-width: 760px) {

    .home2::before,
    .home2::after {
        filter: blur(50px);
        opacity: .65;
    }

    .home2-cards.ai-crims-core-features .home2-card {
        min-height: 0 !important;
    }

    .home2-overview,
    .home2-cta {
        min-height: 0 !important;
        height: auto !important;
    }

    .home2-cta::before {
        width: 220px;
        height: 220px;
    }

    .home2-cta::after {
        width: 300px;
    }
}


/* =========================================================
   ACCESSIBILITY / PERFORMANCE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .home2-cards.ai-crims-core-features .home2-card {
        transition: none !important;
    }

    .home2-cards.ai-crims-core-features .home2-card:hover {
        transform: none !important;
    }
}