@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #1A1A1A;
    color: #EAEAEA;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 201, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 201, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
    animation: plexusMove 20s linear infinite;
}

@keyframes plexusMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 30px 30px;
    }
}

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 15px rgba(0, 201, 255, 0);
    transition: box-shadow 0.3s ease;
    z-index: -1;
}

.glow-effect:hover::after {
    box-shadow: 0 0 20px rgba(0, 201, 255, 0.5);
}

.card-glow:hover {
    box-shadow: 0 0 30px rgba(0, 201, 255, 0.3);
}

.underline-hover {
    position: relative;
}

.underline-hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #0052D4 0%, #00C9FF 100%);
    transition: width 0.3s ease;
}

.underline-hover:hover::after {
    width: 100%;
}

.pulse-button {
    animation: pulse-slow 2s infinite;
}

.pulse-button:hover {
    animation: none;
    transform: scale(1.05);
}

.form-input:focus {
    border-color: #00C9FF;
    box-shadow: 0 0 0 1px #00C9FF;
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #00C9FF;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-button {
    box-shadow: 0 4px 12px rgba(25, 211, 85, 0.4);
}

/* Animação personalizada para o ícone de rolagem */
@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

/* --- Habilita a rolagem suave para todo o site --- */
html {
    scroll-behavior: smooth;
}

/* --- Estilos para a seção de Pricing --- */
.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-content {
    overflow: hidden;
    position: relative;
    flex-grow: 1;
    min-height: 0;
}

.pricing-item-hidden {
    display: none !important;
}

.pricing-card.expanded .pricing-item-hidden {
    display: flex !important;
}

.pricing-toggle-btn {
    cursor: pointer;
    user-select: none;
    display: none;
}

@media (min-width: 768px) {
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }

    .pricing-card {
        height: var(--pricing-base-height, auto);
        min-height: var(--pricing-base-height, auto);
        transition: height 0.3s ease-out;
        overflow: hidden;
    }

    .pricing-card.expanded {
        z-index: 10;
        height: auto !important;
        min-height: auto !important;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        overflow: visible;
    }

    .pricing-content {
        position: relative;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .pricing-card.expanded .pricing-content {
        overflow: visible;
    }

    .pricing-list {
        transition: max-height 0.3s ease-out;
        overflow: hidden;
    }

    .pricing-card:not(.expanded) .pricing-list {
        max-height: 350px !important;
        overflow: hidden !important;
    }

    .pricing-card.expanded .pricing-list {
        max-height: none !important;
        overflow: visible !important;
    }

    .pricing-card.has-more-content .pricing-toggle-btn {
        display: block;
    }

    .pricing-card.expanded .toggle-icon {
        transform: rotate(180deg);
    }

    /* Gradiente de fade quando não expandido */
    .pricing-card.has-more-content:not(.expanded) .pricing-content::after {
        content: '';
        position: absolute;
        bottom: 50px;
        left: 0;
        right: 0;
        height: 40px;
        background: linear-gradient(to bottom, transparent, rgba(43, 43, 43, 0.95));
        pointer-events: none;
    }
}