/* Solutions Section */
.solutions {
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
}

/* Adicionando uma borda com degradê sutil na parte inferior */
.solutions::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 20%, 
        rgba(34, 197, 94, 0.8) 50%, 
        var(--primary-color) 80%, 
        transparent 100%);
    opacity: 0.7;
    box-shadow: 0 0 8px 1px rgba(6, 88, 246, 0.3);
}

/* Efeito de fundo com gradiente animado */
.solutions::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 70% 20%, rgba(6, 88, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: gradientMove 15s ease infinite alternate;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.solutions .container {
    position: relative;
    z-index: 1;
}

/* Novo layout com duas colunas */
.solutions-flex {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

/* Coluna esquerda com lista de soluções */
.solutions-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Coluna direita com card interativo */
.solutions-interactive {
    flex: 1;
    position: relative;
}

/* Estilo para cada item da lista */
.solution-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInRight 0.5s forwards;
}

/* Animação de entrada para os itens da lista */
@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Garantir que o item ativo seja visível imediatamente */
.solution-item.active {
    opacity: 1;
    transform: translateX(5px);
    animation: none;
}

/* Adicionar atrasos para cada item */
.solution-item.delay-1 {
    animation-delay: 0.1s;
}

.solution-item.delay-2 {
    animation-delay: 0.2s;
}

.solution-item.delay-3 {
    animation-delay: 0.3s;
}

.solution-item.delay-4 {
    animation-delay: 0.4s;
}

.solution-item.delay-5 {
    animation-delay: 0.5s;
}

.solution-item.delay-6 {
    animation-delay: 0.6s;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(6, 88, 246, 0.1) 0%, 
        rgba(34, 197, 94, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-item:hover, .solution-item.active {
    background: rgba(255, 255, 255, 0.07);
    border-left: 4px solid var(--primary-color);
    transform: translateX(5px);
    opacity: 1;
}

.solution-item:hover::before, .solution-item.active::before {
    opacity: 1;
}

.solution-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4f9cf9 100%);
    color: white;
    font-size: 1.3rem;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 5px 15px rgba(6, 88, 246, 0.3);
    z-index: 1;
}

.solution-item .content {
    flex: 1;
}

.solution-item h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: white;
}

.solution-item p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light-color);
    opacity: 0.8;
}

/* Card interativo */
.interactive-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(6, 88, 246, 0.7) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(34, 197, 94, 0.7) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    animation: borderRotate 8s linear infinite;
}

.card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.icon-item:hover {
    transform: translateZ(20px) scale(1.1);
}

.icon-item .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 88, 246, 0.8), rgba(34, 197, 94, 0.8));
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.icon-item .icon-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.icon-item .icon-name {
    font-size: 0.8rem;
    color: white;
    opacity: 0.8;
}

.card-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 20px 0;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    animation: floatImage 4s ease-in-out infinite;
}

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

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.card-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    filter: blur(1px);
    animation: particleFloat 10s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-300px) translateX(100px);
        opacity: 0;
    }
}

.solutions-cta {
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.solutions-cta .highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 30px auto;
    padding: 25px 35px;
    max-width: 90%;
    background: linear-gradient(135deg, rgba(6, 88, 246, 0.15) 0%, rgba(30, 41, 59, 0.8) 50%, rgba(6, 88, 246, 0.15) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateX(2deg);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    --light-x: 50%;
    --light-y: 50%;
    text-align: left;
}

.solutions-cta .highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at var(--light-x) var(--light-y),
            rgba(255, 255, 255, 0.15) 0%,
            transparent 50%
        ),
        linear-gradient(90deg, 
            rgba(6, 88, 246, 0) 0%, 
            rgba(6, 88, 246, 0.1) 50%, 
            rgba(6, 88, 246, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
    z-index: -1;
    transition: all 0.3s ease;
}

@keyframes shimmer {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* Adicionar borda brilhante */
.solutions-cta .highlight::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(6, 88, 246, 0.7) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(34, 197, 94, 0.7) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}

.emoji-pulse {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
    animation: emojiPulse 2s infinite;
    transform-origin: center;
}

@keyframes emojiPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.highlight-text {
    position: relative;
    z-index: 1;
    margin-left: 10px;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.highlight-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.highlight-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 992px) {
    .solutions-flex {
        flex-direction: column;
    }
    
    .interactive-card {
        min-height: 400px;
    }
    
    .icons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .solution-item {
        padding: 15px;
    }
    
    .solution-item .icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
    }
    
    .solution-item h3 {
        font-size: 1rem;
    }
    
    .solution-item p {
        font-size: 0.85rem;
    }
    
    .interactive-card {
        padding: 30px 20px;
        min-height: 350px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .icons-grid {
        gap: 15px;
    }
    
    .icon-item .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .solutions-cta .highlight {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .emoji-pulse {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .icon-item .icon-circle {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .solutions-cta .highlight {
        padding: 15px;
        font-size: 1rem;
    }
    
    .emoji-pulse {
        font-size: 1.1rem;
    }
}

.card-pulse {
    animation: cardPulse 0.5s ease;
}

@keyframes cardPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 25px 50px rgba(6, 88, 246, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
} 