/* =========================================
   1. VARIÁVEIS E RESET (DESIGN SYSTEM)
   ========================================= */
:root {
    --bg-main: #050505;           
    --neon-cyan: #2979ff;         
    --neon-purple: #c0c0c0;       
    --text-light: #ffffff;
    --text-dim: #888888;
    
    --grad-tech: linear-grad(135deg, var(--neon-cyan), #004ecb); 
    --grad-glow: radial-gradient(circle at center, rgba(41, 121, 255, 0.2) 0%, rgba(0,0,0,0) 70%);
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(41, 121, 255, 0.3); 
    --glass-blur: blur(10px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* --- CORREÇÃO 1: TRAVA GERAL DE ROLAGEM HORIZONTAL --- */
html, body {
    width: 100%;
    overflow-x: hidden; /* Isso impede que a tela 'dance' para os lados */
    position: relative;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
}

/* Fundo Animado */
body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px; z-index: -2; animation: gridMove 60s linear infinite; opacity: 0.6;
}

/* --- CORREÇÃO 2: LIMITAR O BRILHO LATERAL --- */
body::after {
    content: ''; position: fixed; top: -10%; right: 0; /* Mudei de -10% para 0 para garantir */
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.2) 0%, transparent 70%);
    filter: blur(80px); z-index: -1; animation: pulseGlow 10s ease-in-out infinite alternate;
    pointer-events: none; /* Garante que não interfira no touch */
}

@keyframes gridMove { 0% { background-position: 0 0; } 100% { background-position: 0 600px; } }
@keyframes pulseGlow { 0% { opacity: 0.5; transform: scale(1); } 100% { opacity: 1; transform: scale(1.1); } }

/* Tipografia */
h1, h2, h3 { font-family: 'Outfit', sans-serif; letter-spacing: -0.03em; text-transform: uppercase; }
p { color: var(--text-dim); line-height: 1.6; font-size: 1rem; }
.container { padding: 0 24px; max-width: 100%; }
.highlight-text { background: var(--grad-tech); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }

/* Header */
header {
    padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
    position: fixed; width: 100%; top: 0; z-index: 100;
    background: rgba(3, 0, 20, 0.85); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.brand { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.2rem; letter-spacing: -1px; }
.brand span { color: var(--neon-cyan); }

/* Hero */
.hero { padding: 110px 24px 60px; text-align: center; position: relative; }

/* Partículas */
.particles-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: -1; pointer-events: none; }
.particle { position: absolute; bottom: -10px; width: 4px; height: 4px; background: var(--neon-cyan); border-radius: 50%; opacity: 0; animation: riseUp 8s infinite linear; }
.particle:nth-child(2) { background: var(--neon-purple); }
.particle:nth-child(4) { background: var(--neon-purple); }
@keyframes riseUp { 0% { bottom: -10px; opacity: 0; } 100% { bottom: 100%; opacity: 0; } }

.pill-badge {
    display: inline-block; padding: 6px 16px; background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 15px;
    color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}
.hero-title { font-size: clamp(2.5rem, 11vw, 4.5rem); line-height: 0.95; font-weight: 900; margin-bottom: 10px; color: white; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-dim); font-weight: 300; margin-bottom: 20px; }

/* Produto */
.product-showcase { 
    position: relative; width: 100%; max-width: 340px; margin: 20px auto 50px; z-index: 2; 
    display: flex; justify-content: center; align-items: center; overflow: visible; 
}
.product-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120%; height: 120%; background: var(--grad-glow); filter: blur(50px); z-index: -1; animation: pulseGlow 5s infinite alternate; }
.product-image-real { width: 100%; height: auto; display: block; filter: drop-shadow(0 25px 50px rgba(0,0,0,0.8)); transform: rotate(-5deg) scale(0.95); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.hero:hover .product-image-real { transform: rotate(0deg) scale(1.02); }

/* Badges */
.float-badge { position: absolute; background: rgba(10, 20, 40, 0.8); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); padding: 10px 16px; border-radius: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; color: white; box-shadow: 0 10px 25px rgba(0,0,0,0.4); z-index: 10; white-space: nowrap; }

/* Posições Padrão (Desktop) - A correção mobile está no fim do arquivo */
.badge-left { top: 15%; left: -10px; border-left: 3px solid #00ff88; animation: floatBob 4s ease-in-out infinite; }
.badge-right { bottom: 20%; right: -10px; border-right: 3px solid var(--neon-cyan); animation: floatBob 5s ease-in-out infinite reverse; }

@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Botões */
.btn {
    position: relative;
    display: flex; justify-content: center; align-items: center;
    padding: 18px 32px; font-family: 'Outfit', sans-serif; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; text-decoration: none;
    border-radius: 4px; overflow: hidden; transition: 0.2s; width: 100%;
    border: none; cursor: pointer; pointer-events: auto !important; z-index: 500;
}
.btn-neon { background: transparent; color: var(--neon-cyan); border: 1px solid var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 243, 255, 0.2), inset 0 0 10px rgba(0, 243, 255, 0.1); }
.btn-neon::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.4), transparent); transition: 0.5s; z-index: -1; }
.btn-neon:hover { box-shadow: 0 0 25px rgba(0, 243, 255, 0.6); color: black; background: var(--neon-cyan); border-color: transparent; }
.btn-neon:hover::before { left: 100%; }

.pulse-btn { animation: softPulse 2.5s infinite; }
@keyframes softPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(0, 243, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); } }

/* Cards */
.tech-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: var(--glass-border); padding: 30px; border-radius: 12px; margin-bottom: 24px; position: relative; overflow: hidden; transition: 0.3s; }
.tech-card:hover { border-color: var(--neon-cyan); transform: translateY(-5px); }
.card-icon-neon { font-size: 2.5rem; margin-bottom: 20px; background: var(--grad-tech); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: 2rem; font-weight: 800; margin-bottom: 25px; }

/* Timeline */
.timeline-step { display: flex; align-items: flex-start; margin-bottom: 40px; position: relative; }
.timeline-step:not(:last-child)::before { content: ''; position: absolute; left: 24px; top: 50px; height: calc(100% - 10px); width: 2px; background: linear-gradient(to bottom, var(--neon-cyan), transparent); z-index: -1; }
.step-marker { flex-shrink: 0; width: 50px; height: 50px; background: rgba(0, 243, 255, 0.1); border: 1px solid var(--neon-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--neon-cyan); margin-right: 20px; box-shadow: 0 0 15px rgba(0, 243, 255, 0.2); }

/* Autoridade (Profile Card) */
.profile-card-wrapper { position: relative; max-width: 500px; margin: 0 auto; }
.profile-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; background: radial-gradient(circle, rgba(189, 0, 255, 0.25) 0%, transparent 70%); filter: blur(40px); z-index: -1; }
.profile-card { background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.profile-header { padding: 30px; background: linear-gradient(to bottom, rgba(255,255,255,0.03), transparent); display: flex; flex-direction: column; align-items: center; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.profile-avatar { position: relative; width: 100px; height: 100px; margin-bottom: 15px; }
.profile-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--neon-purple); object-fit: cover; padding: 3px; background: rgba(0,0,0,0.5); }
.verified-badge { position: absolute; bottom: 5px; right: 0; background: var(--neon-cyan); color: black; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; border: 3px solid #0f172a; }
.profile-name { font-size: 1.5rem; color: white; margin-bottom: 5px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.tag-creator { font-size: 0.6rem; background: rgba(189, 0, 255, 0.2); color: var(--neon-purple); border: 1px solid var(--neon-purple); padding: 2px 8px; border-radius: 4px; letter-spacing: 1px; }
.profile-bio { font-size: 0.95rem; color: var(--text-dim); }
.profile-body { padding: 30px; }
.quote-box { position: relative; padding-left: 20px; border-left: 2px solid var(--neon-cyan); margin-bottom: 25px; }
.quote-box p { font-style: italic; color: #e2e8f0; font-size: 1rem; line-height: 1.6; }
.quote-icon { position: absolute; top: -10px; left: 10px; font-size: 3rem; color: rgba(255,255,255,0.03); z-index: -1; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; text-decoration: none; border-radius: 12px; font-weight: 600; transition: 0.3s; }
.btn-social:hover { background: rgba(255,255,255,0.1); border-color: var(--neon-purple); transform: translateY(-2px); }

/* Estatísticas */
.profile-stats-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.1); width: 100%; }
.p-stat { display: flex; align-items: center; gap: 10px; text-align: left; }
.p-stat i { font-size: 1.5rem; background: rgba(255,255,255,0.05); padding: 8px; border-radius: 8px; }
.p-number { display: block; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.2rem; color: white; line-height: 1; }
.p-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.1); }

/* Footer */
footer { background: #010005; padding: 50px 24px; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }

/* Animações */
.reveal { opacity: 0; transform: translateY(30px) scale(0.95); transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }

/* Vitrine de Produtos */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; justify-content: center; }
.product-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: var(--glass-border); border-radius: 16px; overflow: hidden; position: relative; transition: all 0.4s ease; display: flex; flex-direction: column; max-width: 400px; margin: 0 auto; width: 100%; }
.product-card:hover { transform: translateY(-5px); border-color: var(--neon-cyan); box-shadow: 0 10px 30px -10px rgba(41, 121, 255, 0.3); }
.product-thumb { width: 100%; height: 250px; position: relative; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.2) 100%); display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; }
.product-thumb img { max-width: 90%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6)); transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); }
.product-card:hover .product-thumb img { transform: scale(1.08) rotate(-2deg); }
.status-badge { position: absolute; top: 15px; right: 15px; padding: 6px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; z-index: 10; backdrop-filter: blur(5px); background: rgba(0, 255, 136, 0.15); border: 1px solid #00ff88; color: #00ff88; box-shadow: 0 0 10px rgba(0, 255, 136, 0.2); }
.product-card.sold { filter: grayscale(100%); opacity: 0.6; pointer-events: none; }
.product-card.sold .status-badge { background: rgba(255, 50, 50, 0.15); border-color: #ff3333; color: #ff3333; filter: grayscale(0%); }
.product-info { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.product-title { font-size: 1.4rem; color: white; font-weight: 700; margin: 0; }
.product-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.product-specs span { background: rgba(255,255,255,0.08); padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; color: #ccc; }
.product-price { font-family: 'Outfit', sans-serif; font-size: 1.5rem; color: var(--neon-cyan); font-weight: 900; margin-top: 5px; margin-bottom: 15px; }

/* =========================================
   3. CORREÇÃO ESPECÍFICA PARA CELULAR (IMPORTANTE)
   ========================================= */
@media (max-width: 480px) {
    /* 1. Título menor para não estourar */
    .hero-title { font-size: 2.2rem; }

    /* 2. Forçar os Badges para dentro da tela */
    .badge-left {
        left: 0; /* Remove o -10px */
        top: 10%;
    }
    .badge-right {
        right: 0; /* Remove o -10px */
        bottom: 15%;
    }
    
    /* 3. Ajuste fino nos textos dos badges */
    .float-badge { padding: 8px 12px; font-size: 0.75rem; }

    /* 4. Ajuste das estatísticas do perfil */
    .profile-stats-row { gap: 10px; }
    .p-number { font-size: 1rem; }
    .p-stat i { font-size: 1.2rem; padding: 6px; }
}