/*
Theme Name: NEX Pure CSS Landing Page
Theme URI: https://yourwebsite.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A custom, lightweight landing page theme using only standard CSS.
Version: 1.0.3 (Final Responsive Fix)
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: landing-page, single-page, responsive, dark, plain-css
Text Domain: nex-pure-css
*/

/* --- 🎨 Custom Variables --- */
:root {
    --bg-base: #131313;
    --brand-color: #10eada;
    --gray-text: #f3f4f6;
    --gray-dark: #1f2937;
    --navbar-bg: rgba(19, 19, 19, 0.95);
    --link-color: #9ca3af;
}

/* --- 🌎 Global & Body Styling --- */
body {
    background: var(--bg-base);
    background-image:
        radial-gradient(70rem 40rem at 0% -10%, rgba(34, 197, 94, 0.16), rgba(19, 19, 19, 0) 60%),
        radial-gradient(55rem 30rem at 100% 10%, rgba(22, 163, 74, 0.12), rgba(19, 19, 19, 0) 55%),
        linear-gradient(180deg, rgba(19, 19, 19, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    background-attachment: fixed;
    color: var(--gray-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* --- 🧭 Navbar Styling --- */
.fixed-top {
    position: fixed !important;
    top: 0;
    width: 100% !important;
    /* High Z-Index to prevent unclickability */
    z-index: 10000 !important; 
}

.nav-container {
    background-color: var(--navbar-bg);
    border-bottom: 1px solid var(--gray-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Generous horizontal padding */
    padding: 1rem 1.5rem; 
    display: flex;
    /* Default side-by-side for desktop */
    justify-content: space-between; 
    align-items: center;
    overflow: hidden; 
}

.logo-group {
    display: flex;
    align-items: center;
    flex-grow: 1; 
    flex-shrink: 1; 
    justify-content: flex-start;
    min-width: 0; 
}


.nav-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin: 0;
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap;
}

/* --- Privacy Policy Link --- */
.privacy-link {
    font-size: 0.875rem;
    color: var(--link-color);
    text-decoration: none;
    position: relative; 
    flex-grow: 0; 
    flex-shrink: 0; 
    padding-left: 1rem; 
    /* Ensures clickability */
    pointer-events: auto !important;
}

.privacy-link:hover {
    color: var(--brand-color);
}


/* --- ✨ Hero/Main Content Styling (No Change) --- */
.hero-main {
    text-align: center;
    padding-top: 5rem; 
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-content {
    min-height: calc(100vh - 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.feature-img {
    display: block;
    margin: 0 auto 2rem; 
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); 
    height: auto;
    width: 66.666667%; 
    max-width: 300px;
}

.main-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem; 
    line-height: 1.2;
}

.description-text {
    font-size: 1.125rem;
    color: var(--gray-text);
    max-width: 42rem; 
    margin: 0 auto;
    line-height: 1.625;
}

.cta-container {
    margin-top: 2.5rem; 
}

/* --- ⬇️ Download Button Styling (No Change) --- */
.download-btn {
    background-color: var(--brand-color);
    color: var(--bg-base); 
    padding: 1rem 2rem; 
    border-radius: 1rem; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); 
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
}

.download-btn i {
    margin-right: 0.5rem;
}

.download-btn:hover {
    transform: scale(1.05); 
    background-color: #00d2b7; 
}

/* --- 📐 Responsive Layout (FINAL MOBILE FIX) --- */
@media (max-width: 767px) {
    .nav-container {
        /* Forces elements to stack vertically on mobile (guaranteed fix for clipping) */
        flex-direction: column !important; 
        align-items: center !important; 
        justify-content: center !important;
        padding-bottom: 0.5rem;
    }
    
    .logo-group {
        width: 100% !important; 
        justify-content: center !important;
        margin-bottom: 0.25rem; 
    }

    .privacy-link {
        padding: 0 !important;
        margin-top: 0.25rem;
        /* Ensure the link is centered below the logo */
        text-align: center !important; 
    }

    /* Allows the full title to display when stacked */
    .nav-title {
        white-space: normal !important;
        text-overflow: clip !important;
    }
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .main-title {
        font-size: 3rem; 
    }
    .description-text {
        font-size: 1.25rem;
    }
    .feature-img {
        width: 25%; 
    }
}

@media (min-width: 1536px) {
    .feature-img {
        width: 20%;
    }
}