/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
}

.fadeOut {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.fadeIn {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

#messageUnderForm {
    transition: opacity 0.3s ease;
}

/* Layout */
.min-h-screen {
    min-height: 100vh;
    display: flex;
    padding: 1rem;
    background-color: black;
    color: white;
    position: relative;
    overflow: hidden;
}

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.space-y-16>*+* {
    margin-top: 4rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Background effects */
.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.blur-effect {
    background: linear-gradient(to bottom right, rgba(4, 102, 200, 0.2), rgba(2, 62, 125, 0.2));
    filter: blur(100px);
    opacity: 0.3;
    transition: opacity 0.7s;
}

.blur-effect:hover {
    opacity: 0.4;
}

/* Logo and title */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.logo {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    transition: transform 0.3s;
    padding-top: 0.75rem;
}

.logo:hover {
    transform: scale(1.05);
}

.title {
    font-size: 3.75rem;
    font-weight: bold;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, white, #a0aec0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s;
    text-align: center;
}

.title:hover {
    background: linear-gradient(to right, #93c5fd, white);
    -webkit-background-clip: text;
    background-clip: text;
}

.subtitle {
    font-size: 1.5rem;
    color: #9ca3af;
    font-weight: 300;
    letter-spacing: 0.025em;
    transition: color 0.3s;
    text-align: center;
}

.subtitle:hover {
    color: #d1d5db;
}

/* Main message */
.main-heading {
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #589ae5, #094d9c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: opacity 0.3s;
    text-align: center;
    background-size: 200% 200%;
    animation: gradient 6s ease infinite;
}

.description {
    font-size: 1.5rem;
    color: #9ca3af;
    font-weight: 300;
    transition: color 0.3s;
    text-align: center;
}

.description:hover {
    color: #d1d5db;
}

/* Form styles */
.signup-container {
    max-width: 28rem;
    margin: 0 auto;
    backdrop-filter: blur(16px);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s;
    text-align: center;
}

.signup-container:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .form-container {
        flex-direction: row;
        justify-content: center;
    }
}

.email-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s;
    text-align: center;
}

.email-input:focus {
    outline: none;
    border-color: #0466c8;
}

.email-input:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.email-input::placeholder {
    color: #6b7280;
    text-align: center;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #0466c8;
    color: white;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background-color: #023e7d;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(4, 102, 200, 0.25);
}

.hover-text {
    transition: color 0.3s;
    text-align: center;
    transition: all 0.3s;
}

.hover-text:hover {
    color: #9ca3af;
}

/* Modal styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
    z-index: 1001;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    width: 400px;
}

.modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #0466c8, #023e7d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.modal-content {
    margin-bottom: 1.5rem;
    color: #d1d5db;
    line-height: 1.5;
}

.modal-close {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0466c8;
    color: white;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background-color: #023e7d;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(4, 102, 200, 0.25);
}

/* Animations */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hover-float {
    transition: transform 0.4s ease;
}

.hover-float:hover {
    transform: translateY(-5px);
}