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

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    background: #557CBF url('../images/bg.png') no-repeat center bottom;
    background-size: cover;
    min-height: 100vh;
    color: white;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    max-width: 1140px;
    margin: 0 auto;
    overflow: hidden;
    background: url('../images/bg_mobile_d.png') no-repeat center bottom;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 4.5vh 0;
    text-align: center;
}

.logo {
    display: inline-block;
    width: 10vw;
    min-width: 90px;
    max-width: 120px;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 10;
    padding: 0 0 20vh;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 20;
}

.badge {
    display: inline-block;
    padding: 0.625rem 1.875rem;
    border: 1px solid white;
    border-radius: 100px;
    font-weight: 600;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 4.9vw, 4.375rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(99.88deg, rgb(255, 255, 255) 0.16%, rgb(180, 208, 255) 98.19%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    max-width: 775px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: #7094D3;
    border: 1.5px solid white;
    color: white;
    font-size: clamp(1.125rem, 1.7vw, 1.5rem);
    font-weight: 600;
    padding: clamp(0.875rem, 1.4vw, 1.25rem) clamp(1.5rem, 2.5vw, 2.25rem);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    background: #6084C3;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.7);*/
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #557CBF 0%, #5074B2 100%);
    padding: 3rem;
    border-radius: 2rem;
    max-width: 31.25rem;
    width: 90%;
    position: relative;
    box-shadow: 0 1.25rem 5rem rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.25rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    background: linear-gradient(99.88deg, rgb(255, 255, 255) 0.16%, rgb(180, 208, 255) 98.19%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content > p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Form Styles */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.asterisk {
    color: #FFB4B4;
}

.form-group input {
    padding: 0.875rem 1.125rem;
    border-radius: 0.75rem;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit {
    background: white;
    color: #5074B2;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.response {
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

#mce-error-response {
    background: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.5);
}

#mce-success-response {
    background: rgba(100, 255, 150, 0.2);
    border: 1px solid rgba(100, 255, 150, 0.5);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .container {
        background-image: url('../images/bg_mobile.png');
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .container {
        background-image: url('../images/bg_mobile.png');
    }

    .header {
        padding: 3vh 0;
    }

    .logo {
        width: 15vw;
        min-width: 70px;
        max-width: 90px;
    }

    .badge {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.625rem);
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }

    .btn-primary {
        font-size: 1.125rem;
        padding: 0.875rem 2rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}

/* Responsive - Height */
@media (max-height: 960px) {
    .hero {
        padding: 0 0 30vh;
    }
    .hero-content {
        font-size: clamp(1.3rem, 6vw, 1.3rem);
    }
    .container {
        background-size: 75%;
    }
}
