:root {
    --primary: #ccff00;
    --primary-hover: #b3e600;
    --bg-dark: #090a0f;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --glass-bg: rgba(20, 22, 28, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- CANVAS BACKGROUND --- */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Escurecer levemente o vídeo para os textos ficarem legíveis */
}

/* --- LAYOUT WRAPPER --- */
.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 8rem;
    padding-bottom: 4rem;
}

/* --- TYPOGRAPHY --- */
h1 { font-size: 4.5rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 3rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; }
p { color: var(--text-muted); font-size: 1.1rem; }
.highlight { color: var(--primary); }
.text-center { text-align: center; }

/* --- BUTTONS & BADGES (SPECULAR BUTTON JS+CSS INTEGRATION) --- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    overflow: hidden;
    isolation: isolate;
    --x: 50%;
    --y: 50%;
    --specular-opacity: 0;
}

/* Specular Inner Glare Overlay */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(
        200px circle at var(--x) var(--y),
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.15) 40%,
        transparent 80%
    );
    opacity: var(--specular-opacity);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Specular Border Reflection Highlight */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        180px circle at var(--x) var(--y),
        rgba(255, 255, 255, 0.9) 0%,
        rgba(204, 255, 0, 0.7) 45%,
        transparent 85%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: var(--specular-opacity);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.btn-primary { 
    background: var(--primary); 
    color: #000; 
    border: 1px solid var(--primary); 
}
.btn-primary:hover { 
    background: var(--primary-hover); 
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px -5px rgba(204, 255, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary { 
    background: var(--glass-bg); 
    color: var(--text-main); 
    border: 1px solid var(--glass-border); 
    backdrop-filter: blur(10px); 
}
.btn-secondary:hover { 
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px -5px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

.btn-outline { 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    color: var(--text-main); 
    background: transparent; 
}
.btn-outline:hover {
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.25);
    transform: translateY(-2px) scale(1.02);
}

.btn-outline-white { 
    border: 1px solid #fff; 
    color: #000; 
    background: #fff; 
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.badge, .badge-how {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(204, 255, 0, 0.1);
    color: var(--text-main);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(204, 255, 0, 0.2);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.badge-how { background: var(--glass-bg); border-color: var(--glass-border); margin-bottom: 3rem; }

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.logo:hover {
    opacity: 0.9;
    transform: scale(1.03);
}
.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.navbar .btn { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

/* --- HERO --- */
.hero { text-align: center; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero p { margin: 2rem auto; max-width: 600px; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }

/* --- DASHBOARD --- */
.dashboard { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 1.5rem; }
.card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 2rem; backdrop-filter: blur(16px); display: flex; flex-direction: column; justify-content: space-between; }
.card-header { margin-bottom: 1.5rem; }
.icon-box { background: rgba(204,255,0,0.1); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 1.2rem; }
.space-between { display: flex; justify-content: space-between; align-items: center; }
.tabs { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.card-small h3 { font-size: 1.2rem; margin-bottom: 2rem; }
.card-footer { font-size: 0.9rem; }
.chart-mockup { width: 100%; height: 120px; margin-top: auto; }
.line-chart { width: 100%; height: 100%; }

/* --- FEATURES --- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.features-left p { margin: 1.5rem 0 2.5rem 0; }
.features-right { display: flex; flex-direction: column; gap: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { padding: 0.4rem 1rem; border: 1px solid var(--glass-border); border-radius: 50px; font-size: 0.8rem; color: var(--text-muted); }
.tag.active { border-color: var(--primary); color: var(--primary); }
.search-bar { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.search-bar input { background: transparent; border: none; color: var(--text-main); font-size: 1rem; outline: none; }
.search-desc { font-size: 0.8rem; color: var(--text-muted); }
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-card { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 1.5rem; border-radius: 12px; }
.f-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; margin-bottom: 1rem; background: rgba(255,255,255,0.1); }
.f-card h4 { font-size: 0.9rem; margin-bottom: 0.5rem; letter-spacing: 1px; }
.f-card p { font-size: 0.85rem; margin-bottom: 1rem; }
.f-link { color: var(--text-muted); font-size: 0.8rem; text-decoration: underline; }

/* --- SERVICES --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.s-card { border-radius: 20px; padding: 2.5rem 2rem; min-height: 400px; display: flex; flex-direction: column; }
.s-card p { margin-top: 1rem; font-size: 0.95rem; line-height: 1.6; }
.green-card { background: var(--primary); color: #000; }
.green-card p { color: rgba(0,0,0,0.7); }
.glass-card { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); }

/* Charts Mockups inside Services */
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: auto; }
.bar { flex: 1; background: rgba(0,0,0,0.8); border-radius: 4px 4px 0 0; }
.glass-card .bar { background: var(--primary); }
.line-chart-simple { margin-top: auto; height: 100px; }
.donut-chart { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.circular-chart { display: block; margin: 0 auto; max-width: 120px; max-height: 120px; }
.circle-bg { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 3.8; }
.circle { fill: none; stroke-width: 3.8; stroke-linecap: round; stroke: var(--primary); animation: progress 1s ease-out forwards; }
.legend { display: flex; gap: 1rem; font-size: 0.8rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.dot.active { background: var(--primary); }

/* --- JOURNEY --- */
.journey { display: flex; flex-direction: column; }
.journey-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.journey-desc p { margin-bottom: 1.5rem; font-size: 0.95rem; }
.step-list { display: flex; flex-direction: column; border-top: 1px solid var(--glass-border); }
.step { display: grid; grid-template-columns: 100px 1fr 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--glass-border); align-items: start; }
.step-num { font-size: 1.2rem; color: var(--text-muted); }
.step-title h3 { font-size: 1.8rem; margin: 0; }
.step-desc p { font-size: 0.95rem; margin-bottom: 1.5rem; max-width: 400px; }

/* --- CTA BOTTOM --- */
.cta-bottom { display: flex; justify-content: center; }
.cta-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 30px; padding: 4rem 2rem; text-align: center; max-width: 800px; backdrop-filter: blur(16px); }
.cta-card p { margin: 1.5rem auto 2.5rem; max-width: 600px; }

/* --- FOOTER --- */
footer { border-top: 1px solid var(--glass-border); padding-top: 4rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; margin-bottom: 4rem; }
.footer-brand p { margin: 1rem 0; font-size: 0.9rem; max-width: 300px; }
.socials { display: flex; gap: 1rem; }
.socials a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.05); border-radius: 50%; color: var(--text-main); text-decoration: none; font-size: 0.8rem; }
.footer-links h4, .footer-contact h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--text-main); }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.8rem; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.8rem; display: flex; gap: 0.5rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--glass-border); font-size: 0.8rem; color: var(--text-muted); }
.bottom-links { display: flex; gap: 2rem; }
.bottom-links a { color: var(--text-muted); text-decoration: none; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .dashboard, .features, .services-grid, .journey-header { grid-template-columns: 1fr; }
    .step { grid-template-columns: 1fr; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
