/* Homepage hero — command center (layout + spacing fixes) */

/* Override generic .hero flex/min-height that breaks the grid */
.hero-home.hero-home--command {
    min-height: 0;
    display: block;
    align-items: stretch;
    background: #06080c;
    padding: 0 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero-home--command::before {
    background:
        radial-gradient(ellipse 90% 60% at 75% 15%, rgba(255, 107, 53, 0.22), transparent 55%),
        radial-gradient(ellipse 70% 50% at 10% 85%, rgba(230, 57, 70, 0.12), transparent 50%);
}

.hero-home--command::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
    opacity: 0.4;
}

.hero-home--command > .container {
    position: relative;
    z-index: 1;
}

/* Marquee */
.hero-home__marquee {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    overflow: hidden;
    border-block: 1px solid rgba(255, 107, 53, 0.2);
    background: rgba(255, 107, 53, 0.06);
}

.hero-home__marquee-track {
    display: flex;
    width: max-content;
    animation: omMarquee 32s linear infinite;
}

.hero-home__marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.5rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.hero-home__marquee-track span i {
    color: #ff8c42;
    font-size: 0.62rem;
}

.hero-home__marquee-track span::after {
    content: '◆';
    margin-left: 1.5rem;
    color: rgba(255, 107, 53, 0.4);
    font-size: 0.4rem;
}

@keyframes omMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Grid — één systeem voor desktop */
.hero-home--command .hero-home__inner {
    display: grid;
    gap: 1.75rem;
    align-items: start;
    padding-top: 2.5rem;
}

.hero-home--command .hero-home__lead,
.hero-home--command .hero-home__visual,
.hero-home--command .hero-home__foot {
    min-width: 0;
}

.hero-home--command .hero-home-title {
    font-size: clamp(1.85rem, 4.2vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 0.85rem;
}

.hero-home--command .hero-home-sub {
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 32rem;
}

.hero-home--command .hero-app-launch {
    margin-bottom: 1rem;
}

/* Pipeline */
.hero-pipeline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1.15rem;
}

.hero-pipeline__step {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.68rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
}

.hero-pipeline__step i {
    color: #ff8c42;
    font-size: 0.65rem;
}

.hero-pipeline__step--highlight {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.22), rgba(230, 57, 70, 0.12));
    border-color: rgba(255, 107, 53, 0.4);
}

.hero-pipeline__arrow {
    color: rgba(255, 107, 53, 0.5);
    font-size: 0.5rem;
    line-height: 1;
}

/* Live stats strip (boven device — geen overflow) */
.hero-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.hero-stat {
    padding: 0.55rem 0.5rem;
    border-radius: 10px;
    background: rgba(10, 14, 20, 0.85);
    border: 1px solid rgba(255, 107, 53, 0.28);
    text-align: center;
}

.hero-stat b {
    display: block;
    font-size: 0.95rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-stat span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.hero-stat--live b::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 0.25rem;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
    vertical-align: middle;
    animation: omPulse 2s ease infinite;
}

@keyframes omPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Visual column */
.hero-visual-cockpit {
    position: relative;
    width: 100%;
}

.hero-visual-cockpit .om-showcase-responsive,
.hero-visual-cockpit .om-app-showcase {
    width: 100%;
}

.hero-visual-wrap--spotlight::after {
    inset: -5% -8%;
    opacity: 0.85;
}

/* Foot: CTAs + KPIs */
.hero-home--command .hero-home-ctas {
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.hero-kpi-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.hero-kpi-card {
    padding: 0.65rem 0.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.hero-kpi-card strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    color: #ff8c42;
    line-height: 1.1;
}

.hero-kpi-card span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.5);
}

/* —— Desktop —— */
@media (min-width: 1024px) {
    .hero-home--command {
        padding-bottom: 4rem;
    }

    .hero-home--command .hero-home__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
        grid-template-rows: auto auto;
        grid-template-areas:
            "lead visual"
            "foot visual";
        column-gap: 3rem;
        row-gap: 1.75rem;
        padding-top: 3rem;
        align-items: start;
    }

    .hero-home--command .hero-home__lead {
        grid-area: lead;
        padding-top: 0.5rem;
    }

    .hero-home--command .hero-home__visual {
        grid-area: visual;
        align-self: center;
    }

    .hero-home--command .hero-home__foot {
        grid-area: foot;
    }

    .hero-stat-strip {
        gap: 0.55rem;
        margin-bottom: 1rem;
    }

    .hero-stat b {
        font-size: 1.05rem;
    }
}

/* —— Tablet —— */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-stat-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* —— Mobiel —— */
@media (max-width: 767px) {
    .hero-home--command .hero-home__inner {
        padding-top: 1.75rem;
        gap: 1.25rem;
    }

    .hero-home--command .hero-home-title {
        font-size: clamp(1.65rem, 7vw, 2rem);
    }

    .hero-stat-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .hero-pipeline {
        justify-content: flex-start;
    }

    .hero-pipeline__arrow {
        display: none;
    }

    .hero-pipeline__step {
        font-size: 0.62rem;
        padding: 0.35rem 0.6rem;
    }

    .hero-home--command .hero-home-ctas {
        flex-direction: column;
    }

    .hero-home--command .hero-home-ctas .btn-hero-primary,
    .hero-home--command .hero-home-ctas .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-kpi-cards {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .hero-kpi-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 0.6rem 0.85rem;
    }

    .hero-kpi-card strong {
        font-size: 1.1rem;
        order: 2;
    }

    .hero-kpi-card span {
        margin-top: 0;
        order: 1;
    }

    .hero-visual-cockpit .om-app-tabs {
        justify-content: center;
    }
}

/* Verberg oude absolute floats */
.om-hero-orbit {
    display: none !important;
}
