/* ========================================
   MELHORIAS AVANÇADAS - LANDING PAGE PROFISSIONAL
   ======================================== */

/* Variáveis de Cores Harmoniosas */
:root {
    --primary-soft: #a8d8f0;
    --primary-medium: #7bb3d3;
    --primary-deep: #5d9bd5;
    --secondary-soft: #f4c2c2;
    --secondary-medium: #e8a4a4;
    --secondary-deep: #d17a7a;
    --accent-soft: #b8e6b8;
    --accent-medium: #95d995;
    --accent-deep: #72cc72;
    --highlight-soft: #ffd6a3;
    --highlight-medium: #ffb366;
    --highlight-deep: #ff9029;
    --neutral-light: #f8fafc;
    --neutral-medium: #64748b;
    --neutral-dark: #334155;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-medium), var(--highlight-medium));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-medium), var(--primary-medium));
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Aplicar animações aos elementos */
.hero {
    animation: fadeInUp 1s ease-out;
}

.pricing-card:nth-child(1) {
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.pricing-card:nth-child(2) {
    animation: fadeInRight 1s ease-out 0.4s both;
}

.extra-pdfs {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Efeito Paralax sutil */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23f093fb;stop-opacity:0.1" /><stop offset="100%" style="stop-color:transparent;stop-opacity:0" /></radialGradient></defs><circle cx="50" cy="50" r="40" fill="url(%23grad1)"/></svg>');
    animation: parallaxFloat 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes parallaxFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* Botões com efeito Ripple */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:active::after {
    width: 300px;
    height: 300px;
}

/* Loading spinner para transições */
.loading-spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Melhorias para mobile */
@media (max-width: 768px) {
    .floating-icons {
        display: none; /* Remove ícones flutuantes no mobile */
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .pricing-card.premium {
        transform: none; /* Remove rotação no mobile */
    }
    
    .countdown-timer {
        font-size: 2rem;
    }
    
    .extra-pdfs h3 {
        font-size: 2.2rem;
    }
    
    .cta-button {
        padding: 20px 35px;
        font-size: 1.2rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #667eea 100%);
    }
    
    .hero, .extra-pdfs, .testimonials {
        background: linear-gradient(135deg, rgba(45, 55, 72, 0.95), rgba(74, 85, 104, 0.9));
        color: #e2e8f0;
    }
    
    .pricing-card {
        background: linear-gradient(135deg, rgba(45, 55, 72, 0.95), rgba(74, 85, 104, 0.9));
        color: #e2e8f0;
    }
}

/* Hover effects melhorados */
.category:hover {
    animation: categoryPulse 0.6s ease-in-out;
}

@keyframes categoryPulse {
    0% { transform: translateY(-10px) scale(1.05); }
    50% { transform: translateY(-15px) scale(1.08); }
    100% { transform: translateY(-10px) scale(1.05); }
}

/* Tooltip personalizado */
.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Confetti animation for special moments */
@keyframes confetti {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    animation: confetti 3s linear infinite;
    z-index: 9999;
}

.confetti:nth-child(2n) { background: #4ecdc4; animation-delay: 0.5s; }
.confetti:nth-child(3n) { background: #45b7d1; animation-delay: 1s; }
.confetti:nth-child(4n) { background: #f093fb; animation-delay: 1.5s; }

/* Efeitos de partículas de fundo */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* Melhoria na tipografia */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

.modern-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Glassmorphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Neon glow effect */
.neon {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
}

/* Smooth page transitions */
.page-transition {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-transition.loaded {
    opacity: 1;
}

/* Custom checkbox styling */
.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #4ecdc4, #44e08e);
    border-radius: 4px;
    cursor: pointer;
}

.custom-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-checkbox.checked::after {
    opacity: 1;
}

/* Progress bar styling */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #44e08e);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Enhanced card shadows */
.enhanced-shadow {
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
} 