/* ==================================
   CYBER IPTV 2.0 - SUPREME DESIGN
   ================================== */

:root {
    --bg-deep: #050510;
    --neon-pink: #ff007a;
    --neon-purple: #bc00dd;
    --neon-blue: #00f3ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-outfit: 'Outfit', sans-serif;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: var(--font-outfit);
    scroll-behavior: smooth;
    cursor: none; /* Mouse customizado ativa */
}

body {
    background-color: var(--bg-deep);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(var(--neon-pink), var(--neon-purple));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--neon-blue); }

/* --- CUSTOM CURSOR --- */
#cyber-cursor {
    position: fixed; top: 0; left: 0;
    width: 10px; height: 10px;
    background: var(--neon-blue);
    border-radius: 50%;
    pointer-events: none; z-index: 9999;
    box-shadow: 0 0 15px var(--neon-blue);
    transition: transform 0.1s ease;
}
#cyber-cursor-outline {
    position: fixed; top: 0; left: 0;
    width: 40px; height: 40px;
    border: 2px solid var(--neon-pink);
    border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transition: all 0.15s ease-out;
    opacity: 0.5;
}

/* --- 3D CANVAS & SCANLINES --- */
#vanta-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; z-index: -2;
}

.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0.1) 50%, rgba(0, 0, 0, 0.1) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 12px 100%; z-index: -1;
    pointer-events: none; opacity: 0.3;
}

/* --- GLITCH EFFECTS --- */
.glitch-text {
    position: relative; color: #fff;
    font-weight: 900; letter-spacing: 2px;
}
.glitch-text::before, .glitch-text::after {
    content: attr(data-text); position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.glitch-text::before {
    left: 2px; text-shadow: -2px 0 var(--neon-pink);
    clip: rect(44px, 450px, 56px, 0); animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch-text::after {
    left: -2px; text-shadow: -2px 0 var(--neon-blue);
    clip: rect(44px, 450px, 56px, 0); animation: glitch-anim2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 50px, 0); }
    20% { clip: rect(60px, 9999px, 80px, 0); }
    100% { clip: rect(0px, 9999px, 100px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(40px, 9999px, 20px, 0); }
    30% { clip: rect(10px, 9999px, 90px, 0); }
    100% { clip: rect(80px, 9999px, 10px, 0); }
}

/* --- NAVBAR 2.0 --- */
.glass-header-v2 {
    position: fixed; top: 0; width: 100%;
    padding: 1.5rem 5%; display: flex;
    justify-content: space-between; align-items: center;
    background: rgba(5, 5, 16, 0.6);
    backdrop-filter: blur(15px);
    z-index: 1000; border-bottom: 1px solid var(--glass-border);
}
.logo-v2 { font-size: 1.8rem; display: flex; gap: 0.5rem; align-items: center; }
.nav-v2 { display: flex; gap: 2rem; align-items: center; }

.magnetic-btn {
    text-decoration: none; color: #fff;
    font-weight: 700; font-size: 0.9rem;
    letter-spacing: 1px; transition: color 0.3s;
    padding: 10px 20px; position: relative;
}
.btn-special {
    background: var(--neon-blue); color: #000;
    border-radius: 5px; box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

/* --- HERO V2 --- */
.hero-v2 {
    min-height: 100vh;
    padding: 8rem 5% 4rem 5%;
    display: flex; align-items: center;
    justify-content: space-between; gap: 4rem;
}
.hero-v2-content { flex: 1.2; }

.status-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.05); padding: 5px 15px;
    border-radius: 20px; font-weight: 700; font-size: 0.8rem;
    border: 1px solid var(--glass-border); margin-bottom: 2rem;
}
.pulse-dot {
    width: 8px; height: 8px; background: #0f0; border-radius: 50%;
    animation: dot-pulse 1.5s infinite;
}
@keyframes dot-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-title {
    font-size: 4.5rem; font-weight: 900; line-height: 1;
    margin-bottom: 1.5rem; text-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.2rem; color: #aaa; margin-bottom: 3rem; max-width: 600px;
}
.hero-cta-group { display: flex; align-items: center; gap: 2rem; }

.btn-primary-v2 {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: #fff; padding: 1.2rem 2.5rem; border-radius: 10px;
    font-weight: 900; text-decoration: none; display: flex;
    align-items: center; gap: 10px; border: none;
    box-shadow: 0 0 30px rgba(255, 0, 122, 0.3);
}

.user-stats { display: flex; flex-direction: column; gap: 5px; }
.avatars { display: flex; align-items: center; }
.avatars img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; }
.avatars img:first-child { margin-left: 0; }
.avatars span { margin-left: 10px; font-weight: 800; color: var(--neon-blue); }

/* --- CINEMA 3D --- */
.floating-cinema {
    flex: 1; position: relative;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
}
.cinema-video { width: 100%; border: 2px solid var(--glass-border); border-radius: 20px; }
.cinema-glow {
    position: absolute; width: 100%; height: 100%;
    box-shadow: inset 0 0 50px rgba(0, 243, 255, 0.2); pointer-events: none;
}
.cinema-info {
    position: absolute; bottom: 20px; left: 20px;
    background: rgba(0,0,0,0.7); padding: 8px 15px; border-radius: 10px;
    font-weight: 800; font-size: 0.8rem; border: 1px solid var(--neon-blue);
}

/* --- PRICING V2 --- */
.pricing-v2 { padding: 8rem 5%; text-align: center; }
.section-title-v2 h2 { font-size: 3rem; font-weight: 900; margin-bottom: 4rem; }
.neon-subtitle { color: var(--neon-pink); font-size: 0.9rem; letter-spacing: 5px; font-weight: 800; }

.pricing-grid-v2 {
    display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
}
.plan-card-v2 {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 3rem 2rem; border-radius: 20px; width: 350px;
    backdrop-filter: blur(10px); transition: 0.3s; position: relative;
}
.plan-card-v2:hover { border-color: var(--neon-blue); transform: translateY(-10px); }
.plan-card-v2.featured {
    border-color: var(--neon-pink); background: rgba(255, 0, 122, 0.05);
    transform: scale(1.05);
}
.popular-badge-v2 {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--neon-pink); color: #fff; padding: 5px 20px;
    border-radius: 30px; font-weight: 900; font-size: 0.7rem;
}

.plan-header { margin-bottom: 2rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 1.5rem; }
.plan-type { font-size: 1.2rem; font-weight: 900; display: block; margin-bottom: 10px; }
.plan-price { font-size: 3rem; font-weight: 900; }
.plan-price span { font-size: 1rem; color: #888; }

.plan-list-v2 { list-style: none; margin-bottom: 3rem; text-align: left; }
.plan-list-v2 li { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; font-weight: 600; color: #ccc; }

.btn-plan-v2 {
    display: block; border: 1px solid var(--glass-border); color: #fff;
    padding: 1rem; border-radius: 10px; text-decoration: none; font-weight: 700;
}
.btn-plan-v2:hover { background: #fff; color: #000; }
.full-w { width: 100%; justify-content: center; }

/* --- CYBER CINEMA THEATER V3.0 --- */
.cinema-catalog-v3 { padding: 8rem 5%; text-align: center; overflow: hidden; }

.cyber-theater-container {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    perspective: 2000px; /* Base para o efeito 3D */
}

.ambilight-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 110%; height: 110%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: -1;
    animation: ambilight-pulse 5s infinite;
}

@keyframes ambilight-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

.cinema-frame {
    position: relative;
    width: 100%;
    border-radius: 40px;
    background: #000;
    border: 2px solid var(--glass-border);
    overflow: hidden;
    transform: rotateX(10deg); /* Efeito de tela inclinada/curva */
    box-shadow: 0 50px 100px rgba(0,0,0,0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cinema-frame:hover {
    transform: rotateX(0deg) scale(1.02);
    border-color: var(--neon-blue);
}

.theater-video {
    width: 100%;
    display: block;
    filter: contrast(1.1) brightness(1.1);
}

.cinema-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 3rem;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.8));
    pointer-events: none;
}

.cinema-controls {
    display: flex; gap: 2rem; justify-content: center;
    background: rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--neon-blue);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
}
.cinema-controls span { display: flex; align-items: center; gap: 8px; }

/* --- DEVICES V2 --- */
.devices-v2 { padding: 8rem 5%; text-align: center; }
.devices-box-v2 {
    display: flex; gap: 4rem; justify-content: center; margin-top: 4rem; flex-wrap: wrap;
}
.device-card-v2 {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border); padding: 3rem;
    border-radius: 20px; width: 300px;
    transition: 0.3s;
}
.device-card-v2:hover { background: var(--glass-bg); border-color: var(--neon-purple); }
.device-icon { font-size: 4rem; color: var(--neon-purple); margin-bottom: 1.5rem; }

/* --- FOOTER V2 --- */
.footer-v2 { padding: 5rem 5%; border-top: 1px solid var(--glass-border); text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 900; margin-bottom: 1rem; }
.footer-logo span { color: var(--neon-pink); }
.footer-v2 p { color: #555; margin-bottom: 2rem; }
.footer-copyright { font-size: 0.8rem; color: #333; letter-spacing: 2px; }

/* --- UTILS --- */
.neon-purple-text { color: var(--neon-purple); text-shadow: 0 0 10px var(--neon-purple); }
.neon-pink-text { color: var(--neon-pink); text-shadow: 0 0 10px var(--neon-pink); }
.neon-blue-text { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); }
.glow-text { text-shadow: 0 0 20px var(--neon-blue); }

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-floating {
    position: fixed; bottom: 30px; right: 30px;
    width: 65px; height: 65px;
    background: #25d366; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; z-index: 2000;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsapp-pulse 2s infinite;
}
.whatsapp-floating:hover { transform: scale(1.1) rotate(10deg); }

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.tooltip {
    position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
    background: #fff; color: #000; padding: 8px 15px;
    border-radius: 10px; font-weight: 800; font-size: 0.8rem;
    white-space: nowrap; margin-right: 20px;
    opacity: 0; pointer-events: none; transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.whatsapp-floating:hover .tooltip { opacity: 1; margin-right: 15px; }

/* --- RESPONSIVE --- */
@media (max-width: 1000px) {
    * { cursor: auto; }
    #cyber-cursor, #cyber-cursor-outline { display: none; }
    .hero-v2 { flex-direction: column; text-align: center; padding-top: 10rem; }
    .hero-title { font-size: 3rem; }
    .hero-cta-group { flex-direction: column; }
    .hero-subtitle { margin: 0 auto 3rem auto; }
    .devices-box-v2 { gap: 2rem; }
    .whatsapp-floating { bottom: 20px; right: 20px; width: 55px; height: 55px; font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.5rem; }
    .cinema-controls { display: none; }
    .section-title-v2 h2 { font-size: 2rem; }
}
