:root {
    --bg-color: #030712; 
    --bg-surface: #0f172a; 
    --accent-blue: #0071ff;
    --accent-glow: rgba(0, 113, 255, 0.4);
    --accent-green: #10b981; 
    --glass: rgba(15, 23, 42, 0.6);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background 0.8s ease;
}

header {
    position: fixed;
    top: 0; width: 100%; padding: 25px 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 2000; background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0, 113, 255, 0.1);
}

.logo { font-weight: 900; font-size: 1.4rem; letter-spacing: -1px; }
.logo span { color: var(--accent-blue); font-weight: 700; }

nav a {
    color: var(--text-main); text-decoration: none; margin-left: 35px;
    font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; transition: 0.3s;
}
nav a:hover, nav a:focus { color: var(--accent-blue); outline: none; }

section { padding: 100px 10%; display: flex; flex-direction: column; justify-content: center; position: relative; min-height: 100vh; }

.hero { min-height: 100vh; text-align: center; background: radial-gradient(circle at top, rgba(0,113,255,0.15) 0%, var(--bg-color) 70%); }
.hero h1 { font-size: clamp(3rem, 10vw, 7rem); font-weight: 900; line-height: 0.9; margin-bottom: 30px; letter-spacing: -3px; text-shadow: 0 0 40px rgba(0, 113, 255, 0.2); }
.hero p { font-size: 1.4rem; color: var(--text-dim); max-width: 700px; margin: 0 auto 40px; font-weight: 300; }

.stats-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 60px 0; background: linear-gradient(90deg, transparent, rgba(0,113,255,0.03), transparent); }
.stat-item { text-align: center; flex: 1; min-width: 200px; }
.stat-number { font-size: 4rem; font-weight: 900; color: var(--accent-blue); line-height: 1; margin-bottom: 10px;}
.stat-label { color: var(--text-dim); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px;}

/* CARDS PADRÃO GRELHA */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.card { background: var(--bg-surface); padding: 50px 40px; border: 1px solid rgba(0, 113, 255, 0.1); border-top: 4px solid rgba(255, 255, 255, 0.05); border-radius: 8px; transition: all 0.4s ease; display: flex; flex-direction: column; }
.card:hover, .card:focus-within { background: #1e293b; border-color: var(--accent-blue); border-top-color: var(--accent-blue); box-shadow: 0 10px 40px var(--accent-glow); transform: translateY(-5px); }
.card h3 { font-size: 1.6rem; margin-bottom: 15px; color: #fff; }
.card p { color: var(--text-dim); font-weight: 300; line-height: 1.7; flex-grow: 1; margin-bottom: 20px;}

.badge { display: inline-block; padding: 6px 16px; border: 1px solid var(--accent-blue); color: var(--accent-blue); background: rgba(0, 113, 255, 0.05); font-size: 0.75rem; font-weight: 700; border-radius: 50px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }

.btn-saiba-mais { display: inline-block; padding: 12px 20px; background: rgba(0, 113, 255, 0.05); color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.9rem; border-radius: 6px; border: 1px solid rgba(0, 113, 255, 0.2); transition: 0.3s; text-align: center; margin-top: auto; }
.btn-saiba-mais:hover, .btn-saiba-mais:focus { background: var(--accent-blue); color: #fff; box-shadow: 0 0 20px var(--accent-glow); outline: none;}

/* HERO COM VÍDEO DE FUNDO (PÁGINA PROTECT/WIFI) */
.hero-video-bg { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 0 5%; }
.bg-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); object-fit: cover; z-index: 1; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(3, 7, 18, 0.7); z-index: 2; }

/* GRELHAS DE VÍDEO (PÁGINA PROTECT) */
.video-grid-tight { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.video-card-small { background: var(--bg-surface); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; }
.video-card-small:hover { border-color: var(--accent-blue); transform: translateY(-3px); }
.video-card-small video { width: 100%; height: 200px; object-fit: cover; background: #000; }
.v-card-text { padding: 25px; }
.v-card-text h3 { font-size: 1.3rem; margin-bottom: 10px; color: #fff; }
.v-card-text p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.6; }
.video-card-span { background: var(--bg-surface); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; overflow: hidden; grid-column: 1 / -1; display: flex; flex-direction: column; }
.video-card-span video { width: 100%; height: 400px; object-fit: cover; background: #000; }
.v-card-text-horizontal { padding: 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.v-card-text-horizontal p { color: var(--text-dim); margin-top: 15px; font-size: 1.1rem; max-width: 900px; line-height: 1.6; }

/* LAYOUT BENTO WI-FI */
.wifi-bento-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; margin-top: 40px; }
.wifi-card { background: #0b1120; border: 1px solid rgba(0, 113, 255, 0.15); border-top: 4px solid var(--accent-blue); border-radius: 12px; overflow: hidden; transition: all 0.4s ease; display: flex; flex-direction: column; }
.wifi-card:hover { border-color: var(--accent-blue); box-shadow: 0 10px 40px var(--accent-glow); transform: translateY(-5px); }
.wifi-card video { width: 100%; height: 320px; object-fit: cover; background: #000; }
.wifi-card-wide { grid-column: 1 / -1; }
@media (min-width: 950px) { .wifi-card-wide { grid-column: span 2; } .wifi-card-wide video { height: 500px; } }
.wifi-card-content { padding: 40px; }
.wifi-card-content h3 { font-size: 1.8rem; margin-bottom: 15px; color: #fff; }
.wifi-card-content p { font-size: 1.1rem; color: var(--text-dim); line-height: 1.7; }

/* COVERFLOW 3D GIGANTE (INDEX) */
.coverflow-container { position: relative; height: 650px; width: 100%; display: flex; justify-content: center; align-items: center; margin-top: 40px; perspective: 1200px; }
.coverflow-card { position: absolute; width: 500px; background: #0b1120; border: 1px solid rgba(0, 113, 255, 0.1); border-radius: 12px; overflow: hidden; transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; display: flex; flex-direction: column; }
.coverflow-card:focus { outline: 3px solid var(--accent-blue); }
.coverflow-card video, .coverflow-card img { width: 100%; height: 300px; object-fit: cover; background: #ffffff; }
.cf-content { padding: 35px; display: flex; flex-direction: column; flex-grow: 1; background: var(--bg-surface); }
.cf-content h3 { font-size: 1.6rem; color: #fff; margin-bottom: 12px; }
.cf-content p { color: var(--text-dim); line-height: 1.6; font-size: 1rem; margin-bottom: 25px; }
.cf-content .btn-saiba-mais { margin-top: auto; }

.active-card { transform: translateX(0) scale(1); z-index: 3; opacity: 1; filter: blur(0); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 50px var(--accent-glow); border-color: var(--accent-blue); }
.prev-card { transform: translateX(-70%) scale(0.8); z-index: 1; opacity: 0.4; filter: blur(4px); }
.next-card { transform: translateX(70%) scale(0.8); z-index: 1; opacity: 0.4; filter: blur(4px); }

/* SETINHAS FLUTUANTES REDONDAS */
.icon-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 113, 255, 0.1); color: var(--accent-blue); border: 1px solid var(--accent-blue); width: 60px; height: 60px; border-radius: 50%; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: 0.3s; backdrop-filter: blur(5px); }
.icon-btn:hover, .icon-btn:focus { background: var(--accent-blue); color: #fff; box-shadow: 0 0 25px var(--accent-glow); transform: translateY(-50%) scale(1.1); outline: none; }
.arrow-left { left: 5%; }
.arrow-right { right: 5%; }
@media (max-width: 900px) { .coverflow-container { height: auto; flex-direction: column; gap: 30px; perspective: none; } .coverflow-card { position: relative; width: 100%; transform: none !important; opacity: 1 !important; filter: none !important; z-index: 1 !important; } .icon-btn { display: none; } }

/* HARDWARE GRID (ENERGIA) */
.hardware-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 20px; }
.hw-card { background: #0b1120; border: 1px solid #1e293b; border-radius: 12px; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.hw-card:hover { border-color: var(--accent-green); box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15); transform: translateY(-5px); }
.hw-img-container { height: 250px; padding: 20px; background: #ffffff; display: flex; align-items: center; justify-content: center; }
.hw-img-container img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hw-info { padding: 25px; }
.hw-info h3 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.hw-info p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }

/* SIMULADOR DE ENERGIA */
.interactive-panel { background: var(--bg-surface); border: 1px solid rgba(16, 185, 129, 0.2); border-radius: 12px; padding: 40px; margin-top: 40px; box-shadow: inset 0 0 50px rgba(0,0,0,0.5); }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }
.btn-state { background: #0f172a; color: var(--text-dim); border: 1px solid #334155; padding: 12px 24px; border-radius: 6px; cursor: pointer; font-family: 'Inter', sans-serif; font-weight: 600; transition: all 0.3s; }
.btn-state.active { background: var(--accent-green); color: #000; border-color: var(--accent-green); }
.circuit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.circuit-box { background: #0b1120; padding: 30px; border-radius: 8px; border: 1px solid #1e293b; position: relative; transition: all 0.5s; }
.circuit-box h4 { margin: 10px 0 5px; font-size: 1.2rem; }
.specs { color: var(--accent-green); font-size: 0.85rem; margin-bottom: 15px; font-weight: 700;}
.circuit-box ul { list-style: none; color: var(--text-dim); font-size: 0.9rem; line-height: 2; }
.power-source { margin-top: 25px; padding: 12px; background: #030712; text-align: center; font-size: 0.85rem; border-radius: 6px; font-weight: 700; border: 1px solid #1e293b; }
.status-indicator { width: 12px; height: 12px; border-radius: 50%; position: absolute; top: 30px; right: 30px; box-shadow: 0 0 15px currentColor; }
.online { border-color: var(--accent-green); }
.online .status-indicator { background: var(--accent-green); color: var(--accent-green); }
.online .power-source { color: var(--accent-green); border-color: rgba(16, 185, 129, 0.2); }
.offline { border-color: #ef4444; opacity: 0.4; }
.offline .status-indicator { background: #ef4444; color: #ef4444; box-shadow: none;}
.offline .power-source { color: #ef4444; border-color: rgba(239, 68, 68, 0.2); }
.offline ul { text-decoration: line-through; color: #475569; }

/* BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; text-decoration: none; }
.whatsapp-float:hover, .whatsapp-float:focus { transform: scale(1.1) translateY(-5px); background-color: #1ebe57; box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6); outline: none;}
.whatsapp-float svg { width: 35px; height: 35px; fill: currentColor; }

/* RODAPÉ CORPORATIVO */
.site-footer { background-color: #02040a; border-top: 1px solid #1e293b; padding: 80px 10% 30px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-links a:hover, .footer-links a:focus { color: var(--accent-blue); outline: none; }
.footer-contact { list-style: none; color: var(--text-dim); font-size: 0.9rem; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; color: #475569; font-size: 0.8rem; }

#cursor-glow { position: fixed; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,113,255,0.08) 0%, transparent 60%); border-radius: 50%; pointer-events: none; z-index: 1; transform: translate(-50%, -50%); }