/* =========================================
   1. BASE, VARIÁVEIS E RESET
   ========================================= */
:root {
    --bg-dark: #0f172a;           
    --bg-card: rgba(30, 41, 59, 0.4); 
    --bg-step: #1e293b;           
    --text-main: #ffffff;
    --text-muted: #94a3b8;        
    --accent: #10b981;            
    --accent-glow: rgba(16, 185, 129, 0.4);
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Texturas */
.noise-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: 0.05;
    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");
}
.bg-glow-1, .bg-glow-2 {
    position: fixed; width: 500px; height: 500px; border-radius: 50%;
    filter: blur(150px); opacity: 0.15; z-index: -1;
}
.bg-glow-1 { top: -100px; left: -100px; background: var(--accent); }
.bg-glow-2 { bottom: -100px; right: -100px; background: #4f46e5; }


/* =========================================
   2. SISTEMA DE LOGO (ELÁSTICO)
   ========================================= */
.logo-wrapper {
    font-size: 10px; /* Base */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    user-select: none;
    overflow: visible; 
    padding-top: 2em; 
    z-index: 20;
}

.brand-sub {
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2em;
    margin-left: 0.1em;
    position: relative;
    z-index: 25;
}

.brand-main {
    font-size: 8em;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: #fff;
    position: relative;
    display: flex;
    align-items: baseline;
    line-height: 0.8;
    z-index: 25;
}

.char-o-wrapper { position: relative; display: inline-block; margin-left: 0.02em; }

.accent {
    position: absolute;
    top: -0.20em; 
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 0.85em;
    font-weight: 900;
    z-index: 20; 
    transition: top 0.3s ease, color 0.3s ease; /* Animação suave */
}

.dot {
    width: 0.15em; height: 0.15em;
    background-color: var(--accent);
    border-radius: 50%; margin-left: 0.1em;
    display: inline-block;
}

/* Tamanhos */
.size-hero { font-size: 12px; }
.size-footer { font-size: 7px; } 
.size-nav { font-size: 5px; }

/* Hover */
.logo-wrapper:hover .accent { top: -0.35em; color: #34d399; text-shadow: 0 0 20px var(--accent-glow); }


/* =========================================
   3. CARDS E CONTEÚDO
   ========================================= */
.content-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 3rem; font-weight: 900; margin-bottom: 20px; text-align: center; background: linear-gradient(to right, #fff, #94a3b8); -webkit-background-clip: text; color: transparent; line-height: 1.1; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 60px; font-size: 1.2rem; max-width: 700px; margin: 0 auto 60px auto; }
.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Card Genérico */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 24px;
    transition: all 0.4s;
    overflow: hidden; position: relative;
}
.card:hover { border-color: var(--accent); transform: translateY(-5px); }

/* --- CORREÇÃO CRÍTICA DO PAINEL DE CONTROLE --- */
.step-card {
    display: flex !important; /* Força display flex */
    gap: 20px; 
    align-items: flex-start; 
    text-align: left;
    /* FUNDO SÓLIDO OBRIGATÓRIO */
    background: #1e293b !important; 
    background-color: #1e293b !important;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    visibility: visible !important; /* Força visibilidade */
    opacity: 1 !important; /* Força opacidade */
}

/* Texto dentro do card */
.step-content h3 { color: #ffffff !important; font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; opacity: 1 !important; }
.step-content p { color: #cbd5e1 !important; line-height: 1.6; font-size: 0.95rem; opacity: 1 !important; }

/* Elementos decorativos do card */
.step-number {
    font-size: 4rem; font-weight: 900; 
    color: rgba(255,255,255,0.05); 
    position: absolute; right: 10px; top: 0px;
    pointer-events: none; z-index: 0;
}
.step-icon {
    min-width: 60px; height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--accent);
    border: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; z-index: 2;
}

/* =========================================
   4. OUTRAS SEÇÕES
   ========================================= */
#hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; }
.hero-title { font-size: 1.5rem; color: #e2e8f0; margin-top: 30px; font-weight: 300; max-width: 600px; opacity: 0; }
.scroll-indicator { position: absolute; bottom: 40px; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

.comparison-container { background: rgba(15, 23, 42, 0.6); border: 1px solid var(--border); border-radius: 20px; padding: 20px; }
.comp-header, .comp-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 15px; padding: 20px; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.comp-header { font-weight: 900; text-transform: uppercase; color: var(--text-muted); border-bottom: 2px solid var(--border); font-size: 0.8rem; }
.comp-row:last-child { border-bottom: none; }
.comp-feature { font-weight: 700; color: #fff; }
.comp-bad { color: #f87171; }
.comp-good { color: var(--accent); font-weight: 900; font-size: 1.1rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.price-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.price { font-size: 3.5rem; font-weight: 900; color: #fff; margin: 20px 0; }
.tag { background: var(--border); padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; margin-bottom: 20px; color: #fff; }
.featured-tag { background: var(--accent); color: #000; font-weight: 800; }
.featured { border: 1px solid var(--accent); background: radial-gradient(circle at top, rgba(16,185,129,0.1), transparent 70%); }
.features { list-style: none; margin: 30px 0; width: 100%; text-align: left; }
.features li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #cbd5e1; display: flex; gap: 10px; align-items: center; }

.btn-buy { width: 100%; padding: 18px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid var(--text-muted); color: #fff; transition: all 0.3s; margin-top: auto; display: block; text-align: center; }
.btn-buy:hover { background: #fff; color: #000; }
.featured-btn { background: var(--accent); border: none; color: #000; }
.featured-btn:hover { background: #34d399; box-shadow: 0 0 25px var(--accent-glow); transform: scale(1.02); }

/* --- SEÇÕES SAIBA MAIS --- */
.hero-detail { text-align: center; padding: 60px 20px; background: radial-gradient(circle at center, rgba(16,185,129,0.1) 0%, transparent 60%); }
.hero-tag { display: inline-block; background: var(--accent); color: #000; font-weight: 800; padding: 8px 16px; border-radius: 50px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 20px; }
.feature-row { display: flex; align-items: center; gap: 50px; margin-bottom: 100px; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h3 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 20px; }
.feature-text p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; }
.feature-visual { flex: 1; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-radius: 20px; border: 1px solid var(--border); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5); }
.mockup-ui { width: 80%; height: 80%; background: rgba(255,255,255,0.03); border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); position: relative; }
.mockup-ui::before { content: ''; position: absolute; top: 15px; left: 15px; width: 40px; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; }

/* FOOTER */
.footer { text-align: center; padding: 60px 20px; border-top: 1px solid var(--border); margin-top: 60px; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; background-color: rgba(15, 23, 42, 0.5); }
.nav-fixed { position: fixed; bottom: 30px; right: 30px; z-index: 100; }
.cta-button { background: var(--accent); color: #000; padding: 12px 24px; border-radius: 50px; text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.5); transition: transform 0.3s; }
.cta-button:hover { transform: scale(1.05); }

/* RESPONSIVO */
@media (max-width: 768px) {
    .logo-wrapper { font-size: 7px; } 
    .size-hero { font-size: 8px; }
    .section-title { font-size: 2.2rem; }
    .comp-header { display: none; }
    .comp-row { grid-template-columns: 1fr 1fr; grid-template-areas: "feat feat" "bad good"; text-align: center; padding: 15px 10px; }
    .comp-feature { grid-area: feat; border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 5px; }
    .comp-bad::before { content: "Outros: "; font-size: 0.8rem; opacity: 0.7; display: block; }
    .comp-good::before { content: "Vitrô: "; font-size: 0.8rem; opacity: 0.7; display: block; }
    .feature-row { flex-direction: column !important; gap: 30px; text-align: center; margin-bottom: 60px; }
    .feature-text h3 { font-size: 1.8rem; }
}