/* =========================
ROOT / VARIÁVEIS
========================= */
:root {
    --bg-main: #020617;
    --bg-secondary: #0b0f1a;
    --primary: #00FFC6;
    --secondary: #00A3FF;
    --text: #ffffff;
    --text-muted: #94a3b8;

    --glow: 0 0 40px rgba(0,255,198,0.25);
    --glow-strong: 0 0 80px rgba(0,255,198,0.45);
}

/* =========================
RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 20% 0%, #0f172a, #020617 60%);
    color: var(--text);
    overflow-x: hidden;
}

/* =========================
EFEITO DE LUZ GLOBAL
========================= */
body::before {
    content: "";
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,255,198,0.15), transparent);
    filter: blur(120px);
    z-index: -1;
}

/* =========================
NAVBAR
========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 15px;
    position: sticky;
    top: 0;
    backdrop-filter: blur(15px);
    background: rgba(2, 6, 23, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    z-index: 9999;
}

.logo {
    font-weight: 700;
    font-size: 22px;
    color: var(--primary);
    text-shadow: var(--glow);
    margin-left: 50px;
}

/* =========================
NAVBAR - AJUSTES
========================= */
.actions {
    margin-right: 50px;
}


/* =========================
BOTÕES
========================= */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    padding: 10px 18px;
    border-radius: 7px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-strong);
}

.btn-secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: rgba(0,255,198,0.1);
}

.btn-outline {
    margin-right: 10px;
    color: var(--text);
    text-decoration: none;
}

/* =========================
HERO
========================= */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    padding: 120px 80px;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 25px;
}

p {
    margin-bottom: 25px;
}

.hero p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-badges {
    margin-top: 30px;
}

.hero-badges span {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
    color: var(--primary);
}

.hero-video iframe {
    width: 100%;
    height: 360px;
    border-radius: 20px;
    border: none;
    box-shadow: var(--glow);
}

/* =========================
SECTIONS PADRÃO
========================= */
section {
    padding: 100px 60px;
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

/* =========================
CARDS / GRID
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 25px;
}

.card {
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

/* =========================
DOCUMENT
========================= */
.document {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.document img {
    width: 100%;
    max-width: 400px;
    margin: auto;
    filter: drop-shadow(var(--glow));
}

.document-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.document-visual img {
    max-width: 380px;
    border-radius: 20px;

    transform: rotate(3deg) scale(1);
    transition: 0.4s;
}

.document-visual img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* =========================
PROBLEM / SOLUTION
========================= */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.problem, .solution {
    padding: 30px;
    border-radius: 15px;
}

.problem {
    background: rgba(255,0,0,0.05);
    border: 1px solid rgba(255,0,0,0.15);
}

.solution {
    background: rgba(0,255,198,0.05);
    border: 1px solid rgba(0,255,198,0.25);
}

/* =========================
STEPS
========================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 30px;
}

.step {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.step img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* =========================
MOBILE PREVIEW
========================= */
.mobile-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mobile-preview img {
    max-width: 350px;
    margin: auto;
    filter: drop-shadow(var(--glow-strong));
}

/* =========================
FEATURES
========================= */
.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    width: 260px;
    padding: 25px;
    border-radius: 15px;
    background: rgba(2,6,23,0.7);
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.feature:hover {
    border-color: var(--primary);
    box-shadow: var(--glow);
}

/* =========================
CTA
========================= */
.cta {
    text-align: center;
    background: radial-gradient(circle, rgba(0,255,198,0.08), transparent);
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

/* =========================
FOOTER
========================= */
footer {
    text-align: center;
    padding: 40px;
    color: #64748b;
}

/* =========================
ANIMAÇÃO DE ENTRADA
========================= */
section {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
RESPONSIVO
========================= */
@media (max-width: 900px) {

    .hero,
    .document,
    .problem-solution,
    .mobile-preview {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    section {
        padding: 70px 20px;
    }

    .hero {
        padding: 100px 10px;
    }

    .btn-secondary {
        padding: 12px 10px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
}


/* =========================
PROOF (DASHBOARD IMAGE)
========================= */
.proof {
    text-align: center;
}

.proof-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.proof img {
    width: 100%;
    max-width: 900px; /* controla tamanho desktop */
    height: auto;

    border-radius: 20px;

    box-shadow:
        0 20px 80px rgba(0,0,0,0.6),
        0 0 60px rgba(0,255,198,0.2);

    transition: transform 0.4s ease;
}

.proof img:hover {
    transform: scale(1.02);
}

/* Responsividade para a imagem do dashboard */
@media (max-width: 768px) {

    .proof img {
        max-width: 100%;
        border-radius: 14px;
    }

    .logo {
        margin-left: 0px;
    }
    .actions {
        margin-right: 0px;
    }
}

/* =========================
LISTAS
========================= */
ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    margin-left: 25px;
}


/* =========================
FOOTER
========================= */
.footer {
    margin-top: 80px;
    padding: 50px 60px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(2,6,23,0.6);
    backdrop-filter: blur(10px);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-left strong {
    font-size: 18px;
    color: var(--primary);
}

.footer-left p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 14px;
    max-width: 300px;
}

.footer-right {
    text-align: right;
}

.footer-logo {
    height: 30px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(0,255,198,0.3));
}

.footer-right p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0;
}

.footer-cnpj {
    opacity: 0.7;
}

.footer-copy {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.6;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }
}


/* HEADER DA SEÇÃO */
.steps-header {
    text-align: center;
    margin-bottom: 50px;
}

.steps-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, #00FFC6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: auto;
    font-size: 18px;
}

/* GRID */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}

/* CARD */
.step {
    position: relative;
    background: rgba(15,23,42,0.7);
    border-radius: 18px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
    overflow: hidden;
}

.step:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0,255,198,0.15);
}

/* NÚMERO */
.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary);
    opacity: 0.6;
}

/* IMAGEM */
.step img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* TÍTULO */
.step h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

/* TEXTO */
.step p {
    font-size: 14px;
    color: var(--text-muted);
}

/* EFEITO DE LUZ */
.step::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,198,0.08), transparent 70%);
    opacity: 0;
    transition: 0.4s;
}

.step:hover::before {
    opacity: 1;
}