:root {
            --bg-base: #050214;
            /* Deep dark background */
            --bg-surface: #0a0524;
            --primary: #9b24ff;
            --secondary: #c16fff;
            --accent: #00e5ff;
            /* Cyan tech accent */
            --warning: #f59e0b;
            --success: #22c55e;
            --text-main: #ffffff;
            --text-muted: #a1a1aa;
            --glass-bg: rgba(255, 255, 255, 0.02);
            --glass-border: rgba(255, 255, 255, 0.05);
            --glass-glow: rgba(155, 36, 255, 0.15);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--bg-base);
            color: var(--text-main);
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            line-height: 1.6;
            background-image:
                radial-gradient(circle at 10% 20%, rgba(155, 36, 255, 0.1), transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.05), transparent 40%);
            background-attachment: fixed;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: 'Outfit', sans-serif;
            letter-spacing: -0.02em;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* HEADER */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(5, 2, 20, 0.6);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--glass-border);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 24px;
            font-weight: 800;
            font-family: 'Outfit', sans-serif;
            background: linear-gradient(to right, #fff, #c16fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 32px;
        }

        .nav-links a {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-muted);
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--text-main);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 99px;
            font-size: 15px;
            font-weight: 600;
            font-family: 'Outfit', sans-serif;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            border: none;
        }

        .btn-outline {
            background: transparent;
            border: 1px solid var(--glass-border);
            color: var(--text-main);
        }

        .btn-outline:hover {
            background: var(--glass-bg);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            box-shadow: 0 8px 20px rgba(155, 36, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: all 0.5s ease;
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(155, 36, 255, 0.4);
        }

        .btn-accent {
            background: rgba(0, 229, 255, 0.1);
            color: var(--accent);
            border: 1px solid rgba(0, 229, 255, 0.2);
        }

        .btn-accent:hover {
            background: rgba(0, 229, 255, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 229, 255, 0.2);
        }

        /* HERO SECTION */
        .hero {
            padding: 95px 0 50px 0;
            min-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 60px;
            position: relative;
        }

        .hero-content {
            flex: 1;
            max-width: 650px;
            animation: fadeUp 1s ease-out;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(155, 36, 255, 0.1);
            color: var(--secondary);
            padding: 8px 16px;
            border-radius: 99px;
            font-size: 13px;
            font-weight: 600;
            font-family: 'Outfit', sans-serif;
            margin-bottom: 24px;
            border: 1px solid rgba(155, 36, 255, 0.2);
        }

        .badge span {
            width: 8px;
            height: 8px;
            background-color: var(--secondary);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--secondary);
            animation: pulse 2s infinite;
        }

        .hero h1 {
            font-size: clamp(40px, 5vw, 64px);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 24px;
        }

        .hero h1 span.gradient {
            background: linear-gradient(to right, #fff, var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero h1 span.accent {
            color: var(--accent);
            text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
        }

        .hero p {
            font-size: 18px;
            color: var(--text-muted);
            margin-bottom: 40px;
            max-width: 500px;
        }

        .hero-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* HERO MOCKUP (Glassmorphism) */
        .hero-mockup {
            flex: 1;
            position: relative;
            animation: fadeLeft 1s ease-out 0.2s backwards;
        }

        .glass-panel {
            background: rgba(10, 5, 36, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 32px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
            transform: perspective(1000px) rotateY(-12deg) rotateX(5deg);
            transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .glass-panel::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(from 0deg at 50% 50%, transparent 0%, rgba(155, 36, 255, 0.1) 25%, transparent 50%);
            animation: rotateGlow 10s linear infinite;
            z-index: 0;
            pointer-events: none;
        }

        .glass-panel>* {
            position: relative;
            z-index: 1;
        }

        .glass-panel:hover {
            transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
        }

        /* Mock UI Elements */
        .mock-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 16px;
        }

        .mock-title {
            font-family: 'Outfit';
            font-size: 18px;
            font-weight: 600;
        }

        .mock-status {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: var(--accent);
            background: rgba(0, 229, 255, 0.1);
            padding: 4px 10px;
            border-radius: 99px;
        }

        .mock-metric {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }

        .metric-card {
            flex: 1;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .metric-value {
            font-family: 'Outfit';
            font-size: 32px;
            font-weight: 700;
            color: #fff;
        }

        .metric-label {
            font-size: 12px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* MARQUEE (Cases de Sucesso) */
        .clients-section {
            padding: 40px 0;
            border-top: 1px solid var(--glass-border);
            border-bottom: 1px solid var(--glass-border);
            background: rgba(0, 0, 0, 0.2);
            overflow: hidden;
            position: relative;
        }

        .clients-section::before,
        .clients-section::after {
            content: '';
            position: absolute;
            top: 0;
            width: 150px;
            height: 100%;
            z-index: 2;
        }

        .clients-section::before {
            left: 0;
            background: linear-gradient(to right, var(--bg-base), transparent);
        }

        .clients-section::after {
            right: 0;
            background: linear-gradient(to left, var(--bg-base), transparent);
        }

        .marquee {
            display: flex;
            gap: 48px;
            animation: scroll 30s linear infinite;
            width: max-content;
        }

        .client-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            opacity: 0.7;
            filter: grayscale(1);
            transition: all 0.3s;
            font-family: 'Outfit';
            font-size: 20px;
            font-weight: 600;
            color: #fff;
        }

        .client-logo:hover {
            opacity: 1;
            filter: grayscale(0);
        }

        .client-emblem {
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        /* SERVICES GRID */
        .services {
            padding: 120px 0;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header h2 {
            font-size: clamp(32px, 4vw, 48px);
            margin-bottom: 16px;
        }

        .section-header p {
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .service-card {
            background: var(--bg-surface);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 40px 32px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            group: hover;
        }

        .service-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .service-card:hover {
            transform: translateY(-8px);
            background: rgba(255, 255, 255, 0.03);
            border-color: rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .service-card:hover::after {
            opacity: 1;
        }

        .service-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: rgba(155, 36, 255, 0.1);
            border: 1px solid rgba(155, 36, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--accent);
            margin-bottom: 24px;
            transition: transform 0.4s ease;
        }

        .service-card:hover .service-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .service-card h3 {
            font-size: 22px;
            margin-bottom: 12px;
        }

        .service-card p {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* FOOTER */
        footer {
            border-top: 1px solid var(--glass-border);
            padding: 60px 0 40px 0;
            background: rgba(0, 0, 0, 0.3);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-brand h3 {
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 16px;
            background: linear-gradient(to right, #fff, #c16fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .footer-brand p {
            color: var(--text-muted);
            font-size: 14px;
            max-width: 300px;
        }

        .footer-links h4 {
            font-size: 16px;
            margin-bottom: 20px;
            color: #fff;
        }

        .footer-links ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-links a {
            color: var(--text-muted);
            font-size: 14px;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--secondary);
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid var(--glass-border);
            padding-top: 24px;
            color: var(--text-muted);
            font-size: 13px;
        }

        /* ANIMATIONS */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeLeft {
            from {
                opacity: 0;
                transform: translateX(30px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(193, 111, 255, 0.4);
            }

            70% {
                box-shadow: 0 0 0 6px rgba(193, 111, 255, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(193, 111, 255, 0);
            }
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        @keyframes rotateGlow {
            100% {
                transform: rotate(360deg);
            }
        }

        /* RESPONSIVE */
        @media (max-width: 992px) {
            .hero {
                flex-direction: column;
                text-align: center;
                padding-top: 140px;
                gap: 80px;
            }

            .hero-content {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .hero p {
                text-align: center;
            }

            .hero-actions {
                justify-content: center;
            }

            .glass-panel {
                transform: none !important;
                margin: 0 20px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-brand p {
                margin: 0 auto;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 36px;
            }

            .mobile-menu-btn {
                display: flex !important;
                flex-direction: column;
                gap: 5px;
                cursor: pointer;
                z-index: 1001;
            }

            .mobile-menu-btn span {
                width: 25px;
                height: 2px;
                background-color: var(--text-main);
                transition: 0.3s;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 250px;
                height: 100vh;
                flex-direction: column;
                background: rgba(5, 2, 20, 0.95);
                backdrop-filter: blur(20px);
                border-left: 1px solid var(--glass-border);
                padding: 100px 32px;
                transition: right 0.4s ease;
                box-shadow: -10px 0 30px rgba(0,0,0,0.5);
                display: flex;
            }

            .nav-links.active {
                right: 0;
            }
            
            #header > div > div:last-child {
                display: none; /* Hide the Gov login button on small mobile to save space, or optionally keep it inside the menu */
            }
        }
        
        .mobile-menu-btn {
            display: none; /* Hidden on desktop */
        }
/* =========================================
   SUB-PAGES (Contato, Quem Somos, Solucoes)
   ========================================= */
.page-header {
    padding: 180px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(155, 36, 255, 0.1), transparent 60%);
}
.page-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}
.content-section {
    padding: 60px 0 120px;
}

/* Typography elements */
.text-block {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 60px;
}
.founder-block {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px 48px;
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Grid */
.contact-section {
    padding: 60px 0 120px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: stretch;
}
@media(max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* WPP Card */
.wpp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 24px;
    padding: 48px 32px;
    height: 100%;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.wpp-card:hover {
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
}
.wpp-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    fill: #22c55e;
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.5));
}
.wpp-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}
.wpp-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}
.btn-wpp {
    background: #22c55e;
    color: #000;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 99px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
}

/* Forms */
.contact-form {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.contact-form h3 {
    font-size: 28px;
    margin-bottom: 32px;
    font-family: 'Outfit', sans-serif;
}
.form-group {
    margin-bottom: 24px;
}
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(155, 36, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(155, 36, 255, 0.15);
}
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.alert.sucesso {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.alert.erro {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
