.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 -24px 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

    .hero-bg img,
    .hero-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        filter: brightness(0.93) saturate(0.94);
        transform: scale(1.02);
    }

    .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(13,10,31,0.96) 0%, rgba(13,10,31,0.88) 32%, rgba(13,10,31,0.55) 52%, rgba(13,10,31,0.42) 72%, rgba(13,10,31,0.48) 100%), linear-gradient(180deg, rgba(13,10,31,0.25) 0%, rgba(13,10,31,0.58) 100%);
    }

.hero-inner {
    position: absolute;
    z-index: 2;
    padding: 40px 52px;
    max-width: 640px;
    bottom: 0;
    left: 0;
}

.hero-heading {
    font-size: clamp(2.1rem, 4.6vw, 3.35rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 0.75rem;
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-soft);
    max-width: 34rem;
}

/* Index: flex column text container */
.hero-copy {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1.5rem 1.5rem;
    max-width: 690px;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.55vw, 1.22rem);
    color: var(--text-main);
    margin: 0 0 1.1rem;
    line-height: 1.58;
    max-width: 52ch;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    display: grid;
    gap: 0.55rem;
}

    .hero-bullets li {
        padding-left: 1.85rem;
        position: relative;
        color: rgba(255, 255, 255, 0.94);
        line-height: 1.45;
        font-size: 1rem;
    }

        .hero-bullets li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.32em;
            width: 1.2rem;
            height: 1.2rem;
            background: var(--accent-purple-soft);
            -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/cover no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/cover no-repeat;
        }

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.85rem 1.25rem;
}

.hero-stats {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem 1.15rem;
}

.hero-stats-label {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(201, 191, 227, 0.78);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

    .hero-stats-label strong {
        color: inherit;
        font-weight: inherit;
        margin-right: 0.45rem;
        letter-spacing: inherit;
        text-transform: inherit;
        font-size: inherit;
    }

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.hero-stat {
    background: linear-gradient(165deg, rgba(106,50,184,0.08) 0%, rgba(13,10,31,0.82) 45%, rgba(13,10,31,0.88) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(106, 50, 184, 0.14);
    border-radius: var(--radius-md);
    padding: 1.05rem 1.15rem;
    min-height: 5.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px rgba(106,50,184,0.12);
}

.hero-stat-value {
    font-size: clamp(1.9rem, 4vw, 2.48rem);
    font-weight: 700;
    line-height: 1.08;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    margin: 0 0 0.4rem;
}

.hero-stat-label {
    font-size: 0.82rem;
    line-height: 1.38;
    color: var(--text-main);
    margin: 0;
}

@media (min-width: 768px) {
    .hero-copy {
        padding: 3.5rem 2rem 2rem;
    }

    .hero-stats {
        padding: 0 2rem 1.35rem;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 992px) {
    .hero {
        min-height: 72vh;
    }
}

@media (max-width: 960px) {
    .hero-inner {
        padding: 32px 28px;
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .hero {
        margin: 0 -16px 64px;
    }

    .hero-inner {
        padding-inline: 20px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        margin-top: 0;
        margin-bottom: 64px;
        margin-left: calc(-1 * max(1.125rem, env(safe-area-inset-left, 0px)));
        margin-right: calc(-1 * max(1.125rem, env(safe-area-inset-right, 0px)));
    }

    .hero-bg::after {
        background: linear-gradient(180deg, rgba(13,10,31,0.88) 0%, rgba(13,10,31,0.72) 42%, rgba(13,10,31,0.68) 100%), linear-gradient(90deg, rgba(13,10,31,0.82) 0%, rgba(13,10,31,0.58) 38%, rgba(13,10,31,0.38) 100%);
    }

    .hero-copy {
        align-items: flex-start;
    }

    .hero-heading {
        font-size: clamp(1.5rem, 6.2vw + 0.45rem, 2.55rem);
        line-height: 1.14;
        margin-bottom: 0.65rem;
    }

    .hero-sub {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        margin-bottom: 0.95rem;
        max-width: none;
    }

    .hero-bullets {
        gap: 0.62rem;
        margin-bottom: 1rem;
    }

        .hero-bullets li {
            font-size: 0.9375rem;
            line-height: 1.5;
            padding-left: 1.65rem;
        }

    .hero-ctas {
        width: 100%;
    }

    .hero .omni-btn.omni-cta-large-btn {
        width: 100%;
        max-width: 22.5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats-label {
        font-size: 0.72rem;
        line-height: 1.45;
    }

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

    .hero-stat {
        padding: 0.65rem 0.6rem;
        min-height: 0;
    }

    .hero-stat-value {
        font-size: clamp(1.25rem, 4.5vw, 1.7rem);
        margin-bottom: 0.25rem;
    }

    .hero-stat-label {
        font-size: 0.68rem;
        line-height: 1.3;
    }
}
