/* ============================================
   RESET E VARIÁVEIS - DESIGN MODERNO E FINO
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #ef4444;
    --dark-red: #dc2626;
    --light-red: #f87171;
    --accent-red: #fee2e2;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(15, 15, 15, 0.4);
    --bg-glass: rgba(20, 20, 20, 0.3);
    --text-primary: #fafafa;
    --text-secondary: #d4d4d4;
    --text-muted: #a3a3a3;
    --border-red: rgba(239, 68, 68, 0.15);
    --glow-red: rgba(239, 68, 68, 0.2);
    --shadow-red: rgba(239, 68, 68, 0.1);
}

html {
    scroll-behavior: smooth;
}

/* Proteção contra cópia - desabilitar seleção de texto */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Permitir seleção e toque em links e botões */
a, button, .btn, .quick-link-card {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(239, 68, 68, 0.2);
    touch-action: manipulation;
    cursor: pointer;
}

/* Permitir seleção em campos de formulário e áreas editáveis */
input,
textarea,
[contenteditable="true"],
.code-example,
pre,
code {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(239, 68, 68, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(239, 68, 68, 0.03) 0%, transparent 50%);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    animation: pageFadeIn 0.6s ease-out forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(239, 68, 68, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(239, 68, 68, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* ============================================
   EFEITO DE VISÃO NOTURNA VERMELHA (SUBTIL)
   ============================================ */
.night-vision-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, transparent 0%, rgba(239, 68, 68, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* ============================================
   BACKGROUND CIBERNÉTICO
   ============================================ */
.cyber-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(239, 68, 68, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(239, 68, 68, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: cyber-grid-move 30s linear infinite;
    opacity: 0.4;
}

@keyframes cyber-grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.cyber-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(239, 68, 68, 0.1) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(239, 68, 68, 0.1) 50%, transparent 100%);
    background-size: 200% 200%;
    animation: cyber-scan 8s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes cyber-scan {
    0%, 100% {
        background-position: 0% 0%, 0% 0%;
    }
    50% {
        background-position: 100% 100%, 100% 100%;
    }
}

.cyber-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(239, 68, 68, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(239, 68, 68, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(239, 68, 68, 0.4), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(239, 68, 68, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(239, 68, 68, 0.2), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(239, 68, 68, 0.3), transparent),
        radial-gradient(1px 1px at 10% 40%, rgba(239, 68, 68, 0.2), transparent);
    background-size: 200% 200%;
    animation: cyber-particles-move 25s ease infinite;
    opacity: 0.5;
}

@keyframes cyber-particles-move {
    0%, 100% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 50% 100%;
    }
    75% {
        background-position: 0% 50%;
    }
}

.cyber-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    animation: cyber-pulse 4s ease-in-out infinite;
}

.cyber-circles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border: 1px solid rgba(239, 68, 68, 0.08);
    border-radius: 50%;
    animation: cyber-pulse 4s ease-in-out infinite 0.5s;
}

.cyber-circles::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    border: 1px solid rgba(239, 68, 68, 0.08);
    border-radius: 50%;
    animation: cyber-pulse 4s ease-in-out infinite 1s;
}

@keyframes cyber-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.cyber-lines-vertical {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(239, 68, 68, 0.2) 20%,
        rgba(239, 68, 68, 0.1) 50%,
        rgba(239, 68, 68, 0.2) 80%,
        transparent 100%
    );
    animation: cyber-line-vertical 6s ease-in-out infinite;
}

.cyber-lines-vertical:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.cyber-lines-vertical:nth-child(2) {
    left: 30%;
    animation-delay: 1s;
}

.cyber-lines-vertical:nth-child(3) {
    left: 50%;
    animation-delay: 2s;
}

.cyber-lines-vertical:nth-child(4) {
    left: 70%;
    animation-delay: 1.5s;
}

.cyber-lines-vertical:nth-child(5) {
    left: 90%;
    animation-delay: 0.5s;
}

@keyframes cyber-line-vertical {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
}

/* ============================================
   HEADER MODERNO E FINO
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-red);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Header acima do overlay quando menu está aberto */
body.menu-open .header {
    z-index: 10000 !important;
}

.nav-container {
    position: relative;
    z-index: 1001;
}

.header,
.footer,
section {
    position: relative;
    z-index: 2;
}

/* Transição suave para seções */
section {
    opacity: 0;
    animation: sectionFadeIn 0.6s ease-out 0.3s forwards;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   HERO SECTION MODERNO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    z-index: 3;
    position: relative;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.3);
}

.glitch {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
    animation: glitch-subtle 4s infinite;
    text-shadow: 
        0 0 20px rgba(239, 68, 68, 0.3),
        0 0 40px rgba(239, 68, 68, 0.1);
}

@keyframes glitch-subtle {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-1px, 1px);
    }
    40% {
        transform: translate(1px, -1px);
    }
    60% {
        transform: translate(-1px, -1px);
    }
    80% {
        transform: translate(1px, 1px);
    }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

/* Garantir que todo conteúdo fique acima do background */
section,
.container,
.glass-card {
    position: relative;
    z-index: 2;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px solid var(--primary-red);
    border-radius: 50%;
    animation: radar-pulse 3s ease-in-out infinite;
}

@keyframes radar-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}

/* ============================================
   BOTÕES MODERNOS E FINOS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary-red);
    border-color: var(--border-red);
}

.btn-primary:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-red);
}

.btn-secondary:hover {
    background: rgba(239, 68, 68, 0.05);
    color: var(--text-primary);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* ============================================
   GLASS CARD MODERNO
   ============================================ */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-red);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.1);
    transform: translateY(-4px);
}

/* ============================================
   SECTIONS MODERNAS
   ============================================ */
.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.2);
}

.info-section {
    padding: 6rem 0;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.2);
}

.info-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.2);
}

.info-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.info-content strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   ACORDEÃO DE INFORMAÇÕES ÚTEIS
   ============================================ */
.info-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.info-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

/* Accordion items na página de prevenção - regra consolidada acima */

.accordion-item.active {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(239, 68, 68, 0.05);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #ef4444;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
}

.accordion-header h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.accordion-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0;
}

.accordion-item.active .accordion-content {
    max-height: 5000px;
    padding: 0;
}

/* Prevention content dentro de accordion */
.accordion-content .prevention-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Tools grid dentro de accordion */
.accordion-content .tools-grid {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Section subtitle dentro de accordion */
.accordion-content .section-subtitle {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.info-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.3);
    border-left: 3px solid #ef4444;
    border-radius: 4px;
}

.info-point.warning {
    border-left-color: #ffa726;
    background: rgba(255, 167, 38, 0.05);
}

.info-point svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-point p {
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    flex: 1;
    font-size: 1rem;
}

.info-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    border-radius: 8px;
}

.diagram-item {
    padding: 0.75rem 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--primary-red);
    border-radius: 6px;
    color: var(--primary-red);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.diagram-item.main {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--primary-red);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.4);
    font-size: 1.05rem;
}

.diagram-arrow {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(5px);
    }
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ef4444;
    text-decoration: none;
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.info-link:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    transform: translateX(5px);
}

.info-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.info-link-inline {
    color: #ef4444;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.info-link-inline:hover {
    border-bottom-color: #ef4444;
}

.info-definitions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.definition-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.3);
    border-left: 3px solid #ef4444;
    border-radius: 4px;
}

.definition-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #ef4444;
}

.definition-item div {
    color: var(--text-primary);
    line-height: 1.8;
    flex: 1;
}

.definition-item strong {
    color: #ef4444;
    font-weight: 600;
}

.info-subsection {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.info-subsection:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.info-subsection h5 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.info-subsection h5 svg {
    width: 24px;
    height: 24px;
    color: #ef4444;
    flex-shrink: 0;
}

.info-intro {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-box {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
}

.info-box svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #ef4444;
    margin-top: 2px;
}

.info-box div {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.info-box strong {
    color: #ef4444;
    font-weight: 600;
}

.info-warning {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: rgba(255, 167, 38, 0.1);
    border-left: 3px solid #ffa726;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.info-warning svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #ffa726;
    margin-top: 2px;
}

.info-warning p {
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

.info-warning div {
    flex: 1;
}

.info-warning strong {
    color: #ffa726;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.info-tool-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.tool-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.tool-category-header svg {
    width: 24px;
    height: 24px;
    color: #ef4444;
    flex-shrink: 0;
}

.tool-category-header strong {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.tool-category-header + p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tool-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.tool-checkbox:hover {
    background: rgba(239, 68, 68, 0.05);
}

.tool-checkbox input[type="checkbox"] {
    cursor: pointer;
    accent-color: #ef4444;
}

.tool-checkbox a {
    color: #ef4444;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tool-checkbox a:hover {
    text-decoration: underline;
}

.cloudflare-section {
    background: rgba(255, 167, 38, 0.05);
    border: 1px solid rgba(255, 167, 38, 0.2);
}

.cloudflare-warning {
    background: rgba(255, 167, 38, 0.15);
    border-left-color: #ffa726;
}

.cloudflare-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.cloudflare-tool {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
}

.cloudflare-tool svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #ef4444;
    margin-top: 2px;
}

.cloudflare-tool div {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.cloudflare-tool strong {
    color: #ef4444;
    font-weight: 600;
}

.strategy-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.strategy-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.strategy-tool:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.strategy-tool svg {
    width: 32px;
    height: 32px;
    color: #ef4444;
}

.strategy-tool span {
    color: #ef4444;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

.contribution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contribution-card {
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contribution-card:hover {
    border-color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
}

.contribution-card svg {
    width: 32px;
    height: 32px;
    color: #ef4444;
    margin-bottom: 1rem;
}

.contribution-card h6 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.contribution-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.github-link {
    margin: 1.5rem 0;
    text-align: center;
}

.github-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.github-link-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.github-link-btn svg {
    width: 24px;
    height: 24px;
}

.info-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-list li {
    color: var(--text-primary);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
}

.info-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ef4444;
}

.info-list.numbered {
    counter-reset: list-counter;
}

.info-list.numbered li {
    counter-increment: list-counter;
    padding-left: 2rem;
}

.info-list.numbered li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 600;
}

.code-example {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    color: #ef4444;
    line-height: 1.6;
}

.code-example code {
    color: #ef4444;
}

.info-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-banner svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #ef4444;
}

.info-banner p {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

/* ============================================
   TECNOLOGIAS DOS ESPECIALISTAS
   ============================================ */
.tech-stack {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(239, 68, 68, 0.02) 50%, transparent 100%);
}

.tech-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-item:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.4));
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.7));
    transform: scale(1.1);
}

.tech-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.quick-links {
    padding: 6rem 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
}

.quick-link-card .link-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.3));
}

.quick-link-card h3 {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
}

.quick-link-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ============================================
   PAGE HERO (PÁGINAS INTERNAS)
   ============================================ */
.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
    opacity: 0;
    animation: heroFadeIn 0.8s ease-out 0.2s forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.3);
    display: inline-block;
    position: relative;
}

/* ============================================
   EFEITO TYPEWRITER CYBER
   ============================================ */
.typewriter-cursor {
    display: inline-block;
    color: var(--primary-red);
    animation: cursorBlink 1s infinite;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.8), 0 0 20px rgba(239, 68, 68, 0.5);
    font-weight: 400;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.typing-letter {
    animation: letterGlow 0.3s ease-out;
    display: inline-block;
}

@keyframes letterGlow {
    0% {
        text-shadow: 0 0 30px rgba(239, 68, 68, 1), 0 0 60px rgba(239, 68, 68, 0.8);
        transform: scale(1.1);
        color: rgba(255, 100, 100, 1);
    }
    100% {
        text-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.3);
        transform: scale(1);
        color: var(--primary-red);
    }
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleFadeIn 0.8s ease-out 0.8s forwards;
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FOOTER MODERNO
   ============================================ */
.footer {
    background: rgba(10, 10, 10, 0.6);
    border-top: 1px solid var(--border-red);
    padding: 3rem 0;
    margin-top: 6rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.footer-copyright {
    position: relative;
}

.footer-copyright::before {
    content: '⚠️';
    margin-right: 8px;
    color: var(--primary-red);
}

.footer-protection {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-red);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-protection strong {
    color: var(--primary-red);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px); /* Altura dinâmica para mobile */
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 0;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-red);
        z-index: 9999 !important;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
        z-index: 9999 !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .menu-toggle {
        display: flex;
    }
    
    /* Prevenir scroll do body quando menu está aberto */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        height: 100dvh !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    /* Ocultar todo o conteúdo da página quando menu está aberto */
    body.menu-open > *:not(.menu-overlay):not(.header):not(.nav-menu):not(.nav-container) {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Ocultar especificamente o conteúdo de fundo */
    body.menu-open .cyber-background,
    body.menu-open .night-vision-overlay,
    body.menu-open section,
    body.menu-open .hero,
    body.menu-open .footer {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Manter header visível mas acima do overlay */
    body.menu-open .header {
        z-index: 10000 !important;
        position: relative;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    body.menu-open .nav-container {
        z-index: 10000 !important;
        position: relative;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Garantir que links sejam sempre clicáveis mesmo com body fixo */
    body.menu-open .nav-menu a {
        pointer-events: auto !important;
        position: relative;
        z-index: 10000 !important;
    }
    
    body.menu-open .nav-menu li {
        pointer-events: auto !important;
        position: relative;
        z-index: 10000 !important;
    }
    
    /* Restaurar posição ao fechar menu */
    body:not(.menu-open) {
        position: relative;
        overflow: auto;
    }
    
    /* Overlay para fechar menu ao clicar fora */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        width: 100vw;
        height: 100vh;
        height: 100dvh; /* Altura dinâmica para mobile */
        min-height: 100vh;
        min-height: 100dvh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 9998;
        -webkit-tap-highlight-color: transparent;
        visibility: hidden;
    }
    
    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    
    /* IMPORTANTE: Menu e seus elementos devem estar acima do overlay e ser clicáveis */
    /* Regras consolidadas acima na linha 1713 - removidas duplicatas */
    
    .nav-menu.active *,
    .nav-menu.active a,
    .nav-menu.active li {
        pointer-events: auto !important;
        position: relative;
        z-index: 10000 !important;
    }
    
    /* Melhorar área de toque dos links no menu mobile */
    .nav-menu li {
        width: 100%;
        list-style: none;
    }
    
    .nav-menu a {
        display: flex !important;
        padding: 1rem !important;
        width: 100% !important;
        font-size: 1.1rem !important;
        min-height: 44px !important;
        align-items: center !important;
        -webkit-tap-highlight-color: rgba(239, 68, 68, 0.3);
        touch-action: manipulation;
        pointer-events: auto !important;
        cursor: pointer;
        position: relative;
        z-index: 10000 !important;
        text-decoration: none;
        -webkit-user-select: none;
        user-select: none;
        background: transparent;
    }
    
    .nav-menu li {
        position: relative;
        z-index: 10000 !important;
    }
    
    .nav-menu a::after {
        display: none !important;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(239, 68, 68, 0.1);
        border-left: 3px solid var(--primary-red);
        padding-left: calc(1rem - 3px) !important;
    }
    
    .nav-menu a:active {
        background: rgba(239, 68, 68, 0.2);
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .container {
        padding: 0 1.5rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .info-section,
    .quick-links,
    .tech-stack,
    .prevention-page {
        padding: 4rem 0;
    }

    .prevention-page .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quick-nav-wrapper {
        position: relative;
        top: 0;
        max-height: none;
        overflow: visible;
    }

    .quick-nav-wrapper {
        position: relative;
        top: auto;
        max-height: none;
    }
    
    .quick-nav {
        margin-bottom: 2rem;
        max-height: none;
        overflow: visible;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }

    .prevention-section {
        padding: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .prevention-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .item-number {
        align-self: flex-start;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .tech-item {
        padding: 1.5rem 1rem;
    }

    .tech-icon {
        width: 48px;
        height: 48px;
    }

    .tech-name {
        font-size: 0.85rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .discord-features {
        grid-template-columns: 1fr;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-inputs {
        grid-template-columns: 1fr;
    }

    .password-options {
        grid-template-columns: 1fr;
    }

    .resource-card {
        margin-bottom: 2rem;
    }

    .info-section-title {
        font-size: 1.5rem;
    }

    .accordion-header {
        padding: 1rem;
        gap: 0.75rem;
    }

    .accordion-header h4 {
        font-size: 1rem;
    }

    .accordion-content {
        padding: 0 1rem;
    }

    .accordion-item.active .accordion-content {
        padding: 0 1rem 1rem;
    }

    .info-point {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .info-point svg {
        width: 20px;
        height: 20px;
    }

    .info-point p {
        font-size: 0.9rem;
    }

    .diagram-item {
        min-width: 150px;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .diagram-item.main {
        font-size: 0.95rem;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .cloudflare-tools {
        grid-template-columns: 1fr;
    }

    .strategy-tools {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .strategy-tool {
        padding: 1rem 0.75rem;
    }

    .strategy-tool svg {
        width: 24px;
        height: 24px;
    }

    .strategy-tool span {
        font-size: 0.85rem;
    }

    .contribution-cards {
        grid-template-columns: 1fr;
    }

    .info-tool-category {
        padding: 1rem;
    }

    .info-subsection {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .code-example {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .info-banner {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .info-banner svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   PÁGINA DE PREVENÇÃO
   ============================================ */
.prevention-page {
    padding: 4rem 0 6rem;
}

.prevention-page .container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Página golpes-digitais sem navegação lateral - centralizar conteúdo */
.prevention-page .container > .prevention-content-wrapper:only-child {
    grid-column: 1 / -1;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .prevention-page .container {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .prevention-page .container > .quick-nav-wrapper {
        margin-bottom: 2rem;
        position: relative !important;
        top: auto !important;
        max-height: none !important;
    }
    
    .prevention-page .container > .prevention-content-wrapper {
        width: 100%;
    }
}
    
    /* Accordion items em mobile */
    .accordion-item {
        margin-bottom: 1rem;
    }
    
    .accordion-header {
        padding: 1rem 1.25rem;
    }
    
    .accordion-header h4 {
        font-size: 1rem;
    }
    
    .accordion-content .prevention-content {
        padding: 1.25rem;
        gap: 1.25rem;
    }

.quick-nav-wrapper {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    align-self: start;
    width: 280px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .quick-nav-wrapper {
        width: 100%;
        max-width: 100%;
        position: relative;
        top: auto;
        max-height: none;
    }
}

/* Garantir que prevention-content-wrapper ocupe espaço correto */
.quick-nav {
    padding: 1.25rem;
    margin-bottom: 0;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

.quick-nav::-webkit-scrollbar {
    width: 6px;
}

.quick-nav::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.3);
    border-radius: 3px;
}

.quick-nav::-webkit-scrollbar-thumb {
    background: rgba(239, 68, 68, 0.3);
    border-radius: 3px;
}

.quick-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(239, 68, 68, 0.5);
}

.prevention-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
    flex: 1;
}

/* Info accordion dentro de prevention-content-wrapper */
.prevention-content-wrapper .info-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Accordion items na página de prevenção - estilo específico */
.prevention-content-wrapper .accordion-item {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Accordion items na página golpes-digitais - estilo melhorado */
.prevention-content-wrapper .info-accordion .accordion-item {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* ============================================
   ARTIGOS / BLOG
   ============================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.article-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.article-category {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary-red);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
}

.article-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.article-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    flex: 1;
    font-size: 0.95rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(239, 68, 68, 0.1);
}

.article-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.article-link:hover {
    color: var(--light-red);
    transform: translateX(5px);
}

.article-read-time {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-card {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.25rem;
    }
}


.prevention-content-wrapper .info-accordion .accordion-item:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
}

.prevention-content-wrapper .info-accordion .accordion-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.prevention-content-wrapper .info-accordion .accordion-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #ef4444;
}

.prevention-content-wrapper .info-accordion .accordion-header h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.prevention-content-wrapper .info-accordion .accordion-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.quick-nav h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    display: block;
    line-height: 1.4;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    line-height: 1.4;
}

.nav-links a:hover {
    color: var(--primary-red);
    background: rgba(239, 68, 68, 0.05);
    border-left-color: var(--primary-red);
    transform: translateX(5px);
}

.prevention-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-red);
    border-radius: 8px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-red);
}

.section-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-red);
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.4));
    flex-shrink: 0;
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--primary-red);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 300;
    padding-left: 0;
}

.prevention-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prevention-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.item-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-red);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--border-red);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
    font-weight: 400;
    height: fit-content;
}

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-content p {
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
}

.prevention-item > p {
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

.prevention-item p strong {
    color: var(--primary-red);
    font-weight: 600;
}

.prevention-item a {
    color: var(--primary-red);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.prevention-item a:hover {
    border-bottom-color: var(--primary-red);
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.nested-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nested-list li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
}

.nested-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tool-card {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
}

.tool-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary-red);
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.4));
}

.tool-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-link {
    display: inline-block;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--border-red);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tool-link:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* ============================================
   PÁGINAS INTERNAS
   ============================================ */
.about-page,
.tools-section,
.contact-page {
    padding: 4rem 0 6rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.3));
}

.about-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

.about-content-section {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.content-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.2);
    color: var(--primary-red);
    margin: 2.5rem 0 1.5rem;
}

.content-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.content-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-red);
    border-radius: 16px;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ============================================
   RELATÓRIOS
   ============================================ */
.tool-container {
    margin-bottom: 4rem;
}

.tool-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.highlight-green,
.highlight-red {
    color: var(--primary-red);
}

.tool-info-box {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-red);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.tool-info-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

.tool-info-box strong {
    color: var(--text-primary);
    font-weight: 500;
}

.tool-form-container {
    margin-top: 2rem;
}

.form-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-red);
    padding-bottom: 1rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn svg {
    width: 18px;
    height: 18px;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--border-red);
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-red);
}

.form-icon {
    width: 32px;
    height: 32px;
}

.form-header h3 {
    flex: 1;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.info-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.tool-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 300;
    margin-top: 0.5rem;
}

.form-tip svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.language-selector label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.lang-buttons {
    display: flex;
    gap: 0.5rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    padding: 0.25rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: rgba(239, 68, 68, 0.2);
    color: var(--primary-red);
}

.btn-submit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-submit:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.social-accounts {
    margin-top: 1rem;
}

.social-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-inputs input {
    padding: 0.875rem 1rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.btn-add-social {
    padding: 0.875rem 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--border-red);
    color: var(--primary-red);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-add-social:hover {
    background: rgba(239, 68, 68, 0.2);
}

.social-list {
    margin-top: 1rem;
}

.no-accounts {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    text-align: center;
    padding: 1.5rem;
    font-style: italic;
}

.social-account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(15, 15, 15, 0.3);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.btn-remove {
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* ============================================
   CONTATO
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-red);
    border-radius: 16px;
}

.info-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.info-card a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--light-red);
}

/* ============================================
   DISCORD PAGE
   ============================================ */
.discord-page {
    padding: 4rem 0 6rem;
}

.discord-content {
    max-width: 1000px;
    margin: 0 auto;
}

.discord-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.discord-intro h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.3);
}

.discord-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.discord-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.discord-cta-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.discord-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.discord-feature {
    text-align: center;
    padding: 2.5rem 2rem;
}

.discord-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.3));
}

.discord-feature h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.discord-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

/* ============================================
   RECURSOS PAGE
   ============================================ */
.resources-page {
    padding: 4rem 0 6rem;
}

.resource-card {
    margin-bottom: 3rem;
}

.resource-header {
    margin-bottom: 2rem;
}

.resource-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-red);
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.3));
}

.resource-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.resource-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
}

.resource-content {
    margin-top: 2rem;
}

/* Gerador de Senhas */
.password-generator {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.password-display {
    display: flex;
    gap: 0.75rem;
}

.password-input {
    flex: 1;
    padding: 1rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.btn-copy {
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover {
    background: rgba(239, 68, 68, 0.2);
}

.btn-copy svg {
    width: 20px;
    height: 20px;
}

.password-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.option-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.option-input {
    padding: 0.75rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
}

.option-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
}

.option-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-red);
}

.btn-generate {
    padding: 1rem 2rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-generate:hover {
    background: rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
}

/* Verificador de Senha */
.password-checker {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-input {
    padding: 1rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.check-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.strength-meter {
    width: 100%;
    height: 8px;
    background: rgba(15, 15, 15, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.strength-bar.weak {
    background: #ef4444;
    width: 25%;
}

.strength-bar.medium {
    background: #f59e0b;
    width: 50%;
}

.strength-bar.strong {
    background: #10b981;
    width: 75%;
}

.strength-bar.very-strong {
    background: #10b981;
    width: 100%;
}

.strength-text {
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.strength-text.weak {
    color: #ef4444;
}

.strength-text.medium {
    color: #f59e0b;
}

.strength-text.strong,
.strength-text.very-strong {
    color: #10b981;
}

.password-requirements {
    margin-top: 1rem;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.requirement-item {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirement-item.passed {
    color: #10b981;
}

/* Verificador de Email */
.email-checker,
.url-checker {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-check {
    padding: 1rem 2rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-check:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.25);
}

.btn-check:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.check-result {
    margin-top: 1rem;
}

.result-success {
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    border-radius: 8px;
    color: #10b981;
}

.result-warning {
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    color: #f59e0b;
}

.result-error {
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--primary-red);
    border-radius: 8px;
    color: var(--primary-red);
}

.result-loading {
    padding: 1rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Gerador de Hash */
.hash-generator {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hash-input {
    padding: 1rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    resize: vertical;
    min-height: 100px;
}

.hash-select {
    padding: 0.875rem 1rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.hash-result {
    margin-top: 1rem;
}

.hash-output {
    padding: 1.5rem;
    background: rgba(15, 15, 15, 0.3);
    border: 1px solid var(--border-red);
    border-radius: 8px;
}

.hash-output label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.hash-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    word-break: break-all;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 4px;
}

.btn-copy-small {
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-copy-small:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Verificador de URL */
.url-analysis {
    margin-top: 1rem;
}

.url-info {
    padding: 1rem;
    background: rgba(15, 15, 15, 0.3);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Gerador de QR Code */
.qr-generator {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qr-input {
    padding: 1rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    resize: vertical;
    min-height: 100px;
}

.qr-result {
    margin-top: 1rem;
}

.qr-output {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 15, 15, 0.3);
    border: 1px solid var(--border-red);
    border-radius: 8px;
}

.qr-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.qr-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   TERMOS & PRIVACIDADE PAGE
   ============================================ */
.terms-page {
    padding: 4rem 0 6rem;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
}

.terms-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-red);
}

.terms-meta {
    margin-bottom: 1.5rem;
}

.terms-meta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.terms-meta strong {
    color: var(--text-secondary);
    font-weight: 500;
}

.terms-notice {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid var(--primary-red);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.terms-notice p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.terms-notice p:last-child {
    margin-bottom: 0;
}

.terms-notice strong {
    color: var(--text-primary);
    font-weight: 600;
}

.terms-warning {
    background: rgba(245, 158, 11, 0.05);
    border-left: 3px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 8px;
}

.terms-warning p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

.terms-section {
    margin-bottom: 3rem;
}

.terms-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.2);
}

.terms-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.terms-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.terms-section a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-section a:hover {
    color: var(--light-red);
    text-decoration: underline;
}

.terms-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--primary-red);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.terms-alert strong {
    color: var(--primary-red);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.tech-list,
.responsibility-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.tech-list li,
.responsibility-list li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 300;
}

.tech-list li::before,
.responsibility-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 600;
}

.tech-list li strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.tech-list li br {
    display: block;
    content: '';
    margin-top: 0.25rem;
}

.terms-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-red);
    text-align: center;
}

.terms-year {
    color: var(--primary-red);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.terms-author {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

/* ============================================
   DASHBOARD DE AMEAÇAS
   ============================================ */
.dashboard-section {
    padding: 3rem 0;
    min-height: 80vh;
    position: relative;
    z-index: 5;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.map-card {
    grid-column: 1;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .map-card {
        grid-column: 1;
    }
    
    .threat-map {
        min-height: 500px !important;
        height: 500px !important;
    }
    
    #threatMap {
        min-height: 500px !important;
        height: 500px !important;
    }
}

.dashboard-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-red);
    border-radius: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse 2s infinite;
}

.status-indicator.status-active {
    background: #10b981;
}

.status-time {
    font-family: 'Space Grotesk', monospace;
    font-weight: 600;
    color: var(--primary-red);
    font-size: 1rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-red);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px var(--shadow-red);
}

.stat-card.stat-critical {
    border-left: 4px solid #ef4444;
}

.stat-card.stat-high {
    border-left: 4px solid #ff9800;
}

.stat-card.stat-medium {
    border-left: 4px solid #ffc107;
}

.stat-card.stat-total {
    border-left: 4px solid #ef4444;
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', monospace;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.75rem;
    font-weight: 500;
}

.stat-change.stat-increase {
    color: #ef4444;
}

.stat-change.stat-decrease {
    color: #10b981;
}

.stat-change.stat-neutral {
    color: var(--text-muted);
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-column.map-column {
    display: flex;
    flex-direction: column;
}

.dashboard-column.map-column .threat-map-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dashboard-column.map-column .threat-map {
    flex: 1;
    min-height: 600px;
    height: 600px;
}

@media (max-width: 1024px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-column.map-column .threat-map {
        min-height: 500px;
        height: 500px;
    }
}

.dashboard-card {
    padding: 0;
    border: 1px solid var(--border-red);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.dashboard-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-red);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-card-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.dashboard-card-header h2 svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-red);
}

.feed-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feed-filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-red);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.feed-filter-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.feed-filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.threat-feed {
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
}

.threat-feed::-webkit-scrollbar {
    width: 6px;
}

.threat-feed::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

.threat-feed::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 3px;
}

.threat-item {
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    border-left: 4px solid;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.threat-item:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: translateX(5px);
}

.threat-item.threat-critical {
    border-left-color: #ef4444;
}

.threat-item.threat-high {
    border-left-color: #ff9800;
}

.threat-item.threat-medium {
    border-left-color: #ffc107;
}

.threat-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.threat-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    flex: 1;
}

.threat-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.threat-badge.critical {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.threat-badge.high {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.threat-badge.medium {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.threat-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.threat-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.threat-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.threat-meta-item svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
}

.global-stats {
    padding: 1.5rem;
}

.global-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-red);
}

.global-stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-value {
    font-family: 'Space Grotesk', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-red);
}

.top-countries {
    padding: 1.5rem;
}

.country-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-red);
}

.country-item:last-child {
    border-bottom: none;
}

.country-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
}

.country-flag {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.country-count {
    font-family: 'Space Grotesk', monospace;
    font-weight: 600;
    color: var(--primary-red);
    font-size: 1.1rem;
}

.threat-map-container {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

.threat-map {
    padding: 0;
    min-height: 600px;
    height: 600px;
    width: 100%;
    position: relative;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    z-index: 10;
    isolation: isolate;
}

#threatMap {
    width: 100% !important;
    height: 600px !important;
    min-height: 600px !important;
    z-index: 10 !important;
    background: #0a0a0a;
    position: relative !important;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

/* Estilos para Google Maps InfoWindow */
.gm-style .gm-style-iw-c {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    border-radius: 8px !important;
    padding: 0 !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.gm-style .gm-style-iw-t::after {
    background: rgba(10, 10, 10, 0.95) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* Controles do Google Maps */
.gm-style .gm-control-active {
    background: rgba(10, 10, 10, 0.9) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
}

.gm-style .gm-control-active:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

/* Atribuição do Google Maps */
.gm-style .gm-style-cc {
    display: none !important;
}

.leaflet-tile-container img {
    filter: brightness(0.3) contrast(1.2) hue-rotate(0deg);
}

.leaflet-control-zoom {
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    background: rgba(10, 10, 10, 0.9) !important;
    backdrop-filter: blur(10px);
}

.leaflet-control-zoom a {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(239, 68, 68, 0.2) !important;
}

.leaflet-popup-content-wrapper {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #e5e5e5 !important;
}

.leaflet-popup-tip {
    background: rgba(10, 10, 10, 0.95) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.map-controls {
    display: flex;
    gap: 0.5rem;
}

.map-control-btn {
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--border-red);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.map-control-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.map-control-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Estilos customizados para o mapa Leaflet */
.leaflet-container {
    background: var(--bg-dark) !important;
    font-family: 'Inter', sans-serif;
}

.leaflet-popup-content-wrapper {
    background: var(--bg-glass) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.leaflet-popup-content {
    margin: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.leaflet-popup-content h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.leaflet-popup-content p {
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

.leaflet-popup-tip {
    background: var(--bg-glass) !important;
    border: 1px solid var(--border-red);
}

.leaflet-control-zoom {
    border: 1px solid var(--border-red) !important;
    background: var(--bg-glass) !important;
    backdrop-filter: blur(10px);
}

.leaflet-control-zoom a {
    background: var(--bg-glass) !important;
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border-red) !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--primary-red) !important;
}

.leaflet-control-attribution {
    background: rgba(10, 10, 10, 0.7) !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-red) !important;
    font-size: 0.75rem;
}

/* Marcadores customizados */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-pulse {
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-status-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .threat-feed {
        max-height: 400px;
    }

    .dashboard-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   PILL NAV - NOVA NAVEGAÇÃO ANIMADA
   ============================================ */
.pill-nav-container {
    position: fixed;
    top: 1em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

@media (max-width: 768px) {
    .pill-nav-container {
        width: calc(100% - 2rem);
        left: 1rem;
        transform: none;
    }
}

.pill-nav {
    --nav-h: 48px;
    --logo-size: 42px;
    --pill-pad-x: 18px;
    --pill-gap: 3px;
    --base: var(--bg-dark);
    --pill-bg: rgba(30, 30, 30, 0.9);
    --hover-bg: var(--primary-red);
    --hover-text: var(--bg-dark);
    --pill-text: var(--text-secondary);
    width: max-content;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .pill-nav {
        width: 100%;
        justify-content: space-between;
        background: transparent;
    }
}

.pill-nav-items {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--nav-h);
    background: transparent;
    border-radius: 9999px;
}

.pill-logo {
    width: var(--nav-h);
    height: var(--nav-h);
    border-radius: 50%;
    background: transparent;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.pill-logo:hover {
    transform: scale(1.1);
}

.pill-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

.pill-list {
    list-style: none;
    display: flex;
    align-items: stretch;
    gap: var(--pill-gap);
    margin: 0;
    padding: 3px;
    height: 100%;
}

.pill-list > li {
    display: flex;
    height: 100%;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 var(--pill-pad-x);
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 9999px;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.3px;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.pill .hover-circle {
    position: absolute;
    left: 50%;
    bottom: 0;
    border-radius: 50%;
    background: var(--primary-red);
    z-index: 1;
    display: block;
    pointer-events: none;
    will-change: transform;
}

.pill .label-stack {
    position: relative;
    display: inline-block;
    line-height: 1;
    z-index: 2;
}

.pill .pill-label {
    position: relative;
    z-index: 2;
    display: inline-block;
    line-height: 1;
    will-change: transform;
}

.pill .pill-label-hover {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hover-text);
    z-index: 3;
    display: inline-block;
    will-change: transform, opacity;
    font-weight: 600;
}

.pill.is-active {
    color: var(--text-primary);
}

.pill.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
    z-index: 4;
    box-shadow: 0 0 10px var(--primary-red);
}

/* Desktop Only */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/* Mobile Menu Button */
.pill-mobile-menu-button {
    width: var(--nav-h);
    height: var(--nav-h);
    border-radius: 50%;
    background: transparent;
    border: none;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    position: relative;
}

@media (max-width: 768px) {
    .pill-mobile-menu-button {
        display: flex;
    }
}

.pill-hamburger-line {
    width: 18px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Mobile Menu Popover */
.pill-mobile-menu-popover {
    position: absolute;
    top: calc(var(--nav-h) + 12px);
    left: 0;
    right: 0;
    background: transparent;
    border-radius: 24px;
    z-index: 998;
    opacity: 0;
    transform-origin: top center;
    visibility: hidden;
}

.pill-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pill-mobile-menu-link {
    display: block;
    padding: 14px 20px;
    color: var(--text-secondary);
    background-color: transparent;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pill-mobile-menu-link:hover,
.pill-mobile-menu-link.is-active {
    cursor: pointer;
    color: var(--primary-red);
}

.pill-mobile-menu-link.is-active {
    font-weight: 600;
}

/* Ocultar navegação antiga quando PillNav está ativo */
.header.pill-nav-active {
    display: none;
}
