/* --- VARIÁVEIS GERAIS --- */
:root {
    --bg-dark: #050505;
    --bg-panel: #0f0f12;
    --neon-purple: #bd00ff;
    --neon-cyan: #00f3ff;
    --neon-red: #ff003c;
    --text-white: #ffffff;
    --text-gray: #888890;
    
    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- EFEITOS DE FUNDO (INTERATIVO + SCANLINES) --- */
.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
    background-size: 100% 4px;
    z-index: 9999; pointer-events: none; opacity: 0.3;
}

/* Camada da Textura (Circuito) */
.interactive-bg-texture {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/circuit-board.png');
    opacity: 0.08; /* Bem sutil */
    z-index: -2; pointer-events: none;
}

/* Camada da Luz (Lanterna do Mouse) */
.interactive-bg-light {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    /* O JavaScript vai atualizar --mouse-x e --mouse-y */
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 243, 255, 0.15), transparent 40%);
    z-index: -1; pointer-events: none;
    mix-blend-mode: screen; /* Faz a luz interagir com o fundo */
}

/* --- LAYOUT GERAL --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--font-title); text-transform: uppercase; letter-spacing: 1px; }

/* Cores Neon */
.neon-purple { color: var(--neon-purple); text-shadow: 0 0 15px var(--neon-purple); }
.neon-cyan { color: var(--neon-cyan); text-shadow: 0 0 15px var(--neon-cyan); }

/* --- NAV --- */
nav { padding: 20px 0; position: fixed; width: 100%; z-index: 1000; backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-title); font-weight: 900; font-size: 1.5rem; color: white; text-decoration: none; }

.btn-nav {
    border: 1px solid var(--neon-purple); color: var(--neon-purple);
    padding: 8px 20px; font-family: var(--font-title); font-size: 0.8rem;
    text-decoration: none; transition: 0.3s;
}
.btn-nav:hover { background: var(--neon-purple); color: white; box-shadow: 0 0 20px var(--neon-purple); }

/* --- HERO SECTION --- */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }

.hero-bg {
    position: absolute; inset: 0; 
    background-image: url('https://images.unsplash.com/photo-1574717432722-19e62551d5c5?q=80&w=1600&auto=format&fit=crop');
    background-size: cover; background-position: center;
    filter: grayscale(100%) contrast(1.2) brightness(0.3); /* Escurecido para legibilidade */
    z-index: -3;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

/* Status Bar */
.status-bar {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--neon-red); font-family: var(--font-title); font-size: 0.9rem; font-weight: 700;
    margin-bottom: 20px; letter-spacing: 2px;
}
.rec-dot { width: 10px; height: 10px; background: var(--neon-red); border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Título Principal */
.hero h1 { font-size: 4rem; line-height: 1; margin-bottom: 20px; }

/* Texto "EDITE O FUTURO" Melhorado */
.highlight-text {
    display: inline-block;
    color: #ffffff;
    position: relative; z-index: 1;
    font-weight: 900; letter-spacing: 2px;
    /* Sombra sólida + brilho para leitura perfeita */
    text-shadow: 
        2px 2px 0px #000, 
        0 0 15px rgba(0, 243, 255, 0.6),
        0 0 30px rgba(189, 0, 255, 0.4);
}

.hero-sub { font-size: 1.2rem; color: var(--text-gray); max-width: 600px; margin-bottom: 40px; }
.hero-sub strong { color: white; font-weight: 600; }

/* Botão Principal */
.cta-wrapper { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.btn-primary {
    position: relative; padding: 20px 40px; background: white; color: black;
    font-family: var(--font-title); font-weight: 900; font-size: 1.1rem;
    text-decoration: none; text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: 0.2s; border: none; cursor: pointer; display: inline-block;
}
.btn-primary:hover { transform: scale(1.02); background: var(--neon-cyan); box-shadow: 0 0 30px var(--neon-cyan); }
.scarcity-text { color: var(--neon-red); font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }

/* --- CARDS SECTION --- */
.modules-section { padding: 100px 0; background: var(--bg-dark); position: relative; z-index: 1; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.tech-card {
    background: var(--bg-panel); padding: 40px; position: relative;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; overflow: hidden;
}
.tech-card i { font-size: 2.5rem; color: var(--neon-purple); margin-bottom: 20px; display: block; }
.tech-card h3 { font-size: 1.3rem; margin-bottom: 15px; }
.tech-card p { color: var(--text-gray); font-size: 0.95rem; }

/* Borda Brilhante no Hover */
.card-border {
    position: absolute; bottom: 0; left: 0; width: 0%; height: 3px;
    background: var(--neon-cyan); transition: 0.4s;
}
.tech-card:hover .card-border { width: 100%; }
.tech-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1); }

/* --- SHOWREEL --- */
.showreel { padding: 50px 0 100px; position: relative; z-index: 1; }
.video-frame {
    position: relative;
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.3), 0 0 10px rgba(0, 243, 255, 0.3);
    margin-bottom: 40px; overflow: hidden; border-radius: 8px;
    background: black;
}
.video-frame video { width: 100%; display: block; border-radius: 8px; }
.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 5, 0.2); pointer-events: none;
}

.stats-bar { display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; gap: 20px; }
.stat strong { display: block; font-size: 2.5rem; font-family: var(--font-title); color: white; }
.stat span { color: var(--text-gray); font-size: 0.9rem; text-transform: uppercase; }

/* --- OFFER SECTION --- */
.offer-section { padding: 100px 0; position: relative; background: #08080a; overflow: hidden; z-index: 1; }
.grid-bg {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(189, 0, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(189, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px; opacity: 0.3;
}
.offer-box {
    background: rgba(15, 15, 18, 0.95); padding: 50px;
    border: 2px solid var(--neon-red); max-width: 700px; margin: 0 auto;
    position: relative; text-align: center;
    box-shadow: 0 0 50px rgba(255, 0, 60, 0.15);
}
.urgent-banner {
    background: var(--neon-red); color: white; font-weight: 800;
    padding: 10px; text-transform: uppercase; font-family: var(--font-title);
    position: absolute; top: 0; left: 0; width: 100%; letter-spacing: 1px;
}
.offer-box h2 { margin-top: 40px; margin-bottom: 30px; font-size: 2rem; }
.benefits-list { text-align: left; display: inline-block; margin-bottom: 30px; }
.benefits-list li { margin-bottom: 10px; list-style: none; display: flex; gap: 10px; font-size: 1.1rem; }
.benefits-list i { color: var(--neon-cyan); }
.price-anchor { margin-bottom: 30px; display: flex; flex-direction: column; gap: 5px; }
.old-price { text-decoration: line-through; color: var(--text-gray); }
.new-price { font-size: 2rem; font-weight: 700; font-family: var(--font-title); }
.full-width { width: 100%; text-align: center; }
.guarantee { margin-top: 20px; color: var(--text-gray); font-size: 0.9rem; }

/* --- REVEAL ANIMATION --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

footer { text-align: center; padding: 40px; background: black; color: #555; font-size: 0.8rem; position: relative; z-index: 1; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .offer-box { padding: 30px 20px; }
}