:root {
    --bg-gradient: linear-gradient(135deg, #0a0f1d 0%, #3d0a0a 100%);
    --primary-red: #e11d48;
    --primary-red-hover: #be123c;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --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;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

header {
    animation: fadeInUp 0.8s ease-out;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

p.subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.video-wrapper {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

#cta-button {
    display: none; /* Hidden by default */
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3), 0 4px 6px -4px rgba(225, 29, 72, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

#cta-button.visible {
    display: inline-block;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#cta-button:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.4);
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
    80% {
        opacity: 1;
        transform: scale(0.89);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(225, 29, 72, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

/* Responsividade */
@media (max-width: 640px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .video-wrapper {
        padding: 0.5rem;
        border-radius: 1rem;
    }

    #cta-button {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}

.video-notice {
    font-size: 0.9rem;
    color: #ffffff; /* Texto base em branco para contraste */
    font-weight: 500;
    margin-top: -1rem;
    opacity: 1; /* Removendo transparência */
}

.highlight-blue {
    color: #3b82f6; /* Azul vibrante (vísivel no fundo escuro) */
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5); /* Leve brilho para destaque */
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-gradient);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: white;
}

.modal-content 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;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* 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.2);
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.08);
}

.phone-input-container {
    display: flex;
    gap: 0.75rem;
}

.country-code {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsividade Modal */
@media (max-width: 640px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }
}

/* Success Modal Specifics */
.success-modal {
    text-align: center;
}

.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);
}

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

/* Animações de Transição */
.modal-overlay.fade-out {
    animation: fadeOut 0.4s ease-in forwards;
}

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

