/* ==========================================
   1. RESET & PREMIUM DESIGN BASE
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

/* ==========================================
   2. LUXURY STICKY NAVBAR
========================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 9999;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #FFD54F;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 213, 79, 0.3);
}

/* ==========================================
   3. HERO SECTION (DESKTOP)
========================================== */
.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: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(5,5,5,0.85) 100%);
    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: 64px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.8);
}

.overlay p {
    font-size: 20px;
    color: #b3b3b3;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.buttons {
    display: flex;
    justify-content: center;
    pointer-events: auto;
}

/* ==========================================
   4. PREMIUM CALL-TO-ACTION BUTTON
========================================== */
.btn {
    display: none; /* Controlled via script.js delay */
    text-decoration: none;
    background: linear-gradient(135deg, #FFD54F 0%, #FFB300 100%);
    color: #000000;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 179, 0, 0.5);
}

.btn:active {
    transform: translateY(-1px);
}

/* ==========================================
   5. PREMIUM MODAL (SCROLL ENGINE IMPLEMENTED)
========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    
    /* Crucial layout updates for absolute screen boundary overflow handling */
    justify-content: center;
    align-items: flex-start; /* Allows cards to mount at top and stretch downward */
    overflow-y: auto;        /* Activates full window scrollbar when contents exceed height */
    padding: 40px 0;         /* Creates breathing room space at absolute top and bottom edge */
    
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid rgba(255, 213, 79, 0.2);
    padding: 40px 35px;
    border-radius: 24px;
    width: 92%;
    max-width: 500px;
    text-align: center;
    position: relative;
    margin: auto 0; /* Keeps layout perfectly centered dynamically on wide screens */
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 213, 79, 0.05);
    animation: modalSlide 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #666;
    font-size: 26px;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.close-btn:hover {
    color: #FFD54F;
}

/* Luxury Copy Typography System */
.warning-tag {
    display: inline-block;
    color: #FFB300;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    background: rgba(255, 179, 0, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 179, 0, 0.15);
}

.modal-content h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    padding: 0 10px;
}

.modal-subheadings {
    margin-bottom: 25px;
    padding: 0 10px;
}

.modal-subheadings h3 {
    color: #FFD54F;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.modal-subheadings h4 {
    color: #a0a0a0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

/* Dual Column Data Split Grid */
.input-row-split {
    display: flex;
    gap: 15px;
    width: 100%;
}

.input-row-split .input-group {
    flex: 1;
}

/* Premium Form Inputs Layout */
.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
    pointer-events: none;
    z-index: 2;
}

.input-group input {
    width: 100%;
    padding: 15px 16px 15px 52px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #FFD54F;
    background: rgba(255, 255, 255, 0.05);
}

.input-group input:focus ~ i {
    color: #FFD54F;
}

/* Custom Styled Native Selector Wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 15px 40px 15px 52px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s;
}

.select-wrapper select:focus {
    border-color: #FFD54F;
    background: rgba(255, 255, 255, 0.05);
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    z-index: 2;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #FFD54F 0%, #FFB300 100%);
    color: #000000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.2);
    transition: all 0.3s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.4);
}

.form-footer-note {
    display: block;
    margin-top: 20px;
    color: #FFD54F !important;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ==========================================
   6. PREMIUM MINIMALIST FEATURES
========================================== */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 100px 8%;
    background: #090909;
}

.card {
    width: 310px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 213, 79, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card i {
    font-size: 44px;
    color: #FFD54F;
    margin-bottom: 25px;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.card p {
    color: #888888;
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================
   7. FOOTER & FLOATING WHATSAPP
========================================== */
footer {
    text-align: center;
    padding: 50px 20px;
    background: #050505;
    color: #444444;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.whatsapp {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

.whatsapp:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================
   8. CLEAN MOBILE STACK RESPONSIVENESS
========================================== */
@media(max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .logo {
        font-size: 20px;
    }

    .hero {
        height: auto;
        display: block;
        background: #050505;
        padding-top: 75px;
    }

    .hero video {
        position: relative;
        display: block;
        width: 100vw;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: contain;
        pointer-events: auto !important;
        z-index: 5 !important;
    }

    .overlay {
        position: relative;
        background: #050505;
        padding: 40px 24px 60px 24px;
        height: auto;
        pointer-events: auto;
        z-index: 1;
    }

    .overlay h1 {
        font-size: 36px;
        letter-spacing: -0.5px;
        margin-bottom: 12px;
    }

    .overlay p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 16px 0;
    }

    /* Target modal layout updates for tight screen tracking heights */
    .modal {
        padding: 20px 0;
    }

    .modal-content {
        padding: 30px 16px;
        width: 94%;
    }
    
    .modal-content h2 {
        font-size: 17px;
    }
    
    .input-row-split {
        gap: 10px;
    }

    .features {
        padding: 60px 24px;
        gap: 20px;
    }

    .card {
        width: 100%;
        padding: 40px 24px;
    }
}