/* Global Styles */
:root {
    --primary-color: #007bff;
    /* Adjust to match the specific blue in design */
    --primary-hover: #0056b3;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --border-color: #ddd;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Same One', sans-serif;
    /* Fallback if not available */
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-body);
    /* Using Inter for headings as per design looks */
    font-weight: 700;
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Utilities */
.cta-btn {
    background-color: #1a9cff;
    /* Bright blue */
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(26, 156, 255, 0.4);
}

.cta-btn:hover {
    background-color: #0f8bec;
    transform: translateY(-2px);
}

/* Landing Page */
.landing-page {
    background-color: #000;
    /* Dark theme base */
    color: #fff;
}

/* Navbar */
.landing-nav {
    display: flex;
    justify-content: space-between;
    /* Space between logo and links */
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    position: absolute;
    /* Overlay on hero */
    top: 0;
    left: 0;
    z-index: 10;
}

.logo img {
    height: 50px;
    /* Adjust as needed */
    width: auto;
}

/* Hero */
.hero-section {
    text-align: center;
    padding: 150px 20px 80px;
    /* Added top padding for navbar */
    background: url('images/mainhero.jpeg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    /* Full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-titles {
    position: absolute;
    top: 150px;
    /* Position below navbar */
    left: 0;
    width: 100%;
    z-index: 5;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Improve visibility on image */
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #ddd;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    color: #eee;
    /* Lighter text for better contrast */
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 5;
    position: relative;
    /* Ensure it stays above background if needed */
}

/* Waitlist Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.waitlist-modal {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .waitlist-modal {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
}

.close-modal-btn:hover {
    color: #000;
}

.waitlist-modal h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #000;
}

.waitlist-modal p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.waitlist-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.2s;
}

.waitlist-form input:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.modal-submit-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.modal-submit-btn:hover {
    background-color: #222;
    transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .landing-nav {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        position: relative;
        /* Reset position for mobile flow if needed, or keep absolute */
    }

    .logo {
        margin-bottom: 10px;
    }

    .hero-section {
        padding: 50px 20px;
        min-height: auto;
        justify-content: flex-start;
        background-position: center top;
    }

    .hero-titles {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 20px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-section h2 {
        font-size: 1.2rem;
    }

}

/* Mobile specific for modal */
@media (max-width: 480px) {
    .waitlist-modal {
        padding: 30px 20px;
    }

    .waitlist-modal h2 {
        font-size: 1.5rem;
    }
}