/* 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, #0d1b2a 0%, #1b263b 50%, #0d1b2a 100%);
    color: #e0e7ff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Grade de fundo */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Círculos decorativos */
.decorative-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float-circle 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00FF88 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #00D9FF 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #00FF88 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float-circle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* 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;
}

.icon-container {
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: pulse-scale 3s ease-in-out infinite;
}

.help-icon {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.6));
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

.gradient-text {
    background: linear-gradient(135deg, #00FF88 0%, #00D9FF 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: #94a3b8;
    letter-spacing: 0.1em;
}

.description {
    font-size: 1rem;
    color: #cbd5e0;
    margin-top: 1rem;
    font-weight: 300;
}

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

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

.glass {
    background: rgba(27, 38, 59, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.glow-green {
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.25);
}

.chat-header {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

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

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px #00FF88;
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 15px #00FF88;
    }
}

.chat-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 400;
}

.typebot-wrapper {
    padding: 1.5rem;
    background: rgba(13, 27, 42, 0.6);
}

/* Rodapé */
.footer {
    max-width: 900px;
    margin: 0 auto;
}

.footer-content {
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(13, 27, 42, 0.4);
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 255, 136, 0.15);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
}

.card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00FF88 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 300;
}

.version {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .help-icon {
        width: 80px;
        height: 80px;
    }

    .chat-container {
        margin-bottom: 2rem;
    }

    .typebot-wrapper {
        padding: 1rem;
    }

    typebot-standard {
        height: 600px !important;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.75rem;
    }

    .chat-header {
        padding: 1rem;
    }

    .status-badge {
        font-size: 0.85rem;
    }

    .chat-subtitle {
        font-size: 0.8rem;
    }

    typebot-standard {
        height: 550px !important;
    }

    .info-card {
        padding: 1.25rem 0.75rem;
    }

    .card-icon {
        width: 40px;
        height: 40px;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.85rem;
    }
}
