/* CSS Variables for Premium Dark Tech Theme */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-100: #f3f4f6;
    --color-gray-400: #9ca3af;
    --color-gray-600: #8892b0;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Neon glows */
    --color-cyan: #00f0ff;
    --color-purple: #bd00ff;
    --color-blue: #0055ff;

    /* Typography */
    --font-headline: 'Cormorant Garamond', serif;
    --font-highlight: 'Plus Jakarta Sans', sans-serif;
    --font-text: 'Inter', sans-serif;
    --font-main: 'Outfit', sans-serif;
    --font-tech: 'Space Grotesk', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('../assets/img/bkg_sobre.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--color-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: url('../assets/img/varinha.png') 16 16, auto;
}

a,
button,
[role="button"],
.carousel-dot,
.carousel-nav {
    cursor: pointer !important;
}

input,
textarea {
    cursor: text !important;
}

video {
    pointer-events: none;
}

/* Premium Header Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 80px;
    display: flex;
    align-items: center;
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    gap: 15px;
    transition: var(--transition-smooth);
}

.logo-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-ring-svg {
    position: absolute;
    width: 100px;
    height: 100px;
    animation: rotate-ring 35s linear infinite reverse;
    transform-origin: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
    transition: var(--transition-smooth);
}

.logo:hover .logo-ring-svg {
    animation-duration: 12s;
    opacity: 0.7;
}

.logo-ring-text {
    font-family: var(--font-tech);
    font-size: 7.5px;
    fill: #c084fc;
    letter-spacing: 2px;
    text-shadow: 0 0 3px rgba(189, 0, 255, 0.4);
    dominant-baseline: middle;
}

.logo:hover .logo-ring-text {
    fill: var(--color-cyan);
    text-shadow: 0 0 5px var(--color-cyan);
}

.logo .logo-icon {
    height: 52px;
    width: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.2));
    transition: var(--transition-smooth);
    animation: rotate-ring 35s linear infinite;
    transform-origin: center;
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.5));
    animation-duration: 12s;
}

.logo .logo-text {
    height: 80px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(189, 0, 255, 0.2));
    transition: var(--transition-smooth);
}

.logo:hover .logo-text {
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.5));
}

@keyframes rotate-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1380px) {
    .header-container::after {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .logo-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .logo-ring-svg {
        display: none !important;
    }

    .logo .logo-icon {
        height: 40px;
        filter: none !important;
    }

    .logo .logo-text {
        height: 55px;
    }
}

@media (max-width: 768px) {
    .logo {
        gap: 10px;
    }

    .logo-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .logo .logo-icon {
        height: 32px;
    }

    .logo .logo-text {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 8px;
    }

    .logo-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .logo .logo-icon {
        height: 26px;
    }

    .logo .logo-text {
        height: 30px;
    }
}

.header-container::after {
    content: '';
    flex: 1;
    transition: var(--transition-smooth);
}

nav {
    display: flex;
    gap: 32px;
    padding: 10px 30px;
    transition: var(--transition-smooth);
}

nav:hover {
    border-color: rgba(189, 0, 255, 0.15);
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.03);
}

nav a {
    position: relative;
    text-decoration: none;
    color: var(--color-gray-400);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

nav a:hover,
nav a.active {
    color: var(--color-white);
}

nav a:hover::after,
nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-purple), var(--color-cyan));
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

/* Premium Footer */
footer {
    background: rgba(8, 8, 12, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 80px 40px 80px;
    margin-top: 80px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 10;
}

.footer-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    align-self: flex-start;
    filter: drop-shadow(0 0 10px rgba(189, 0, 255, 0.1));
}

.footer-desc {
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.6;
    max-width: 360px;
}

.footer-center h4,
.footer-right h4 {
    font-family: var(--font-tech);
    font-size: 12px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-center ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-center ul a {
    text-decoration: none;
    color: var(--color-gray-400);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-center ul a:hover {
    color: var(--color-cyan);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.2);
    padding-left: 4px;
}

.footer-right {
    display: flex;
    flex-direction: column;
}

.social-spheres {
    display: flex;
    gap: 15px;
}

.social-sphere {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(189, 0, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 10px rgba(189, 0, 255, 0.05);
    backdrop-filter: blur(5px);
}

.social-sphere:hover {
    transform: translateY(-5px) scale(1.08);
    border-color: rgba(0, 229, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    color: #00e5ff;
}

.social-sphere i {
    background: linear-gradient(135deg, #bd00ff, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.social-sphere:hover i {
    background: none;
    -webkit-text-fill-color: #00e5ff;
}

.footer-bottom {
    width: 100%;
    max-width: 1280px;
    margin: 60px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-gray-600);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    header {
        padding: 0;
    }

    .header-container {
        padding: 10px 40px;
    }

    nav {
        display: none;
        /* Hide main links on smaller screens for clean layout */
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer {
        padding: 60px 40px 30px 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.title-highlight {
    background: linear-gradient(90deg, #d884ff, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}