@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5b38ff;
    --secondary-color: #2dd4bf;
    --brand-bg-start: #090615;
    --brand-bg-end: #1f0c42;
    --dark-bg: #090615;
    --light-bg: #f8fafc;
    --text-primary: #f8fbff;
    --text-secondary: #dbeafe;
    --border-color: rgba(255, 255, 255, 0.18);
    --transition-duration: 0.6s;
    --transition-easing: cubic-bezier(0.35, 0.75, 0.25, 1);
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Sora', sans-serif;
    background: linear-gradient(135deg, #05040f 0%, #130a2d 100%);
    color: var(--text-primary);
    position: relative;
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--brand-bg-start) 0%, var(--brand-bg-end) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    pointer-events: all;
}

.splash-content {
    text-align: center;
    animation: splashExit 0.9s ease-in-out 2s forwards;
    animation-delay: 2s;
}

.splash-logo-container {
    position: relative;
    margin-bottom: 36px;
}

.splash-logo-trail {
    position: absolute;
    inset: 0;
    filter: blur(22px);
    background: radial-gradient(circle at 50% 0%, rgba(45, 212, 191, 0.45) 0%, transparent 50%),
                radial-gradient(circle at 50% 100%, rgba(91, 56, 255, 0.3) 0%, transparent 45%);
    opacity: 0.75;
    transform: translateY(0);
    transition: opacity 0.8s ease-in-out;
    animation: trailGlow 1.4s ease-in-out 0.2s forwards;
    pointer-events: none;
}

.splash-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 26px 70px rgba(45, 212, 191, 0.28));
    animation: splashLogoEnter 1.2s ease-in-out forwards;
}

.splash-text {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 800;
    color: #eef2ff;
    letter-spacing: -0.04em;
    text-transform: lowercase;
    opacity: 0;
    animation: splashTextEnter 1.2s ease-in-out 0.2s forwards;
}
.splash-textp {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 500;
    color: #eef2ff;
    letter-spacing: -0.04em;
    text-transform: lowercase;
    opacity: 0;
    animation: splashTextEnter 1.2s ease-in-out 0.2s forwards;
    -webkit-text-stroke: 1px rgba(51, 53, 177, 0.479);
}
hr{
    border: 0;
    height: 1.5px;
    background: linear-gradient(to right, rgba(91, 56, 255, 0.3), rgba(45, 212, 191, 0.3));
    margin: 24px auto;
    width: 80%;
    animation: splashTextEnter 1.2s ease-in-out 0.2s forwards;
}
@keyframes splashLogoEnter {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes splashTextEnter {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes trailGlow {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    40% {
        opacity: 0.75;
    }
    100% {
        opacity: 0;
        transform: translateY(110px);
    }
}

@keyframes splashExit {
    0% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    40% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translateY(140px);
        filter: blur(10px);
    }
}

@keyframes splashLogoPulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes splashTextSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes splashFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes splashContentFadeOut {
    to {
        opacity: 0;
        transform: scale(0.94);
    }
}

@keyframes splashBackgroundFade {
    to {
        opacity: 0;
    }
}

.animated-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    z-index: 50;
    opacity: 0;
    animation: logoMoveToCorner 1s var(--transition-easing) 2s forwards, logoDisablePointer 1s var(--transition-easing) 2s forwards;
    pointer-events: none;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.2));
}

@keyframes logoMoveToCorner {
    0% {
        opacity: 1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        width: 120px;
        height: 120px;
    }
    100% {
        opacity: 1;
        top: 20px;
        left: 20px;
        transform: translate(0, 0) scale(0.5);
        width: 60px;
        height: 60px;
    }
}

@keyframes logoDisablePointer {
    0% {
        pointer-events: auto;
    }
    99% {
        pointer-events: auto;
    }
    100% {
        pointer-events: none;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(15, 10, 30, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 100;
    opacity: 0;
    animation: navbarFadeIn 0.6s var(--transition-easing) 2.5s forwards;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

@keyframes navbarFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-left,
.navbar-right {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar-right {
    justify-content: flex-end;
}

.navbar-center {
    flex: 1;
    text-align: center;
}

.navbar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #f8fbff;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: titleFadeIn 0.6s var(--transition-easing) 2.8s forwards;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.menu-btn {
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: rgba(91, 56, 255, 0.1);
}

.dot {
    width: 3px;
    height: 3px;
    background: #5b38ff;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-btn.active .dot:nth-child(1) {
    transform: translateY(-6px) scale(0.6);
}

.menu-btn.active .dot:nth-child(2) {
    opacity: 0.3;
}

.menu-btn.active .dot:nth-child(3) {
    transform: translateY(6px) scale(0.6);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    visibility: visible;
}

.menu-dropdown {
    position: fixed;
    top: 0;
    left: -360px;
    width: 320px;
    height: 100vh;
    background: rgba(15, 10, 30, 0.98);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.24);
    z-index: 99;
    transition: all 0.4s var(--transition-easing);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.menu-dropdown.active {
    left: 0;
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.22);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.close-menu-btn {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.08);
    border: none;
    border-radius: 8px;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-menu-btn:hover {
    background: rgba(99, 102, 241, 0.15);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    color: #f8fbff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: rgba(99, 102, 241, 0.06);
    border-left-color: var(--primary-color);
    padding-left: 28px;
}

.main-content {
    margin-top: 70px;
    padding: 60px 24px;
    opacity: 0;
    animation: contentFadeIn 0.8s var(--transition-easing) 2.9s forwards;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-section {
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #f8fbff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.welcome-section > p {
    font-size: 1.2rem;
    color: #dbeafe;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 197px;
}

.feature-card:hover {
    border-color: rgba(45, 212, 191, 0.9);
    box-shadow: 0 16px 48px rgba(45, 212, 191, 0.16);
    transform: translateY(-6px);
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f8fbff;
}

.feature-card p {
    font-size: 0.95rem;
    color: #dbeafe;
}

@media (max-width: 768px) {
    .splash-text {
        font-size: 2.5rem;
    }

    .splash-logo {
        width: 100px;
        height: 100px;
    }

    .splash-content {
        margin-bottom: 0;
    }

    .navbar {
        padding: 0 16px;
    }

    .menu-dropdown {
        width: 280px;
        left: -280px;
    }

    .welcome-section h2 {
        font-size: 2rem;
    }

    .welcome-section > p {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .menu-btn {
        width: 40px;
        height: 40px;
    }

    .hamburger-line {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .splash-text {
        font-size: 2rem;
    }

    .navbar {
        height: 60px;
    }

    .navbar-title {
        font-size: 1.2rem;
    }

    .main-content {
        padding: 40px 16px;
    }

    .welcome-section h2 {
        font-size: 1.6rem;
    }

    .animated-logo {
        width: 100px;
        height: 100px;
    }

    @keyframes logoMoveToCorner {
        0% {
            opacity: 1;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(1);
            width: 100px;
            height: 100px;
        }
        100% {
            opacity: 1;
            top: 15px;
            left: 15px;
            transform: translate(0, 0) scale(0.45);
            width: 50px;
            height: 50px;
        }
    }
}
h2{
    text-align: center; 
}

body.no-splash .navbar {
    opacity: 1;
    animation: none;
}

body.no-splash .navbar-title {
    opacity: 1;
    animation: none;
}

body.no-splash .main-content {
    opacity: 1;
    animation: none;
}

h1, h2, h3 {
    text-align: center;
}

.feature-card {
    text-decoration: none;
    display: block;
}

.feature-card--soon {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

.badge-soon {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 20px;
    padding: 2px 8px;
    vertical-align: middle;
    margin-left: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
p{
    text-align: center;
}
body.tema-escuro {
    background: #121212;
    color: white;
}

body.tema-escuro .navbar {
    background: #1e1e1e;
}

body.tema-escuro .menu-dropdown {
    background: #1e1e1e;
}
body.tema-claro {
    background: #f5f7fa;
    color: #222;
}
body.tema-brains {
    background: linear-gradient(
        135deg,
        #1f1147,
        #3a1c71
    );
    color: white;
}

body.tema-brains .navbar {
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
}

body.tema-brains .menu-dropdown {
    background: rgba(20,20,20,.95);
}
/* ==========================
   TEMA CLARO
========================== */

body.tema-claro {
    background: #f5f7fa;
    color: #222;
}

/* Navbar */
body.tema-claro .navbar {
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid #ddd;
}

body.tema-claro .navbar-title,
body.tema-claro .navbar-center p {
    color: #222;
}

/* Menu */
body.tema-claro .menu-dropdown {
    background: #ffffff;
}

body.tema-claro .menu-header h2,
body.tema-claro .menu-item {
    color: #222;
}

/* Home */
body.tema-claro .welcome-section h2,
body.tema-claro .welcome-section p,
body.tema-claro .feature-card h3,
body.tema-claro .feature-card p {
    color: #222;
}

body.tema-claro .feature-card {
    background: white;
    border: 1px solid #ddd;
}

/* Sobre */
body.tema-claro .sobre-hero h2,
body.tema-claro .sobre-desc,
body.tema-claro .sobre-card h3,
body.tema-claro .sobre-card p,
body.tema-claro .sobre-contato h3,
body.tema-claro .sobre-creditos h3,
body.tema-claro .sobre-creditos p {
    color: #222;
}

body.tema-claro .sobre-card,
body.tema-claro .sobre-contato,
body.tema-claro .sobre-creditos {
    background: white;
    border: 1px solid #ddd;
}

/* Agenda */
body.tema-claro .agenda-section h2,
body.tema-claro .agenda-subtitle {
    color: #222;
}

body.tema-claro .btn-dropdown-brains {
    background: white;
    color: #222;
    border: 1px solid #ddd;
}

body.tema-claro .dropdown-brains {
    background: white;
    border: 1px solid #ddd;
}

body.tema-claro .dropdown-brains a {
    color: #222;
}

/* Tarefas */
body.tema-claro .tarefas-section h2,
body.tema-claro .tarefas-subtitle {
    color: #222;
}

body.tema-claro .tarefas-card {
    background: white;
    border: 1px solid #ddd;
}

body.tema-claro .tarefa {
    background: #f8f8f8;
    border: 1px solid #ddd;
}

body.tema-claro .tarefa span {
    color: #222;
}

body.tema-claro .tarefas-input-row input {
    background: white;
    color: #222;
    border: 1px solid #ddd;
}

body.tema-claro .tarefas-input-row input::placeholder {
    color: #777;
}
/* ==========================
   CORREÇÕES GLOBAIS TEMA CLARO
========================== */

body.tema-claro h1,
body.tema-claro h2,
body.tema-claro h3,
body.tema-claro h4,
body.tema-claro h5,
body.tema-claro h6,
body.tema-claro p,
body.tema-claro span,
body.tema-claro label,
body.tema-claro a {
    color: #222 !important;
}

/* Navbar */
body.tema-claro .navbar {
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid #ddd;
}

body.tema-claro .navbar-title,
body.tema-claro .navbar-center p {
    color: #222 !important;
}

/* Menu lateral */
body.tema-claro .menu-dropdown {
    background: #fff;
}

body.tema-claro .menu-item {
    color: #222 !important;
}

body.tema-claro .menu-header h2 {
    color: #222 !important;
}

/* Cards Home */
body.tema-claro .feature-card {
    background: #fff;
    border: 1px solid #ddd;
}

body.tema-claro .feature-card h3,
body.tema-claro .feature-card p {
    color: #222 !important;
}

/* Sobre */
body.tema-claro .sobre-card,
body.tema-claro .sobre-contato,
body.tema-claro .sobre-creditos {
    background: #fff;
    border: 1px solid #ddd;
}

body.tema-claro .sobre-card h3,
body.tema-claro .sobre-card p,
body.tema-claro .sobre-desc,
body.tema-claro .sobre-contato h3,
body.tema-claro .sobre-creditos h3,
body.tema-claro .sobre-creditos p {
    color: #222 !important;
}

/* Agenda */
body.tema-claro .btn-dropdown-brains {
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
}

body.tema-claro .dropdown-brains {
    background: #fff;
    border: 1px solid #ddd;
}

body.tema-claro .dropdown-brains a {
    color: #222 !important;
}

/* Tarefas */
body.tema-claro .tarefas-card {
    background: #fff;
    border: 1px solid #ddd;
}

body.tema-claro .tarefa {
    background: #f8f8f8;
    border: 1px solid #ddd;
}

body.tema-claro .tarefa span {
    color: #222 !important;
}

body.tema-claro .tarefas-input-row input {
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
}

body.tema-claro .tarefas-input-row input::placeholder {
    color: #666;
}
/* Fontes */

body.fonte-sora{
    font-family:'Sora',sans-serif;
}

body.fonte-arial{
    font-family:Arial,sans-serif;
}

body.fonte-verdana{
    font-family:Verdana,sans-serif;
}

body.fonte-trebuchet{
    font-family:'Trebuchet MS',sans-serif;
}

body.fonte-georgia{
    font-family:Georgia,serif;
}
/* Tamanhos de fonte */

body.fonte-pequeno {
    font-size: 14px;
}

body.fonte-medio {
    font-size: 16px;
}

body.fonte-grande {
    font-size: 18px;
}

body.fonte-gigante {
    font-size: 20px;
}
/* ==========================
   METAS - TEMA CLARO
========================== */

body.tema-claro .stats-sidebar {
    background: #ffffff;
    border: 1px solid #ddd;
}

body.tema-claro .stat-card {
    background: #f5f7fa;
    border: 1px solid #ddd;
}

body.tema-claro .stat-title,
body.tema-claro .stat-value {
    color: #222 !important;
}

body.tema-claro .content-header h1,
body.tema-claro .stats-sidebar h2 {
    color: #222 !important;
}

body.tema-claro .filter-btn {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #555 !important;
}

body.tema-claro .filter-btn.active {
    color: #fff !important;
}

body.tema-claro .meta-card {
    background: #ffffff;
    border: 1px solid #ddd;
}

body.tema-claro .meta-card h3,
body.tema-claro .submeta-row span {
    color: #222 !important;
}

body.tema-claro .submeta-row.done span {
    color: #777 !important;
}

body.tema-claro .meta-deadline-badge,
body.tema-claro .progress-text {
    color: #555 !important;
}

body.tema-claro .meta-progress-bg {
    background: #e2e8f0;
}

body.tema-claro .modal-card {
    background: #ffffff;
    border: 1px solid #ddd;
}

body.tema-claro .modal-header h2,
body.tema-claro .form-group label,
body.tema-claro .close-btn {
    color: #222 !important;
}

body.tema-claro input,
body.tema-claro select {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #222 !important;
}

body.tema-claro .submeta-input-group button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    color: #222 !important;
}

body.tema-claro .submeta-preview-list li {
    color: #555 !important;
}

/* ==========================
   FONTES "MIRABOLANTES" (CYBERPUNK)
   Adicionadas como opções extras em Configurações,
   junto das fontes já existentes (Sora, Arial, etc).
========================== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800&family=Audiowide&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

body.fonte-orbitron {
    font-family: 'Orbitron', sans-serif;
}

body.fonte-audiowide {
    font-family: 'Audiowide', cursive;
}

body.fonte-rajdhani {
    font-family: 'Rajdhani', sans-serif;
}

body.fonte-techmono {
    font-family: 'Share Tech Mono', monospace;
}

/* ==========================
   BOTÃO DE VOLTAR (GLOBAL)
   Usar em todas as páginas de ferramentas:
   <a href="{{ url_for('SUA_ROTA_AQUI') }}" class="botao-voltar">
       <svg ...> Voltar
   </a>
   Já vem com adaptação automática para os 3 temas
   (claro / escuro / brains), sem precisar de CSS extra
   em cada página.
========================== */
.botao-voltar {
    position: fixed;
    top:580px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    background: rgba(91, 56, 255, 0.2);
    border: 1px solid rgba(91, 56, 255, 0.35);
    color: var(--text-primary, #a5b4fc);
    text-decoration: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
    z-index: 80;
}

.botao-voltar svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.botao-voltar:hover {
    background: rgba(91, 56, 255, 0.35);
    border-color: rgba(91, 56, 255, 0.6);
    transform: translateX(-3px);
}

/* Tema Claro */
body.tema-claro .botao-voltar {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #222 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

body.tema-claro .botao-voltar:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

/* Tema Escuro */
body.tema-escuro .botao-voltar {
    background: #232323;
    border: 1px solid #333;
    color: #fff !important;
}

body.tema-escuro .botao-voltar:hover {
    background: #2d2d2d;
    border-color: #444;
}

/* Tema Brains (padrão / gradiente da marca) */
body.tema-brains .botao-voltar {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff !important;
}

body.tema-brains .botao-voltar:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(45, 212, 191, 0.5);
}

@media (max-width: 480px) {
    .botao-voltar {
        top: 76px;
        left: 14px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
.cta-navbar {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;

}
.cta-navbar:hover {
    background: #4a2cd6;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5b38ff 0%, #2dd4bf 100%);
    box-shadow: 0 8px 20px rgba(91, 56, 255, 0.3);
} 
.cta-navbar:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(91, 56, 255, 0.2);
}
.cta-button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.cta-button:hover {
    background: #4a2cd6;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5b38ff 0%, #2dd4bf 100%);
    box-shadow: 0 8px 20px rgba(91, 56, 255, 0.3);
}
.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(91, 56, 255, 0.2);
}
.cta-section{
    text-align: center;
    margin-top: 40px;
}
/* ==========================
   SCROLL ANIMATION
========================== */

.fade-section{
    opacity:0;
    transform:translateY(60px);
    filter:blur(8px);

    transition:
            opacity .9s cubic-bezier(.22,1,.36,1),
        transform .9s cubic-bezier(.22,1,.36,1),
        filter .9s cubic-bezier(.22,1,.36,1);
}

.fade-section.show{
    opacity:1;
    transform:translateY(0);
    filter:blur(0);
}