/* =============================================
   VERTEX RP — Features Section
   ============================================= */

.features {
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    position: relative;
    padding: 38px 30px 34px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    transition: all 0.45s var(--ease-out);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(76, 224, 179, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before,
.feature-card:hover::after {
    opacity: 1;
}

/* Icon */
.feature-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow-subtle);
    border: 1px solid rgba(76, 224, 179, 0.1);
    border-radius: 13px;
    margin-bottom: 22px;
    transition: all 0.35s;
}

.feature-card:hover .feature-icon {
    background: rgba(76, 224, 179, 0.12);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 1.8;
    fill: none;
}

/* Text */
.feature-card h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.feature-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    font-weight: 300;
}
