:root {
    --bg-gradient: linear-gradient(135deg, #0a0f1d 0%, #1e0505 100%);
    --primary-red: #e11d48;
    --primary-red-hover: #be123c;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

.form-container {
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.5s ease-out;
}

.form-card {
    background: rgba(10, 15, 29, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: 100%;
    box-shadow: 0 0 40px rgba(225, 29, 72, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.form-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.form-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.form-group input, 
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group select option {
    background: #0a0f1d;
    color: white;
}

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

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.2);
}

.hidden {
    display: none;
}

.submit-btn {
    width: 100%;
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 1.125rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
}

.submit-btn:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Success Card Specifics */
.success-icon {
    width: 60px;
    height: 60px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.success-cta {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
    text-align: center;
}

.success-cta:hover {
    background: #15803d;
    box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.4);
}

/* Ajustes para intl-tel-input */
.iti {
    width: 100%;
}
.iti__country-list {
    background-color: #0a0f1d !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    max-width: 380px;
}
.iti__country:hover, .iti__country.iti__highlight {
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.iti__selected-flag {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-radius: 0.75rem 0 0 0.75rem;
}
.iti input, .iti input[type=text], .iti input[type=tel] {
    padding-left: 52px !important;
}

/* Responsividade */
@media (max-width: 480px) {
    .form-card {
        padding: 1.75rem;
        border-radius: 1rem;
    }
    body {
        padding: 1rem 0.5rem;
    }
}

