/* ==========================================================================
   Vex Labss - Landing Page (Aura Build Theme / Pill-Shaped Glassmorphism)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Cores Brand principais - Aura Ref (Dark & Lime Green) */
    --brand-primary: #A3E635;
    /* Verde Limão/Neon */
    --brand-primary-dark: #84cc16;

    /* Camadas Base e Surfaces */
    --bg-base: #000000;
    /* Preto puro */
    --bg-surface: #0A0A0A;
    /* Super dark gray */
    --bg-hover: #121212;

    /* Textos */
    --text-main: #FFFFFF;
    --text-muted: #737373;
    /* Neutral-500 */

    /* Bordas */
    --border-light: rgba(255, 255, 255, 0.05);
    --border-strong: rgba(255, 255, 255, 0.1);
    --border-brand: rgba(163, 230, 53, 0.3);

    /* Tipografia */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout Metric */
    --bento-gap: 24px;
    --bento-radius: 40px;
    /* Arredondamento extremo (pill-shaped) */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
      1. BACKGROUND & AMBIENT EFFECTS
      ========================================================================== */

.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Dot Grid refinado (estilo Aura) */
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
}

.blob-1 {
    top: -20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: #3B82F6;
    /* Azul profundo contrastando com o verde */
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #14B8A6;
    /* Teal */
}

/* ==========================================================================
      2. TYPOGRAPHY & UTILS
      ========================================================================== */

.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
}

.text-gradient {
    color: var(--brand-primary);
    /* Texto verde vivo */
}

.text-muted {
    color: var(--text-muted);
}

.text-brand {
    color: var(--brand-primary);
}

/* Flex & Grid Utils */
.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.items-stretch {
    align-items: stretch;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.pb-24 {
    padding-bottom: 6rem;
}

.pb-32 {
    padding-bottom: 8rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.relative-z {
    position: relative;
    z-index: 10;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    margin: 0 auto;
}

/* ==========================================================================
      3. NAVBAR (AURA STYLE - Island Pill)
      ========================================================================== */

.navbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    z-index: 100;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    /* Pill */
    padding: 10px 20px;
}

.nav-container {
    padding: 0;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* ==========================================================================
      4. COMPONENTES: BOTÕES E BADGES (PILL SHAPE FORM)
      ========================================================================== */

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.badge-tag i {
    color: var(--brand-primary);
    font-size: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    /* Pill */
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* The Aura Button (Verde Neon maciço) */
.btn-primary {
    background: var(--brand-primary);
    color: #000;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(163, 230, 53, 0.2);
}

/* Opcional: Breathe Animation para CTA principal */
.breathe-effect {
    animation: breathe 3s ease-in-out infinite alternate;
}

@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(163, 230, 53, 0);
    }

    100% {
        box-shadow: 0 0 25px 0 rgba(163, 230, 53, 0.3);
    }
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
      5. BENTO CARDS (EXTREME RADIUS)
      ========================================================================== */

.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: var(--bento-gap);
}

.span-4 {
    grid-column: span 4;
}

.span-2 {
    grid-column: span 2;
}

.row-2 {
    grid-row: span 2;
}

.row-1 {
    grid-row: span 1;
}

.bento-card {
    background: var(--bg-surface);
    border-radius: var(--bento-radius);
    /* 40px */
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.bento-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* ==========================================================================
      6. SEÇÕES
      ========================================================================== */

/* Hero */
.section-hero {
    padding-top: 10rem;
}

.brand-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    font-weight: 800;
}

.brand-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
}

/* Video Thumbnail */
.video-container {
    border-radius: var(--bento-radius);
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
}

.video-bg-placeholder {
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1620641788421-7a1c342ea42e?q=80&w=1000&auto=format&fit=crop');
}

.btn-play-video {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(163, 230, 53, 0.1);
    border: 1px solid rgba(163, 230, 53, 0.3);
    color: var(--brand-primary);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.video-container:hover .btn-play-video {
    background: var(--brand-primary);
    color: #000;
    transform: scale(1.1);
}

/* Logos Sessão */
.section-logos h3 {
    color: var(--text-muted);
    font-size: 2rem;
}

/* Componentes Inside Cards */
.premium-input-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 8px;
}

.prompt-simulator {
    background: var(--bg-base);
    border-radius: 100px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.glass-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* How it works */
.section-how-it-works .bento-card {
    border-radius: 30px;
}

/* Depoimentos */
.grid-layout-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* Caixa Alta Contraste Bottom */
.oversized-cta {
    background: var(--brand-primary);
    color: #000;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.oversized-cta h2,
.oversized-cta p {
    color: #000;
}

.oversized-cta .text-muted {
    color: rgba(0, 0, 0, 0.6);
}

.oversized-cta .btn {
    background: #000;
    color: var(--brand-primary);
}

.oversized-cta .btn:hover {
    background: #111;
    color: #fff;
}

/* Footer Links */
footer a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
      RESPONSIVE
      ========================================================================== */

@media (max-width: 1024px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .span-4 {
        grid-column: span 2;
    }

    .grid-layout-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .navbar {
        display: none;
        /* Esconde a topbar no mobile conforme solicitado */
    }

    .section-hero {
        padding-top: 0;
        /* Remove o espaçamento do topo no mobile */
    }

    .brand-title {
        font-size: 2.5rem;
    }

    .bento-container {
        grid-template-columns: 1fr;
    }

    .span-2,
    .span-4,
    .row-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-card {
        border-radius: 24px;
    }

    .section-how-it-works .bento-card {
        flex-direction: column;
    }

    .section-how-it-works .w-24 {
        width: 100%;
        height: 80px;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
}

/* ==========================================================================
      7. CAROUSEL ANIMATIONS & MASKING
      ========================================================================== */
.carousel-mask {
    /* Cria o efeito do carrossel sumindo nas bordas */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.animate-marquee {
    display: flex;
    width: max-content;
    /* Faz a animação correr todo o scroll width */
    animation: scroll-marquee 40s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Para um loop perfeito, precisamos clonar os itens no html, e transladar -50% */
        transform: translateX(-50%);
    }
}