/* ─── Modern Feature Grid ────────────────────────────────── */
.modern-feature-grid {
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-title);
    line-height: 1.2;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--text-body);
    opacity: 0.8;
}

.feature-item-card {
    padding: 45px 35px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-item-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 30px;
    transition: transform 0.4s ease;
}

/* Color Presets */
.feature-icon-wrap.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.feature-icon-wrap.green {
    background: rgba(8, 193, 106, 0.1);
    color: var(--brand-secondary);
}

.feature-icon-wrap.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.feature-icon-wrap.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.feature-icon-wrap.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.feature-icon-wrap.indigo {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 15px;
}

.feature-text {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.85;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 12px;
}

.card-glass-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.03) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item-card:hover .card-glass-glow {
    opacity: 1;
}

/* Dark Mode Adjustments */
html[data-theme="dark"] .feature-item-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}