@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* TIPOGRAFIA */
html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Rajdhani', sans-serif !important;
    background: var(--preto);
    color: #f2f2f2;
    scroll-behavior: smooth;
    font-size: 1.5rem;
    font-weight: 500;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* PALETA */
:root {
    --roxo-1: #20002c;
    --roxo-2: #4a0075;
    --dourado: #f5c542;
    --preto: #0a000f;
}

/* ==========================================
   MELHORIAS VISUAIS (SCROLLBAR & SELEÇÃO)
========================================== */

/* Barra de Rolagem Personalizada */
::-webkit-scrollbar {
    width: 8px; /* Largura fina */
}

::-webkit-scrollbar-track {
    background: #050008; /* Fundo do trilho bem escuro */
}

::-webkit-scrollbar-thumb {
    background: var(--dourado); /* Cor da barra */
    border-radius: 4px;
    border: 2px solid #050008; /* Cria um espaçamento visual */
}

::-webkit-scrollbar-thumb:hover {
    background: #fff; /* Fica branco ao passar o mouse */
}

/* Cor de Seleção de Texto Personalizada */
::selection {
    background: var(--dourado);
    color: var(--preto);
    text-shadow: none;
}

/* ==========================================
   EFEITO SCANNER MÉDICO (DISCRETO)
========================================== */
.medical-scanner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to bottom, rgba(245, 197, 66, 0), rgba(245, 197, 66, 0.3), rgba(245, 197, 66, 0));
    box-shadow: 0 0 10px 2px rgba(245, 197, 66, 0.15);
    animation: scan 8s linear infinite;
    opacity: 0.4;
}

@keyframes scan {
    0% { top: -10%; }
    100% { top: 110%; }
}

.scan-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(245, 197, 66, 0.03) 25%, rgba(245, 197, 66, 0.03) 26%, transparent 27%, transparent 74%, rgba(245, 197, 66, 0.03) 75%, rgba(245, 197, 66, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(245, 197, 66, 0.03) 25%, rgba(245, 197, 66, 0.03) 26%, transparent 27%, transparent 74%, rgba(245, 197, 66, 0.03) 75%, rgba(245, 197, 66, 0.03) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    opacity: 0.15;
}

/* ==========================================
   NOVO: ATMOSFERA BIO-DIGITAL (PARTÍCULAS)
========================================== */
#bio-tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0; /* Atrás do conteúdo, junto com o scanner */
    overflow: hidden;
}

.bio-particle {
    position: absolute;
    color: var(--dourado);
    font-family: 'Share Tech Mono', monospace;
    opacity: 0;
    user-select: none;
    will-change: transform, opacity;
    text-shadow: 0 0 5px rgba(245, 197, 66, 0.4);
}

/* Variação Roxa */
.bio-particle.purple {
    color: #8a2be2;
    text-shadow: 0 0 5px rgba(138, 43, 226, 0.4);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: 0.4; /* Visibilidade máxima sutil */
    }
    80% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}


/* ==========================================
   1. NAVBAR (ESTILO ILHA FLUTUANTE)
========================================== */

.navbar {
    position: fixed;
    top: 20px; /* Afasta do topo */
    left: 50%;
    transform: translateX(-50%); /* Centraliza */
    width: 90%; /* Não ocupa tudo */
    padding: 15px 0;
    z-index: 1000;
    
    /* Estilo Vidro/Ilha */
    background: rgba(32, 0, 44, 0.85); /* Roxo Escuro com transparência */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(245, 197, 66, 0.15); /* Borda sutil dourada */
    border-radius: 50px; /* Bordas bem redondas */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Sombra forte para dar profundidade */
    
    transition: all 0.3s ease;
}

/* Ajuste para mobile: volta a ser 100% e colado no topo */
@media (max-width: 900px) {
    .navbar {
        top: 0;
        width: 100%;
        border-radius: 0;
        padding: 15px 0;
        background: rgba(32, 0, 44, 0.95); /* Roxo Escuro mais opaco */
    }
}

.nav-container {
    width: 92%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left { flex: 1; display: flex; justify-content: flex-start; }
.nav-center { flex: 2; display: flex; justify-content: center; gap: 30px; }
.nav-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 35px; }

.logo {
    color: var(--dourado);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-heart {
    animation: heartbeat 1.5s ease-in-out infinite;
    color: var(--dourado);
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px var(--dourado)); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 8px var(--dourado)); }
}

.navbar-ecg {
    display: none;
}

.ecg-svg {
    display: none;
}

@keyframes draw-ecg {
    to { stroke-dashoffset: 0; }
}

/* --- EFEITO DE HOVER SIMPLES (High Tech Clean) --- */
.nav-center a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-size: 1.2rem;
    z-index: 1;
    
    /* Fonte Nova */
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* Estado Hover */
.nav-center a:hover {
    color: var(--dourado);
    text-shadow: 0 0 12px rgba(245, 197, 66, 0.7); /* Glow dourado */
}

.nav-center a.active {
    color: var(--dourado);
    text-shadow: 0 0 12px rgba(245, 197, 66, 0.7);
}

/* Animações de entrada */
.navbar { opacity: 0; transform: translateY(-20px) translateX(-50%); animation: navbarReveal 0.8s ease-out forwards; }
@keyframes navbarReveal { to { opacity: 1; transform: translateY(0) translateX(-50%); } }

/* Ajuste da animação para mobile onde não tem translateX */
@media (max-width: 900px) {
    .navbar { animation: navbarRevealMobile 0.8s ease-out forwards; }
    @keyframes navbarRevealMobile { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
}

.nav-center a, .btn-login, .btn-register {
    opacity: 0; transform: translateY(-10px); animation: navItemReveal 1s ease-out forwards; animation-delay: .25s;
}
.nav-center a:nth-child(1) { animation-delay: .25s; }
.nav-center a:nth-child(2) { animation-delay: .35s; }
.nav-center a:nth-child(3) { animation-delay: .45s; }
.nav-center a:nth-child(4) { animation-delay: .55s; }
.nav-center a:nth-child(5) { animation-delay: .65s; }
.nav-center a:nth-child(6) { animation-delay: .75s; }
.btn-login { animation-delay: .85s; }
.btn-register { animation-delay: .95s; }

@keyframes navItemReveal { to { opacity: 1; transform: translateY(0); } }

/* ==========================================
   2. BOTÕES E MENU DROPDOWN
========================================== */

/* Estilo 3D para os botões de login e registro (igual ao btn-3d-buy) */
.btn-login, .btn-register {
    position: relative;
    background: var(--roxo-2); /* Roxo Principal (#4a0075) */
    color: #fff; /* Texto Branco para contraste */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 20px; /* Ajustado para navbar */
    text-align: center;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem; /* Fonte um pouco menor para navbar */
    
    /* Sombra 3D Roxa Escura */
    box-shadow: 0 4px 0 #2a0045; /* Sombra um pouco menor */
    transition: all 0.15s ease-in-out;
    display: inline-block;
    opacity: 1 !important; /* Força a opacidade para evitar sumir */
    visibility: visible !important; /* Força a visibilidade */
}

.btn-login:hover, .btn-register:hover {
    background: #6a00a0; /* Roxo um pouco mais claro no hover */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2a0045;
    /* Efeito de brilho roxo/neon */
    animation: pulse-glow-purple 1.5s infinite;
    opacity: 1 !important; /* Garante que não suma no hover */
}

.btn-login:active, .btn-register:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #2a0045;
    animation: none;
}

/* Ajuste específico para o botão de login para diferenciar se quiser, ou manter igual */
.btn-login {
    /* Se quiser diferenciar, pode mudar a cor de fundo aqui */
    /* Exemplo: background: transparent; border: 1px solid var(--dourado); color: var(--dourado); box-shadow: 0 4px 0 rgba(245, 197, 66, 0.3); */
    /* Mas o pedido foi para deixar igual ao 3D dos cards */
}


.user-menu { position: relative; display: inline-block; }
.user-menu-btn {
    background: none; border: 2px solid var(--dourado); color: var(--dourado);
    padding: 6px 12px; font-size: 1.2rem;
    border-radius: 6px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    transition: 0.3s ease;
}
.user-menu-btn:hover { background: var(--dourado); color: var(--preto); box-shadow: 0 0 12px rgba(245, 197, 66, 0.7); }

.menu-icon { font-size: 1.5rem; color: var(--dourado); transition: color 0.3s ease; }
.user-menu-btn:hover .menu-icon { color: var(--preto); }

/* --- SMOOTH DROP DOWN MENU ANIMATION --- */
.user-menu-content {
    display: block;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px); /* Começa um pouco mais acima */
    right: 0;
    top: 100%;
    padding-top: 10px;
    background-color: rgba(32, 0, 44, 0.95); /* Roxo Escuro igual ao modal */
    backdrop-filter: blur(8px);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    border: 1px solid rgba(74, 0, 117, 0.5); /* Borda roxa sutil */
    border-radius: 6px;
    z-index: 1001;
    overflow: hidden;
    /* Animação suave e elástica ao abrir */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.user-menu-content.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-content a, .user-info {
    color: #f2f2f2;
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.user-info {
    font-weight: 700;
    color: var(--dourado);
}

.user-menu-content a:last-child {
    border-bottom: none;
}

/* Efeito "Saltar para fora" ao passar o mouse */
.user-menu-content a:hover {
    background-color: var(--dourado);
    color: var(--preto);
    padding-left: 30px; /* Desloca o texto para a direita */
    box-shadow: inset 5px 0 0 var(--roxo-1); /* Linha de destaque */
}

.user-menu-content a:hover i {
    color: var(--preto);
}

/* ==========================================
   3. SEÇÕES E CONTEÚDO PRINCIPAL
========================================== */

#home, .auth-page { padding-top: 100px; }

/* ESTILO DE FUNDO UNIFICADO */
.section, #tecnologia {
    border: none;
    min-height: 100vh;
    padding: 130px 70px;
    position: relative;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background-color: #0a000f;
    background-image:
        linear-gradient(rgba(245, 197, 66, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 197, 66, 0.05) 1px, transparent 1px),
        radial-gradient(circle at center, #2a0038 0%, #0a000f 100%);
    background-size: 100% 30px, 30px 100%, 100% 100%;
    background-attachment: scroll;
}

#sobre {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

#sobre::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 0, 15, 0.7);
    z-index: -1;
}

#sobre::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(245, 197, 66, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 197, 66, 0.05) 1px, transparent 1px);
    background-size: 100% 30px, 30px 100%;
    z-index: 0;
    pointer-events: none;
}

.video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.4;
}

.section h1, .section h2 { color: var(--dourado); text-shadow: none; }
.section h2 { font-size: 2.4rem; margin-bottom: 20px; margin-top: 40px; }
.section p, .section ul li { font-size: 1.4rem; line-height: 1.55; color: #f2f2f2; }
.section ul { margin: 0 auto; padding: 0; list-style: none; }
.section ul li { margin: 10px 0; }
.section ul li .highlight-tech { color: var(--dourado); font-weight: 700; }

/* PARALLAX (Mantido apenas para elementos flutuantes, não fundo) */
.layer { perspective: 1000px; }
.bg-figure, .bg-figure2 {
    position: absolute; width: 400px; max-width: 100%; pointer-events: none;
    z-index: 1; transform: translateZ(-200px) scale(2);
}
.bg-figure { top: 10%; right: 5%; }
.bg-figure2 { width: 320px; max-width: 100%; overflow: hidden; left: 5%; bottom: 10%; }

.parallax-1, .parallax-2, .parallax-3, .parallax-4 {
    /* Herdam o estilo .section acima */
}

.parallax-4 {
    background-image: radial-gradient(circle at center, #002a38 0%, #0a000f 100%);
}

.divisor {
    border: 0; height: 2px; margin: 0;
    background: linear-gradient(to right, transparent, rgba(245, 197, 66, 0.9), transparent);
    box-shadow: 0 0 8px rgba(245, 197, 66, 0.5);
}

.fade-section { opacity: 0; transform: translateY(40px); transition: 1s ease; }
.fade-visible { opacity: 1; transform: translateY(0); }

#particles-med { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

.section-content { max-width: 1100px; text-align: center; z-index: 1; }
.section-content-flex { display: flex; align-items: center; gap: 50px; z-index: 1; }
.section-text { flex: 1; text-align: left; position: relative; left: 30px; top: -50px; }
.section-image { flex: 1; z-index: 2; transition: transform 0.1s ease-out; }
.section-image img {
    width: 100%; border-radius: 12px; transition: filter 0.3s ease-out, transform 0.3s ease-out;
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%) !important;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%) !important;
    display: block; object-fit: cover;
    border: none;
}
.section-image img:hover { animation: pulse-glow-image 2s infinite; }

@keyframes pulse-glow-image {
    0% { filter: drop-shadow(0 0 5px rgba(245, 197, 66, 0.5)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 20px rgba(245, 197, 66, 0.9)); transform: scale(1.02); }
    100% { filter: drop-shadow(0 0 5px rgba(245, 197, 66, 0.5)); transform: scale(1); }
}

/* ==========================================
   TECNOLOGIA (NOVO ESTILO: TECH SHOWCASE)
========================================== */
.tech-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1300px; /* Um pouco mais largo para caber as setas */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.tech-showcase {
    display: flex;
    flex-direction: row !important;
    justify-content: flex-start; /* Importante para o scroll funcionar corretamente */
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
    overflow-x: hidden; /* Esconde a barra de rolagem */
    scroll-behavior: smooth; /* Rolagem suave */
    padding: 20px 5px; /* Espaço para sombras não cortarem */
}

.tech-nav-btn {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--dourado);
    color: var(--dourado);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Impede que o botão encolha */
    margin-top: 50px; /* Alinha com o container que tem margin-top */
}

.tech-nav-btn:hover {
    background: var(--dourado);
    color: var(--preto);
    box-shadow: 0 0 15px var(--dourado);
    transform: scale(1.1);
}

.tech-item {
    position: relative;
    width: 350px; /* Aumentado para acomodar fonte maior */
    height: 400px; /* Aumentado para acomodar fonte maior */
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid rgba(245, 197, 66, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex-shrink: 0; /* Impede que os cards encolham demais */
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-item:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--dourado);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(245, 197, 66, 0.2);
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-icon-wrapper {
    width: 90px; /* Aumentado */
    height: 90px; /* Aumentado */
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    border: 1px solid rgba(245, 197, 66, 0.3);
    box-shadow: 0 0 15px rgba(245, 197, 66, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.tech-item:hover .tech-icon-wrapper {
    background: var(--dourado);
    border-color: var(--dourado);
    box-shadow: 0 0 30px rgba(245, 197, 66, 0.6);
    transform: rotateY(180deg);
}

.tech-icon-wrapper i {
    font-size: 3rem; /* Aumentado */
    color: var(--dourado);
    transition: color 0.4s ease;
}

.tech-item:hover .tech-icon-wrapper i {
    color: var(--preto);
    transform: rotateY(-180deg); /* Mantém o ícone virado corretamente */
}

.tech-item h3 {
    font-size: 1.8rem; /* Aumentado */
    margin-bottom: 15px;
    color: var(--dourado); /* Alterado para dourado */
    z-index: 2;
    transition: color 0.3s ease;
    /* Efeito Neon */
    text-shadow: 0 0 8px rgba(245, 197, 66, 0.7), 0 0 16px rgba(245, 197, 66, 0.5), 0 0 32px rgba(245, 197, 66, 0.3);
    animation: neonPulse 2.5s ease-in-out infinite;
}

.tech-item:hover h3 {
    color: var(--dourado);
    text-shadow: 0 0 10px rgba(245, 197, 66, 0.5);
}

.tech-item p {
    font-size: 1.2rem; /* Aumentado */
    line-height: 1.6;
    color: #ccc;
    z-index: 2;
    text-align: center;
}

/* Efeito de Circuito no Fundo do Card */
.tech-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, transparent 0%, transparent 100%),
        linear-gradient(0deg, transparent 49%, rgba(245, 197, 66, 0.05) 50%, transparent 51%),
        linear-gradient(90deg, transparent 49%, rgba(245, 197, 66, 0.05) 50%, transparent 51%);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}


/* ==========================================
   CURSOS (LAYOUT HORIZONTAL)
========================================== */
.course-showcase-container {
    display: flex;
    flex-direction: row; /* Mudado de column para row */
    flex-wrap: wrap; /* Permite que os cards quebrem para a próxima linha se necessário */
    justify-content: center; /* Centraliza os cards horizontalmente */
    gap: 30px; /* Espaçamento entre os cards */
    margin-top: 40px;
    width: 100%;
}

.course-showcase-item {
    display: flex;
    flex-direction: column; /* Garante que o conteúdo dentro do item fique em coluna */
    align-items: center;
    width: 350px; /* Largura fixa para os cards */
    max-width: 100%;
}

/* Removido o estilo alternado que invertia a ordem */
.course-showcase-item:nth-child(even) {
    flex-direction: column;
}

.course-card {
    width: 100%; /* O card ocupa toda a largura do item */
    height: 100%; /* Altura total */
    display: flex;
    flex-direction: column;
    background: rgba(20, 20, 20, 0.6); /* Mais transparência */
    backdrop-filter: blur(8px); /* Glassmorphism */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 197, 66, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    position: relative; /* Necessário para o efeito de brilho */
    z-index: 1;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.course-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(245, 197, 66, 0.1);
}

.course-card-content {
    padding: 25px;
    text-align: center;
    background: transparent; /* Fundo transparente para herdar o blur do pai */
}

.course-card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
}

.course-card-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.price-original {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
}

.price-discount {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dourado);
    animation: price-flash 2s infinite;
}

@keyframes price-flash {
    0%, 100% {
        color: var(--dourado);
        text-shadow: 0 0 5px rgba(245, 197, 66, 0.5);
    }
    50% {
        color: #fff;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}

.course-card-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--roxo-1); /* Fundo roxo escuro */
    border: 1px solid var(--dourado);
    color: var(--dourado);
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-card-btn:hover {
    background: var(--dourado);
    color: var(--preto);
    box-shadow: 0 0 15px rgba(245, 197, 66, 0.6);
}

.course-showcase-description {
    display: none; /* Oculta a descrição externa se houver, já que estamos focando nos cards lado a lado */
}

/* Responsividade para telas menores */
@media (max-width: 900px) {
    .course-showcase-item,
    .course-showcase-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .course-card {
        max-width: 100%;
        width: 100%;
    }

    .course-showcase-description {
        text-align: center;
        border: none;
    }
}

/* ==========================================
   CONTATO
========================================== */
#contato {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-top: 50px;
    width: 100%;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: #222;
    border-radius: 50%;
    font-size: 3rem;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s;
}

.social-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.5s;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dourado);
    transition: top 0.5s;
}

.social-icon.whatsapp::before { background-color: #25D366; }
.social-icon.instagram::before { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.social-icon:hover::before {
    top: 0;
}

.social-icon:hover i {
    transform: rotateY(360deg);
    color: #fff;
}

.contact-item span {
    margin-top: 15px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: #ccc;
}


/* ==========================================
   OUTROS EFEITOS
========================================== */
#home h1 { font-size: 3.4rem; line-height: 1.2; }
#home p { font-size: 1.5rem; font-weight: 300; margin-top: 20px; }
.home-animate { transition: transform 0.15s ease-out; will-change: transform; }

.neon-text {
    color: var(--dourado);
    text-shadow: 0 0 8px rgba(245, 197, 66, 0.7), 0 0 16px rgba(245, 197, 66, 0.5), 0 0 32px rgba(245, 197, 66, 0.3);
    animation: neonPulse 2.5s ease-in-out infinite;
}
@keyframes neonPulse {
    0%, 100% { text-shadow: 0 0 6px rgba(245, 197, 66, 0.6), 0 0 14px rgba(245, 197, 66, 0.4), 0 0 28px rgba(245, 197, 66, 0.2); }
    50% { text-shadow: 0 0 14px rgba(245, 197, 66, 0.9), 0 0 28px rgba(245, 197, 66, 0.7), 0 0 40px rgba(245, 197, 66, 0.5); }
}

/* Efeito de Digitação (Restaurado) */
.typing-effect {
    overflow: hidden;
    border-right: .15em solid var(--dourado);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation:
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
    padding-right: 10px; /* Aumentado para 10px para garantir */
    max-width: fit-content; /* Ajusta a largura ao conteúdo */
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--dourado); }
}

.reveal { opacity: 0; transition: 0.9s ease; }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal.visible { opacity: 1; transform: translateX(0); }

/* ==========================================
   MODAL
========================================== */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
    background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(25,25,25,0.95) 40%, rgba(45,45,45,0.90) 70%, rgba(0,0,0,0.92) 100%);
    margin: 10% auto; padding: 40px; border: 1px solid var(--dourado); border-radius: 15px;
    width: 80%; max-width: 600px; box-shadow: 0 0 25px rgba(245, 197, 66, 0.4); position: relative; animation: slideIn 0.4s ease-out;
    
    /* AJUSTE DE FONTE PARA O MODAL (SOLICITADO) */
    font-size: 1rem; /* Reduz a fonte base do modal para 16px (ao invés de herdar 1.5rem do body) */
}
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.close-button { color: #aaa; float: right; font-size: 28px; font-weight: bold; transition: 0.3s; }
.close-button:hover, .close-button:focus { color: var(--dourado); text-decoration: none; cursor: pointer; }

/* Ajuste dos títulos dentro do modal */
.modal-content h1 { text-align: center; font-size: 1.8rem; margin-bottom: 25px; }
.modal-content h2 { text-align: center; font-size: 1.4rem; margin-top: 25px; margin-bottom: 15px; }

.modal-content ul { list-style: none; padding: 0; }
.modal-content ul li { background: rgba(255, 255, 255, 0.05); margin: 5px 0; padding: 10px; border-radius: 5px; text-align: center; font-size: 1.2rem; }

/* Estilo para a lista de informações do usuário (Novo) */
.account-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.info-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.info-label {
    color: var(--dourado);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.info-value {
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
}

/* Botão Whatsapp Reduzido */
.whatsapp-support-btn {
    display: block; width: 45px; height: 45px; background-color: #25D366; color: white;
    border-radius: 50%; text-align: center; line-height: 45px; font-size: 24px;
    margin: 20px auto 0; transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-support-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--dourado); /* Brilho dourado */
    background-color: var(--dourado); /* Fundo dourado */
}

/* ==========================================
   STATUS CARD STYLES
========================================== */
.status-card-container {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduzido o gap */
    margin-top: 15px;
}

.status-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 15px; /* Padding reduzido */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid transparent; /* Borda mais fina */
    transition: transform 0.2s ease;
}

.status-card:hover {
    transform: translateX(5px);
}

.status-active {
    border-left-color: #25D366; /* Verde */
    background: linear-gradient(90deg, rgba(37, 211, 102, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.status-warning {
    border-left-color: #f5c542; /* Amarelo/Dourado */
    background: linear-gradient(90deg, rgba(245, 197, 66, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.status-expired {
    border-left-color: #555; /* Cinza Escuro */
    background: linear-gradient(90deg, rgba(50, 50, 50, 0.3) 0%, rgba(20, 20, 20, 0.8) 100%);
    filter: grayscale(100%); /* Preto e Branco */
    opacity: 0.7;
}

.course-name {
    font-weight: bold;
    font-size: 1rem; /* Fonte reduzida */
    color: #fff;
}

.status-info {
    text-align: right;
}

.status-text {
    display: block;
    font-weight: bold;
    font-size: 0.85rem; /* Fonte reduzida */
    margin-bottom: 3px;
}

.status-active .status-text { color: #25D366; }
.status-warning .status-text { color: #f5c542; }
.status-expired .status-text { color: #aaa; } /* Texto cinza para expirado */

.expiration-date {
    display: block;
    font-size: 0.75rem; /* Fonte reduzida */
    color: #ccc;
}

/* Botão renovar menor */
.btn-renew {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.75rem;
    padding: 4px 8px;
    background: var(--dourado);
    color: var(--preto);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

/* ==========================================
   EFEITO GLITCH
========================================== */

.glitch-effect {
    position: relative;
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--preto);
    overflow: hidden;
    clip-path: inset(50% 50% 50% 50%);
}

.glitch-effect::before {
    left: -2px;
    text-shadow: -1px 0 var(--dourado);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-effect::after {
    left: 2px;
    text-shadow: -1px 0 var(--roxo-2);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(40% 0 60% 0); }
    20% { clip-path: inset(10% 0 85% 0); }
    40% { clip-path: inset(50% 0 30% 0); }
    60% { clip-path: inset(30% 0 70% 0); }
    80% { clip-path: inset(80% 0 5% 0); }
    100% { clip-path: inset(45% 0 50% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(90% 0 5% 0); }
    40% { clip-path: inset(40% 0 55% 0); }
    60% { clip-path: inset(60% 0 30% 0); }
    80% { clip-path: inset(10% 0 75% 0); }
    100% { clip-path: inset(70% 0 20% 0); }
}

/* ==========================================
   EFEITO HUD (VISOR MÉDICO)
========================================== */

.btn-3d-buy {
    position: relative;
    padding: 12px 30px;
    background: transparent;
    border: none;
    color: var(--dourado);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-3d-buy::before,
.btn-3d-buy::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    transition: 0.3s;
}

.btn-3d-buy::before {
    top: 0;
    left: 0;
    border-top: 2px solid var(--dourado);
    border-left: 2px solid var(--dourado);
}

.btn-3d-buy::after {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--dourado);
    border-right: 2px solid var(--dourado);
}

.btn-3d-buy:hover::before,
.btn-3d-buy:hover::after {
    width: 100%;
    height: 100%;
}

.btn-3d-buy:hover {
    background: rgba(245, 197, 66, 0.1);
}

/* Variação Amarela Brilhante para o Botão Home */
.btn-3d-buy.yellow-neon {
    color: #ffe600; /* Amarelo mais vivo */
    text-shadow: none;
}

.btn-3d-buy.yellow-neon::before {
    border-top-color: #ffe600;
    border-left-color: #ffe600;
    filter: none;
}

.btn-3d-buy.yellow-neon::after {
    border-bottom-color: #ffe600;
    border-right-color: #ffe600;
    filter: none;
}

.btn-3d-buy.yellow-neon:hover {
    background: rgba(255, 230, 0, 0.1);
    box-shadow: none;
}

/* ==========================================
   BOTÃO 3D VERMELHO (SOLICITADO)
========================================== */
.btn-3d-red {
    display: inline-block;
    background-color: #d90429;
    color: #fff;
    padding: 15px 40px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #8a001a;
    box-shadow: 0 6px 0 #6d0015;
    margin-top: 30px;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.1s ease; /* Transição rápida para o efeito de clique */
}

.btn-3d-red:hover {
    background-color: #ef233c;
    transform: translateY(-2px); /* Leve subida no hover */
    box-shadow: 0 8px 0 #6d0015;
}

.btn-3d-red:active {
    transform: translateY(4px); /* Desce ao clicar */
    box-shadow: 0 2px 0 #6d0015;
}
