.hp-overview-wrapper {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 22% 42%, rgba(254, 124, 3, 0.12), transparent 26%),
        radial-gradient(circle at 78% 30%, rgba(11, 44, 95, 0.35), transparent 36%),
        radial-gradient(circle at 50% 86%, rgba(5, 26, 58, 0.55), transparent 42%),
        linear-gradient(90deg, #020c1b 0%, #051a3a 50%, #0b2c5f 100%);
    height: 100vh;
    padding: 0;
    margin: 0;
    color: #F1F5F9;
}

.hero-bg-grid {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.52;
    mask-image: radial-gradient(circle at center, black 34%, transparent 88%);
    -webkit-mask-image: radial-gradient(circle at center, black 34%, transparent 88%);
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    z-index: 2;
    pointer-events: none;
}

.hero-bg-glow::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    top: 38%;
    left: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(254, 124, 3, 0.16), transparent 66%);
    filter: blur(22px);
}

.hero-bg-glow::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    top: 62%;
    left: 38%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(11, 44, 95, 0.38), transparent 70%);
    filter: blur(28px);
}

.hero-bg-noise {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.055;
    mix-blend-mode: soft-light;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-bg-light-sweep {
    position: absolute;
    top: 0;
    left: -35%;
    width: 32%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(90deg,
            transparent,
            rgba(254, 124, 3, 0.07),
            transparent);
    transform: skewX(-18deg);
}

.hero-bg-particles {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    z-index: 5;
    pointer-events: none;
}

.hero-bg-particles span {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--secondary-color, #fe7c03);
    opacity: 0.55;
    box-shadow: 0 0 18px rgba(254, 124, 3, 0.5);
}

.hero-bg-particles span:nth-child(1) {
    top: 32%;
    left: 22%;
}

.hero-bg-particles span:nth-child(2) {
    top: 54%;
    left: 42%;
}

.hero-bg-particles span:nth-child(3) {
    top: 28%;
    left: 72%;
}

.hero-bg-particles span:nth-child(4) {
    top: 68%;
    left: 66%;
}

.hero-bg-particles span:nth-child(5) {
    top: 74%;
    left: 30%;
}

.hero-bg-particles span:nth-child(6) {
    top: 18%;
    left: 82%;
}

.hero-bg-particles span:nth-child(7) {
    top: 45%;
    left: 15%;
}

.hero-bg-particles span:nth-child(8) {
    top: 82%;
    left: 85%;
}

.hero-bg-particles span:nth-child(9) {
    top: 12%;
    left: 48%;
}

.hero-bg-particles span:nth-child(10) {
    top: 62%;
    left: 18%;
}

.hero-bg-particles span:nth-child(11) {
    top: 88%;
    left: 52%;
}

.hero-bg-particles span:nth-child(12) {
    top: 25%;
    left: 90%;
}

.hero-bg-particles span:nth-child(13) {
    top: 48%;
    left: 88%;
}

.hero-bg-particles span:nth-child(14) {
    top: 78%;
    left: 12%;
}

.hero-bg-particles span:nth-child(15) {
    top: 15%;
    left: 32%;
}

.hero-bg-particles span:nth-child(16) {
    top: 38%;
    left: 60%;
}

.hero-bg-particles span:nth-child(17) {
    top: 85%;
    left: 25%;
}

.hero-bg-particles span:nth-child(18) {
    top: 5%;
    left: 75%;
}

.hero-bg-particles span:nth-child(19) {
    top: 65%;
    left: 45%;
}

.hero-bg-particles span:nth-child(20) {
    top: 55%;
    left: 8%;
}

.hero-bg-particles span:nth-child(21) {
    top: 92%;
    left: 78%;
}

.hero-bg-particles span:nth-child(22) {
    top: 22%;
    left: 55%;
}

.hero-bg-particles span:nth-child(23) {
    top: 72%;
    left: 92%;
}

.hero-bg-particles span:nth-child(24) {
    top: 42%;
    left: 35%;
}

.hero-bg-particles span:nth-child(25) {
    top: 8%;
    left: 15%;
}

@media (max-width: 768px) {
    .hero-bg-grid {
        opacity: 0.32;
        background-size: 36px 36px;
    }

    .hero-bg-particles span:nth-child(n + 15) {
        display: none;
    }

    .hero-bg-glow::before {
        width: 320px;
        height: 320px;
        opacity: 0.7;
    }

    .hero-bg-glow::after {
        width: 420px;
        height: 420px;
        opacity: 0.75;
    }
}

.hp-overview-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    /* Hidden initially */
    visibility: hidden;
    z-index: 10;
    perspective: 1200px;
    /* For 3D cinematic rotation */
}

.hp-overview-text {
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.35;
    font-weight: 300;
    letter-spacing: -0.01em;
    max-width: 1300px;
    margin: 0 auto;
    color: #ffffff;
    /* White */
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
    text-wrap: balance; /* Balances text lines nicely */
}

.highlight-word {
    font-weight: 500;
    color: #ffffff;
    /* Blends in initially */
    background-image: linear-gradient(transparent calc(100% - 5px), rgba(255, 153, 0, 0.9) 5px);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 100%;
    display: inline-block; /* Keeps words together */
    white-space: nowrap; /* Prevents breaking inside the span */
}

@media (max-width: 768px) {
    .hp-overview-text {
        font-size: clamp(24px, 4.5vw, 32px);
        line-height: 1.5;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hp-overview-text {
        font-size: clamp(20px, 6vw, 26px);
        line-height: 1.55;
        padding: 0 10px;
    }
}