/* --- Global Styles --- */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 40px 20px;
    display: grid;
    place-items: center;
    min-height: 100vh;
    box-sizing: border-box;

    /* Background glow */
    background: radial-gradient(
        circle at center top,
        #fffbe0 0%,
        #F5F7FA 35%,
        #F5F7FA 100%
    );
}

/* --- Hero Section --- */
.hero-container {
    max-width: 650px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 320px;
    height: auto;
    margin-bottom: 40px;
}

.headline {
    font-size: 48px;
    font-weight: 700;
    color: #1C1C1E;
    margin: 0 0 16px 0;
    text-align: center;
}

.subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #5a728e;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 0 32px 0;
    text-align: center;
}

/* --- Waitlist Form --- */
.waitlist-form {
    max-width: 480px;
    width: 100%;
    margin: 0 auto 48px;
}

/* This container actually lays out the input and button */
#form-content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
}

/* Email input */
.waitlist-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 16px 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    color: #1C1C1E;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.waitlist-form input[type="email"]:focus {
    border-color: #0A4D8C;
    outline: none;
}

/* Submit button */
.btn {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-submit {
    background-color: #0A4D8C;
    color: #FFFFFF;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.btn-submit:hover:not(:disabled) {
    background-color: #083F73;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: default;
}

/* Success message */
.success-message {
    font-size: 18px;
    font-weight: 600;
    color: #34c759;
    text-align: center;
    margin: 0;
    padding-top: 16px;
}

/* --- Features List --- */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: nowrap;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 15px;
    font-weight: 500;
    color: #1C1C1E;
}

/* Green checkmark */
.features-list li::before {
    content: '✓';
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e0f8e7;
    color: #2ECC71;
    font-weight: bold;
    font-size: 12px;
    line-height: 21px;
    text-align: center;
}

/* --- Responsive tweaks --- */
@media (max-width: 600px) {
    .headline {
        font-size: 36px;
    }

    #form-content {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
    }

    .features-list {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}
