/* CC Brain & Body Wellness Homepage Custom Styles */

/* Neural Network Background Animation */
.neural-network-bg {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(203, 162, 125, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(242, 236, 228, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(203, 162, 125, 0.05) 0%, transparent 50%);
    background-size: 300px 300px, 400px 400px, 200px 200px;
    animation: float 20s ease-in-out infinite;
}

.neural-overlay {
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(203, 162, 125, 0.03) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(242, 236, 228, 0.03) 50%, transparent 60%);
    background-size: 60px 60px;
    animation: slide 30s linear infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes slide {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, -60px 60px; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(203, 162, 125, 0.3); }
    50% { box-shadow: 0 0 40px rgba(203, 162, 125, 0.6); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Section Enhancements */
.hero-section {
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

.hero-section .trust-strip {
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Service Cards Hover Effects */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(39, 39, 39, 0.15);
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(203, 162, 125, 0.8), transparent);
    transition: left 0.5s ease;
}

.testimonial-card:hover::before {
    left: 100%;
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(39, 39, 39, 0.25);
}

/* Gateway Cards Animation */
.gateway-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gateway-card:hover {
    transform: translateY(-16px) scale(1.02);
}

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

.faq-item:hover {
    border-color: rgba(203, 162, 125, 0.5);
    box-shadow: 0 4px 12px rgba(203, 162, 125, 0.1);
}

.faq-answer {
    transition: all 0.3s ease;
}

/* Steps Connector Lines */
.how-it-works-section .grid > div:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(203, 162, 125, 0.8), rgba(203, 162, 125, 0.2));
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .how-it-works-section .grid > div:not(:last-child)::after {
        display: none;
    }
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #CBA27D 0%, #272727 100%);
    background-size: 400% 400%;
    animation: gradient-shift 20s ease infinite;
}

/* Scroll Indicator */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(-50%, 0, 0);
    }
    40%, 43% {
        transform: translate3d(-50%, -10px, 0);
    }
    70% {
        transform: translate3d(-50%, -5px, 0);
    }
    90% {
        transform: translate3d(-50%, -2px, 0);
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, #CBA27D 0%, #272727 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 0;
}

/* Loading Animation for Images */
.image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* Print Styles */
@media print {
    .hero-section,
    .final-cta-section {
        background: white !important;
        color: black !important;
    }
    
    .neural-network-bg,
    .neural-overlay {
        display: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .service-card,
    .testimonial-card,
    .pricing-card,
    .gateway-card {
        border: 2px solid currentColor;
    }
}

