@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --accent: #3388FF;
    --text-white: #ffffff;
    --dark-bg: #000000;
    --footer-bg: #080808;
    --border-color: rgba(255, 255, 255, 0.05);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
}

body { 
    background: var(--dark-bg); 
    color: var(--text-white); 
    overflow-x: hidden; 
}

/* --- NAVIGATION HEADER --- */
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 5%; 
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 90px;
    z-index: 2000; 
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    height: 75px;
}

.logo img { height: 45px; width: auto; display: block; }

.nav-links { 
    display: flex; 
    gap: 35px; 
    list-style: none; 
    align-items: center; 
    height: 100%; 
}

.dropdown { 
    position: relative; 
    height: 100%; 
    display: flex; 
    align-items: center; 
}

.nav-links a { 
    text-decoration: none; 
    color: #fff; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    opacity: 0.8; 
    transition: 0.3s;
}

.nav-links a:hover { opacity: 1; }

.dropdown::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-content {
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0;
    background: #000; 
    min-width: 180px; 
    padding: 10px 0;
    border-top: 2px solid var(--accent);
}

.dropdown:hover .dropdown-content { display: block; }

.dropdown-content a { 
    display: block; 
    padding: 10px 20px; 
    text-transform: none; 
    opacity: 1; 
}

.dropdown-content a:hover { 
    color: var(--accent); 
    background: rgba(255,255,255,0.05); 
}

/* --- HERO SECTION --- */
.hero {
    position: relative; 
    height: 100vh; 
    width: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: #000;
}

.video-container {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 1; 
    overflow: hidden;
}

#bg-video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: brightness(0.5); 
}

.hero-overlay { 
    position: relative;
    z-index: 2;
    text-align: center; 
    max-width: 850px; 
    padding: 0 20px; 
}

.hero-overlay h1 { 
    font-size: clamp(1.8rem, 5vw, 2.8rem); 
    text-transform: uppercase; 
    letter-spacing: 8px; 
    margin-bottom: 20px; 
    font-weight: 400; 
}

.hero-overlay p { 
    font-size: 1rem; 
    line-height: 1.6; 
    letter-spacing: 2px; 
    font-weight: 300; 
    opacity: 0.85; 
    margin-bottom: 35px; 
}

.coming-soon-tag {
    display: inline-block; 
    padding: 12px 40px;
    border: 1px solid rgba(255,255,255,0.5); 
    border-radius: 50px;
    letter-spacing: 4px; 
    text-transform: uppercase; 
    font-size: 0.7rem;
    background: rgba(255,255,255,0.05); 
    transition: all 0.4s ease;
}

/* --- BECOME A PIONEER SECTION --- */
.form-cta {
    padding: 100px 20px;
    background-color: #000;
    text-align: center;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.cta-content { max-width: 800px; margin: 0 auto; }
.form-cta h2 { font-size: 2.5rem; margin-bottom: 20px; letter-spacing: 2px; }
.form-cta p { font-size: 1.1rem; color: #a0a0a0; margin-bottom: 40px; line-height: 1.6; }

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover { background-color: var(--accent); color: #fff; transform: translateY(-3px); }

/* --- FOOTER LAYOUT --- */
footer { 
    background: var(--footer-bg); 
    padding: 80px 8% 40px; 
    border-top: 1px solid var(--border-color); 
}

.footer-main { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 40px; 
    margin-bottom: 60px; 
}

.footer-col h4 { 
    color: var(--accent); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 25px; 
    font-size: 0.75rem; 
}

.footer-col a { 
    display: block; 
    color: #777; 
    text-decoration: none; 
    margin-bottom: 12px; 
    font-size: 0.85rem; 
    transition: 0.3s; 
}

.footer-col a:hover { color: #fff; padding-left: 5px; }

/* The Bottom Split Section */
.footer-contact { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start;
    padding: 40px 0; 
    border-top: 1px solid #111; 
    border-bottom: 1px solid #111; 
    margin-bottom: 30px; 
    gap: 40px;
}

.contact-left { flex: 1; }
.contact-left strong { 
    display: block; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 0.8rem; 
    margin-bottom: 10px; 
}
.contact-left p { color: #777; font-size: 0.9rem; }

/* Subscribe Box on the Right */
.subscribe-right { 
    flex: 1; 
    max-width: 450px; 
}

.subscribe-input-group {
    display: flex;
    gap: 10px;
}

.subscribe-input-group input {
    flex: 2;
    background: transparent;
    border: 1px solid #333;
    padding: 12px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}

.subscribe-input-group input:focus { border-color: var(--accent); }

.subscribe-input-group button {
    flex: 1;
    background: #fff;
    color: #000;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: 0.3s;
}

.subscribe-input-group button:hover { background: var(--accent); color: #fff; }

.unsubscribe-text {
    font-size: 10px;
    color: #555;
    margin-top: 15px;
    line-height: 1.5;
}

.unsubscribe-text a { color: #888; text-decoration: none; }
.unsubscribe-text a:hover { color: #fff; }

.footer-bottom { 
    text-align: center; 
    color: #333; 
    font-size: 0.7rem; 
    letter-spacing: 1px;
}

/* Style for the confirmation message */
#status-message {
    font-size: 11px;          
    color: #4CAF50;          
    margin-top: 10px;
    letter-spacing: 0.5px;
    display: none;           
    text-transform: none;    
    font-weight: 400;
}

/* =========================================================
   RESPONSIVE - TABLET (Video Fix)
   ========================================================= */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */
@media (max-width: 768px) {

    /* --- MOBILE HERO VIDEO FIX --- */
    .hero {
        height: auto;
        min-height: auto;
        padding-top: 90px; /* Account for fixed navbar */
        flex-direction: column;
    }
    
    .video-container {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    #bg-video {
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain;
        filter: brightness(0.6);
    }
    
    .hero-overlay {
        position: relative;
        padding: 40px 20px;
        background: #000;
    }
    
    .hero-overlay h1 {
        letter-spacing: 4px;
    }
    
    .hero-overlay p {
        letter-spacing: 1px;
    }

    /* --- Footer responsiveness --- */
    .footer-contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .subscribe-right {
        max-width: 100%;
        width: 100%;
    }

    .subscribe-input-group {
        flex-direction: column;
    }

    /* --- MOBILE HAMBURGER NAV --- */
    .navbar {
        padding: 0 5%;
    }

    .nav-links {
        gap: 0;
        height: auto;
    }

    /* Hide non-dropdown items by default on mobile */
    .nav-links > li:not(.dropdown) {
        display: none;
    }

    /* Make dropdown behave like a hamburger trigger */
    .dropdown {
        height: auto;
        align-items: center;
        justify-content: flex-end;
    }

    /* Hide the "Company ▼" label visually but keep it accessible */
    .dropdown > a {
        position: relative;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        letter-spacing: 0;
        font-size: 0; /* hide text */
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Draw hamburger icon with pseudo-elements */
    .dropdown > a::before,
    .dropdown > a::after {
        content: "";
        position: absolute;
        width: 26px;
        height: 2px;
        background: #fff;
        left: 50%;
        transform: translateX(-50%);
        transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
        opacity: 0.95;
    }

    .dropdown > a::before { top: 16px; }
    .dropdown > a::after  { top: 28px; }

    /* Middle line using box-shadow */
    .dropdown > a span { display: none; }
    .dropdown > a::before {
        box-shadow: 0 6px 0 #fff; /* middle line */
    }

    /* Remove hover gap catcher on mobile */
    .dropdown::after { display: none; }

    /* Mobile menu panel */
    .dropdown-content {
        position: fixed;
        top: 90px;
        right: 0;
        left: 0;
        width: 100%;
        min-width: 0;
        padding: 14px 0;
        background: rgba(0,0,0,0.96);
        border-top: 1px solid rgba(255,255,255,0.08);
        backdrop-filter: blur(14px);
        display: none;
        z-index: 1999;
    }

    /* When navbar shrinks on scroll */
    .navbar.scrolled .dropdown-content {
        top: 75px;
    }

    /* Disable hover open on mobile, use focus-within */
    .dropdown:hover .dropdown-content {
        display: none;
    }
    .dropdown:focus-within .dropdown-content {
        display: block;
    }

    /* Menu items styling */
    .dropdown-content a {
        padding: 14px 22px;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #fff;
        opacity: 0.9;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .dropdown-content a:last-child {
        border-bottom: none;
    }
    .dropdown-content a:hover {
        background: rgba(255,255,255,0.06);
        color: var(--accent);
    }

    .dropdown > a {
        cursor: pointer;
    }
}