:root {
    --bg-color: #050505;
    --bg-secondary: #0a0a12;
    --text-color: #e0e0e0;
    --accent-primary: #00f3ff;
    /* Cyan */
    --accent-secondary: #bd00ff;
    /* Purple */
    --accent-tertiary: #00ff9d;
    /* Green */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Grid background */
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.neon-text-cyan {
    text-shadow: 0 0 10px var(--accent-primary);
    color: var(--accent-primary);
}

.neon-text-purple {
    text-shadow: 0 0 10px var(--accent-secondary);
    color: var(--accent-secondary);
}

.section-title {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    left: 0;
    transform: none;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-primary);
    margin: 10px 0 0;
    box-shadow: 0 0 15px var(--accent-primary);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    letter-spacing: -1px;
}

.header-logo {
    height: 40px;
    width: auto;
    margin-right: 12px;
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary);
    text-shadow: 0 0 8px var(--accent-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #bbb;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 12px 30px;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 20px var(--accent-primary);
}

/* Cards (Services) */
.services-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.2);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--accent-primary);
    font-size: 1.3rem;
}

.card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.card ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-tertiary);
}

/* Specific Layout for Consultoria Section (Icon + Title side by side) */
#consultoria .card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#consultoria .card i {
    margin-right: 15px;
    margin-bottom: 0;
    /* Override default */
}

#consultoria .card h3 {
    margin-bottom: 0;
    /* Override default */
}

#consultoria .card ul,
#consultoria .card p {
    width: 100%;
    margin-top: 1rem;
    flex-basis: 100%;
}

/* Automation Section */
.automation-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.auto-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.auto-item h4 {
    margin: 1rem 0;
    color: var(--accent-tertiary);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to top, #000, var(--bg-secondary));
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: #666;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: block;
        position: fixed;
        top: 80px;
        /* Header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: 0.4s ease;
        padding-top: 2rem;
        border-top: 1px solid var(--glass-border);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 2rem 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        display: block;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}