/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(to bottom, #9B59B6 0%, #2D1B3D 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.testflight-box {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.3);
    max-width: 450px;
    width: 100%;
    overflow: hidden;
    border: 2px solid rgba(155, 89, 182, 0.1);
}

.clouds-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('clouds.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 16px rgba(155, 89, 182, 0.2);
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #9B59B6;
    margin: 0 0 16px 0;
    position: relative;
    z-index: 2;
}

.app-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #6C757D;
    margin: 0;
    position: relative;
    z-index: 2;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.signup-form {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(155, 89, 182, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: white;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #9B59B6;
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
}

.form-group input::placeholder {
    color: #9CA3AF;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #9B59B6 0%, #8B4DB6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.3);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .btn-loading {
    display: none;
}

/* Success and Error Messages */
.success-message,
.error-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #166534;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #991B1B;
}

.success-message p,
.error-message p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.success-message p:first-child {
    font-weight: 600;
    margin-bottom: 4px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .testflight-box {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .app-description {
        font-size: 0.9rem;
    }
    
    .form-group input {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
} 