body { font-family: 'Inter', sans-serif; }

nav {
    background: rgba(15, 23, 42, 0.88); /* tom mais escuro para contraste */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
}

nav a {
    color: #cbd5e1;
}

nav a:hover {
    color: #38bdf8;
}

.glass-card { 
    background: rgba(30, 41, 59, 0.7); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
}

.skill-card { 
    position: relative;
    cursor: help;
}

.tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -10px);
    min-width: 170px;
    max-width: 260px;
    background-color: rgba(15, 23, 42, 0.95);
    color: #e2e8f0;
    padding: 0.45rem 0.5rem;
    border-radius: 0.45rem;
    font-size: 0.72rem;
    text-align: center;
    line-height: 1.3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 20;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.35);
    white-space: pre-wrap;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
}

.skill-card:hover .tooltip-text {
    opacity: 1;
    transform: translate(-50%, -14px);
}

.text-gradient { 
    background: linear-gradient(to right, #22d3ee, #0ea5e9); 
    background-clip: text;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.lang-btn.active { 
    border-color: #22d3ee; 
    color: #fff; 
    background: rgba(34, 211, 238, 0.1);
}

.partner-logo {
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.dropdown-container {
    position: relative;
}

.dropdown-menu {
    animation: slideDown 0.2s ease;
}

.dropdown-menu.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.light-mode {
    background-color: #f5f5f5;
    color: #1e293b;
}

body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #0f172a;
}

body.light-mode nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(34, 211, 238, 0.4);
}

body.light-mode nav a {
    color: #1e293b;
}

body.light-mode nav a:hover {
    color: #06b6d4;
}

body.light-mode .text-white {
    color: #0f172a;
}

body.light-mode .text-slate-200 {
    color: #1e293b;
}

body.light-mode .text-slate-300 {
    color: #334155;
}

body.light-mode .text-slate-400 {
    color: #475569;
}

body.light-mode .bg-\[\#1e293b\]\/30 {
    background-color: rgba(226, 232, 240, 0.3);
}

body.light-mode .bg-\[\#1e293b\]\/20 {
    background-color: rgba(226, 232, 240, 0.2);
}

@media print {
    .fixed,
    nav,
    .dropdown-container,
    #export-btn,
    .lang-btn,
    #theme-btn,
    footer {
        display: none !important;
    }

    body {
        background-color: #0f172a !important;
        color: #f8fafc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .glass-card {
        background: rgba(30, 41, 59, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .text-white,
    .text-slate-200,
    .text-slate-300,
    .text-slate-400 {
        color: #f8fafc !important;
    }

    .bg-\[\#1e293b\]\/30,
    .bg-\[\#1e293b\]\/20 {
        background-color: rgba(30, 41, 59, 0.3) !important;
    }

    .tooltip-text {
        display: none !important;
    }
}