/* ===========================
   WORDPRESS MALWARE GUIDE - CSS
   =========================== */

/* ===========================
   VARIÁVEIS CSS E CONFIGURAÇÕES BASE
   =========================== */
:root {
    /* Cores Principais */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #0891b2;
    
    /* Cores Neutras */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    
    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Bordas */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
}

/* ===========================
   RESET E CONFIGURAÇÕES GLOBAIS
   =========================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    margin: 0;
    padding: 0;
}

/* Melhoria de legibilidade */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(59,130,246,0.05)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: var(--spacing-md);
}

.hero-brand-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.hero-brand-logo:hover {
    opacity: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1d4ed8;
    text-shadow: none;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: #0f172a;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    color: #475569;
    max-width: 600px;
    text-shadow: none;
}

.hero-stats {
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-sm);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    color: #f59e0b;
    text-shadow: none;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: var(--spacing-xs);
    text-shadow: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateX(-50%) scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===========================
   BOTÕES E CALLS TO ACTION
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: #047857;
    border-color: #047857;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===========================
   SUMÁRIO (TABLE OF CONTENTS)
   =========================== */
.table-of-contents {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.toc-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.toc-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.toc-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.toc-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.3s ease;
}

.toc-item:hover {
    text-decoration: none;
    color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.toc-item:hover::before {
    left: 100%;
}

.toc-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.toc-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.toc-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.toc-item i {
    margin-left: auto;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.toc-item:hover i {
    opacity: 1;
    transform: translateX(5px);
}

/* ===========================
   SEÇÕES DE CONTEÚDO
   =========================== */
.content-section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 60px;
    margin-bottom: var(--spacing-md);
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.content-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.2s ease;
}

.content-card:hover {
    box-shadow: var(--shadow-md);
}

.content-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
}

/* ===========================
   VETORES DE ATAQUE
   =========================== */
.attack-vector {
    border-left: 4px solid var(--primary-color);
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.vector-header h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.vector-content {
    color: var(--text-dark);
}

.example-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.example-box h5 {
    margin-bottom: var(--spacing-sm);
    color: #92400e;
}

/* ===========================
   BADGES E INDICADORES
   =========================== */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border-radius: var(--border-radius-sm);
}

.bg-danger { background-color: var(--danger-color) !important; color: white; }
.bg-warning { background-color: var(--warning-color) !important; color: white; }
.bg-info { background-color: var(--info-color) !important; color: white; }
.bg-secondary { background-color: var(--secondary-color) !important; color: white; }

/* ===========================
   GRÁFICOS E VISUALIZAÇÕES
   =========================== */
.chart-container {
    position: relative;
    height: 300px;
    margin: var(--spacing-lg) 0;
}

.chart-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: var(--border-radius-sm);
}

/* ===========================
   TABELA DE MALWARES
   =========================== */
.malware-table {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.malware-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    padding: var(--spacing-md);
}

.malware-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.malware-table tbody tr:hover {
    background-color: #f8fafc;
}

.malware-info h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.malware-info small {
    font-size: 0.75rem;
}

.risk-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-badge.critical {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.risk-badge.high {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.risk-badge.medium {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ===========================
   CALCULADORA DE IMPACTO
   =========================== */
.calculator-form {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.impact-results {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
}

.impact-stat-card {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.impact-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.impact-number.total {
    color: var(--danger-color);
    font-size: 2.5rem;
}

.impact-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===========================
   CHECKLIST INTERATIVO
   =========================== */
.impact-checklist {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-lg) 0;
}

.form-check {
    margin-bottom: var(--spacing-sm);
    padding-left: 2rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: -2rem;
    margin-top: 0.125rem;
}

.form-check-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1.4;
}

.impact-summary-stats {
    margin-top: var(--spacing-md);
}

.summary-stat {      
    text-align: center;
    padding: var(--spacing-md);
}

.summary-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--warning-color);
    display: block;
}

.summary-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

/* ===========================
   PASSOS DE RESOLUÇÃO
   =========================== */
.step-card {
    position: relative;
    border-left: 4px solid var(--primary-color);
    margin-bottom: var(--spacing-xl);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h3 {
    margin: 0;
    flex-grow: 1;
    font-size: 1.5rem;
}

.step-time {
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.cleanup-checklist {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-md) 0;
}

.isolation-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.action-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.action-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.action-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.action-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.action-item code {
    font-size: 0.75rem;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

/* ===========================
   DO'S AND DON'TS
   =========================== */
.dos-card, .donts-card {
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.dos-card .card-header {
    background: linear-gradient(135deg, var(--success-color), #047857);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
}

.donts-card .card-header {
    background: linear-gradient(135deg, var(--danger-color), #b91c1c);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
}

.dos-card .card-body, .donts-card .card-body {
    padding: var(--spacing-lg);
    background: white;
    height: calc(100% - 80px);
}

.dos-list, .donts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dos-list li, .donts-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: background-color 0.2s ease;
}

.dos-list li:hover {
    background: #f0fdf4;
}

.donts-list li:hover {
    background: #fef2f2;
}

.dos-list li i {
    margin-right: var(--spacing-sm);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.donts-list li i {
    margin-right: var(--spacing-sm);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* ===========================
   CHECKLIST DE SEGURANÇA
   =========================== */
.security-checklist {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-lg) 0;
}

.checklist-section {
    height: 100%;
}

.checklist-section h5 {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

.checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-items li {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.checklist-items li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    margin-right: var(--spacing-sm);
    flex-shrink: 0;
}

/* ===========================
   COMPARAÇÃO DE CUSTOS
   =========================== */
.cost-comparison {
    margin: var(--spacing-lg) 0;
}

.cost-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.cost-card.prevention {
    border: 2px solid var(--success-color);
}

.cost-card.recovery {
    border: 2px solid var(--danger-color);
}

.cost-header {
    padding: var(--spacing-lg);
    text-align: center;
}

.cost-card.prevention .cost-header {
    background: linear-gradient(135deg, var(--success-color), #047857);
    color: white;
}

.cost-card.recovery .cost-header {
    background: linear-gradient(135deg, var(--danger-color), #b91c1c);
    color: white;
}

.cost-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: var(--spacing-sm);
}

.cost-details {
    padding: var(--spacing-lg);
    background: white;
}

.cost-details ul {
    margin-bottom: var(--spacing-md);
}

.cost-details li {
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.cost-annual {
    text-align: center;  
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    border-top: 1px solid var(--border-color);
}

.roi-calculation {
    margin-top: var(--spacing-xl);
}

/* ===========================
   AJUDA PROFISSIONAL
   =========================== */
.professional-help-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.help-scenarios, .help-benefits {
    height: 100%;
}

.scenario-list, .benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scenario-list li, .benefit-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
}

.scenario-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0;
}

.benefit-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.service-highlights {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
}

.highlight-item {
    text-align: center;
    padding: var(--spacing-md);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.highlight-icon i {
    font-size: 1.5rem;
}

.highlight-item h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.highlight-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xxl);
    margin-top: var(--spacing-xl);
}

.cta-section h4 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.cta-section .lead {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

/* ===========================
   FAQ ACCORDION
   =========================== */
.faq-accordion {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: var(--spacing-lg);
    border: none;
    outline: none;
    box-shadow: none;
    transition: all 0.2s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-color);
}

.accordion-button:focus {
    border: none;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.accordion-body h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.accordion-body ul {
    margin-bottom: var(--spacing-md);
}

.accordion-body li {
    margin-bottom: var(--spacing-xs);
}

/* ===========================
   REFERÊNCIAS E BOXES
   =========================== */
.reference-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--info-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.reference-box h4 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.reference-box ul {
    margin: 0;
}

.reference-box li {
    margin-bottom: var(--spacing-xs);
}

.reference-box a {
    color: var(--info-color);
    font-weight: 500;
}

.reference-box a:hover {
    color: #0e7490;
}

/* ===========================
   ALERTAS E MENSAGENS
   =========================== */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    border: 1px solid transparent;
    margin-bottom: var(--spacing-md);
}

.alert-warning {
    background-color: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-danger {
    background-color: #fee2e2;
    border-color: #f87171;
    color: #991b1b;  
}

.alert-info {
    background-color: #dbeafe;
    border-color: #60a5fa;
    color: #1e40af;
}

.alert-success {
    background-color: #d1fae5;
    border-color: #34d399;
    color: #065f46;
}

.alert h5 {
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.alert p:last-child {
    margin-bottom: 0;
}

/* ===========================
   CÓDIGO E PRE-FORMATADO
   =========================== */
pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: var(--spacing-md) 0;
}

code {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.125rem 0.375rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* ===========================
   MOTIVAÇÕES E ESTATÍSTICAS
   =========================== */
.motivation-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.2s ease;
}

.motivation-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.motivation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    border: 2px solid var(--border-color);
}

.motivation-icon i {
    font-size: 2rem;
}

.motivation-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.motivation-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.impact-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: var(--bg-light);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.impact-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.impact-stat .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--text-dark);
    color: #e2e8f0;
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    text-align: center;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: var(--spacing-md);
}

.footer-description {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

.footer-cta {
    margin-bottom: var(--spacing-xl);
}

.footer-links {
    margin-bottom: var(--spacing-lg);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

.footer-copyright p {
    margin-bottom: 0.25rem;
}

/* ===========================
   UTILITÁRIOS RESPONSIVOS
   =========================== */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text-light) !important; }

.bg-light { background-color: var(--bg-light) !important; }

.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

/* ===========================
   RESPONSIVIDADE
   =========================== */

/* Tablets */
@media (max-width: 991.98px) {
    .hero-actions {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .toc-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .toc-number {
        margin-right: 0;
        margin-bottom: var(--spacing-sm);
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
    }
    
    .chart-container {
        height: 250px;
    }
}

/* Móveis */
@media (max-width: 767.98px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
    
    .content-section {
        padding: var(--spacing-xl) 0;
    }
    
    .content-card {
        padding: var(--spacing-lg);
    }
    
    .hero-stats .col-6 {
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-brand-logo {
        height: 40px;
        max-width: 150px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .toc-card {
        padding: var(--spacing-lg);
    }
    
    .section-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        line-height: 50px;
    }
    
    .malware-table {
        font-size: 0.875rem;
    }
    
    .malware-table th,
    .malware-table td {
        padding: var(--spacing-sm);
    }
    
    .calculator-form {
        padding: var(--spacing-lg);
    }
    
    .impact-stat-card {
        margin-bottom: var(--spacing-md);
    }
    
    .cost-comparison .col-md-6:first-child {
        margin-bottom: var(--spacing-lg);
    }
    
    .chart-container {
        height: 200px;
    }
    
    .chart-legend {
        flex-direction: column;
        align-items: center;
    }
    
    .motivation-item {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
    
    .professional-help-card {
        padding: var(--spacing-lg);
    }
    
    .service-highlights {
        padding: var(--spacing-lg);
    }
    
    .highlight-item {
        margin-bottom: var(--spacing-lg);
    }
    
    .cta-section {
        padding: var(--spacing-xl);
    }
    
    .accordion-button {
        padding: var(--spacing-md);
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }
    
    .site-footer {
        padding: var(--spacing-xl) 0;
    }
}

/* ===========================
   ESTILOS PARA IMPRESSÃO
   =========================== */
@media print {
    /* Ocultar elementos não necessários */
    .hero-scroll-indicator,
    .btn,
    .cta-track,
    .hero-actions,
    .footer-cta,
    nav,
    .chart-container,
    .calculator-form,
    .impact-results,
    #impact-results,
    .cta-section,
    .service-highlights,
    .professional-help-card .cta-section {
        display: none !important;
    }
    
    /* Configurações gerais */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: white !important;
    }
    
    /* Quebras de página */
    .content-section {
        page-break-before: auto;
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .section-header {
        page-break-after: avoid;
    }
    
    .content-card {
        page-break-inside: avoid;
        margin-bottom: 1.5rem;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    /* Ajustar cores para impressão */
    .hero-section {
        background: white !important;
        color: #000 !important;
        border-bottom: 2px solid #000;
    }
    
    .hero-title,
    .hero-subtitle {
        color: #000 !important;
    }
    
    .section-number {
        background: #000 !important;
        color: white !important;
    }
    
    /* Links com URLs */
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    a[href^="mailto"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    /* Tabelas */
    .malware-table {
        border-collapse: collapse;
        width: 100%;
    }
    
    .malware-table th,
    .malware-table td {
        border: 1px solid #ddd;
        padding: 8pt;
    }
    
    .malware-table th {
        background: #f5f5f5 !important;
        font-weight: bold;
    }
    
    /* Listas e checklists */
    .form-check-input {
        position: relative;
        width: 15px;
        height: 15px;
        border: 1px solid #000;
        margin-right: 8px;
    }
    
    .form-check-input:checked:after {
        content: '✓';
        position: absolute;
        top: -2px;
        left: 2px;
        font-size: 12px;
        font-weight: bold;
    }
    
    /* Códigos */
    pre {
        background: #f5f5f5 !important;
        color: #000 !important;
        border: 1px solid #ddd;
        font-size: 9pt;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    
    /* Alertas */
    .alert {
        border: 1px solid #ddd;
        background: #f9f9f9 !important;
        color: #000 !important;
    }
    
    /* Accordion para impressão */
    .accordion-collapse {
        display: block !important;
    }
    
    .accordion-button::after {
        display: none;
    }
    
    .accordion-button {
        background: #f5f5f5 !important;
        color: #000 !important;
        border-bottom: 1px solid #ddd;
    }
    
    /* Ajustar espaçamentos */
    .container {
        max-width: none;
        width: 100%;
        padding: 0;
    }
    
    .row {
        margin: 0;
    }
    
    .col-lg-8,
    .col-lg-10 {
        width: 100%;
        padding: 0;
    }
    
    /* Cabeçalhos de impressão */
    @page {
        margin: 2cm;
        
        @top-center {
            content: "Guia Completo - Remover Vírus e Malware do WordPress";
            font-size: 10pt;
            color: #666;
        }
        
        @bottom-right {
            content: "Página " counter(page) " - Amicatek.com";
            font-size: 8pt;  
            color: #666;
        }
    }
    
    /* Primeira página sem cabeçalho */
    @page :first {
        @top-center {
            content: none;
        }
    }
}

/* ===========================
   ANIMAÇÕES E TRANSIÇÕES
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Aplicar animações quando elemento entra na viewport */
.content-card {
    animation: fadeInUp 0.6s ease-out;
}

.toc-item {
    animation: slideInLeft 0.4s ease-out;
}

.toc-item:nth-child(even) {
    animation-delay: 0.1s;
}

.motivation-item:hover .motivation-icon {
    animation: pulse 0.6s ease-in-out;
}

/* ===========================
   ACESSIBILIDADE
   =========================== */

/* Foco visível para navegação por teclado */
.btn:focus,
.accordion-button:focus,
.toc-item:focus,
.form-check-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Melhorar contraste para texto */
.text-muted {
    color: #6b7280 !important; /* Aumentar contraste */
}

/* Indicadores visuais para links */
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Melhorar legibilidade em dispositivos de alta resolução */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduzir movimentos para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-down {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===========================
   MODO ESCURO (FUTURO)
   =========================== */
@media (prefers-color-scheme: dark) {
    /* Preparação para modo escuro - implementar futuramente */
    /* 
    :root {
        --bg-white: #1f2937;
        --text-dark: #f9fafb;
        --text-muted: #d1d5db;
        --border-color: #374151;
        --bg-light: #111827;
    }
    */
}

/* ===========================
   PERFORMANCE E OTIMIZAÇÕES
   =========================== */

/* Otimizar renderização de elementos com muitas transições */
.toc-item,
.content-card,
.btn,
.motivation-item {
    will-change: transform;
}

/* Lazy loading para imagens futuras */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===========================
   FIXES ESPECÍFICOS PARA BROWSERS
   =========================== */

/* Safari */
@supports (-webkit-appearance: none) {
    .form-range {
        -webkit-appearance: none;
        appearance: none;
        background: transparent;
    }
    
    .form-range::-webkit-slider-track {
        background: var(--border-color);
        height: 6px;
        border-radius: 3px;
    }
    
    .form-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        background: var(--primary-color);
        height: 20px;
        width: 20px;
        border-radius: 50%;
        cursor: pointer;
    }
}

/* Firefox */
@-moz-document url-prefix() {
    .form-range {
        background: transparent;
    }
    
    .form-range::-moz-range-track {
        background: var(--border-color);
        height: 6px;
        border-radius: 3px;
        border: none;
    }
    
    .form-range::-moz-range-thumb {
        background: var(--primary-color);
        height: 20px;
        width: 20px;
        border-radius: 50%;
        cursor: pointer;
        border: none;
    }
}

/* ===========================
   FIM DO CSS
   =========================== */