@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

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

body, html {
    height: 100%;
    background: white;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.content {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #333;
    text-align: center;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 0;
    flex-shrink: 0;
}

#model-container {
    width: 100%;
    flex: 2;
    min-height: 0;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.text-overlay {
    position: relative;
    flex-shrink: 0;
}

.text-overlay p {
    font-size: clamp(35px, 7vw, 70px);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin-bottom: 0.5rem;
    transition: opacity 0.8s ease-in-out;
    line-height: 1.2;
}
.waitlist-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 2rem 0;
    flex-shrink: 0;
    justify-content: center;
    flex-wrap: wrap;
}

#email {
    width: 300px;
    max-width: 300px;
    padding: 1rem 1.5rem;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
    background: white;
}

#email:focus {
    border-color: #333;
}

#email::placeholder {
    color: #999;
    font-family: 'Poppins', sans-serif;
}

#submit-btn {
    padding: 1rem 2.5rem;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    background: #333;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

#submit-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#submit-btn:active {
    transform: translateY(0);
}
/* Animation styles for form submission */
#email {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#submit-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.6s ease, min-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Success state styling */
.success-button {
    background: #000000 !important;
    color: #ffffff !important;
    min-width: 300px !important;
}

.success-button:hover {
    background: #000000 !important;
    transform: none !important;
}
/* Typewriter animation for launching text */
.letter {
    opacity: 0;
    animation: fadeInLetter 0.1s ease-in-out forwards;
}

@keyframes fadeInLetter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blinking cursor effect */
.cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: #333;
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}
/* Mobile overlay styles */
@media (max-width: 768px) {
    .content {
        height: 100vh;
        padding: 1rem;
        position: relative;
    }
    
    #model-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .logo {
        position: relative;
        z-index: 10;
        max-width: 200px;
        margin-bottom: 1rem;
    }
    
    .text-overlay {
        position: relative;
        z-index: 10;
        margin-bottom: 1rem;
    }
    
    .text-overlay p {
        font-size: clamp(28px, 6vw, 50px);
    }
    
    .waitlist-form {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        max-width: 400px;
        background: transparent;
        border-radius: 25px;
        padding: 1rem;
        z-index: 20;
        flex-direction: column;
        gap: 0.8rem;
        margin: 0;
    }
    
    .waitlist-form #email {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .waitlist-form #submit-btn {
        width: 100%;
        min-width: auto;
        margin: 0;
    }
}