/*=====================================================
            EARLY ACCESS MODAL
======================================================*/

.early-access-modal{

    position:fixed;

    inset:0;

    display:none;

    justify-content:center;

    align-items:center;

    background:rgba(4,10,20,.88);

    backdrop-filter:blur(18px);

    z-index:9999;

    padding:30px;

}

.early-access-modal.active{

    display:flex;

    animation:fadeIn .35s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

.early-access-box{

    position:relative;

    width:min(1450px,96vw);

    height:92vh;

    max-height:92vh;

    overflow:hidden;

    overflow-y:auto;

    background:

        linear-gradient(

            180deg,

            #0d1d30 0%,

            #081522 45%,

            #05101b 100%

        );

    border:1px solid rgba(90,170,255,.22);

    outline:1px solid rgba(255,255,255,.04);

    outline-offset:-1px;

    border-radius:28px;

    box-shadow:

        0 40px 90px rgba(0,0,0,.60),

        0 0 60px rgba(0,132,255,.10),

        inset 0 1px 0 rgba(255,255,255,.05);

    animation:popup .45s cubic-bezier(.22,.61,.36,1);

}

@keyframes popup{

    from{

        opacity:0;

        transform:translateY(40px) scale(.96);

    }

    to{

        opacity:1;

        transform:none;

    }

}


/*=====================================================
                    CLOSE BUTTON
======================================================*/

.close-early{

    position:absolute;

    right:18px;

    top:18px;

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:rgba(255,255,255,.12);

    color:#fff;

    font-size:18px;

    transition:.3s;

    z-index:20;

}

.close-early:hover{

    background:#2196f3;

}


/*=====================================================
                    VIDEO
======================================================*/

.early-video{

    position:relative;

    width:100%;

    height:460px;

    overflow:hidden;

    background:#000;

    border-bottom:1px solid rgba(255,255,255,.06);

}

.early-video video{

    width:100%;

    height:100%;

    object-fit:cover;

    transform:scale(1.05);

    transition:transform 8s linear;

}

.early-access-modal.active .early-video video{

    transform:scale(1.12);

}

.early-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:flex-start;

    padding:60px;

    background:linear-gradient(
        90deg,
        rgba(5,12,25,.92) 0%,
        rgba(5,12,25,.55) 40%,
        rgba(5,12,25,.15) 100%
    );

}

/* ADD HERE */

.section-tag{

    display:inline-flex;

    align-items:center;

    gap:8px;

    width:max-content;

    margin-bottom:20px;

    padding:10px 18px;

    border-radius:50px;

    background:rgba(0,140,255,.15);

    border:1px solid rgba(80,180,255,.25);

    color:#7fd3ff;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    backdrop-filter:blur(10px);

}



.early-overlay h2{

    color:#fff;

    font-size:64px;

    line-height:1.1;

    font-weight:800;

    max-width:520px;

    margin-bottom:15px;

    text-shadow:0 4px 20px rgba(0,0,0,.45);

}

.early-overlay p{

    color:#dceaff;

    font-size:18px;

    line-height:1.8;

    max-width:500px;

}

/*=============================
        GRADIENT TEXT
==============================*/

.gradient-text{

    background:linear-gradient(
        90deg,
        #00d9ff,
        #7b5cff
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    background-clip:text;

    color:transparent;

}

/*=====================================================
                VIDEO CONTROLS
======================================================*/

.video-controls{

    position:absolute;

    left:50%;

    bottom:40px;

    transform:translateX(-50%);

    display:flex;

    gap:20px;

    z-index:999;

    pointer-events:auto;

}

.glass-btn{

    width:72px;

    height:72px;

    font-size:28px;

    border-radius:50%;

    background:rgba(8,15,35,.35);

    backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.18);

    box-shadow:0 10px 40px rgba(0,220,255,.18);

    cursor:pointer;

    transition:.3s;

}

.glass-btn:hover{

    background:rgba(255,255,255,.20);

    transform:scale(1.08);

}





/*=====================================================
                    CONTENT
======================================================*/

.early-content{

    display:grid;

    grid-template-columns:1fr 380px;

    gap:60px;

    padding:55px;

}

.early-form h3{

    color:#fff;

    font-size:30px;

    margin-bottom:12px;

}

.early-form p{

    color:#9db4ca;

    line-height:1.7;

    margin-bottom:28px;

}

.early-form input{

    width:100%;

    margin-bottom:18px;

    padding:16px 18px;

    border-radius:14px;

    border:1px solid rgba(255,255,255,.08);

    background:#101d2c;

    color:#fff;

    font-size:15px;

    transition:.25s;

}

.early-form input:focus{

    outline:none;

    border-color:#2d9cff;

    box-shadow:0 0 20px rgba(45,156,255,.18);

}

.early-form button{

    width:100%;

}


/*=====================================================
                BENEFITS
======================================================*/

.early-benefits{

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.05);

    border-radius:18px;

    padding:25px;

}

.early-benefits h4{

    color:#fff;

    margin-bottom:20px;

}

.early-benefits ul{

    list-style:none;

    padding:0;

    margin:0;

}

.early-benefits li{

    color:#cdd9e8;

    margin-bottom:16px;

    display:flex;

    gap:10px;

    align-items:center;

}

.early-benefits li::before{

    content:"✓";

    color:#2dd36f;

    font-weight:bold;

}


/*=====================================================
                SUCCESS SCREEN
======================================================*/

.early-success{

    display:none;

    text-align:center;

    padding:60px 20px;

}

.early-success.active{

    display:block;

}

.early-success .icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:#2dd36f;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:44px;

    margin-bottom:25px;

}

.early-success h2{

    color:#fff;

    margin-bottom:16px;

}

.early-success p{

    color:#b8c7d8;

}

.early-reference{

    margin:30px auto;

    padding:18px;

    border-radius:16px;

    background:#101d2c;

    color:#4fc3ff;

    font-size:24px;

    font-weight:700;

    letter-spacing:2px;

}


/*=====================================================
                MOBILE
======================================================*/

@media(max-width:900px){

    .early-content{

        grid-template-columns:1fr;

    }

    .early-overlay{

        padding:25px;

    }

    .early-overlay h2{

        font-size:30px;

    }

}

@media(max-width:600px){

    .early-video{

        height:210px;

    }

    .early-content{

        padding:25px;

    }

    .early-overlay h2{

        font-size:24px;

    }

}