/* Receituário de Elite - Custom Styles */

/* Reset e configurações gerais */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    background-size: 100px 100px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* CTA Button Animations */
.cta-button {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

/* Module Cards Hover Effects */
.module-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
}

.module-card:hover {
    border-left-color: #D4AF37;
    transform: translateX(8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* FAQ Accordion Styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    transition: all 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.faq-answer.active {
    opacity: 1;
    max-height: 200px;
    padding-top: 0;
}

/* Scroll Animations */
@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-bottom {
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInFromRight 0.8s ease-out forwards;
}

/* Glowing Effects */
.gold-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Pricing Card Special Effects */
.pricing-card-premium {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    position: relative;
}

.pricing-card-premium::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #D4AF37, #FFD700, #D4AF37);
    z-index: -1;
    border-radius: inherit;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Testimonial Cards */
.testimonial-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Smooth Scrolling for Safari */
@supports (-webkit-appearance: searchfield) {
    html {
        scroll-behavior: smooth;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B8941F;
}

/* Mobile Menu Animations */
#mobile-menu {
    transition: all 0.3s ease;
    transform: translateY(-100%);
    opacity: 0;
}

#mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .module-card:hover {
        transform: none;
    }
    
    .pricing-card-premium::before {
        animation: none;
    }
}

/* Focus States for Accessibility */
button:focus,
a:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-section,
    footer,
    .cta-button {
        display: none;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000000;
    }
    
    .text-gold {
        color: #FFD700 !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-pattern {
        animation: none;
    }
}