/* ==========================================
   O ÚLTIMO BRASILEIRO - Componentes Premium
   Glassmorphism, efeitos avançados, neon
   ========================================== */

/* === CURSOR PERSONALIZADO - PREMIUM === */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
    box-shadow: 0 0 15px var(--primary-glow), 0 0 30px rgba(233, 69, 96, 0.2);
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.1s;
    mix-blend-mode: difference;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.2), 0 0 40px rgba(233, 69, 96, 0.08);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--secondary);
    background: rgba(0, 212, 255, 0.08);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 0 20px var(--secondary-glow), 0 0 60px rgba(0, 212, 255, 0.1);
}

/* === CTA BUTTON - NEON CYBERPUNK PREMIUM === */
.cta-button {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-primary);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    letter-spacing: 3px;
    overflow: hidden;
    box-shadow: 0 0 20px var(--primary-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--purple), var(--accent), var(--primary));
    background-size: 400% 400%;
    border-radius: 52px;
    z-index: -1;
    animation: neonGradient 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-button:hover::after {
    opacity: 1;
}

@keyframes neonGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 50px var(--primary-glow), 0 8px 25px rgba(0, 0, 0, 0.4);
}

.cta-button:active {
    transform: translateY(0) scale(0.97);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    text-align: center;
    animation: fadeInUp 1s ease 2s both;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 13px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-glow);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* === KEYFRAMES GLOBAIS - FADE IN === */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* === SCROLL REVEAL ANIMATIONS - SOFISTICADAS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

.reveal.reveal-left { 
    transform: translateX(-80px); 
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal.reveal-right { 
    transform: translateX(80px); 
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal.reveal-scale { 
    transform: scale(0.85); 
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal.reveal-up { 
    transform: translateY(60px); 
    transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Stagger delay para reveals em grupo */
.reveal.stagger-1 { transition-delay: 0.1s; }
.reveal.stagger-2 { transition-delay: 0.2s; }
.reveal.stagger-3 { transition-delay: 0.3s; }
.reveal.stagger-4 { transition-delay: 0.4s; }

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.reveal-left.active,
.reveal.reveal-right.active {
    transform: translateX(0);
}

.reveal.reveal-scale.active {
    transform: scale(1);
}

.reveal.reveal-up.active {
    transform: translateY(0);
}

/* Glow reveal effect */
.reveal-glow {
    position: relative;
}

.reveal-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(233, 69, 96, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
    border-radius: inherit;
}

.reveal-glow.active::after {
    opacity: 1;
}

/* === STATS PREMIUM - NEON BORDER === */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3.5rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.8rem 2.2rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 170px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--purple));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--purple), var(--primary));
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 3s linear infinite;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover::after {
    opacity: 0.5;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(233, 69, 96, 0.25);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 16px 48px rgba(0, 0, 0, 0.6),
        0 0 25px var(--primary-glow);
    background: var(--bg-card-hover);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--purple));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: statGlow 3s ease-in-out infinite alternate;
    line-height: 1.2;
    letter-spacing: var(--tracking-tight);
}

@keyframes statGlow {
    0% { filter: drop-shadow(0 0 5px rgba(233, 69, 96, 0.2)); }
    100% { filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.3)); }
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}

/* === CONTACT FORM - GLASS REFINED === */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.3),
        var(--shadow-inset-glass);
    letter-spacing: var(--tracking-wide);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 
        0 0 25px var(--primary-glow),
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.3);
    background: var(--bg-card-hover);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3), 
        0 0 10px var(--primary-glow),
        var(--shadow-inset-glass);
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 30px var(--primary-glow);
}

.contact-form button:active {
    transform: translateY(0);
}

/* === SUPPRESS CURSOR ON TOUCH DEVICES === */
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none !important; }
}

/* === AUDIO TOGGLE === */

