/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #FFFFFF;
    line-height: 1.4;
    overflow-x: hidden;
    position: relative;
    background: #0a0a1a;
}

/* ===== BACKGROUND ===== */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(ellipse at top center, rgba(255, 100, 50, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(0, 100, 255, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, #0a0a1a 0%, #0f0f2a 50%, #1a1a3a 100%);
}

/* Overlay com gradiente para escurecer parte inferior */
.overlay-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 40%,
        rgba(10, 10, 26, 0.7) 60%,
        rgba(10, 10, 26, 0.95) 80%,
        #0a0a1a 100%
    );
    pointer-events: none;
}

/* ===== CONTAINER PRINCIPAL ===== */
.main-container {
    max-width: 100%;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

/* ===== HERO SECTION (IMAGEM NO TOPO) ===== */
.hero-section {
    width: 100%;
    max-width: 800px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    margin: 0;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ===== CONTENT SECTION ===== */
.content-section {
    width: 100%;
    max-width: 500px;
    padding: 30px 25px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

/* ===== TITULOS ===== */
.title-container {
    text-align: center;
    margin-bottom: 8px;
    margin-top: 10px;
    width: 100%;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-blue {
    color: #00a8ff;
    text-shadow:
        0 0 10px rgba(0, 168, 255, 0.8),
        0 0 20px rgba(0, 168, 255, 0.5),
        0 0 40px rgba(0, 168, 255, 0.3);
}

.title-gold {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.6));
}

.sub-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00ff88;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
    text-shadow:
        0 0 5px #00ff88,
        0 0 10px #00ff88,
        0 0 20px #00ff88,
        0 0 40px #00cc6a;
    animation: neon-pulse 2s ease-in-out infinite;
}

@keyframes neon-pulse {
    0%, 100% {
        text-shadow:
            0 0 5px #00ff88,
            0 0 10px #00ff88,
            0 0 20px #00ff88,
            0 0 40px #00cc6a;
    }
    50% {
        text-shadow:
            0 0 10px #00ff88,
            0 0 20px #00ff88,
            0 0 30px #00ff88,
            0 0 50px #00cc6a,
            0 0 70px #00cc6a;
    }
}

.description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-weight: 400;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== BENEFICIOS ===== */
.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 1.2rem;
    color: #25D366;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.benefit-item span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.2;
}

/* ===== FORMULARIO ===== */
.form-container {
    width: 100%;
    max-width: 380px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #00a8ff;
    background: rgba(0, 168, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.2);
}

.input-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.input-group:focus-within .input-icon {
    color: #00a8ff;
}

.form-input {
    flex: 1;
    padding: 15px 15px 15px 0;
    font-size: 1rem;
    font-family: inherit;
    color: #FFFFFF;
    background: transparent;
    border: none;
    outline: none;
}

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

/* ===== BOTAO PULSANTE ===== */
.submit-btn {
    width: 100%;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.4),
        0 0 50px rgba(37, 211, 102, 0.2);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.4rem;
}

/* ANIMACAO PULSANTE */
.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.7),
            0 5px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow:
            0 0 0 15px rgba(37, 211, 102, 0),
            0 5px 25px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0),
            0 5px 15px rgba(37, 211, 102, 0.3);
    }
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    animation: none;
}

.btn-text {
    position: relative;
}

.btn-spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.submit-btn.loading .btn-spinner {
    display: block;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
    display: none;
}

/* ===== TERMOS ===== */
.terms-container {
    text-align: center;
    padding: 0 10px;
}

.terms-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.terms-text i {
    color: #25D366;
    font-size: 0.85rem;
}

.terms-link {
    color: #00a8ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ===== ERROS ===== */
.input-error {
    border-color: #ff4444 !important;
    background: rgba(255, 68, 68, 0.1) !important;
}

.input-group.input-error .input-icon {
    color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 5px;
    padding-left: 15px;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

/* ===== NOTIFICACOES ===== */
.notification {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 18px 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    min-width: 300px;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.success {
    border-left: 4px solid #25D366;
}

.notification.error {
    border-left: 4px solid #ff4444;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.notification-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== ANIMACOES ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero-section {
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
    }

    .content-section {
        padding: 25px 20px 40px;
        margin-top: -20px;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .sub-title {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }

    .description {
        font-size: 0.95rem;
    }

    .notification {
        min-width: 280px;
        max-width: 90%;
        right: 5%;
        left: 5%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.9rem;
    }

    .sub-title {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .description {
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .btn-icon {
        font-size: 1.2rem;
    }
}

/* ===== TABLET (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-container {
        justify-content: flex-start;
        min-height: 100vh;
        padding-top: 30px;
    }

    .hero-section {
        max-width: 550px;
    }

    .hero-image {
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }

    .content-section {
        margin-top: -20px;
        max-width: 500px;
    }

    .sub-title {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }

    .benefits-container {
        max-width: 450px;
        gap: 15px;
    }

    .benefit-item {
        padding: 14px 18px;
    }

    .benefit-item span {
        font-size: 0.9rem;
    }

    .form-container {
        max-width: 420px;
    }
}

/* ===== DESKTOP (1025px+) ===== */
@media (min-width: 1025px) {
    .main-container {
        justify-content: center;
        min-height: 100vh;
        flex-direction: row;
        align-items: center;
        gap: 60px;
        padding: 40px 80px;
    }

    .hero-section {
        max-width: 550px;
        flex-shrink: 0;
    }

    .hero-image {
        border-radius: 24px;
        box-shadow:
            0 30px 80px rgba(0, 0, 0, 0.6),
            0 0 60px rgba(0, 168, 255, 0.1);
    }

    .content-section {
        margin-top: 0;
        max-width: 480px;
        padding: 0;
        align-items: flex-start;
    }

    .title-container {
        text-align: left;
        margin-top: 0;
    }

    .sub-title {
        font-size: 1.4rem;
        letter-spacing: 3px;
    }

    .benefits-container {
        max-width: 100%;
        gap: 15px;
    }

    .benefit-item {
        padding: 16px 20px;
    }

    .benefit-icon {
        font-size: 1.4rem;
    }

    .benefit-item span {
        font-size: 0.95rem;
    }

    .form-container {
        max-width: 100%;
    }

    .submit-btn {
        padding: 20px 30px;
        font-size: 1.15rem;
    }

    .terms-container {
        text-align: left;
    }

    .terms-text {
        justify-content: flex-start;
    }
}

/* ===== DESKTOP GRANDE (1400px+) ===== */
@media (min-width: 1400px) {
    .main-container {
        gap: 100px;
        padding: 50px 120px;
    }

    .hero-section {
        max-width: 650px;
    }

    .content-section {
        max-width: 520px;
    }

    .sub-title {
        font-size: 1.5rem;
    }
}

/* ===== SCROLL SUAVE ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECAO DE TEXTO ===== */
::selection {
    background: rgba(0, 168, 255, 0.3);
    color: #FFFFFF;
}

::-moz-selection {
    background: rgba(0, 168, 255, 0.3);
    color: #FFFFFF;
}

/* ===== HIDDEN ===== */
.hidden {
    display: none !important;
}
