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

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

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #DAA520, #FFD700);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
}

/* Toggle Tema */
.theme-toggle {
    position: fixed;
    top: 80px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(218, 165, 32, 0.3);
    border: 2px solid rgba(218, 165, 32, 0.5);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(218, 165, 32, 0.5);
    transform: scale(1.1);
}

/* Tema Claro */
body.light-theme {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 50%, #d0d0d0 100%);
}

body.light-theme .main-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(218, 165, 32, 0.4);
}

body.light-theme .nav-logo,
body.light-theme .nav-menu li a {
    color: #333;
}

body.light-theme .contador-total-card,
body.light-theme .dados-categoria,
body.light-theme .automacao-section,
body.light-theme .faq-section,
body.light-theme .protecao-section,
body.light-theme .contato-section,
body.light-theme .estatisticas-section,
body.light-theme .calculadora-section {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme p {
    color: #333;
}

body {
    font-family: 'Quicksand', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #8B0000;
    background: linear-gradient(135deg, #8B0000 0%, #660000 50%, #4d0000 100%);
    min-height: 100vh;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(178, 34, 34, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(165, 42, 42, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: pulse-bg 3s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Navigation Menu */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(80, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(218, 165, 32, 0.4);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.4);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 8px rgba(218, 165, 32, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.7),
        0 0 20px rgba(218, 165, 32, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(80, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.submenu li {
    list-style: none;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0;
}

.submenu li a:hover {
    background: rgba(218, 165, 32, 0.3);
    padding-left: 25px;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.nav-menu li a:hover {
    background: rgba(218, 165, 32, 0.15);
    text-shadow: 
        0 0 8px rgba(218, 165, 32, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 40px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

header h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -1px;
    animation: glow-intense 1.5s ease-in-out infinite;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 10px rgba(255, 255, 0, 1),
        0 0 20px rgba(255, 255, 0, 0.8),
        0 0 30px rgba(255, 200, 0, 0.6),
        0 4px 6px rgba(0, 0, 0, 0.9);
}

@keyframes glow-intense {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(255, 255, 0, 1),
            0 0 20px rgba(255, 255, 0, 0.8),
            0 0 30px rgba(255, 200, 0, 0.6),
            0 4px 6px rgba(0, 0, 0, 0.9);
        transform: scale(1);
    }
    50% { 
        text-shadow: 
            0 0 20px rgba(255, 255, 0, 1),
            0 0 40px rgba(255, 255, 0, 1),
            0 0 60px rgba(255, 200, 0, 0.8),
            0 4px 6px rgba(0, 0, 0, 0.9);
        transform: scale(1.02);
    }
}

.subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 
        0 0 10px rgba(255, 255, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.counter-section {
    text-align: center;
    margin-bottom: 50px;
}

.general-counter {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3) 0%, rgba(255, 69, 0, 0.3) 100%);
    backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 255, 0, 0.6);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 
        0 20px 60px rgba(255, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 0, 0.3),
        0 0 80px rgba(255, 69, 0, 0.8);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    animation: pulse-card 2s ease-in-out infinite;
}

@keyframes pulse-card {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 60px rgba(255, 0, 0, 0.6), 0 0 80px rgba(255, 69, 0, 0.8); }
    50% { transform: scale(1.02); box-shadow: 0 25px 70px rgba(255, 0, 0, 0.9), 0 0 100px rgba(255, 255, 0, 1); }
}

.general-counter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.general-counter h2 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.9;
    text-shadow: 
        0 0 10px rgba(255, 255, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9);
}

.counter-display {
    font-size: 5.5rem;
    font-weight: 900;
    color: #ffffff;
    margin: 25px 0;
    letter-spacing: -2px;
    position: relative;
    z-index: 1;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 15px rgba(255, 255, 0, 1),
        0 0 30px rgba(255, 255, 0, 0.8),
        0 0 45px rgba(255, 200, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.9);
    animation: number-glow 1.5s ease-in-out infinite;
}

@keyframes number-glow {
    0%, 100% { 
        text-shadow: 
            0 0 15px rgba(255, 255, 0, 1),
            0 0 30px rgba(255, 255, 0, 0.8),
            0 0 45px rgba(255, 200, 0, 0.6),
            0 4px 8px rgba(0, 0, 0, 0.9);
    }
    50% { 
        text-shadow: 
            0 0 25px rgba(255, 255, 0, 1),
            0 0 50px rgba(255, 255, 0, 1),
            0 0 75px rgba(255, 200, 0, 0.8),
            0 4px 8px rgba(0, 0, 0, 0.9);
    }
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.counter-card {
    background: rgba(255, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 0, 0.5);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.5), 0 0 50px rgba(255, 69, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 69, 0, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.counter-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.8), 0 0 80px rgba(255, 255, 0, 0.7);
    border-color: rgba(255, 255, 0, 1);
}

.counter-card:hover::before {
    opacity: 1;
}

.counter-card h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 
        0 0 10px rgba(255, 255, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9);
}

.counter-card .counter-display {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    position: relative;
    z-index: 1;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 12px rgba(255, 255, 0, 1),
        0 0 24px rgba(255, 255, 0, 0.8),
        0 0 36px rgba(255, 200, 0, 0.6),
        0 3px 6px rgba(0, 0, 0, 0.9);
}

.increment-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.increment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.increment-btn:hover::before {
    left: 100%;
}

.increment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

.increment-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.auto-increment-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.auto-increment-section h2 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.control-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
}

.control-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(76, 175, 80, 0.6);
}

.control-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.speed-control {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 28px;
    border-radius: 12px;
}

.speed-control label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
}

#speed {
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#speed:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(102, 126, 234, 0.8);
}

#speed option {
    background: #1a1f3a;
    color: #fff;
}

.reset-section {
    text-align: center;
}

.reset-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
}

.reset-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.6);
}

footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px 0;
    color: #ffffff;
    font-size: 0.9rem;
    border-top: 2px solid rgba(255, 255, 0, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Seção Dados */
.dados-section {
    padding: 40px 0 80px;
    text-align: center;
}

.dados-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 50px;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 15px rgba(255, 255, 0, 1),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Contador Total */
.contador-total-card {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(178, 34, 34, 0.3) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
    animation: pulse-card 2s ease-in-out infinite;
}

.contador-total-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 
        0 0 10px rgba(255, 255, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9);
}

.contador-total-numero {
    font-size: 6rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    margin: 30px 0 10px;
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.5),
        0 0 24px rgba(218, 165, 32, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.9);
}

.contador-reduzido {
    font-size: 1.5rem;
    font-weight: 700;
    color: #DAA520;
    margin: 0 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.contador-total-card p:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Velocímetro */
.velocimetro {
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.velocidade-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 10px;
}

.velocidade-valor {
    color: #DAA520;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.6);
}

/* Botões de Compartilhar */
.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.share-btn {
    padding: 12px 24px;
    background: rgba(218, 165, 32, 0.2);
    border: 2px solid rgba(218, 165, 32, 0.5);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: rgba(218, 165, 32, 0.4);
    border-color: rgba(218, 165, 32, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.4);
}

/* Categorias */
.dados-categoria {
    margin-bottom: 60px;
    padding: 50px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    border-top: 3px solid rgba(218, 165, 32, 0.3);
    border-bottom: 3px solid rgba(218, 165, 32, 0.3);
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
}

.categoria-titulo {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 12px rgba(255, 255, 0, 0.9),
        0 2px 5px rgba(0, 0, 0, 0.9);
}

.categoria-desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.taxa-info {
    color: #ffff00;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 10px 0 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.justificativa {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.total-categoria {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 0, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 0, 0.3);
}

.total-categoria p {
    color: #ffffff;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.total-categoria strong {
    color: #ffff00;
    font-size: 1.4rem;
}

/* Informações Contextuais */
.info-contexto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
}

.info-card {
    background: rgba(139, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.info-card h4 {
    color: #ffff00;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.info-numero {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    margin: 15px 0;
    text-shadow: 
        0 0 12px rgba(255, 255, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9);
}

.info-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Seção Automação */
.automacao-section {
    margin-top: 60px;
    padding: 50px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    border: 3px solid rgba(218, 165, 32, 0.4);
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
}

.automacao-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 40px;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 15px rgba(255, 255, 0, 1),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.automacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.automacao-card {
    background: rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 0, 0.4);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.automacao-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 0, 0.8);
    box-shadow: 0 10px 40px rgba(255, 255, 0, 0.4);
}

.automacao-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.6));
}

.automacao-card h4 {
    color: #ffff00;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.automacao-numero {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    margin: 10px 0;
    text-shadow: 
        0 0 10px rgba(255, 255, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9);
}

.automacao-card p:last-child {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Seção Contato */
.contato-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 30px;
    border-radius: 30px;
    border-top: 3px solid rgba(218, 165, 32, 0.3);
    border-bottom: 3px solid rgba(218, 165, 32, 0.3);
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
}

.contato-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.contato-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contato-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contato-card {
    background: rgba(139, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(218, 165, 32, 0.5);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.contato-card:hover {
    transform: translateY(-5px);
    border-color: rgba(218, 165, 32, 0.8);
    box-shadow: 0 10px 40px rgba(218, 165, 32, 0.3);
}

.contato-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(218, 165, 32, 0.5));
}

.contato-card h3 {
    color: #DAA520;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.contato-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.contato-form {
    background: rgba(139, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(218, 165, 32, 0.5);
    border-radius: 24px;
    padding: 40px;
}

.contato-form h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
}

.contato-form input::placeholder,
.contato-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: rgba(218, 165, 32, 0.8);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.3);
}

.btn-enviar {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: #000000;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-enviar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.5);
}

.dados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.dado-card {
    background: rgba(255, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 0, 0.5);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.5), 0 0 50px rgba(255, 69, 0, 0.4);
    transition: all 0.4s ease;
}

.dado-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(255, 255, 0, 0.6);
    border-color: rgba(255, 255, 0, 1);
}

.dado-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.dado-card .counter-display {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    margin: 20px 0;
    text-shadow: 
        0 0 12px rgba(255, 255, 0, 1),
        0 0 24px rgba(255, 255, 0, 0.8),
        0 0 36px rgba(255, 200, 0, 0.6),
        0 3px 6px rgba(0, 0, 0, 0.9);
}

/* Rodapé */
.main-footer {
    background: rgba(80, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-top: 3px solid rgba(255, 255, 0, 0.6);
    padding: 60px 0 30px;
    margin-top: 80px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-section h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 10px rgba(255, 255, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9);
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-section ul li a:hover {
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9);
    padding-left: 5px;
}

/* Seção FAQ */
.faq-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 30px;
    border-radius: 30px;
    border-top: 3px solid rgba(218, 165, 32, 0.3);
    border-bottom: 3px solid rgba(218, 165, 32, 0.3);
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
}

.faq-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 50px;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    text-align: left;
}

.faq-item {
    background: rgba(139, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(218, 165, 32, 0.7);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
}

.faq-item h3 {
    color: #DAA520;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.faq-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Seção Proteção */
.protecao-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 30px;
    border-radius: 30px;
    border-top: 3px solid rgba(218, 165, 32, 0.3);
    border-bottom: 3px solid rgba(218, 165, 32, 0.3);
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
}

.protecao-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 50px;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.protecao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.protecao-card {
    background: rgba(139, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.protecao-card:hover {
    transform: translateY(-5px);
    border-color: rgba(218, 165, 32, 0.7);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
}

.protecao-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(218, 165, 32, 0.5));
}

.protecao-card h3 {
    color: #DAA520;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.protecao-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.links-uteis {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.links-uteis h3 {
    color: #DAA520;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.links-uteis ul {
    list-style: none;
    padding: 0;
}

.links-uteis ul li {
    margin-bottom: 15px;
}

.links-uteis ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.links-uteis ul li a:hover {
    color: #DAA520;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.6);
    padding-left: 10px;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: #000000;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.7);
}

/* Seção Estatísticas */
.estatisticas-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 30px;
    border-radius: 30px;
    border-top: 3px solid rgba(218, 165, 32, 0.3);
    border-bottom: 3px solid rgba(218, 165, 32, 0.3);
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
}

.estatisticas-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 50px;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: rgba(139, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(218, 165, 32, 0.7);
}

.stat-numero {
    font-size: 2.5rem;
    font-weight: 900;
    color: #DAA520;
    font-family: 'Nunito', sans-serif;
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.6);
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.chart-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.chart-box h3 {
    color: #DAA520;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.ranking-estados {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.ranking-estados h3 {
    color: #DAA520;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.ranking-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(139, 0, 0, 0.15);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: rgba(139, 0, 0, 0.25);
    border-color: rgba(218, 165, 32, 0.6);
}

.ranking-pos {
    font-size: 1.5rem;
    font-weight: 900;
}

.ranking-estado {
    flex: 1;
    margin-left: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.ranking-valor {
    font-size: 1.3rem;
    font-weight: 900;
    color: #DAA520;
}

/* Seção Calculadora */
.calculadora-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 30px;
    border-radius: 30px;
    border-top: 3px solid rgba(218, 165, 32, 0.3);
    border-bottom: 3px solid rgba(218, 165, 32, 0.3);
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
}

.calculadora-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.calc-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.calc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.calc-inputs {
    background: rgba(139, 0, 0, 0.15);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(218, 165, 32, 0.4);
}

.calc-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.calc-input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 600;
}

.calc-input-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
}

.calc-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: #000000;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.5);
}

.calc-result {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(218, 165, 32, 0.4);
}

.calc-result h3 {
    color: #DAA520;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(139, 0, 0, 0.15);
    border-radius: 10px;
}

.result-valor {
    font-size: 1.3rem;
    font-weight: 900;
    color: #DAA520;
}

.result-msg {
    margin-top: 20px;
    padding: 15px;
    background: rgba(218, 165, 32, 0.2);
    border-radius: 10px;
    color: #FFD700;
    font-weight: 700;
}

/* Newsletter */
.newsletter-card input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px;
    color: #ffffff;
}

.newsletter-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.5);
}

/* Seção Rankings */
.rankings-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 30px;
    border-radius: 30px;
    border-top: 3px solid rgba(218, 165, 32, 0.3);
    border-bottom: 3px solid rgba(218, 165, 32, 0.3);
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
}

.rankings-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 50px;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.rankings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.ranking-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.ranking-box h3 {
    color: #DAA520;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ranking-item-full {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 15px;
    background: rgba(139, 0, 0, 0.15);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;
    text-align: left;
}

.ranking-item-full:hover {
    background: rgba(139, 0, 0, 0.25);
    border-color: rgba(218, 165, 32, 0.6);
    transform: translateX(5px);
}

.rank-pos {
    font-size: 1.5rem;
    font-weight: 900;
    color: #DAA520;
}

.rank-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rank-nome {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.rank-taxa {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.rank-badge {
    padding: 6px 12px;
    background: rgba(218, 165, 32, 0.3);
    border: 1px solid rgba(218, 165, 32, 0.5);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFD700;
    white-space: nowrap;
}

.rank-badge.danger {
    background: rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.5);
    color: #ff6b6b;
}

.rank-badge.warning {
    background: rgba(255, 165, 0, 0.3);
    border-color: rgba(255, 165, 0, 0.5);
    color: #ffa500;
}

.ranking-disclaimer {
    background: rgba(218, 165, 32, 0.1);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
}

.ranking-disclaimer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: left;
}

/* Seção Sobre */
.sobre-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 30px;
    border-radius: 30px;
    border-top: 3px solid rgba(218, 165, 32, 0.3);
    border-bottom: 3px solid rgba(218, 165, 32, 0.3);
    margin-bottom: 60px;
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.4),
        0 0 60px rgba(178, 34, 34, 0.3);
}

.sobre-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.sobre-content {
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-intro {
    background: rgba(218, 165, 32, 0.1);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.sobre-intro h3 {
    color: #DAA520;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.sobre-intro p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.sobre-card {
    background: rgba(139, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.sobre-card:hover {
    transform: translateY(-5px);
    border-color: rgba(218, 165, 32, 0.7);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
}

.sobre-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(218, 165, 32, 0.5));
}

.sobre-card h3 {
    color: #DAA520;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.sobre-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.sobre-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.sobre-card ul li {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.sobre-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #DAA520;
    font-weight: 900;
    font-size: 1.2rem;
}

.sobre-disclaimer {
    background: rgba(255, 165, 0, 0.1);
    border: 2px solid rgba(255, 165, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
}

.sobre-disclaimer h3 {
    color: #ffa500;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.sobre-disclaimer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
}

/* Animation for counter updates */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.general-counter .counter-display p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 400;
    margin-top: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }
    
    .nav-logo {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu li a {
        font-size: 0.95rem;
        padding: 8px 15px;
    }
    
    header h1 {
        font-size: 3rem;
        letter-spacing: -1px;
    }
    
    .counter-display {
        font-size: 4rem;
    }
    
    .counters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .controls {
        flex-direction: column;
    }
    
    .speed-control {
        width: 100%;
        justify-content: center;
    }
    
    .general-counter {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .container {
        padding: 140px 15px 20px;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .counter-display {
        font-size: 3.5rem;
    }
    
    .counter-card {
        padding: 30px 20px;
    }
    
    .general-counter {
        padding: 35px 25px;
    }
    
    .increment-btn,
    .control-btn,
    .reset-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .dados-section h2 {
        font-size: 2rem;
    }
    
    .contador-total-numero {
        font-size: 4rem;
    }
    
    .categoria-titulo {
        font-size: 1.5rem;
    }
    
    .dado-card .counter-display {
        font-size: 2.2rem;
    }
    
    .dado-numero {
        font-size: 2.2rem;
    }
    
    .dado-card .counter-display {
        font-size: 2rem;
    }
    
    .footer-content {
        padding: 0 20px;
        gap: 30px;
    }
    
    .contato-layout {
        grid-template-columns: 1fr;
    }
    
    .contato-section h2 {
        font-size: 2rem;
    }
    
    .contato-form {
        padding: 30px 20px;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rankings-container {
        grid-template-columns: 1fr;
    }
}