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

body {
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}

/* Split Screen Layout */
.split-container {
    display: flex;
    min-height: 100vh;
}

/* Left Side - Logo and Coming Soon */
.left-side {
    width: 50%;
    background-color: #f3f3f6;
    display: grid;
    grid-template-rows: 1fr auto auto;
    align-items: center;
    padding: 60px;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Background Video */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Video Overlay Layer */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e8edf2;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    grid-row: 1;
    gap: 0;
    align-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.logo {
    width: 100%;
    max-width: 329px;
    height: auto;
    margin-bottom: 0;
}

.coming-soon {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    padding-top: 32px;
}

.right-footer {
    font-size: 0.95rem;
    color: white;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 2;
}

/* Right Side - CTA */
.right-side {
    width: 50%;
    background-image: url('background-right.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    padding: 60px;
    position: relative;
    min-height: 100vh;
}

.right-content {
    text-align: center;
    z-index: 2;
    position: relative;
    width: 100%;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 120px;
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.signup-btn {
    background-color: white;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 18px 60px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Space Grotesk', sans-serif;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .split-container {
        flex-direction: column;
    }

    .left-side,
    .right-side {
        width: 100%;
        min-height: 50vh;
    }

    .left-side {
        padding: 40px;
    }

    .right-side {
        padding: 40px;
    }

    .logo {
        max-width: 400px;
        margin-bottom: 40px;
    }

    .coming-soon {
        font-size: 2rem;
    }

    .cta-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .left-side {
        padding: 30px;
    }

    .right-side {
        padding: 30px;
    }

    .logo {
        max-width: 300px;
        margin-bottom: 30px;
    }

    .coming-soon {
        font-size: 1.5rem;
    }

    .cta-heading {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .signup-btn {
        font-size: 1.1rem;
        padding: 15px 45px;
    }

    /* Mobile: Raise CTA content much higher */
    .right-content {
        margin-top: -100px !important;
        justify-content: flex-start;
        padding-top: 0;
        grid-row: 1;
    }

    /* Mobile: Right footer at bottom */
    .right-footer {
        position: absolute;
        bottom: 20px;
        grid-row: auto;
    }
}

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

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

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    padding-right: 44px;
}

/* Hide scrollbar but keep functionality */
.modal-content::-webkit-scrollbar {
    width: 4px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 20px;
    margin-bottom: 20px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
    margin-right: 8px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.modal-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message h2 {
    color: #7054ea;
    margin-bottom: 20px;
}

.success-message p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.success-close-btn {
    margin-top: 30px;
    background-color: #7054ea;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.success-close-btn:hover {
    background-color: #5a3fd6;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.required {
    color: #e74c3c;
}

.hint {
    font-weight: 400;
    font-size: 0.85rem;
    color: #999;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7054ea;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label.agreement {
    margin-top: 10px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background-color: #7054ea;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #5a3fd6;
}

.btn-secondary {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
