/* ==========================
   RESET & BASE
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
}

/* ==========================
   NAVBAR
========================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(15px);
    z-index: 999;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD54F;
    letter-spacing: 1px;
}

/* ==========================
   HERO (DESKTOP STRUCTURE)
========================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    pointer-events: none;
}

.overlay h1 {
    font-size: 70px;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.overlay p {
    font-size: 22px;
    color: #ddd;
    margin-bottom: 35px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    pointer-events: auto;
}

/* ==========================
   BUTTONS
========================== */
.btn {
    text-decoration: none;
    background: #FFD54F;
    color: #000;
    padding: 15px 38px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    transition: .35s;
}

.btn:hover {
    transform: translateY(-5px);
    background: #FFC107;
    box-shadow: 0 12px 30px rgba(255,193,7,.4);
}

#delayed-pay-btn {
    display: none;
}

/* ==========================
   FEATURES
========================== */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 80px 8%;
    background: #111;
}

.card {
    width: 300px;
    background: #1b1b1b;
    padding: 35px;
    border-radius: 18px;
    text-align: center;
    transition: .35s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(255,193,7,.2);
}

.card i {
    font-size: 55px;
    color: #FFD54F;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.card p {
    color: #ccc;
}

/* ==========================
   FOOTER
========================== */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #000;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #111;
}

/* ==========================
   WHATSAPP
========================== */
.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
    transition: .3s;
    z-index: 999;
}

.whatsapp:hover {
    transform: scale(1.1);
}

/* ==========================
   MOBILE RESPONSIVENESS (ISOLATED EXECUTION)
========================== */
@media(max-width:768px){
    nav {
        padding: 15px;
    }

    /* Turns hero into a direct block stack to prevent overlapping layouts */
    .hero {
        height: auto;
        display: block;
        background: #000;
        padding-top: 70px;
    }

    /* Video is freed from container bounds so native hardware controls load cleanly */
    .hero video {
        position: relative;
        display: block;
        width: 100vw;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: contain;
    }

    /* Moves text content out of the video player window entirely */
    .overlay {
        position: relative;
        background: #000;
        padding: 30px 15px 50px 15px;
        height: auto;
        pointer-events: auto;
    }

    .overlay h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .overlay p {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .features {
        padding: 50px 20px;
    }

    .card {
        width: 100%;
    }
}