/* css/landing.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --lp-bg: #0f172a;       /* Slate 900 */
    --lp-surface: #1e293b;  /* Slate 800 */
    --lp-primary: #6366f1;  /* Indigo 500 */
    --lp-accent: #a855f7;   /* Purple 500 */
    --lp-text: #f8fafc;
    --lp-text-muted: #94a3b8;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--lp-bg);
    color: var(--lp-text);
    overflow-x: hidden;
}

h1, h2, h3, .brand { font-family: 'Outfit', sans-serif; }

/* --- COMPONENTES VISUAIS --- */
.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mesh-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
}

/* --- NAVBAR --- */
.lp-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 5%; max-width: 1400px; margin: 0 auto;
}
.brand { font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; letter-spacing: -0.5px; }
.brand-icon { 
    width: 32px; height: 32px; background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
    border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem; /* Aumentei o espaçamento padrão no desktop */
}

.nav-links a {
    color: var(--lp-text-muted); text-decoration: none; font-weight: 500; transition: 0.3s;
    white-space: nowrap;
}
.nav-links a:hover { color: white; }

.btn-cta {
    background: white; color: var(--lp-bg); padding: 0.6rem 1.4rem; border-radius: 50px;
    text-decoration: none; font-weight: 600; transition: transform 0.2s; display: inline-block;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255,255,255,0.1); color: var(--lp-bg) !important;}
.btn-cta.primary { background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: white; border: none; }

/* --- HERO SECTION --- */
.hero {
    text-align: center; padding: 6rem 1rem 4rem 1rem; max-width: 900px; margin: 0 auto;
}
.hero h1 {
    font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px;
}
.hero p {
    font-size: 1.2rem; color: var(--lp-text-muted); margin-bottom: 2.5rem; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* --- APP PREVIEW (MOCKUP) --- */
.hero-image {
    margin-top: 3rem; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px -15px rgba(0,0,0,0.6); overflow: hidden;
    background: rgba(30, 41, 59, 0.8); backdrop-filter: blur(10px);
    width: 90%; max-width: 1100px; margin-left: auto; margin-right: auto;
    aspect-ratio: 16/9;
    display: flex;
}

.mock-sidebar { width: 20%; border-right: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.2); padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.mock-line { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; width: 100%; }
.mock-line.short { width: 60%; }
.mock-main { flex: 1; padding: 20px; position: relative; }
.mock-toolbar { height: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 20px; display: flex; gap: 10px; align-items: center; }
.mock-circle { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mock-content { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.6; }

/* --- FEATURES GRID --- */
.features-section { max-width: 1100px; margin: 6rem auto; padding: 0 5%; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p { color: var(--lp-text-muted); }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-rows: minmax(200px, auto); }
.bento-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px; padding: 2rem; transition: 0.3s;
    display: flex; flex-direction: column; justify-content: space-between;
}
.bento-card:hover { background: rgba(255,255,255,0.05); transform: translateY(-5px); border-color: rgba(255,255,255,0.1); }
.bento-card.wide { grid-column: span 2; }
.bento-icon { font-size: 2rem; margin-bottom: 1rem; color: var(--lp-accent); }
.bento-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.bento-card p { color: var(--lp-text-muted); font-size: 0.95rem; line-height: 1.5; }

/* --- PWA SECTION --- */
.pwa-section {
    background: linear-gradient(to right, #1e293b, #0f172a);
    padding: 4rem 5%; text-align: center; margin-top: 6rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- SPLIT SCREEN (LOGIN/REGISTER) --- */
.split-screen { display: flex; height: 100vh; width: 100vw; overflow: hidden; }
.split-art {
    flex: 1; background: var(--lp-bg); position: relative;
    display: flex; flex-direction: column; justify-content: center; padding: 4rem;
}
.split-art::before {
    content: ''; position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=2564&auto=format&fit=crop') center/cover;
    opacity: 0.2; mix-blend-mode: overlay;
}
.split-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--lp-bg) 0%, transparent 100%); }
.art-content { position: relative; z-index: 10; max-width: 450px; }
.art-content h2 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.1; }
.art-content p { font-size: 1.1rem; color: var(--lp-text-muted); }

.split-form { flex: 0 0 500px; background: white; color: var(--lp-bg); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.form-container { width: 100%; max-width: 360px; }
.form-header { margin-bottom: 2rem; }
.form-header h2 { font-size: 1.8rem; margin-bottom: 0.5rem; color: #0f172a; }

.input-group { margin-bottom: 1.2rem; position: relative; }
.input-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: #475569; }
.lp-input {
    width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid #e2e8f0;
    font-size: 1rem; outline: none; transition: 0.2s; font-family: 'Inter', sans-serif; background: #f8fafc;
}
.lp-input:focus { border-color: var(--lp-primary); background: white; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); }

.btn-submit {
    width: 100%; padding: 14px; background: #0f172a; color: white; border: none; border-radius: 8px;
    font-weight: 600; font-size: 1rem; cursor: pointer; margin-top: 1rem; transition: 0.2s;
}
.btn-submit:hover { background: var(--lp-primary); transform: translateY(-1px); }
.auth-footer { margin-top: 2rem; text-align: center; font-size: 0.9rem; color: #64748b; }
.auth-footer a { color: var(--lp-primary); text-decoration: none; font-weight: 600; }

/* --- RESPONSIVIDADE (MOBILE FIX) --- */
@media (max-width: 900px) {
    .split-art { display: none; }
    .split-form { flex: 1; }
    .hero h1 { font-size: 2.5rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.wide { grid-column: span 1; }
    .hero-image { display: none; }
}

@media (max-width: 600px) {
    .lp-nav {
        padding: 1rem; /* Reduz padding lateral */
    }
    
    /* ESCONDE O TEXTO DA MARCA NO MOBILE para dar espaço aos botões */
    .brand span {
        display: none;
    }
    
    /* Garante que os botões tenham espaço entre si */
    .nav-links {
        gap: 15px; 
        width: 100%;
        justify-content: flex-end; /* Empurra para direita */
    }

    .btn-cta {
        padding: 0.5rem 1rem; /* Botões um pouco menores */
        font-size: 0.9rem;
    }
    
    .hero { padding-top: 4rem; }
}