/* ── PROFILE HERO ── */
.profile-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.06) 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 18px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.3);
}

.hero-username {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.15rem 0;
}

.hero-email {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 0.65rem;
    flex-shrink: 0;
}

.hero-btn {
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-btn--primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-hover));
    color: #fff;
    border: none;
}

.hero-btn--primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.hero-btn--outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.hero-btn--outline:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

/* ── FEATURE CARDS ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    color: var(--text-main);
}

/* Card variants */
.feature-card--indigo:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 30px -6px rgba(99, 102, 241, 0.2);
}

.feature-card--indigo .feature-icon {
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
}

.feature-card--cyan:hover {
    border-color: rgba(6, 182, 212, 0.35);
    box-shadow: 0 8px 30px -6px rgba(6, 182, 212, 0.2);
}

.feature-card--cyan .feature-icon {
    background: rgba(6, 182, 212, 0.12);
    color: #22d3ee;
}

.feature-card--amber:hover {
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 8px 30px -6px rgba(245, 158, 11, 0.2);
}

.feature-card--amber .feature-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

.feature-card--slate:hover {
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 8px 30px -6px rgba(148, 163, 184, 0.12);
}

.feature-card--slate .feature-icon {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.feature-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .profile-hero {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .hero-left {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 479.98px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
