@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Fundo com efeitos radiais */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Elementos flutuantes */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float-success 6s ease-in-out infinite;
    color: #64ffda;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.float-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.float-element:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.float-element:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.float-element:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 3s; }
.float-element:nth-child(5) { bottom: 40%; left: 15%; animation-delay: 4s; }
.float-element:nth-child(6) { top: 40%; right: 10%; animation-delay: 5s; }
.float-element:nth-child(7) { top: 70%; left: 5%; animation-delay: 6s; }
.float-element:nth-child(8) { top: 30%; left: 50%; animation-delay: 7s; }
.float-element:nth-child(9) { bottom: 60%; right: 5%; animation-delay: 8s; }
.float-element:nth-child(10) { top: 80%; right: 40%; animation-delay: 9s; }

.success-container {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 600px;
    margin: 2rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 10;
    border: 2px solid rgba(100, 255, 218, 0.2);
}

.celebration-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, #4F46E5, #EC4899, #F59E0B, #10B981);
    animation: confetti-fall 3s linear infinite;
}

.confetti:nth-child(1) { left: 10%; animation-delay: 0s; background: #4F46E5; }
.confetti:nth-child(2) { left: 30%; animation-delay: 0.5s; background: #EC4899; }
.confetti:nth-child(3) { left: 50%; animation-delay: 1s; background: #F59E0B; }
.confetti:nth-child(4) { left: 70%; animation-delay: 1.5s; background: #10B981; }
.confetti:nth-child(5) { left: 90%; animation-delay: 2s; background: #7C3AED; }

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounceIn 1s ease-out 0.3s both;
}

h1 {
    color: #1F2937;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4F46E5, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-badge {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 2rem;
    animation: slideInDown 0.8s ease-out 0.5s both;
}

.welcome-message {
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out 0.7s both;
}

.welcome-message h2 {
    color: #1F2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.welcome-message p {
    color: #6B7280;
    line-height: 1.6;
    font-size: 1rem;
}

.next-steps {
    background: #F8FAFC;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.next-steps h3 {
    color: #1F2937;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.step {
    text-align: center;
}

.step-number {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 0.5rem;
}

.step p {
    color: #4B5563;
    font-size: 0.9rem;
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.cta-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.2rem;
}

.guarantee-section {
    margin-bottom: 2rem;
}

.guarantee-badge {
    background: #FEF3C7;
    border: 2px solid #F59E0B;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.guarantee-icon {
    font-size: 2rem;
}

.guarantee-badge strong {
    color: #92400E;
    font-weight: 700;
}

.guarantee-badge p {
    color: #78350F;
    margin: 0;
    font-size: 0.9rem;
}

.btn-secondary {
    background: #F3F4F6;
    color: #4B5563;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #E5E7EB;
}

.btn-secondary:hover {
    background: #E5E7EB;
    transform: translateY(-1px);
}

/* Animações */
@keyframes float-success {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-20px) rotate(10deg); 
        opacity: 0.6;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .success-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .float-element {
        font-size: 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantee-badge {
        flex-direction: column;
        text-align: center;
    }
}