/* Estilos modernos para as seções de plataforma - SinapseTech 2025 */

/* Estilos comuns para as seções de plataforma */
.pcard-section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Overlay com padrão de circuito para as seções */
.pcard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/circuit-pattern.svg');
    background-size: cover;
    opacity: 0.03;
    z-index: 1;
}

/* Estilos específicos para cada plataforma */
#grctech-platform {
    background: linear-gradient(135deg, #f8f9ff, #eef1ff);
}

#cortex-platform {
    background: linear-gradient(135deg, #eef1ff, #f5f0ff);
}

/* Container principal com design de card */
.pcard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-bottom: 2rem;
}

.pcard-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Efeito de borda superior com gradiente */
.pcard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #6366f1, #4f46e5);
}

/* Badge da plataforma */
.pcard-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Conteúdo da plataforma */
.pcard-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Título da plataforma */
.pcard-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    position: relative;
    background: linear-gradient(to right, #1e293b, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Descrição da plataforma */
.pcard-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #64748b;
}

/* Destaque para palavras-chave */
.pcard-description strong {
    color: #4f46e5;
    font-weight: 600;
}

/* Links coloridos */
.pcard-description a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.pcard-description a:hover {
    color: #6366f1;
    text-decoration: underline;
}

/* Lista de recursos */
.pcard-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: #4f46e5;
    margin-right: 15px;
    position: relative;
    overflow: visible;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feature-icon svg path {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Botão da plataforma */
.pcard-button-container {
    margin-top: 2rem;
    align-self: flex-start;
}

.pcard-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pcard-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transition: left 0.7s ease;
    z-index: -1;
}

.pcard-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.pcard-btn:hover::before {
    left: 100%;
}

/* Imagem da plataforma */
.pcard-image {
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    width: 320px;
    max-width: 35%;
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.pcard-container:hover .pcard-image {
    opacity: 0.15;
}

/* Responsividade */
@media (max-width: 1200px) {
    .pcard-container {
        padding: 2.5rem;
    }
    
    .pcard-image {
        opacity: 0.05;
    }
}

@media (max-width: 768px) {
    .pcard-section {
        padding: 5rem 0;
    }
    
    .pcard-container {
        padding: 2rem;
    }
    
    .pcard-title {
        font-size: 2rem;
    }
    
    .pcard-description {
        font-size: 1rem;
    }
    
    .pcard-features {
        grid-template-columns: 1fr;
    }
    
    .pcard-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .pcard-container {
        padding: 1.5rem;
    }
    
    .pcard-title {
        font-size: 1.8rem;
    }
    
    .pcard-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}
