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

body {
    font-family: sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f7f9fc; /* Light background for professionalism */
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #007bff; /* Primary blue for branding */
}

.cta-header {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 10%;
    background-color: #eaf3ff;
}

.hero h1 {
    font-size: 2.5em;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none; /* Important for the form button */
    cursor: pointer;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Sections */
section {
    padding: 60px 10%;
    text-align: center;
}

h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #1a1a1a;
}

/* --- Flow Diagram Sizing --- */
.flow-graphic {
    max-width: 800px; /* Limits the graphic's width on large screens */
    margin: 0 auto 50px auto; /* Centers the graphic and adds space below */
}

.flow-graphic img {
    width: 100%; /* Ensures the image scales to the container width */
    height: auto;
    display: block;
}

/* Ensure the image container scales down properly on small screens */
@media (max-width: 768px) {
    .flow-graphic {
        max-width: 90%; /* Allow it to fill more screen space on mobile */
    }
}

/* Waitlist Form */
.waitlist-form {
    background-color: #fff;
    border-top: 1px solid #eee;
}

.waitlist-form form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.waitlist-form input, 
.waitlist-form select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

/* How It Works & Value Props */
.flow-container, ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    text-align: left;
}

.step, ul li {
    max-width: 300px;
}

.icon {
    width: 60px; /* Adjust size for the placeholder graphic */
    height: 60px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    padding: 20px 5%;
    text-align: center;
    background-color: #333;
    color: #fff;
    font-size: 0.9em;
}
/* --- Mobile Layout Fixes (Max Width 768px) --- */
@media (max-width: 768px) {
    /* Stack the flow steps and the value propositions vertically */
    .flow-container, 
    .value-propositions ul {
        flex-direction: column; /* Stacks the items vertically */
        gap: 30px; /* Adds space between the stacked items */
        padding: 0 5%; /* Adds horizontal padding for spacing */
    }

    /* Center text within the stacked list items */
    .value-propositions ul li {
        text-align: center;
        max-width: 100%; /* Allows the list item to use full width */
    }
    
    /* Reduce padding on sections for a tighter mobile view */
    section {
        padding: 40px 5%;
    }

    .hero h1 {
        font-size: 2em;
    }
}