/* styles.css — Vex Node (Estilo 3: Caixas Flutuantes) */
/* Paleta: #0f172a (bg), roxos/ciano/azul, brancos suaves */
:root {
    --bg: #0f172a;
    --card: #0f172a;
    --muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.04);
    --accent-1: #7c3aed;
    /* roxo */
    --accent-2: #06b6d4;
    /* ciano */
    --accent-3: #60a5fa;
    /* azul */
    --white-soft: rgba(236, 240, 255, 0.95);
    --glass-2: rgba(255, 255, 255, 0.02);
    --shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
    --radius: 16px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    color: var(--white-soft);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* NAV */
.nav {
    position: fixed;
    inset: 0 auto auto 0;
    width: 100%;
    z-index: 60;
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.75) 0%, rgba(10, 14, 23, 0.45) 100%);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--white-soft)
}

.brand .bolt {
    font-size: 18px;
    color: var(--accent-2)
}

.menu {
    display: flex;
    gap: 20px;
    align-items: center
}

.menu a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px
}

.menu a:hover {
    color: var(--white-soft);
    background: rgba(255, 255, 255, 0.02)
}

.cta-link {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    padding: 8px 12px;
    color: white;
    font-weight: 600
}

/* hamburger (mobile) */
.hamburger {
    display: none;
    background: none;
    border: 0;
    width: 36px;
    height: 36px;
    cursor: pointer
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--white-soft);
    margin: 6px 0;
    border-radius: 2px
}

/* HERO */
.hero {
    padding: 120px 20px 80px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-card {
    width: min(1100px, 94%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.015));
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass);
    transform: translateY(0);
}

.hero-card h1 {
    font-size: 36px;
    line-height: 1.05;
    margin: 0 0 14px;
    color: var(--white-soft)
}

.lead {
    color: var(--muted);
    margin-bottom: 18px
}

/* buttons */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--white-soft);
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-weight: 600
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.12)
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06)
}

/* sections */
.section {
    padding: 80px 20px
}

.container {
    max-width: 1200px;
    margin: 0 auto
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

/* cards (caixas flutuantes) */
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 14px;
    padding: 22px;
    border: 1px solid var(--glass-2);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
}

.inset {
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.6), rgba(10, 15, 26, 0.5))
}

/* portfolio grid */
.section-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 6px
}

.section-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 18px
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 30px auto 0
}

.portfolio-item {
    position: relative;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: transparent;
    cursor: pointer
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .28s ease, filter .28s ease
}

.portfolio-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.05)
}

.portfolio-item video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform .28s ease, filter .28s ease;
}

.portfolio-item:hover video {
    transform: scale(1.04);
    filter: brightness(1.05);
}


.item-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
    color: white;
    font-weight: 700
}

/* plans */
.plan {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between
}

.plan .price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-3)
}

.plan.featured {
    border: 1px solid rgba(124, 58, 237, 0.14);
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.09);
    transform: translateY(-6px)
}

/* contact card */
.contact-card {
    text-align: center
}

.contact-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.small {
    font-size: 13px
}

/* footer */
.footer {
    padding: 28px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.02)
}

.foot-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted)
}

/* lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(1, 3, 8, 0.7);
    z-index: 200
}

.lightbox.active {
    display: flex
}

.lb-img {
    max-width: 92vw;
    max-height: 86vh;
    border-radius: 10px;
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.8)
}

.lb-close {
    position: absolute;
    top: 26px;
    right: 26px;
    background: transparent;
    color: var(--white-soft);
    border: 0;
    font-size: 22px;
    cursor: pointer
}

/* floating animation (subtle) */
.floating {
    animation: float 6s ease-in-out infinite
}

.title-div {
    width: 100%;
    margin-top: 7%;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
}

.title{
    font-size: 100px;
    text-align: center;
}

@keyframes float {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }

    100% {
        transform: translateY(0)
    }
}

/* responsive */
@media (max-width:980px) {
    .grid-2 {
        grid-template-columns: 1fr
    }

    .grid-3 {
        grid-template-columns: 1fr
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .nav-inner {
        padding: 14px 18px
    }

    .menu {
        display: none
    }

    .hamburger {
        display: block
    }
}

@media (max-width:560px) {
    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .hero-card h1 {
        font-size: 22px
    }

    .hero {
        padding: 90px 14px 60px
    }
}