/* SportManager - Custom Styles */

/* Nexa Bold Font - importada via nexa-bold.css */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nexa Bold', 'Lato', sans-serif;
    background-color: #1d2229;
    color: #f0f0f0;
}

/* Typography */
.font-display {
    font-family: 'Nexa Bold', 'Inter', sans-serif;
}

.font-body {
    font-family: 'Nexa Bold', 'Lato', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #1d2229;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #8ee048;
}

/* Selection */
::selection {
    background: rgba(161, 246, 94, 0.3);
    color: #f0f0f0;
}

/* Glass Effect */
.glass {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Neon Text */
.neon-text {
    color: #a1f65e;
    text-shadow: 0 0 10px rgba(161, 246, 94, 0.5), 0 0 20px rgba(161, 246, 94, 0.3);
}

/* Neon Border */
.neon-border {
    border-color: #a1f65e;
    box-shadow: 0 0 15px rgba(161, 246, 94, 0.4), inset 0 0 15px rgba(161, 246, 94, 0.1);
}

/* Neon Shadow */
.shadow-neon {
    box-shadow: 0 0 20px rgba(161, 246, 94, 0.5);
}

.shadow-neon-strong {
    box-shadow: 0 0 40px rgba(161, 246, 94, 0.7);
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(161, 246, 94, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(161, 246, 94, 0.8);
    }
}

@keyframes slide-up {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes scale-in {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.animate-slide-up {
    animation: slide-up 0.6s ease-out;
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out;
}

.animate-scale-in {
    animation: scale-in 0.4s ease-out;
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* 3D Card Effects */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-tilt {
    transition: transform 0.3s ease;
}

/* Button Styles */
.btn-primary {
    background-color: #a1f65e;
    color: #1d2229;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(161, 246, 94, 0.7);
    transform: scale(1.05);
}

/* Section Padding */
.section-padding {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .section-padding {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    .section-padding {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1536px) {
    .section-padding {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

/* Responsive Typography */
.heading-xl {
    font-size: 2.25rem;
    line-height: 1.2;
}

.heading-lg {
    font-size: 1.875rem;
    line-height: 1.2;
}

.heading-md {
    font-size: 1.5rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .heading-xl {
        font-size: 3rem;
    }
    .heading-lg {
        font-size: 2.25rem;
    }
    .heading-md {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .heading-xl {
        font-size: 3.75rem;
    }
    .heading-lg {
        font-size: 3rem;
    }
    .heading-md {
        font-size: 2.25rem;
    }
}

@media (min-width: 1280px) {
    .heading-xl {
        font-size: 4.5rem;
    }
}

/* Body Text */
.body-lg {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(240, 240, 240, 0.8);
}

.body-md {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(240, 240, 240, 0.7);
}

@media (min-width: 640px) {
    .body-lg {
        font-size: 1.125rem;
    }
    .body-md {
        font-size: 1rem;
    }
}

/* FAQ Styles */
.faq-item.active {
    border-color: rgba(161, 246, 94, 0.5);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    
}

/* Testimonials Track */
#testimonials-track {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#testimonials-track::-webkit-scrollbar {
    display: none;
}

/* Mobile Menu */
#mobile-menu {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease,
                transform 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu no estado scrolled */
#header.scrolled #mobile-menu {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Header Transitions */
#header {
    transition: padding 0.3s ease;
}

#navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Scroll State */
#header.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#header.scrolled #navbar {
    max-width: 64rem;
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
}

/* Ajuste do border-radius quando menu mobile está aberto */
#header.scrolled #navbar:has(#mobile-menu:not(.hidden)) {
    border-radius: 2rem;
    max-width: 64rem;
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem 0rem 1.5rem;
}

/* Hero Image Tilt */
#hero-image {
    transition: transform 0.5s ease;
}

/* Feature Card Hover */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Pricing Card Hover */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    /* Removido efeito de transform no hover conforme solicitado */
    transform: none;
}

/* Testimonial Card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(161, 246, 94, 0.3);
}

/* Newsletter Input Focus */
#newsletter-email:focus {
    border-color: #a1f65e;
    box-shadow: 0 0 0 2px rgba(161, 246, 94, 0.2);
}

/* Input Date Styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

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