/* Reset e configurações básicas */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a2332 50%, #0f1419 100%);
    color: #f0f4f8;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Partículas de fundo */

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #00D9FF 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 15s;
    background: radial-gradient(circle, #00FF88 0%, transparent 70%);
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 90%;
    animation-delay: 8s;
    animation-duration: 14s;
    background: radial-gradient(circle, #00FF88 0%, transparent 70%);
}

@keyframes float-particle {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(50px, -80px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-30px, -150px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(80px, -100px) scale(1.1);
        opacity: 0.7;
    }
}

/* Container principal */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* Cabeçalho */

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-container {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.support-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #00D9FF 0%, #00FF88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: #a0aec0;
    letter-spacing: 0.1em;
}

/* Container do chat */

.chat-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chat-container:hover {
    transform: translateY(-5px);
}

.glass {
    background: rgba(26, 35, 50, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.glow-cyan {
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.2);
}

.chat-header {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #00FF88;
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px #00FF88;
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px #00FF88;
    }
}

.chat-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f0f4f8;
}

.typebot-wrapper {
    padding: 1.5rem;
    background: rgba(15, 20, 25, 0.5);
}

/* Rodapé */

.footer {
    max-width: 900px;
    margin: 0 auto;
}

.footer-content {
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.trophy-icon {
    flex-shrink: 0;
}

.trophy-icon svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

.footer-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e0;
    margin-bottom: 0.5rem;
}

.version {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 1rem;
    font-weight: 500;
}

/* Responsividade */

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }
    .title {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .support-icon {
        width: 60px;
        height: 60px;
    }
    .chat-container {
        margin-bottom: 2rem;
    }
    .typebot-wrapper {
        padding: 1rem;
    }
    typebot-standard {
        height: 600px !important;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .trophy-icon svg {
        width: 60px;
        height: 60px;
    }
    .footer-text h3 {
        font-size: 1.25rem;
    }
    .footer-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.75rem;
    }
    .chat-header {
        padding: 0.75rem 1rem;
    }
    .chat-title {
        font-size: 0.9rem;
    }
    typebot-standard {
        height: 550px !important;
    }
}