/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;600&family=Inter:wght@400;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e1e1e1;
    background-color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    width: 100%;
    overflow-x: hidden;
}

/* Header styles */
header {
    text-align: center;
    margin: 1.5rem 0;
    max-width: 800px;
    width: 100%;
    padding: 0 1rem;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #b3b3b3;
    margin-bottom: 1rem;
}

/* Main content styles */
main {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

main p {
    text-align: center;
    font-size: 1rem;
    color: #e1e1e1;
    max-width: 600px;
    background-color: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.signup-prompt b {
    color: #ffffff;
    font-weight: 600;
}

.signup-prompt a {
    color: #a8d1ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-prompt a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Form styles */
#signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 400px;
    background-color: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#email-input {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #404040;
    border-radius: 6px;
    background-color: #333333;
    color: #ffffff;
    transition: border-color 0.3s ease;
    width: 100%;
}

#email-input:focus {
    outline: none;
    border-color: #007bff;
}

#email-input::placeholder {
    color: #808080;
}

#submit-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

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

#submit-button:disabled {
    background-color: #404040;
    cursor: not-allowed;
}

/* Disclaimer text */
.disclaimer {
    font-size: 0.75rem;
    color: #808080;
    text-align: center;
    margin-top: 0.5rem;
    max-width: 400px;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Status message styles */
#status-message {
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

#status-message.success {
    color: #4caf50;
    background-color: rgba(76, 175, 80, 0.1);
}

#status-message.error {
    color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}

/* Footer styles */
footer {
    width: 100%;
    background-color: #2a2a2a;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #b3b3b3;
    margin-top: auto;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Media Queries for larger screens */
@media (min-width: 768px) {
    body {
        padding: 2rem;
    }

    .logo {
        font-size: 3.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    main p {
        font-size: 1.1rem;
    }

    #signup-form {
        flex-direction: row;
        align-items: center;
    }

    #email-input {
        flex: 1;
    }

    #submit-button {
        width: auto;
        white-space: nowrap;
    }
}

/* Additional media query for very small devices */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    body {
        padding: 0.75rem;
    }

    header {
        margin: 1rem 0;
    }

    .logo {
        font-size: 2rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1rem;
    }
}
