


/* General Body and Background Video Styling */
body {
    margin: 0;
    background-color: black;

    color: #ffffff36;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.653);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrollbar on all pages */
    font-family: 'Space Mono', monospace; /* This line is crucial */
    font-style: italic;
}

/* Specific styling for the thank you page body only */
body.thank-you-page {
    background-color: #1a1a1a; /* Dark background for continuity */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full viewport height */
    text-align: center;
    overflow-y: auto; /* Allow vertical scrolling if content is very tall */
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}


#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100; /* Puts video behind other content */
    background-size: cover;
    filter: brightness(85%); /* Significantly brighter video background */
    transition: filter 0.5s ease-in-out; /* Smooth transition on filter changes (if any) */
    /* Centering adjustments */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Almost transparent overlay */
    z-index: -99;
}

/* Main Content Area Styling (for index.html) */
.content {
    position: relative;
    z-index: 1; /* Ensures content is above the video and overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensures content takes at least full viewport height */
    padding: 40px 20px; /* Increased vertical padding to prevent content hugging edges */
    text-align: center;
    box-sizing: border-box; /* Include padding in height calculation */
}

/* Site Title Styling (for index.html) */
.content h1 {
    font-size: 5.5em; /* Even larger title */
    font-weight: 700; /* Bolder font */
    color: #ffffff37;
    margin-bottom: 25px;
    letter-spacing: -2px; /* Slightly tighter letter spacing */
    line-height: 1.1;
    text-transform: uppercase; /* All caps for impact */
    border-bottom: 2px solid rgba(255, 255, 255, 0.602); /* Slightly more visible underline */
    padding-bottom: 15px;
    animation: fadeInDown 1s ease-out forwards; /* Fade in from top */
    opacity: 0; /* Start hidden for animation */
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-style: normal;
}

/* Mailing List Form Container (for index.html) */
.mailing-list-form {
    background-color: rgba(0, 0, 0, 0.4); /* Significantly more transparent */
    backdrop-filter: blur(2px); /* Very subtle blur for maximum video clarity behind the form */
    padding: 30px; /* Reduced padding */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); /* Stronger shadow */
    max-width: 450px; /* Reduced maximum width */
    width: 85%; /* Slightly reduced responsive width */
    margin-top: 40px;
    animation: fadeInUp 1s ease-out forwards 0.5s;
    opacity: 0;
    box-sizing: border-box;
}

/* Form Title (Join Our Mailing List) (for index.html) */
.mailing-list-form h2 {
    font-size: 2.5em; /* Slightly smaller form title */
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: -0.5px;
}

/* Paragraph within form (Stay updated...) (for index.html) */
.mailing-list-form p {
    font-size: 1.2em; /* Slightly smaller paragraph text */
    margin-bottom: 25px; /* Reduced margin */
    color: #e0e0e0;
    line-height: 1.4;
}

/* Form field group for labels and inputs (for index.html) */
.mailing-list-form .mc-field-group {
    margin-bottom: 15px; /* Space between fields */
    text-align: left; /* Align label and input to the left */
}

.mailing-list-form .mc-field-group label {
    display: block; /* Make label take full width */
    font-size: 1em;
    margin-bottom: 5px;
    color: #fff; /* White label text */
}

.mailing-list-form .mc-field-group label .asterisk {
    color: #f8d7da; /* Light red for required asterisk */
    font-size: 1.2em;
    margin-left: 2px;
}

/* Input Fields (Email, First Name, Last Name, Phone) (for index.html) */
.mailing-list-form input[type="email"],
.mailing-list-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    font-size: 1.1em;
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.mailing-list-form input[type="email"]::placeholder,
.mailing-list-form input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mailing-list-form input[type="email"]:focus,
.mailing-list-form input[type="text"]:focus {
    border-color: #007bff;
    background-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3);
}

/* Submit Button (for index.html) */
.mailing-list-form button[type="submit"] {
    background-color: #007bff7f;
    color: white;
    padding: 12px 25px;
    border: solid;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    box-shadow: 0 4px 4px rgba(0, 123, 255, 0.5);
    margin-top: 10px;
    font-family: 'Space Mono', monospace; /* This line is crucial */
    font-style: italic;
}

.mailing-list-form button[type="submit"]:hover {
    background-color: #00b365;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 200, 0, 0.7);
}

.mailing-list-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Privacy Note (for index.html) */
.mailing-list-form .privacy-note {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    line-height: 1.3;
}

/* --- Responsive Adjustments --- */

/* For large tablets and smaller desktops (up to 1024px width) */
@media (max-width: 1024px) {
    .content h1 {
        font-size: 4.5em;
        letter-spacing: -1px;
    }
    .mailing-list-form {
        padding: 25px;
        max-width: 400px;
        width: 90%;
    }
    .mailing-list-form h2 {
        font-size: 2em;
    }
    .mailing-list-form p {
        font-size: 1em;
    }
    .mailing-list-form input[type="email"],
    .mailing-list-form input[type="text"],
    .mailing-list-form button[type="submit"] {
        font-size: 1em;
        padding: 10px 12px;
    }
}

/* For typical mobile phones (up to 768px width) */
@media (max-width: 768px) {
    .content h1 {
        font-size: 3.5em;
        letter-spacing: -1px;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }
    .mailing-list-form {
        padding: 20px;
        max-width: 350px;
        width: 90%;
    }
    .mailing-list-form h2 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .mailing-list-form p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
    .mailing-list-form input[type="email"],
    .mailing-list-form input[type="text"],
    .mailing-list-form button[type="submit"] {
        font-size: 0.95em;
        padding: 10px 12px;
    }
    .mailing-list-form .privacy-note {
        font-size: 0.8em;
        margin-top: 15px;
    }
}

/* Specific adjustments for phone landscape mode (wide but short) */
@media (orientation: landscape) and (max-width: 900px) and (max-height: 450px) {
    .content h1 {
        font-size: 2.8em;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    .mailing-list-form {
        padding: 12px;
        margin-top: 10px;
        max-width: 300px;
        width: 80%;
    }
    .mailing-list-form h2 {
        font-size: 1.4em;
        margin-bottom: 8px;
    }
    .mailing-list-form p {
        font-size: 0.8em;
        margin-bottom: 10px;
    }
    .mailing-list-form input[type="email"],
    .mailing-list-form input[type="text"],
    .mailing-list-form button[type="submit"] {
        font-size: 0.85em;
        padding: 6px 8px;
    }
    .mailing-list-form .privacy-note {
        font-size: 0.65em;
        margin-top: 8px;
    }
}


/* For very small mobile phones (up to 480px width) */
@media (max-width: 480px) {
    .content h1 {
        font-size: 2.5em;
        padding-bottom: 8px;
        margin-bottom: 15px;
    }
    .mailing-list-form {
        padding: 15px;
        max-width: 280px;
        width: 95%;
    }
    .mailing-list-form h2 {
        font-size: 1.6em;
        margin-bottom: 8px;
    }
    .mailing-list-form p {
        font-size: 0.85em;
        margin-bottom: 10px;
    }
    .mailing-list-form input[type="email"],
    .mailing-list-form input[type="text"],
    .mailing-list-form button[type="submit"] {
        font-size: 0.9em;
        padding: 8px 10px;
    }
    .mailing-list-form .privacy-note {
        font-size: 0.7em;
        margin-top: 10px;
    }
}

/* --- Thank You Page Specific Styles --- */
.thank-you-container {
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker, more opaque than form */
    backdrop-filter: blur(5px); /* Stronger blur for a dedicated page */
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7); /* Stronger shadow */
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-sizing: border-box;
    animation: fadeIn 1s ease-out forwards;
}

.thank-you-container h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #4CAF50; /* A pleasant green for success */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.thank-you-container p {
    font-size: 1.5em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.thank-you-container a.button {
    display: inline-block;
    background-color: #007bff; /* Blue button */
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.5);
}

.thank-you-container a.button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.7);
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn { /* Animation for thank you container */
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}