/* ═══════════════════════════════════════════════════════════════
   Features Page — Styles
   ═══════════════════════════════════════════════════════════════ */

.feature-deep {
    padding: 100px 0;
}

.feature-deep.alt {
    background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}

.fd-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.fd-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.fd-icon.security {
    background: rgba(124, 58, 237, .12);
    color: var(--pri-light);
}

.fd-icon.finance {
    background: var(--green-dim);
    color: var(--green);
}

.fd-icon.staff {
    background: var(--amber-dim);
    color: var(--amber);
}

.fd-icon.residents {
    background: var(--blue-dim);
    color: var(--blue);
}

.fd-icon.reports {
    background: var(--red-dim);
    color: var(--red);
}

.fd-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.fd-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.fd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fd-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .3s;
}

.fd-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, .18);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

.fdc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
    background: rgba(124, 58, 237, .1);
    color: var(--pri-light);
}

.fdc-icon.green {
    background: var(--green-dim);
    color: var(--green);
}

.fdc-icon.amber {
    background: var(--amber-dim);
    color: var(--amber);
}

.fdc-icon.blue {
    background: var(--blue-dim);
    color: var(--blue);
}

.fdc-icon.red {
    background: var(--red-dim);
    color: var(--red);
}

.fd-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.fd-card p {
    font-size: .85rem;
    color: var(--text-dim);
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .fd-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fd-grid {
        grid-template-columns: 1fr;
    }
}

/* Light theme overrides */
[data-theme="daylight"] .fd-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

[data-theme="warm"] .fd-card:hover {
    box-shadow: 0 8px 30px rgba(80, 50, 10, .08);
}

[data-theme="frost"] .fd-card:hover {
    box-shadow: 0 8px 30px rgba(30, 58, 95, .08);
}