:root {
    --pri: #0d6efd;
    --sec: #00c9a7;
    --bg-dark: #000000; /* Fundo PRETO PURO para a imagem mesclar perfeitamente */
    --bg-panel: rgba(15, 23, 42, 0.6);
    --txt-main: #f8fafc;
    --txt-muted: #94a3b8;
    --border-glow: rgba(13, 110, 253, 0.3);
    
    --font-family: 'Outfit', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--txt-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Fundo Interativo tsParticles */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ── NAVBAR ── */
.navbar {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo img {
    height: 55px; /* Logo maior conforme solicitado */
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--txt-main);
}

.nav-links a:hover {
    color: var(--pri);
    text-shadow: 0 0 10px var(--border-glow);
}

/* ── BOTÕES HIGH-TECH ── */
.btn-primary {
    background: var(--pri);
    color: white !important;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: 1px solid var(--pri);
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: transparent;
    color: var(--pri) !important;
    box-shadow: 0 0 30px rgba(13, 110, 253, 0.6), inset 0 0 15px rgba(13, 110, 253, 0.2);
}

/* Botão compacto do navbar (reaproveita o estilo .btn-primary) */
.btn-nav {
    padding: 10px 22px;
    font-size: 0.78rem;
    box-shadow: 0 0 14px rgba(13, 110, 253, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--txt-main) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-outline:hover {
    border-color: var(--txt-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* ── HERO SECTION ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    position: relative;
    padding: 130px 8% 70px;
    gap: 40px;
    background-image: 
        linear-gradient(rgba(13, 110, 253, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, 0.18) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-image {
    flex: 1;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    /* Com o fundo agora em #000000, o screen remove a borda perfeitamente */
    mix-blend-mode: screen; 
    filter: drop-shadow(0 0 30px rgba(13, 110, 253, 0.4)) contrast(1.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 26px;
    border-radius: 100px;
    background: rgba(13, 110, 253, 0.10);
    border: 1px solid rgba(13, 110, 253, 0.35);
    color: var(--sec);
    font-size: clamp(0.68rem, 1vw, 0.78rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sec);
    box-shadow: 0 0 10px var(--sec);
    animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.6); }
}

.glitch-text {
    font-size: clamp(2.4rem, 5.2vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
    line-height: 1.08;
    background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--txt-muted);
    margin-bottom: clamp(28px, 4vh, 48px);
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--txt-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* ── PAINÉIS DE VIDRO (GLASSMORPHISM) ── */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px; /* Cantos menos arredondados = mais sério/tech */
}

/* ── SOLUÇÕES / MÓDULOS ── */
.features {
    padding: 120px 5%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--txt-muted);
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 50px 40px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--pri), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px var(--border-glow);
    border-color: rgba(13, 110, 253, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--pri);
    margin-bottom: 30px;
    text-shadow: 0 0 15px var(--border-glow);
}

.feature-card h3 {
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--txt-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* ── TECNOLOGIA / INFRAESTRUTURA ── */
.tech-specs {
    padding: 100px 5%;
    position: relative;
    z-index: 2;
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.tech-text {
    flex: 1.2;
}

.tech-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.tech-text p {
    color: var(--txt-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.tech-text ul {
    list-style: none;
    padding: 0;
}

.tech-text li {
    margin-bottom: 30px;
    color: var(--txt-muted);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    line-height: 1.6;
}

.tech-text i {
    color: var(--pri);
    font-size: 2rem;
    text-shadow: 0 0 15px var(--border-glow);
}

.tech-text strong {
    display: block;
    color: var(--txt-main);
    margin-bottom: 5px;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.tech-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

/* Animação CSS Pura - Holograma / Radar */
.cyber-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px dashed rgba(13, 110, 253, 0.4);
    animation: spin 30s linear infinite;
    position: relative;
    box-shadow: 0 0 40px rgba(13, 110, 253, 0.1);
}

.cyber-circle::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    border-radius: 50%;
    border: 1px solid rgba(0, 201, 167, 0.3);
    animation: spin 20s linear infinite reverse;
}

.cyber-circle::after {
    content: '';
    position: absolute;
    top: 40px; left: 40px; right: 40px; bottom: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    border: 2px solid rgba(13, 110, 253, 0.2);
    box-shadow: inset 0 0 50px rgba(13, 110, 253, 0.2);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); box-shadow: inset 0 0 80px rgba(13, 110, 253, 0.4); }
}

/* ── CALL TO ACTION ── */
.cta {
    padding: 100px 5% 150px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
    border-top: 2px solid var(--pri);
}

.cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    color: var(--txt-muted);
    margin-bottom: 40px;
}

/* ── FOOTER ── */
footer {
    background: rgba(2, 6, 23, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 5% 30px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-brand img {
    height: 35px;
    margin-bottom: 25px;
}

.footer-brand p {
    color: var(--txt-muted);
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--txt-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--pri);
    text-shadow: 0 0 8px var(--border-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #475569;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ── ANIMAÇÕES DE ENTRADA ── */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════ RESPONSIVIDADE ═══════════ */

/* Telas muito largas: respiro nas laterais */
@media (min-width: 1600px) {
    .hero { padding-left: 12%; padding-right: 12%; }
}

/* Laptops baixos (15", 1366x768...): esconde a seta pra não sobrepor o hero */
@media (max-height: 880px) {
    .scroll-indicator { display: none; }
}

/* Laptops estreitos e tablets: empilha o hero e a seção de tecnologia */
@media (max-width: 1080px) {
    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 140px;
        gap: 30px;
    }
    .hero-content { max-width: 720px; }
    .hero p { max-width: 640px; margin-left: auto; margin-right: auto; }
    .hero-badge, .hero-actions { justify-content: center; }
    .hero-image img { max-width: 460px; }
    .scroll-indicator { display: none; }

    .tech-container { flex-direction: column; gap: 40px; }
    .tech-text { text-align: center; }
    .tech-text ul { max-width: 620px; margin: 0 auto; }
    .tech-text li { text-align: left; }
}

/* Celulares */
@media (max-width: 768px) {
    .navbar { padding: 16px 5%; }
    .nav-links { display: none; }

    .hero { padding: 120px 6% 50px; }
    .hero-actions { flex-direction: column; align-items: center; width: 100%; }
    .hero-actions a { width: 100%; max-width: 340px; text-align: center; }

    .features { padding: 70px 6%; }
    .section-subtitle { margin-bottom: 50px; }
    .feature-card { padding: 34px 26px; }

    .tech-specs { padding: 70px 6%; }
    .cta { padding: 70px 6% 90px; }
    .cta-box { padding: 50px 26px; }
    .cyber-circle { width: 240px; height: 240px; }

    .footer-content { flex-direction: column; gap: 36px; }
    .footer-brand p { max-width: none; }
}

/* Celulares pequenos */
@media (max-width: 480px) {
    .logo img { height: 42px; }
    .hero-image img { max-width: 320px; }
    .btn-primary, .btn-outline { padding: 13px 24px; font-size: 0.82rem; }
}
