:root {
    --bg-dark: #050810;
    --primary: #1d6bf3;
    --cyan-accent: #00d2ff;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-sans); }
html { scroll-behavior: smooth; }

/* Fundo com Grade Tecnológica (Grid) */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    background-image: 
        linear-gradient(rgba(29, 107, 243, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 107, 243, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
    overflow-x: hidden;
}

/* Luzes Neon Flutuantes no Fundo (Blobs) */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: rgba(29, 107, 243, 0.4); }
.blob-2 { top: 40%; right: -10%; width: 400px; height: 400px; background: rgba(0, 210, 255, 0.3); animation-delay: -5s; }
.blob-3 { bottom: -10%; left: 20%; width: 600px; height: 600px; background: rgba(29, 107, 243, 0.2); }

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Navegação */
.navbar {
    background: rgba(5, 8, 16, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 45px; }
.logo-text { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.logo-text span { color: var(--cyan-accent); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s, text-shadow 0.3s; }
.nav-links a:hover { color: var(--cyan-accent); text-shadow: 0 0 10px rgba(0, 210, 255, 0.5); }

.btn-cliente {
    background: transparent; border: 1px solid var(--cyan-accent); color: var(--cyan-accent);
    padding: 0.6rem 1.4rem; border-radius: 50px; text-decoration: none; font-weight: 600;
    transition: all 0.3s ease;
}
.btn-cliente:hover { background: var(--cyan-accent); color: #000; box-shadow: 0 0 20px rgba(0, 210, 255, 0.4); }

/* Hero Section */
.hero { max-width: 900px; margin: 0 auto; padding: 8rem 1.5rem 6rem; text-align: center; }
.hero-badge {
    display: inline-block; padding: 0.4rem 1.2rem; background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.2); color: var(--cyan-accent);
    font-family: var(--font-mono); font-size: 0.85rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.gradient-text {
    background: linear-gradient(to right, #00d2ff, #3a7bd5);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 3rem; }

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, #1d6bf3, #00d2ff); color: #fff;
    padding: 1rem 2rem; border-radius: 8px; text-decoration: none; font-weight: 700;
    box-shadow: 0 10px 30px rgba(29, 107, 243, 0.3); transition: all 0.3s ease; border: none;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(0, 210, 255, 0.5); }
.btn-secondary { color: #fff; padding: 1rem 2rem; border-radius: 8px; text-decoration: none; font-weight: 600; border: 1px solid rgba(255,255,255,0.1); transition: background 0.3s; }
.btn-secondary:hover { background: rgba(255,255,255,0.05); }

/* Serviços e Cards Glassmorphism */
.services-section { padding: 5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 4rem; font-size: 1.1rem; }

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem; 
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; 
    overflow: hidden;
}

.service-card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan-accent), transparent);
    transform: translateX(-100%); transition: transform 0.6s ease;
}
.service-card:hover::before { transform: translateX(0%); }
.service-card:hover { 
    transform: translateY(-10px); 
    background: rgba(255, 255, 255, 0.04); 
    border-color: rgba(0, 210, 255, 0.3); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.4); 
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Ícones SVG com efeito Glow */
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    background: rgba(0, 210, 255, 0.18);
    border-color: rgba(0, 210, 255, 0.6);
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.35);
}

/* Formulário */
.order-section { padding: 5rem 1.5rem 8rem; }
.form-container {
    max-width: 700px; margin: 0 auto;
    background: rgba(10, 15, 30, 0.6); backdrop-filter: blur(20px);
    padding: 3rem; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.form-row {
    display: flex;
    gap: 1.5rem;
}
.form-row .form-group {
    flex: 1;
}
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 1rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; color: #fff; font-size: 1rem; transition: all 0.3s; margin-bottom: 1.5rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cyan-accent); box-shadow: 0 0 15px rgba(0, 210, 255, 0.2); outline: none; }
.btn-submit { width: 100%; padding: 1.2rem; background: linear-gradient(45deg, #1d6bf3, #00d2ff); border: none; border-radius: 8px; color: #fff; font-weight: bold; font-size: 1.1rem; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3); }

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 1.5rem;
    background: rgba(5, 8, 16, 0.8);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animação de Scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Dropdown Select */
select { color-scheme: dark; }
select option { background-color: #0d1322; color: #f8fafc; padding: 10px; }

/* Modal de Login */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(5, 8, 16, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; padding: 1.5rem;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-card {
    background: rgba(16, 23, 38, 0.95); border: 1px solid rgba(0, 210, 255, 0.2); border-radius: 16px;
    width: 100%; max-width: 440px; padding: 2.5rem 2rem; position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 210, 255, 0.1);
    transform: translateY(20px) scale(0.95); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-card { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 1rem; right: 1.2rem; background: transparent; border: none; color: var(--text-muted); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.modal-close:hover { color: #ffffff; }
.modal-header { text-align: center; margin-bottom: 1.5rem; }
.modal-badge { display: inline-block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan-accent); background: rgba(0, 210, 255, 0.08); border: 1px solid rgba(0, 210, 255, 0.2); padding: 0.25rem 0.8rem; border-radius: 50px; margin-bottom: 0.5rem; }
.modal-header h2 { font-size: 1.6rem; color: #ffffff; }
.modal-header p { font-size: 0.9rem; color: var(--text-muted); }
.modal-tabs { display: flex; background: rgba(0, 0, 0, 0.3); padding: 4px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 1.5rem; }
.tab-btn { flex: 1; padding: 0.6rem 0.5rem; border: none; background: transparent; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; }
.tab-btn.active { background: var(--primary); color: #ffffff; box-shadow: 0 2px 8px rgba(29, 107, 243, 0.4); }
.modal-footer { text-align: center; margin-top: 1.2rem; }
.modal-footer a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.modal-footer a:hover { color: var(--cyan-accent); }

/* --- ADAPTAÇÃO COMPLETA MOBILE --- */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .nav-links { display: none !important; }
    .logo { gap: 8px !important; }
    .logo img { height: 32px !important; }
    .logo-text { font-size: 1rem !important; }
    .btn-cliente { padding: 0.4rem 0.8rem !important; font-size: 0.75rem !important; white-space: nowrap !important; }

    .hero { padding: 4rem 1rem 3rem !important; }
    .hero h1 { font-size: 2.1rem !important; line-height: 1.2 !important; }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    .btn-primary, .btn-secondary {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .form-container {
        padding: 2rem 1.2rem !important;
    }

    .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}