/* NexLog Design System - VITOR SANTOS DA SILVA */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

:root {
    /* Palette */
    --bg-dark: #0A0F1C;
    --bg-panel: #111827;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --accent: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.1);
    
    /* Spacing & Radius */
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: min(1200px, 90%);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
    min-height: 100vh;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a { color: var(--accent); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary); }

/* Components */
.container { width: var(--container); margin: 0 auto; }

/* Sticky Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -0.03em; }
.logo span { color: var(--primary); }
.nav { display: flex; gap: 2rem; }
.nav a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: #fff; transform: translateY(-1px); }

/* Hero Section */
.hero { padding: 8rem 0 6rem; text-align: center; overflow: hidden; position: relative; }
.hero h1 { 
    font-size: clamp(3rem, 6vw, 4.5rem); 
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}
.lead { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; }
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #fff;
    box-shadow: 0 10px 30px -10px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -10px var(--primary-glow); }
.btn-outline {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #fff;
    margin-left: 1rem;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* Grid Cards */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}
.card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; color: #fff; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.card-icon {
    width: 48px; height: 48px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Sections */
.section { padding: 6rem 0; }
.section-alt { background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { margin-bottom: 3rem; text-align: center; }
.section-header h2 { font-size: 2.5rem; }

/* Steps */
.step { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.step-num { 
    font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 3rem; 
    line-height: 1; color: rgba(255,255,255,0.05); 
}
.step-content h4 { font-size: 1.25rem; margin-bottom: 0.5rem; color: #fff; }

/* Legal Page specific */
.legal-doc { max-width: 800px; margin: 4rem auto; padding: 0 1.5rem; }
.legal-doc h1 { font-size: 3rem; margin-bottom: 0.5rem; }
.legal-doc h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; color: var(--text-main); }
.legal-doc p, .legal-doc li { color: var(--text-muted); margin-bottom: 1rem; }
.legal-doc ul { padding-left: 1.5rem; }
.legal-meta { color: var(--primary); font-size: 0.9rem; margin-bottom: 3rem; display: block; }
.contact-box { background: rgba(6, 182, 212, 0.05); border: 1px solid rgba(6, 182, 212, 0.2); padding: 1.5rem; border-radius: var(--radius-md); margin: 2rem 0; }

/* Footer */
footer { padding: 4rem 0; border-top: 1px solid var(--border); margin-top: auto; font-size: 0.9rem; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: #fff; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links a { display: block; margin-bottom: 0.75rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }
.copy { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border); opacity: 0.6; font-size: 0.85rem; }

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav { display: none; } /* Simplified for now, typically would add mobile menu toggler */
    .grid-2 { grid-template-columns: 1fr; }
}
