/* Reset e Variáveis */
:root {
    --primary-color: #00f2ea;
    --secondary-color: #944eff;
    --dark-bg: #12121f;
    --card-bg: #1a1a2e;
    --text-color: #e0e0e0;
    --text-muted: #a0a0b0;
    --heading-color: #fff;
    --font-family: 'Poppins', sans-serif;
    --neon-glow: 0 0 10px rgba(0, 242, 234, 0.5),
                 0 0 20px rgba(0, 242, 234, 0.3);
}

/* Reset Básico */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos Base */
html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--dark-bg);
}

body {
    font-family: var(--font-family);
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Hero */
.hero {
    position: relative;
    background: none !important;
    background: linear-gradient(rgba(18, 18, 31, 0.8), rgba(18, 18, 31, 0.9)),
                url('https://images.unsplash.com/photo-1516116216624-53e697fedbea?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxfDB8MXxyYW5kb218MHx8dGVjaG5vbG9neSxmdXR1cmUsYWJzdHJhY3R8fHx8fHwxNjgyMzA5MjUz&ixlib=rb-4.0.3&q=80&utm_campaign=api-credit&utm_medium=referral&utm_source=unsplash_source&w=1080');
    background-size: cover;
    background-position: center;
    color: var(--heading-color);
    text-align: center;
    padding: 100px 0 80px;
    border-bottom: 1px solid rgba(0, 242, 234, 0.3);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 242, 234, 0.1) 0%, rgba(18, 18, 31, 0.95) 70%);
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: #fff;
    animation: neonPulse 2s ease-in-out infinite;
    text-shadow: 0 0 7px #fff,
                 0 0 21px var(--primary-color),
                 0 0 42px var(--primary-color);
}

@keyframes neonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero .sebrae-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Seções Comuns */
.section-padding {
    padding: 60px 0;
}

/* Títulos das Seções */
#beneficios h2, #estatisticas h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#beneficios h2::after, #estatisticas h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* Seção de Benefícios e Estatísticas */
.benefits-grid, .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit-card, .stat-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(0, 242, 234, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.benefit-card:hover, .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.15);
    border-color: rgba(0, 242, 234, 0.5);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}

.benefit-card h3, .stat-card h3 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.benefit-card p, .stat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.3);
    line-height: 1;
}

/* Barra de Rolagem */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 5px;
    border: 2px solid var(--card-bg);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #00ffee;
}

/* Link para Outros Chatbots */
.outros-chatbots {
    text-align: center;
    margin-top: 40px;
}

.outros-chatbots a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.outros-chatbots a:hover {
    color: var(--primary-color);
}

/* Estilos específicos para páginas de demonstração */
.demo-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.demo-header {
    background: linear-gradient(rgba(18, 18, 31, 0.9), rgba(18, 18, 31, 0.95));
    padding: 30px 20px;
    border-bottom: 1px solid rgba(0, 242, 234, 0.1);
    text-align: center;
}

/* Ícone da Demo */
.demo-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 20px auto;
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 242, 234, 0.2);
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.1);
    transition: all 0.3s ease;
}

.demo-icon i {
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.3);
}

.demo-icon:hover {
    transform: scale(1.05);
    border-color: rgba(0, 242, 234, 0.5);
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.2);
}

.demo-header h1 {
    color: var(--heading-color);
    font-size: 2.2rem;
    margin: 15px 0;
}

.demo-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

.back-button {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    margin-bottom: 10px;
}

.back-button:hover {
    color: var(--heading-color);
}

.back-button i {
    margin-right: 5px;
}

/* Container principal do demo */
.demo-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--dark-bg);
}

/* Container do Chatbot */
.chatbot-container {
    width: 80%;
    max-width: 1000px;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 234, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    margin: 0 auto 50px auto;
}

.chatbot-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    background: #fff;
}

/* Grid dos Chatbots */
.chatbot-grid {
    display: grid;
    grid-template-columns: repeat(3, 350px);
    gap: 30px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
    justify-content: center;
}

.chatbot-card {
    text-decoration: none;
    color: var(--text-color);
    background: var(--card-bg);
    border: 1px solid rgba(0, 242, 234, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    width: 100%;
    max-width: 350px;
}

.chatbot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 242, 234, 0.2);
    border-color: rgba(0, 242, 234, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.chatbot-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--heading-color);
    text-align: center;
}

.chatbot-card p {
    margin-bottom: 25px;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
    text-align: center;
}

.card-link-indicator {
    display: inline-block;
    background: var(--primary-color);
    color: var(--heading-color);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    border: 2px solid transparent;
}

.chatbot-card:hover .card-link-indicator {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--card-bg);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 242, 234, 0.1);
    margin-top: auto;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 1199px) {
    .chatbot-grid {
        grid-template-columns: repeat(2, 350px);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero .subtitle { font-size: 1.1rem; }
    
    .benefits-grid, .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefit-card, .stat-card {
        min-height: 180px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .demo-header {
        padding: 20px 15px;
    }

    .demo-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
        margin: 15px auto;
    }

    .demo-header h1 {
        font-size: 1.8rem;
    }

    .demo-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .chatbot-container {
        width: 90%;
    }

    .chatbot-grid {
        grid-template-columns: 350px;
        max-width: 400px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.5rem; }
    
    .benefits-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card, .stat-card {
        padding: 20px 15px;
        min-height: 160px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    #beneficios h2, #estatisticas h2 {
        font-size: 1.8rem;
    }
    
    .demo-header {
        padding: 15px 10px;
    }

    .demo-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
        margin: 10px auto;
    }

    .demo-header h1 {
        font-size: 1.5rem;
    }

    .demo-description {
        font-size: 0.85rem;
    }

    .chatbot-container {
        width: 95%;
        border-radius: 10px;
    }

    .back-button {
        font-size: 0.8rem;
    }

    .chatbot-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .chatbot-card {
        max-width: 100%;
    }
}

.main-features {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.feature-text {
    margin-bottom: 40px;
}

.feature-text h2 {
    font-size: 2.8rem;
    color: var(--heading-color);
    margin-bottom: 20px;
    text-align: center;
}

.feature-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(0, 242, 234, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.15);
    border-color: rgba(0, 242, 234, 0.5);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}

.highlight-item h3 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Responsividade para Features */
@media (max-width: 768px) {
    .feature-text h2 {
        font-size: 2rem;
    }
    
    .feature-text p {
        font-size: 1rem;
    }
    
    .feature-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .highlight-item {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .feature-text h2 {
        font-size: 1.8rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        min-height: 160px;
    }
}

/* Utilitários */
.text-center {
    text-align: center;
}

.bg-light {
    background: rgba(255, 255, 255, 0.02);
}

/* Chat Components */
.chat-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 1000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 242, 234, 0.3);
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-button i {
    font-size: 1.5rem;
    color: var(--dark-bg);
}

.chat-popup {
    position: fixed;
    right: 20px;
    bottom: -100%;
    width: 380px;
    height: 520px;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: bottom 0.3s ease;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 242, 234, 0.1);
}

.chat-popup.active {
    bottom: 20px;
}

.chat-popup-header {
    background: var(--primary-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 242, 234, 0.1);
}

.chat-popup-header h3 {
    color: var(--dark-bg);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.chat-close {
    cursor: pointer;
    color: var(--dark-bg);
    padding: 5px;
    transition: transform 0.3s ease;
}

.chat-close:hover {
    transform: scale(1.1);
}

.chat-iframe-container {
    height: calc(100% - 50px);
}

.chat-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

@media (max-width: 480px) {
    .chat-popup {
        width: 100%;
        height: 100%;
        right: 0;
        border-radius: 0;
    }

    .chat-popup.active {
        bottom: 0;
    }

    .chat-button {
        right: 10px;
        bottom: 10px;
        width: 50px;
        height: 50px;
    }

    .chat-button i {
        font-size: 1.3rem;
    }
}

/* Estilos das Partículas */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(135deg, #12121f 0%, #1a1a2e 100%);
}