/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #007bff; /* Standard link blue, consider changing */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h2, h3 {
    font-weight: 700; /* Bold */
}

/* Header */
header {
    padding: 20px 0;
    display: flex;
    justify-content: center; /* Center logo if no nav */
    align-items: center;
}

.logo {
    height: 40px; /* Adjust as needed */
}

/* Hero Section */
.hero-section {
    position: relative; /* Keep relative for absolute children */
    height: 70vh; /* Adjust height as needed */
    /* display: flex; /* Remove flexbox for overlay approach */
    text-align: center;
    overflow: hidden; /* Hide video overflow */
    padding: 0; /* Remove padding for full width video */
    max-width: none; /* Allow full width */
}

/* New container for video+overlay */
.hero-video-container {
    position: absolute; /* Position absolutely to fill parent */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensure overlay/video don't spill */
    z-index: -1; /* Ensure it's behind hero-content */
}

.hero-video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping as needed */
    transform: translate(-50%, -50%);
    z-index: -2; /* Behind overlay and content */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: -1; /* Behind content, above video */
}

.hero-content {
    position: relative; /* Keep relative */
    z-index: 1; /* Ensure it's above video container */
    color: #fff;
    /* Use flexbox on the parent (.hero-section) to position this now */
    /* margin-top: auto; /* Remove this */
    /* padding-bottom: 10vh; /* Remove this */
    /* Centering the button within this container if needed */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content (button) to the bottom */
    align-items: center; /* Center button horizontally */
    height: 100%; /* Take full height of parent */
    padding-bottom: 10vh; /* Re-add padding from bottom */
    box-sizing: border-box; /* Include padding in height calculation */
}

.cta-button {
    display: inline-block;
    background-color: #fff; /* White button */
    color: #000; /* Black text */
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #ccc; /* Light grey on hover */
    color: #000;
    text-decoration: none;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 20px;
    /* background-color: #111; /* Removed to inherit body background */
    text-align: center;
}

.benefits-section h2 {
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background-color: #222; /* Dark grey cards */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.benefit-icon {
    font-size: 2.5em; /* Larger icons */
    margin-bottom: 15px;
    color: #007bff; /* Icon color - maybe match button or use white */
}

.benefit-item h3 {
    margin-bottom: 10px;
    color: #fff;
}

.benefit-item p {
    color: #ccc; /* Light grey text for description */
}

/* Visuals Section (Placeholder) */
.visuals-section {
    padding: 60px 20px;
    text-align: center;
}

.visuals-section h2 {
    margin-bottom: 40px;
}

.mockup-area {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.mockup-placeholder {
    background-color: #333;
    color: #888;
    padding: 100px 50px; /* Example size */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    padding: 60px 20px;
    /* background-color: #1a1a1a; /* Removed to inherit body background */
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    color: #ccc;
}

.large-cta {
    padding: 15px 35px;
    font-size: 1.1em;
}

/* Footer */
footer {
    padding: 40px 20px;
    background-color: #000;
    border-top: 1px solid #333; /* Subtle separator */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-small {
    height: 30px; /* Smaller logo for footer */
}

.footer-logo p {
    margin: 0;
    color: #aaa;
    font-size: 0.9em;
}


.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #aaa;
    margin: 0 15px;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.8em;
    color: #777;
    padding-top: 20px; /* Add space above copyright */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr; /* Stack benefits on smaller screens */
    }

    .hero-section {
        display: flex; /* Use flex for stacking */
        flex-direction: column; /* Stack video container and button */
        height: auto; /* Allow height to adjust to content */
        /* Remove justify-content if inherited */
        justify-content: flex-start;
    }

    .hero-video-container {
        position: relative; /* Override absolute positioning */
        height: 50vh; /* Set a specific height for the video area on mobile */
        width: 100%; /* Ensure it takes full width */
    }

    .hero-content {
        position: relative; /* Override positioning if needed */
        height: auto; /* Override height */
        margin-top: 0; /* Reset margin */
        padding: 30px 20px; /* Add padding around the button */
        width: 100%; /* Ensure it takes full width */
        box-sizing: border-box; /* Include padding in width calculation */
        /* background-color: #000; /* Removed, should inherit from body */
        /* Reset flex properties if needed */
        justify-content: center;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        margin-top: 15px;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
     .footer-links a {
        margin: 0;
    }
}

/* Basic styling for the new section */
.more-about-section {
    /* background-color: #111; /* Removed to inherit body background */
    padding: 60px 20px;
    text-align: center; /* Center the main heading */
}

.more-about-section h2 {
    margin-bottom: 40px; /* Consistent spacing */
    color: #fff; /* White heading */
}

.about-subsection {
    margin-bottom: 30px;
    max-width: 800px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* Align text within subsections */
    background-color: #222; /* Match benefit item background */
    padding: 20px 30px; /* Add padding */
    border-radius: 8px; /* Match benefit item radius */
}

.about-subsection h3 {
    margin-bottom: 15px;
    color: #fff; /* White subheading */
}

.about-subsection ul {
    list-style: disc; /* Standard bullets */
    padding-left: 20px; /* Indent list */
    margin-bottom: 0; /* Remove default bottom margin */
    color: #ccc; /* Light grey text */
}

.about-subsection li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.about-subsection li:last-child {
    margin-bottom: 0;
}


.about-subsection p {
    line-height: 1.6;
    color: #ccc; /* Light grey text */
    margin-bottom: 0; /* Remove default bottom margin */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity for overlay */
}

.modal.modal-open {
    display: flex; /* Use flexbox to center content */
    align-items: center;
    justify-content: center;
}

.modal-overlay { /* Optional: if you want a separate clickable overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative; /* Needed for close button positioning */
    background-color: #222; /* Dark background for modal */
    margin: auto; /* Center horizontally (handled by flex on .modal) */
    padding: 30px 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px; /* Max width */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1001; /* Above overlay */
    color: #fff; /* White text */
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #fff;
    text-decoration: none;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 20px;
    color: #ccc;
}

#signup-form input[type="email"] {
    width: calc(100% - 22px); /* Full width minus padding/border */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    font-size: 1em;
}

#signup-form .cta-button { /* Style submit button */
    width: 100%;
}

.modal-message {
    margin-top: 15px;
    font-size: 0.9em;
    min-height: 1.2em; /* Reserve space */
}
.modal-message.success {
    color: #28a745; /* Green for success */
}
.modal-message.error {
    color: #dc3545; /* Red for error */
}
