.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: left;
    height: 90vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    padding-left: clamp(22px, 4vw, 46px);
    padding-right: clamp(22px, 4vw, 46px);
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;

    background: none;
    border: 1px solid rgba(255, 216, 77, 0.16);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.52);
}

/* Video styling - original vertical position, stretched taller and shifted down */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 130%;
    /* Stretch taller to push video content down */
    object-fit: cover;
    transform: translate(-50%, -40%);
    /* Shift video down inside container */
    z-index: 0;
    pointer-events: none;
}

/* Transparent solid color overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(10, 16, 32, 0.70);
    z-index: 1;
    /* Above video, below content */
    pointer-events: none;
}

/* Ensure hero content is above video and overlay */
.hero>*:not(.hero-video) {
    position: relative;
    z-index: 2;
}

/* Overlay effect remains as is, above color overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        linear-gradient(90deg,
            transparent 0 15%,
            rgba(255, 216, 77, 0.02) 15% 16%,
            transparent 16% 30%,
            rgba(42, 169, 255, 0.02) 30% 31%,
            transparent 31% 60%,
            rgba(255, 216, 77, 0.015) 60% 61%,
            transparent 61% 100%);
    opacity: 0.3;
    pointer-events: none;
    mix-blend-mode: overlay;
    transform: skewY(-2deg);
    border-radius: 0;
    z-index: 3;
}


/* Hero Grid Container */
.heroGrid {
    display: block;
    padding-top: clamp(22px, 4vw, 46px);
    padding-bottom: clamp(22px, 4vw, 46px);
    max-width: var(--max, 1160px);
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
    max-width: none;
    transform: scale(150%);
}


/* Text container inside heroGrid */
.heroGrid>div:first-child {
    width: 100%;
}

/* Kicker text */
.kicker {
    font-family: 'Oxanium', 'Inter', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: rgba(118, 215, 255, 0.92);
    margin: 0 0 10px 0;
}

/* Main headline */
.hero h2 {
    margin: 0 0 10px 0;
    font-family: 'Oxanium', 'Inter', sans-serif;
    font-size: clamp(40px, 5.2vw, 64px);
    letter-spacing: 0.01em;
    line-height: 0.95;
    text-transform: uppercase;
}

/* Accent text inside headline */
.hero h2 .accent {
    background: linear-gradient(90deg, var(--yellow, #FFD84D), var(--yellow2, #FFE88B));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 12px 40px rgba(255, 216, 77, 0.10);
}

/* Paragraph text */
.hero p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.5vw, 16px);
    line-height: 1.65;
    color: var(--text, #EAF2FF);
    max-width: 70ch;
    margin: 0 0 20px 0;
}

/* Button row container */
.btnRow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    font-family: 'Inter', sans-serif;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(234, 242, 255, 0.85);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(.2, .8, .2, 1), background 0.18s cubic-bezier(.2, .8, .2, 1), border-color 0.18s cubic-bezier(.2, .8, .2, 1), color 0.18s cubic-bezier(.2, .8, .2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.btn.primary {
    background: linear-gradient(135deg, var(--blue, #2AA9FF), var(--blue2, #76D7FF));
    border-color: var(--blue2, #76D7FF);
    color: #0A1020;
    font-weight: 700;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(42, 169, 255, 0.10);
    border-color: rgba(42, 169, 255, 0.24);
    color: var(--text, #EAF2FF);
}

.btn.primary:hover {
    background: linear-gradient(135deg, var(--blue2, #76D7FF), var(--blue, #2AA9FF));
    border-color: var(--blue, #2AA9FF);
    color: #0A1020;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Pill row container */
.pillRow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Individual pill */
.pill {
    background: var(--panel2, rgba(12, 20, 42, 0.62));
    border-radius: 999px;
    padding: 6px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text, #EAF2FF);
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    box-shadow: 0 4px 10px rgba(42, 169, 255, 0.3);
}

.pill b {
    font-weight: 700;
    color: var(--yellow, #FFD84D);
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .heroGrid {
        display: block;
        transform: scale(100%);
    }

    .btnRow {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .pillRow {
        justify-content: center;
    }
}