/* 
   VPR Tecnologia - Futuristic/Tech Design System 
   Focus: Cyberpunk, Neon, Dark Mode, Circuitry
*/

:root {
    /* Core Dark Palette */
    --bg-deep: #030014;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.4);

    /* Neon Accents */
    --neon-purple: #a855f7;
    --neon-blue: #0ea5e9;
    --neon-cyan: #22d3ee;
    --neon-pink: #f472b6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    --gradient-glow: linear-gradient(to right, #a855f7, #22d3ee);
    --gradient-text: linear-gradient(to right, #ffffff, #a5f3fc);

    /* Typography */
    --font-heading: 'Orbitron', 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-accent: #38bdf8;

    /* Shadows & Glows */
    --glow-sm: 0 0 10px rgba(124, 58, 237, 0.3);
    --glow-md: 0 0 20px rgba(124, 58, 237, 0.4);
    --glow-lg: 0 0 30px rgba(34, 211, 238, 0.5);
    --glow-text: 0 0 10px rgba(34, 211, 238, 0.5);

    --border-glass: 1px solid rgba(255, 255, 255, 0.05);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    z-index: -2;
}

.circuit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Modern Buttons (Neon) */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    position: relative;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-md);
    letter-spacing: 2px;
}

.btn-outline {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    /* Cannot use clip-path well with border easily without pseudo-elements, simpler fallback: */
    clip-path: none;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(34, 211, 238, 0.2);
}

.btn-outline:hover {
    background: rgba(34, 211, 238, 0.1);
    box-shadow: var(--glow-text);
}

/* Sections */
section {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
}

/* Underline effect */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--neon-cyan);
    box-shadow: var(--glow-text);
}

/* HEADER */
header {
    background: rgba(3, 0, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--glow-sm);
    overflow: hidden;
}

.logo-icon span {
    transform: rotate(-45deg);
    font-weight: 900;
    color: white;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    background:
        radial-gradient(circle at center, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero p {
    font-size: 1.25rem;
    margin: 1.5rem 0 3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* SERVICES */
.services {
    padding: 6rem 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.6);
    border: var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: var(--neon-purple);
}

.relative {
    position: relative;
}

.card-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.service-card:hover .card-image {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--neon-purple);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    box-shadow: var(--glow-sm);
}

.card-content {
    padding: 2rem;
    flex: 1;
}

.card-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card-features {
    margin: 1.5rem 0;
}

.card-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.card-features i {
    color: var(--neon-cyan);
    margin-right: 0.75rem;
}

.card-action {
    padding: 0 2rem 2rem;
}

/* BENEFITS */
.benefits {
    padding: 6rem 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3) 50%, transparent);
}

.benefit-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-sm);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--neon-cyan);
    background: rgba(34, 211, 238, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* WHY US */
.why-us {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Glowing separator */
.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    box-shadow: 0 0 10px var(--neon-purple);
}

.why-icon-box {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s;
}

.why-icon-box:hover {
    transform: scale(1.05);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--neon-pink);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(244, 114, 182, 0.4));
}

.why-icon-box h3 {
    margin-bottom: 0.5rem;
    color: white;
}

/* CONTACT */
.contact {
    padding: 6rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-item {
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ci-icon {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--neon-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.2rem;
}

.contact-info-item h4 {
    margin-bottom: 0.25rem;
    color: white;
}

/* FAQ */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: white;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 1.5rem 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--neon-pink);
}

.faq-icon {
    transition: transform 0.3s;
    color: var(--neon-cyan);
}

/* FOOTER */
.footer {
    background: #02040a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #475569;
}

/* Floating WhatsApp */
.float-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s;
}

.float-wa:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 20, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }
}