/* ══════════════════════════════════════════
   EventsCast — A propos (light v4)
   ══════════════════════════════════════════ */

/* Cards grid */
.ap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.ap-card {
    background: var(--ec-surface);
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all .35s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    overflow: hidden;
}

.ap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ec-gradient);
    opacity: 0;
    transition: opacity .3s ease;
}

.ap-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ec-shadow-lg);
    border-color: rgba(56, 182, 255, .2);
}

.ap-card:hover::before {
    opacity: 1;
}

.ap-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #fff;
    font-size: 1.5rem;
    margin: 0 auto 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.ap-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.ap-card p {
    color: var(--ec-text-light);
    font-size: .92rem;
    line-height: 1.6;
}

/* Features */
.ap-features {
    text-align: center;
    margin-bottom: 60px;
}

.ap-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.ap-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--ec-surface);
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius);
    transition: all .3s ease;
}

.ap-feature:hover {
    border-color: rgba(56, 182, 255, .3);
    background: linear-gradient(135deg, rgba(56, 182, 255, .06) 0%, rgba(108, 92, 231, .04) 100%);
    transform: translateY(-4px);
    box-shadow: var(--ec-shadow);
}

.ap-feature i {
    font-size: 1.6rem;
    color: var(--ec-primary);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 182, 255, .08);
    border-radius: 14px;
}

.ap-feature span {
    font-weight: 600;
    font-size: .88rem;
    color: var(--ec-text);
}

/* DigiNetS section */
.ap-diginets {
    background: var(--ec-gradient-dark);
    border-radius: var(--ec-radius-lg);
    padding: 48px;
    text-align: center;
}

.ap-diginets h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.ap-diginets p {
    color: rgba(255, 255, 255, .75);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 24px;
}

.ap-diginets-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ap-diginets .ec-btn-outline {
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}

.ap-diginets .ec-btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5);
}

/* Responsive */
@media (max-width: 768px) {
    .ap-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ap-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ap-diginets {
        padding: 32px 20px;
    }

    .ap-diginets h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .ap-features-grid {
        grid-template-columns: 1fr;
    }
}