/* ============================================
   NEOTEK — Estilos Premium (Three.js + GSAP)
   ============================================ */

:root {
    /* Custom image cursors will be applied below */
}

body {
    background-color: #050507;
    color: #f3f4f6;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: url('../assets/cursor1.png'), auto;
}

a, button, .hover-target, [style*="cursor: pointer"] {
    cursor: url('../assets/cursor2.png') 16 16, pointer !important;
}

/* ─── NOISE OVERLAY ─── */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ─── CUSTOM CURSOR (HIDDEN) ─── */
.cursor-dot, .cursor-outline {
    display: none !important;
}

/* ─── GLASS PANEL ─── */
.glass-panel {
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* ─── HERO TITLE ─── */
.hero-title {
    font-size: clamp(2rem, 7vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

/* ─── GSAP REVEAL ─── */
.gsap-reveal { visibility: hidden; }

/* ─── CANVAS ─── */
#webgl-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* ─── SCROLL ANIMATION ─── */
@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── SERVICE CARDS HOVER ─── */
.service-card .glass-panel {
    transition: all 0.4s ease;
}

/* ─── FORM AUTOCOMPLETE ─── */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #050507 inset !important;
    -webkit-text-fill-color: white !important;
}

/* ─── SELECTION ─── */
::selection {
    background: rgba(0, 242, 254, 0.3);
    color: #050507;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #050507; }
::-webkit-scrollbar-thumb { background: #00f2fe; border-radius: 2px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }
    .glass-panel {
        backdrop-filter: blur(10px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }
}

/* ─── WHATSAPP BUTTON ─── */
.whatsapp-btn {
    animation: whatsappFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}
.tooltip-text {
    pointer-events: none;
}
@keyframes whatsappFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ─── AUTH SHARED STYLES ─── */
.auth-card { width: 100%; max-width: 440px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.auth-card:hover { box-shadow: 0 0 60px rgba(0, 242, 254, 0.08); }
.auth-glow { animation: authGlowPulse 4s ease-in-out infinite; }
@keyframes authGlowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}
.auth-input { background: transparent; border-bottom: 1.5px solid rgba(255,255,255,0.08); color: white; padding: 1rem 0 1rem 2.5rem; font-size: 1rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); width: 100%; }
.auth-input:focus { outline: none; border-bottom-color: #00f2fe; box-shadow: 0 4px 20px rgba(0, 242, 254, 0.06); }
.auth-input::placeholder { color: rgba(255,255,255,0.1); }
.auth-input:focus::placeholder { color: rgba(255,255,255,0.2); }
.auth-label { color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; }
.auth-icon { position: absolute; left: 0; bottom: 1.1rem; color: rgba(255,255,255,0.15); transition: color 0.3s; }
.auth-input:focus ~ .auth-icon { color: #00f2fe; }
.input-line { position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px; background: linear-gradient(90deg, #00f2fe, #4facfe); transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.auth-input:focus ~ .input-line { width: 100%; }
.btn-shine { overflow: hidden; }
.btn-shine::after { content: ''; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); transform: rotate(25deg); animation: btnShine 4s ease-in-out infinite; }
@keyframes btnShine { 0%, 100% { left: -60%; } 50% { left: 120%; } }
.glow-orb { position: fixed; border-radius: 50%; pointer-events: none; z-index: -1; filter: blur(80px); }
@keyframes floatOrb1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -40px) scale(1.1); } }
@keyframes floatOrb2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20px, 30px) scale(1.15); } }
.shake { animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); } 20%, 40%, 60%, 80% { transform: translateX(4px); } }
.card-enter { opacity: 0; transform: translateY(30px) scale(0.97); }
@keyframes rippleAnim { to { transform: scale(10); opacity: 0; } }

/* ─── TEAM CHAT ─── */
.team-tab { transition: all 0.2s !important; }
.team-tab:hover { color: rgba(255,255,255,0.7) !important; }
#team-drawer ::-webkit-scrollbar { width: 4px; }
#team-drawer ::-webkit-scrollbar-thumb { background: #4facfe; border-radius: 2px; }
#team-drawer ::-webkit-scrollbar-track { background: transparent; }

/* ─── MUSIC DRAWER ─── */
.music-tab { transition: all 0.2s !important; }
.music-tab:hover { color: rgba(255,255,255,0.7) !important; }
#music-drawer ::-webkit-scrollbar { width: 4px; }
#music-drawer ::-webkit-scrollbar-thumb { background: #00f2fe; border-radius: 2px; }
#music-drawer ::-webkit-scrollbar-track { background: transparent; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    #webgl-canvas { display: none; }
    .cursor-dot, .cursor-outline { display: none; }
    :root { cursor: auto; }
}