body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
    animation: fadeIn 1.5s ease-in;
    position: relative;
}

header img.header-img {
    width: 100%;
    max-width: 250px;
    border: none;
    box-shadow: none;
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.5));
}

header img.header-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.7));
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    margin: 20px 0 10px;
    color: #00f2ff;
    text-shadow: 0 0 12px rgba(0, 242, 255, 0.6);
    animation: slideIn 1s ease-out;
}

header p {
    font-size: 1.5em;
    color: #a0a0a0;
    max-width: 800px;
    margin: 0 auto;
}

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-switcher button {
    background-color: #00f2ff;
    border: none;
    color: #0a0a0a;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 25px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.language-switcher button:hover {
    background-color: #4dffff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}

nav {
    text-align: center;
    margin: 40px 0;
    background: rgba(20, 20, 20, 0.9);
    padding: 15px 0;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #00f2ff;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

nav a:hover {
    color: #00f2ff;
}

nav a:hover::after {
    width: 100%;
}

section {
    margin: 80px 0;
    animation: fadeInUp 1s ease-in;
}

section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3em;
    margin-bottom: 40px;
    text-align: center;
    color: #00f2ff;
    text-shadow: 0 0 12px rgba(0, 242, 255, 0.4);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    font-size: 1.2em;
    color: #ccc;
}

.about-img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    border: 2px solid #00f2ff;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
}

.portfolio, .antivirus, .apis, .cursos, .tools, .hermetism, .testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.item, .course, .tool, .testimonial {
    text-align: center;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #00f2ff;
}

.item:hover, .course:hover, .tool:hover, .testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.5);
}

.portfolio img, .antivirus img, .apis img, .cursos img, .tools img, .hermetism img {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    border: 2px solid #00f2ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.portfolio img:hover, .antivirus img:hover, .apis img:hover, .cursos img:hover, .tools img:hover, .hermetism img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
}

.description {
    margin-top: 15px;
    font-size: 1.1em;
    color: #ccc;
    line-height: 1.5;
}

.visit-button, .course a, .tool a, .hermetism a {
    display: inline-block;
    color: #0a0a0a;
    background-color: #00f2ff;
    text-decoration: none;
    margin-top: 15px;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.visit-button:hover, .course a:hover, .tool a:hover, .hermetism a:hover {
    background-color: #4dffff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
}

#clients-globe {
    text-align: center;
    background: rgba(10, 10, 10, 0.95);
    padding: 40px 0;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

#globe-container {
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

#globe-container canvas {
    display: block;
    margin: 0 auto;
    width: 100% !important;
    height: 100% !important;
}

.label {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.contact {
    text-align: center;
}

.contact button.toggle-button {
    background-color: #00f2ff;
    border: none;
    color: #0a0a0a;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 25px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.contact button.toggle-button:hover {
    background-color: #4dffff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
}

.contact-form {
    display: none;
    margin: 20px auto;
    max-width: 600px;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #00f2ff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    animation: fadeIn 0.5s ease-in;
}

.contact-form.show {
    display: block;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
    color: #00f2ff;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #00f2ff;
    background: #222;
    color: #fff;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #00f2ff;
    border: none;
    color: #0a0a0a;
    padding: 15px;
    font-size: 1.2em;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.contact-form button:hover {
    background-color: #4dffff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #1a1a1a;
    margin-top: 40px;
    border-top: 1px solid #00f2ff;
    border-radius: 15px 15px 0 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 768px) {
    header img {
        max-width: 200px;
    }
    header h1 {
        font-size: 2.5em;
    }
    header p {
        font-size: 1.2em;
    }
    nav a {
        font-size: 1em;
        margin: 0 10px;
    }
    section h2 {
        font-size: 2.2em;
    }
    .about-container {
        flex-direction: column;
        gap: 20px;
    }
    .about-img {
        max-width: 250px;
    }
    .portfolio, .antivirus, .apis, .cursos, .tools, .hermetism, .testimonials {
        grid-template-columns: 1fr;
    }
    #globe-container {
        height: 400px;
    }
    #globe-container canvas {
        height: 400px !important;
    }
}